From mboxrd@z Thu Jan 1 00:00:00 1970 From: Valters Jansons To: location@lists.ipfire.org Subject: [PATCH] debian: Ensure changelog distribution is tagged Date: Thu, 23 Sep 2021 13:23:50 +0300 Message-ID: <20210923102350.4613-1-valter.jansons@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7580207043572000808==" List-Id: --===============7580207043572000808== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable UNRELEASED should not be left as-is when actually releasing. The latest changelog entry now point at unstable instead. The simple d/genchangelog.sh now does `dch -r ''` automatically to ensure this distribution update doesn't get lost along the way on future invocations. --- I am still not sure what to propose for organizing this better across multiple projects. In our organization we use `repo` by Google, originally intended for syncing Android repositories, so that we track multiple repositories that belong together while avoiding mono-repos. It uses a default.xml manifest file in a dedicated "manifest" repo, which then just lists which repositories should be pulled in. Command/tool ref: https://source.android.com/setup/develop/repo Manifest file ref: https://gerrit.googlesource.com/git-repo/+/master/docs/man= ifest-format.md A sample manifest, which should do the trick, could be: debian/changelog | 2 +- debian/genchangelog.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index fcef2cb..3b90542 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -libloc (0.9.8-1) UNRELEASED; urgency=3Dmedium +libloc (0.9.8-1) unstable; urgency=3Dmedium =20 [ Michael Tremer ] * importer: Do not try to initialise a column that cannot be NULL with diff --git a/debian/genchangelog.sh b/debian/genchangelog.sh index 85d3922..ab1c198 100755 --- a/debian/genchangelog.sh +++ b/debian/genchangelog.sh @@ -31,6 +31,8 @@ main () { echo "$author_name <$author_email> $subject" DEBFULLNAME=3D"$author_name" DEBEMAIL=3D"$author_email" debchange --upst= ream --multimaint-merge "$subject" done + + debchange --release '' } =20 main "$@" || exit $? --=20 2.33.0 --===============7580207043572000808==--