-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2011-04-02 10:11, Chris Carr wrote: > Hi all, > > I'm puzzled by this warning from lintian: > > chrisc@xaphod:/var/cache/pbuilder/result$ lintian -Ivi --pedantic > angband_3.2.0-1_i386.changes > N: Setting up lab in /tmp/esv0j1oUBP ... > N: Processing 3 packages... > N: ---- > N: Processing changes file angband_3.2.0-1_i386 (version 1:3.2.0-1) ... > N: ---- > N: Processing source package angband (version 1:3.2.0-1) ... > P: angband source: > direct-changes-in-diff-but-no-patch-system .gitmodules and 7 more [...] > > ... is it possible to configure lintian to ignore .git*, like the -i > option to dpkg-buildpackage? > > Thanks, > > CC > >
Hi Generally the diff ought not to include ".gitmodules" in the first place if you did not intend for it (and the 7 other files) to be there. Most likely dpkg-source/dpkg-buildpackage with -i is not enough in this case. I believe [1] would solve your issue; maybe with a wishlist bug against dpkg-dev asking for the vcs-related files to be ignored by default. Note: you should generally only ignore the files that are vcs-related or auto-generated files, so please review the changes to files if they are not clearly related to git (etc.). If you deliberately modified one of upstreams files, you should not ignore/filter that change. ~Niels [1] http://raphaelhertzog.com/2011/01/28/3-ways-to-not-clutter-your-debian-source-package-with-autogenerated-files/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCAAGBQJNluGTAAoJEAVLu599gGRCKCYP/1ntylkLTOky6md0x2Se45n3 VhAG0nEJDL8oMQZ4IqBQ6kszMFzj5YEu96glXwLcpX5ZGR61nOqEX7BuMZzTSQMm l+eTPZBumE6bMfCBzK9fPlf0YoEG+vMghc8g7yT3MIXAXbVcffyUP+VGq2KQ9NRm Mp7ovYWyk0Wpx7jPBbELJ219OweTkMgqm/NEbI726OORSdcm+rYQ7ELxqKJdYBb7 xGJoFBzUaQLHUha7y5Z2SUqLIQKxtVitjD9cGhPtMMLSfSTw+gfDTd/nOBbJzkB/ SdzSpKREmofZ7V4vOJnu4gKNzLyqVaXDLKt2RhiK02YRk6+oesckDCNw9TTlFmwr 3VhfN5VynoscwUkUSMEeV6W5QsKUmWposUO8GkJrLrTB9Dhgfk/jdGJOLINR/S65 85O9MKJxhbifW47mM2JRpDW9rr1zzKlJpVOt/2DcuWDIdA8gOx/lNgsqBIRaKSaS B9085J/W66MRC7tU8GN8BD5IpCn59up7R2cTOp9W2d84I26X+UvHBY2W5CBC/8Xr 4q32UAffdxVxV/6JjRKqf1akYUAkMsF9XFKFBD14DPcOq4TbFaJiebs+TYKYdrld GsWTvjmYHpBJ9GOHiMCGuX0CxmD7jUuR38xOvblofiahQzd7kgUtJ5sGOi0osecB xF/b0C8Ci5kFBPhDK77X =TPI9 -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

