Package: linda
Version: 0.3.17
Severity: wishlist
Tags: patch

Hi,

here is a patch to check for .git directories coming from the GIT version
control software.

Regards,
  Bastian

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-treasure2
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages linda depends on:
ii  binutils             2.16.1cvs20051214-1 The GNU assembler, linker and bina
ii  dash                 0.5.3-1             The Debian Almquist Shell
ii  dpkg-dev             1.13.11.1           package building tools for Debian
ii  file                 4.15-2              Determines file type using "magic"
ii  man-db               2.4.3-3             The on-line manual pager
ii  python               2.3.5-3             An interactive high-level object-o

Versions of packages linda recommends:
ii  debian-policy                 3.6.2.2    Debian Policy Manual and related d

-- no debconf information
--- files.py.orig       2006-01-13 12:05:45.230444734 +0100
+++ files.py    2006-01-13 12:06:28.175893411 +0100
@@ -30,9 +30,9 @@
                 self.signal_error('empty-directory-in-pkg', [directory])
             for component in exploded_path:
                 if not dirs_found['versioncontrol']:
-                    if component in ('CVS', '.svn', '{arch}'):
+                    if component in ('CVS', '.svn', '{arch}', '.git'):
                         vercon_tools = {'CVS': 'CVS', '.svn': 'SVN', \
-                            '{arch}': 'TLA'}
+                            '{arch}': 'TLA', '.git': 'GIT'}
                         self.signal_error('vercon-dir-in-package', \
                             [vercon_tools[component]])
                         dirs_found['versioncontrol'] = 1

Reply via email to