Re: Git revision in tarballs

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Git revision in tarballs
Date: 2021-07-21 19:49:19
Message-ID: e9ed6361-ea76-86ec-f2c3-5c017b5029c2@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 21.07.21 21:12, Daniel Gustafsson wrote:
>> Or we could do what git-archive does:
>>
>> Additionally the commit ID is stored in a global extended
>> pax header if the tar format is used; it can be extracted using git
>> get-tar-commit-id. In ZIP files it is stored as
>> a file comment.
>
> That does adds Git as a dependency for consuming the tarball though, which
> might not be a problem but it's a change from what we require today.

How so?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2021-07-21 19:55:30 Re: psql - add SHOW_ALL_RESULTS option
Previous Message Daniel Gustafsson 2021-07-21 19:26:08 Re: Git revision in tarballs