From: Michael Tremer <michael.tremer@ipfire.org>
To: location@lists.ipfire.org
Subject: Re: [PATCH] debian: Ensure changelog distribution is tagged
Date: Thu, 23 Sep 2021 11:34:27 +0100 [thread overview]
Message-ID: <8411109B-824D-4323-AEFD-DBE34EB04194@ipfire.org> (raw)
In-Reply-To: <20210923102350.4613-1-valter.jansons@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2861 bytes --]
Hello Valters,
Thank you for your patch. I have merged it.
> On 23 Sep 2021, at 11:23, Valters Jansons <valter.jansons(a)gmail.com> wrote:
>
> 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.
Hmm, I do not think it is worth it to add a large dependency just to keep a couple of scripts in sync.
If we would want to go down that line, I would say a Git submodule is the easiest way and should work well.
Do you know any cool build tools that could automatically build and publish these packages? I have a couple of custom built scripts (debian/build.sh and something more to publish and sign the packages), but that doesn’t feel very rock-solid to me.
-Michael
> 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/manifest-format.md
>
> A sample manifest, which should do the trick, could be:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <manifest>
> <remote name="origin"
> fetch="https://git.ipfire.org/pub/git/"
> pushurl="ssh://people.ipfire.org/pub/git/" />
> <default remote="origin" revision="master" />
>
> <project name="location/libloc" />
> <project name="location/location-database" />
> </manifest>
>
> 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=medium
> +libloc (0.9.8-1) unstable; urgency=medium
>
> [ 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="$author_name" DEBEMAIL="$author_email" debchange --upstream --multimaint-merge "$subject"
> done
> +
> + debchange --release ''
> }
>
> main "$@" || exit $?
> --
> 2.33.0
>
prev parent reply other threads:[~2021-09-23 10:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-23 10:23 Valters Jansons
2021-09-23 10:34 ` Michael Tremer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8411109B-824D-4323-AEFD-DBE34EB04194@ipfire.org \
--to=michael.tremer@ipfire.org \
--cc=location@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox