Phil, On Friday, August 9, 2024 8:59:01 AM MST Phil Hagelberg wrote: > Soren Stoutner <so...@debian.org> writes: > >> I will see if I can get gbp to pull from a branch where this deletion > >> has already been committed manually in git instead of relying on it to > >> filter out the pristine-tarball. > > > > It should handle it (it does for the electrum package). Are you running > > `gbp > > import-orig --uscan`? > > No, I'm using gbp pull as per > > https://salsa.debian.org/bandali/fennel/-/blob/debian/latest/debian/ README.Deb > ian?ref_type=heads
Interesting. I don’t have any personal experience with `gbp pull`, but I would imagine the idea is for it to respect Files-Excluded. Perhaps you might want to file a bug. > Yes, I'm already using dh_auto_clean; it's being invoked by pbuilder, but > it has no effect either when run from pbuilder or when invoked by > hand. On IRC someone speculated that its heuristics were getting > confused by my Makefile; I don't know if this is accurate but it seems > to not be doing what it's supposed to do. The documentation does say it only works in about 90% of cases. "This is intended to work for about 90% of packages. If it doesn't work, or tries to use the wrong clean target, you're encouraged to skip using dh_auto_clean at all, and just run make clean manually.” https://manpages.debian.org/jessie/debhelper/dh_auto_clean.1.en.html If you desire you might file a bug report and see if they can figure out how to parse your Makefile. Otherwise, it looks like your solution is exactly what is recommended. -- Soren Stoutner so...@debian.org
signature.asc
Description: This is a digitally signed message part.