Closed DimCitus closed 11 months ago
Hello
1.6.4 is still not available packaged (for ubuntu/focal at least) 1.6.3 is the last version I see with those repos configured : deb https://packagecloud.io/citusdata/community/ubuntu/ focal main deb https://repos.citusdata.com/community/ubuntu/ focal main
Oh, in task list, you should remove xenial and add jammy (changed in citusdata/packaging already)
Hi @SLoeuillet. Please refresh https://pg-auto-failover.readthedocs.io/en/master/install.html#ubuntu-or-debian and use the Postgres community packaging available at apt.postgresql.org. Thanks!
Thanks to you, I just did read that there too https://github.com/citusdata/pg_auto_failover/commit/d20e7da2a06c95a33aaded69bb87e2c7204a2089
These instructions assume you have
$VERSION
,$PROJECT
, and$REPO
environment variables set in your shell (e.g.1.4
,pgautofailover
, andpg_auto_failover
). With those set, code from most steps can be copy-pasted.Prepare Project
release-x.y
branch.git log --cherry-pick --no-merges release-x.y...master
can be helpful. Be sure to cherry-pick changes in the same order they were merged to the main branch (but do not cherry-pick merge commits themselves)CHANGELOG
entry in themaster
release-x.y
branch summarizing meaningful changes ( will merge release branch into master after releasing to update the changelog there )src/bin/lib
. VerifyREADME.md
has a reference to each library in the folder.snprintf.h , snprintf.c
andstrerror.c
in foldersrc/bin/lib/pg
against PG equivalents in recent PG sources undersrc/port
and apply changes to respective places.src/bin/lib/parson
vs the source from https://github.com/kgabis/parsonsrc/bin/lib/libs/ini.h
vs source at https://github.com/mattiasgustavsson/libs. Apply changes.src/bin/lib/log
vs its source from https://github.com/rxi/log.c . Apply changes as necessarysrc/bin/pg_autoctl/defaults.h
docs/conf.py
Makefile
src/bin/pg_autoctl/azure.c
git tag -a -s v$VERSION
to create an annotated, signed tag for the release. Summarize the release in the one-line tag annotation (beneath 52 characters). Push the tag withgit push origin v$VERSION
open https://github.com/citusdata/$REPO/releases
)v$VERSION
). Leave the description blank (it will auto-fill with the tag description)As for signing tags, use your own key, and ensure it's known to GitHub.
Update OS Packages
(sudo) make install
update_os_package.pl all pgautofailover $VERSION
citus_package -p=debian/buster -p=debian/stretch -p=ubuntu/bionic -p=ubuntu/xenial -p ubuntu/focal -p=el/8 -p=el/7 -p=ol/7 local release 2>&1 | tee citus_package.log
dpkg -c package.deb
andrpm -qlp package.rpm
grep -Ei '(warning|\bi|\be|\bw):' citus_package.log | sort | uniq -c | grep -v "\.c"
. Ignore any errors about--disable-dependency-tracking