pgsql: Allow selecting the git revision to be packaged by "make dist".

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Allow selecting the git revision to be packaged by "make dist".
Дата
Msg-id E1s2uWu-001Jx0-WD@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Allow selecting the git revision to be packaged by "make dist".

Commit 619bc23a1 changed "make dist" to invoke "git archive",
but hard-wired the call to specify that the HEAD revision should
be packaged.  Our tarball building process needs to be able to
specify which git commit to package (notably, for packaging
back branches).  While we could make that work with some hackery
to operate in detached-HEAD state, it's a lot nicer just to expose
git archive's ability to specify what to package.  Hence, invent
a new make variable PG_GIT_REVISION.  This is undocumented, but
so is "make dist".

Also make corresponding changes in the meson scripts.  We have no
near-term intention of using that for package building, but it
will likely happen eventually, so stay prepared.

Discussion: https://postgr.es/m/3552543.1713909947@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/01df14763431df1506cbae206945cd165c66d1d3

Modified Files
--------------
GNUmakefile.in    | 7 +++++--
meson.build       | 6 ++++--
meson_options.txt | 3 +++
3 files changed, 12 insertions(+), 4 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: David Rowley
Дата:
Сообщение: pgsql: Fix an assortment of typos
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: First-draft release notes for 16.3.