[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lintian: r1200 - in trunk: checks debian



Author: djpig
Date: 2008-02-09 18:23:23 +0100 (Sat, 09 Feb 2008)
New Revision: 1200

Modified:
   trunk/checks/cruft
   trunk/checks/cruft.desc
   trunk/debian/changelog
Log:
Add hg to the list of <vcs>-control-dir tags


Modified: trunk/checks/cruft
===================================================================
--- trunk/checks/cruft	2008-02-09 16:18:42 UTC (rev 1199)
+++ trunk/checks/cruft	2008-02-09 17:23:23 UTC (rev 1200)
@@ -51,6 +51,7 @@
      [ qr,^(.+/)?\.arch-ids$, => 'arch-control-dir' ],
      [ qr!^(.+/)?,,.+$!       => 'arch-control-dir' ],
      [ qr,^(.+/)?\.git$,      => 'git-control-dir'  ],
+     [ qr,^(.+/)?\.hg$,       => 'hg-control-dir'   ],
     );
 
 # File checks.  These regexes match files that shouldn't be in the source

Modified: trunk/checks/cruft.desc
===================================================================
--- trunk/checks/cruft.desc	2008-02-09 16:18:42 UTC (rev 1199)
+++ trunk/checks/cruft.desc	2008-02-09 17:23:23 UTC (rev 1200)
@@ -113,6 +113,22 @@
  an upstream release tarball contains .git directories, you should usually
  report this as a bug upstream.
 
+Tag: diff-contains-hg-control-dir
+Type: warning
+Info: The Debian diff or native package contains files in a .hg
+ directory.  These are usually artifacts of the revision control system
+ used by the Debian maintainer and not useful in a diff or native package.
+ Passing <tt>-i</tt> to <tt>dpkg-buildpackage</tt> or the equivalent will
+ automatically exclude them.
+
+Tag: source-contains-hg-control-dir
+Type: info
+Info: The upstream source contains a .hg directory. It was most likely
+ included by accident since hg version control directories usually don't
+ belong in releases and may contain a complete copy of the repository.  If
+ an upstream release tarball contains .hg directories, you should usually
+ report this as a bug upstream.
+
 Tag: diff-contains-svn-commit-file
 Type: warning
 Info: The Debian diff or native package contains an

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-02-09 16:18:42 UTC (rev 1199)
+++ trunk/debian/changelog	2008-02-09 17:23:23 UTC (rev 1200)
@@ -3,6 +3,8 @@
   * checks/control-files{.desc,}:
     + [FL] Warn about empty control files. I can't see any use for
       them. Exclude udebs though, since they might differ there.
+  * checks/cruft{.desc,}:
+    + [FL] Add hg to the list of <vcs>-control-dir tags.
   * checks/md5sums{.desc,}:
     + [FL] Remove tag md5sums-control-file-is-empty in favour of
       a more general tag in control-files.


Reply to: