[Thomas Goirand, 2013-11-21] > On 11/21/2013 08:28 PM, Mathias Behrle wrote: > > So finally I would appreciate any input on > > > > 1) Which is the preferred procedure to handle .egg-info directories together > > with building from git? > > > > 2) Is there a way to satisfy all common build tools as debuild, > > git-buildpackage, pbuilder, when running the build more than once? > > > > Thanks, > > Mathias > > Hi Mathias, > > Thanks for raising this important topic. > > I've seen all sorts of ways to fix this problem. What I found the most > easy was to simply add: > > extend-diff-ignore = "^[^/]*[.]egg-info/"
this line will tell dpkg-source to ignore these files but they're already ignored - pybuild removes them in clean target and dpkg-source ignores deleted files. I think Mathias is asking about how to tell git that it should ignore these files as well. IMO you should ask upstream to not ship these files in git repo/tarballs or remove them in the first commit after each merge with upstream. -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645
signature.asc
Description: Digital signature