#1076287 git-debrebase: Add "Gbp-Dch: Ignore" to autogenerated commits

#1076287#5
Date:
2024-07-13 17:39:04 UTC
From:
To:
Hi all!

I've just started using git-debrebase, and I find it really cool; great work!

I'd really like to keep using gbp-dch(1) to generate my changelog from commit
messages though, as I find it a bit nicer than manually editing d/changelog. It
also allows me to write meaningful commit messages and have that same
information in d/changelog without having to write stuff twice.

git-debrebase makes using gbp-dch a bit problematic though, as it tends to
generate some commits which will then be picked up by gbp-dch.

Would it be possible to add a "Gbp-Dch: Ignore" pseudo header in commit
messages generated by git-debrebase, so that I don't have to remove them
manually when finalizing the changelog?

If you think I shouldn't be using gbp-dch with git-debrebase, I'm happy to hear
what you'd suggest instead :)

Thanks!


- -- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.9.7-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages git-debrebase depends on:
ii  devscripts              2.23.7
ii  git [git-core]          1:2.43.0-1+b1
ii  libdpkg-perl            1.22.6
ii  libfile-fnmatch-perl    0.02-3+b3
ii  liblocale-gettext-perl  1.07-7
ii  perl                    5.38.2-5

Versions of packages git-debrebase recommends:
ii  dgit              11.10
ii  git-buildpackage  0.9.34

git-debrebase suggests no packages.

- -- no debconf information
-----BEGIN PGP SIGNATURE-----

iIoEARYIADIWIQS6VuNIvZRFHt7JcAdKkgiiRVB3pwUCZpK7uBQcYW5kcmVhQHBh
cHBhY29kYS5pdAAKCRBKkgiiRVB3p5GlAP4hLLAWhaCcNEwvn6ZbQ3q7QK1jffBk
Ibzim5BKtwmJbgEArzXqpqAqJpCIaf2+LrJ2a34KpLm55Z3qF36fsWz0egI=
=heEL
-----END PGP SIGNATURE-----

#1076287#10
Date:
2024-07-13 17:47:56 UTC
From:
To:
Andrea Pappacoda writes ("Bug#1076287: git-debrebase: Add "Gbp-Dch: Ignore" to autogenerated commits"):

You're talking about "commit the patch queue" etc., I think?
I think what you suggest might make sense.

I wonder if the same should be true of autogenerated commits made by
the more general dgit quilt-fixup (modes like linear and smash).

Ian.

#1076287#15
Date:
2024-07-14 06:58:23 UTC
From:
To:
Yep, I was thinking about those.

I've never used it, so I don't know what you're talking about, but feel
free to reassign this bug to dgit or src:dgit :)

Bye!