Hi,

I have some second thought about how to use debian/source/local-options and
debian/source/options (see below quote)

Git usage and packaging are coupled.

* GBP (unapply-patches VCS)
debian/source/local-options with unapply-patches

* dgit (dgit-maint-merge: patch applied VCS)
debian/source/options with auto-commit

single-debian-patch in debian/source/options ... This seems optional and taste
issue as long as auto-commit is used.  Am I wrong?

NMUer complication issue is for GBP use case with unapply-patches when it is
used in debian/source/options instead.

So debmake need to update it to cope with this new style of git usage with dgit-
maint-merge.

I also think as long as lines are commented out with leading "#", having file
such as debian/source/local-options and debian/source/options causes no
negatives.

Considering debmake's age and dgit's age, I need to review this situation with
care.

Osamu

On Mon, 2026-01-19 at 23:33 +0900, Osamu Aoki wrote:
> Hi,
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948844
> ...
> I am keeping this bug report open for better support of dgit which I use it
> too.
> 
> Considering many packaging workflows (gbp is still widely used), I am inclined
> to add comment to required template.
> 
> I need one clarification:
> 
> For non-native package, dgit-maint-merge(7) recommend not to create
> debian/source/local-options but create debian/source/options containing:
> 
>   auto-commit
> 
> I am following this with my own actual packaging but not with debmake
> template.
> 
> I had vague impression that use of debian/source/options is problematic for
> NMUers who doesn't use the same set up for building.  (Is this for GBP-type
> workflow?)
> 
> Please confirm this auto-commit for dgit-maint-merge must be in
> debian/source/options and not in debian/source/local-options.
> 
> What about other dgit work flow.  How incompatible are debian/source/local-
> options.  I understand dgit warn it but I want template file comment should be
> in line with expectation.
> 
> I think as long as settings are commented out, debian/source/local-options
> file
> itself can be there for dgit.  Am I correct?
> 
> Let me know.
> 
> Osamu

Reply via email to