Package: dpkg-dev Version: 1.14.18 Severity: minor Tags: patch Bugs Everywhere <URL:http://bugseverywhere.org/> is a distributed bug tracking system that stores its data (by default) in a top-level directory in the project tree, called '.be'.
This directory is about as much interest as the VCS directories found in working trees: useful if one intends to collaborate with the upstream developer's tools, but useless cruft otherwise. It should be preserved in the tree, but not included in the Debian source package. The attached patch (generated via 'git diff' against the dpkg source repository) extends the list of directories ignored by both 'diff_ignore_default_regexp' and 'tar_default_ignore_pattern' to also omit the '.be' directory when generating Debian source packages.
diff --git a/scripts/Dpkg/Source/Package.pm b/scripts/Dpkg/Source/Package.pm index f086e85..0c82738 100644 --- a/scripts/Dpkg/Source/Package.pm +++ b/scripts/Dpkg/Source/Package.pm @@ -47,7 +47,7 @@ our $diff_ignore_default_regexp = ' (?:^|/)(?:DEADJOE|\.cvsignore|\.arch-inventory|\.bzrignore|\.gitignore)$| # File or directory names that should be ignored (?:^|/)(?:CVS|RCS|\.deps|\{arch\}|\.arch-ids|\.svn|\.hg|_darcs|\.git| -\.shelf|_MTN|\.bzr(?:\.backup|tags)?)(?:$|/.*$) +\.shelf|_MTN|\.bzr(?:\.backup|tags)?|\.be)(?:$|/.*$) '; # Take out comments and newlines $diff_ignore_default_regexp =~ s/^#.*$//mg; @@ -81,6 +81,7 @@ RCS _MTN _darcs {arch} +.be ); # Private stuff