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

lintian: r708 - in trunk: debian man



Author: rra
Date: 2006-08-18 23:54:40 +0200 (Fri, 18 Aug 2006)
New Revision: 708

Modified:
   trunk/debian/changelog
   trunk/man/lintian.1
Log:
* man/lintian.1:
  + [RA] Better document the --archivedir and --dist options and how
    lintian constructs the path to an archive.  (Closes: #383203)

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2006-08-18 21:31:16 UTC (rev 707)
+++ trunk/debian/changelog	2006-08-18 21:54:40 UTC (rev 708)
@@ -55,8 +55,12 @@
       therefore cause lintian to exit with non-zero status.  Thanks,
       Andree Leidenfrost and Martin F. Krafft.  (Closes: #377182, #374314)
 
- -- Russ Allbery <rra@debian.org>  Fri, 18 Aug 2006 14:30:36 -0700
+  * man/lintian.1:
+    + [RA] Better document the --archivedir and --dist options and how
+      lintian constructs the path to an archive.  (Closes: #383203)
 
+ -- Russ Allbery <rra@debian.org>  Fri, 18 Aug 2006 14:54:33 -0700
+
 lintian (1.23.22) unstable; urgency=low
 
   * checks/debconf:

Modified: trunk/man/lintian.1
===================================================================
--- trunk/man/lintian.1	2006-08-18 21:31:16 UTC (rev 707)
+++ trunk/man/lintian.1	2006-08-18 21:54:40 UTC (rev 708)
@@ -196,8 +196,9 @@
 
 .TP
 .BR \-\-archivedir " archivedir"
-Location of Debian archive to scan for packages.  Use this if you want
-Lintian to check the whole Debian archive instead of just single
+Location of Debian archive to scan for packages.  (See the FILES section
+for complete information on how the path is constructed.)  Use this if you
+want Lintian to check the whole Debian archive instead of just single
 packages. This option overrides the
 .B LINTIAN_ARCHIVEDIR
 environment variable and the configuration file entry of the same
@@ -207,8 +208,9 @@
 .BR \-\-dist " distdir"
 Scan for packages in the
 .IR distdir
-directory.  Use this if you want Lintian to check the whole Debian
-archive instead of just single packages.  This option overrides the
+directory.  (See the FILES section for complete information on how the
+path is constructed.)  Use this if you want Lintian to check the whole
+Debian archive instead of just single packages.  This option overrides the
 .B LINTIAN_DIST
 environment variable and the configuration file entry of the same
 name.
@@ -601,6 +603,20 @@
 .B \-\-root
 option.
 
+.PP
+When looking for packages in a Debian archive, lintian constructs the path
+to the archive from the
+.IR archivedir ,
+.IR distdir ,
+.IR release ,
+.RI and arch
+as follows:
+.sp
+.IR archivedir /dists/ distdir / release / arch
+.sp
+Lintian always expects the "/dists/" path component in paths to Debian
+archives.
+
 .SH EXIT STATUS
 .TP
 .B 0
@@ -626,6 +642,10 @@
 on what is found, this command will check either the source or binary
 package foo, or both.)
 .TP
+.B "$ lintian --archivedir /var/packages --dist custom --section main"
+Check all packages found in the Debian archive at
+.IR /var/packages/dists/custom/main .
+.TP
 .B "$ lintian \-i foo.changes"
 Check the changes file and, if listed, the source and binary package
 of the upload. The output will contain detailed information about the



Reply to: