[git-buildpackage] Configuring git-buildpackage to include files ignored by git

Guido Günther agx at sigxcpu.org
Wed Aug 28 19:56:37 CEST 2024


Hi,
On Tue, Aug 27, 2024 at 11:04:53PM +0200, Mohammed Amar-Bensaber wrote:
> Hello Guido,
> 
> On Tuesday, August 27, 2024 9:52:31 AM CEST Guido Günther wrote:
> 
> > If you use `export-dir` then `--git-export=WC` should achieve the
> > desired behavior.
> 
> Thanks a lot for your help, `git-export=WC` is indeed the option I was looking 
> for.

[..snip..]
 
> 
> 
> I'm sorry in advance if I'm missing something obvious here but why is gbp not 
> picking up this information from `debian/gbp.conf`?

This is a runtime only option as it produces packages where the git tree
doesn't match the contens. We thus don't want it to be used accidentally
by e.g. putting it into a `debian/gbp.conf`.

A shell alias `gbpwc` could help in your case.
Cheers,
 -- Guido

> 
> You can use this specific commit to reproduce it, https://git.shione.net/
> shione.git/commit/?h=debian/
> bookworm&id=f1deb27e4e9aab6aa8c9651a1a53045d3c8a2a5e. Make sure to populate 
> `files/etc/wireguard` and install `config-package-dev` prior to executing `gbp`.
> 
> Thank you!




More information about the git-buildpackage mailing list