[postgis-devel] Change all stable branch versions to have git hash?

Christoph Berg myon at debian.org
Wed Jan 8 02:25:55 PST 2020


Re: rmrodriguez at carto.com 2020-01-08 <CAM6_UM7dw9DCpDpXzp0XZV=dfHqmqGyThfvur-Gs5tGAPJkVYw at mail.gmail.com>
> Ok, I had misread you and I think now I understand the issue. It comes
> from putting Postgis sources (coming from a tarball?) inside the
> package git repository, alongside other debian packaging files. So,
> when the script is called (which is always as the file it's marked as
> a .PHONY target), it gets the hash of the packaging repository, not
> from our upstream repo.

Right.

> So I think the safest default option on our side would be to replace
> the script `utils/repo_revision.pl` by a dummy script when generating
> a tarball (make_dist.sh), that way the file won't be ever overwritten.
> Does that make sense?

Yes. Though maybe having differing files in git and the tarballs would
create problems on other levels. A way to tell that script not to do
anything would be enough.

Christoph


More information about the postgis-devel mailing list