[SCM] Debian package checker branch, master, updated. 2.5.0-rc1-3-gb1f24de

2011-03-11 Thread Niels Thykier
The following commit has been merged in the master branch:
commit b1f24deb0774e50576d4fe1e365acaad4f44674c
Author: Niels Thykier ni...@thykier.net
Date:   Fri Mar 11 09:55:46 2011 +0100

Reduced the length of a changelog entry for pass the test

diff --git a/debian/changelog b/debian/changelog
index 8d27aa4..93dc40a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,7 +2,8 @@ lintian (2.5.0~rc2) UNRELEASED; urgency=low
 
   * checks/binaries:
 + [ADB] Update binary-from-other-architecture's tests in line with the
-  changes to filename output introduced in 2.5.0~rc1.  (Closes: #614906)
+  changes to filename output introduced in 2.5.0~rc1.
+  (Closes: #614906)
   * checks/deb-format:
 + [NT] Removed assumption that there was always a changelog in a binary
   with a data.tar.lzma member.

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1pxyjw-0003bv...@alioth.debian.org



[SCM] Debian package checker branch, master, updated. 2.5.0-rc1-4-g18aff3b

2011-03-11 Thread Niels Thykier
The following commit has been merged in the master branch:
commit 18aff3b7dcab63eca36626b576dd58f23d44ccd9
Author: Benjamin Drung bdr...@debian.org
Date:   Fri Mar 11 11:59:43 2011 +0100

Added oneiric as a valid Ubuntu dist

Signed-off-by: Niels Thykier ni...@thykier.net

diff --git a/checks/changes-file.desc b/checks/changes-file.desc
index d0709f7..dda3f32 100644
--- a/checks/changes-file.desc
+++ b/checks/changes-file.desc
@@ -41,8 +41,8 @@ Info: You've specified an unknown target distribution for 
your upload in
  the ttdebian/changelog/tt file.
  .
  Your version string suggests this package is for Ubuntu, so your
- distribution should be one of natty, maverick, lucid, karmic, hardy, or
- dapper.
+ distribution should be one of oneiric, natty, maverick, lucid, karmic, hardy,
+ or dapper.
 
 Tag: multiple-distributions-in-changes-file
 Severity: important
diff --git a/data/changelog-file/ubuntu-dists b/data/changelog-file/ubuntu-dists
index a97264e..5c25962 100644
--- a/data/changelog-file/ubuntu-dists
+++ b/data/changelog-file/ubuntu-dists
@@ -7,3 +7,4 @@ karmic
 lucid
 maverick
 natty
+oneiric
diff --git a/debian/changelog b/debian/changelog
index 93dc40a..f788cce 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,12 +4,19 @@ lintian (2.5.0~rc2) UNRELEASED; urgency=low
 + [ADB] Update binary-from-other-architecture's tests in line with the
   changes to filename output introduced in 2.5.0~rc1.
   (Closes: #614906)
+  * checks/changes-file.desc:
++ [NT] Added oneiric as valid Ubuntu distribution.  Thanks to Benjamin
+  Drung for the patch.  (Closes: #617227)
   * checks/deb-format:
 + [NT] Removed assumption that there was always a changelog in a binary
   with a data.tar.lzma member.
   * checks/huge-usr-share:
 + [NT] Removed assumption that there is always files in usr/share.
 
+  * data/changelog-file/ubuntu-dists:
++ [NT] Added oneiric as valid Ubuntu distribution.  Thanks to Benjamin
+  Drung for the patch.
+
  -- Adam D. Barratt a...@adam-barratt.org.uk  Fri, 25 Feb 2011 17:48:59 +
 
 lintian (2.5.0~rc1) experimental; urgency=low

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1py07n-0002v1...@alioth.debian.org



Processed: limit source to lintian, tagging 617227

2011-03-11 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 #lintian (2.5.0~rc2) UNRELEASED; urgency=low
 #
 #  * checks/changes-file.desc:
 #+ [NT] Added oneiric as valid Ubuntu distribution.  Thanks to Benjamin
 #  Drung for the patch.  (Closes: #617227)
 #
 limit source lintian
Limiting to bugs with field 'source' containing at least one of 'lintian'
Limit currently set to 'source':'lintian'

 tags 617227 + pending
Bug #617227 [lintian] lintian: Please add oneiric as an acceptable Ubuntu 
distribution
Added tag(s) pending.
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
617227: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=617227
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.129984140317996.transcr...@bugs.debian.org



Nouvelle collection printemps 2011 Homme et Femme et nouvel arrivage manches courtes

2011-03-11 Thread Chemisenet.com


 
  Vous recevez ce message via Selection Premier, votre partenaire pour les 
bonnes affaires. 
  Découvrez la nouvelle collection de chemises Homme et Femme et notre rayon 
grandes tailles !
  
 NOUVELLE COLLECTION PRINTEMPS 2011
 NOUVEL ARRIVAGE CHEMISES MANCHES COURTES
 PETER BLANC 
  Chemise homme 100% coton, repassage facile 
  49?
 TWENTY TURQUOISE  
  Chemise manches courtes 100% coton
  49?
 JACKSON PARME  
  Chemise 100% coton. Irrésistible ! 
  49?
 PETER PARME  
  Chemise100% coton. Couleur tendance !
  49?
 
Frais de port Offerts
   à partir de 80? d'achat
   En France Métropolitaine uniquement 
   Satisfait ou Remboursé
   Vous disposez de 15 jours
   pour renvoyer vos articles ! 
   Service client
   06 98 58 53 53
   cont...@chemisenet.com 
  
  
  ChemiseNet.com est le spécialiste de la chemise mode pour homme et femme. Nos 
chemises de qualité vous accompagneront pour toutes les occasions : chemise 
tendance, chemise professionnelle, chemise fantaisie, chemise cintrée, tout 
l'univers de la chemise est sur ChemiseNet.com !
  
  Consultez nos catalogues de chemises homme et de chemises femme et trouvez 
parmi notre large choix de références les modèles qui conviendront le mieux à 
votre recherche, pour vous-même, un ami ou votre partenaire. 

Toutes les commandes passées sur ce site sont sécurisées.
 ChemiseNet.com est le spécialiste de la chemise mode pour homme et femme. Nos 
chemises de qualité vous accompagneront pour toutes les occasions : chemise 
tendance, chemise professionnelle, chemise fantaisie, chemise cintrée, tout 
l'univers de la chemise est sur ChemiseNet.com ! 
  
  Consultez nos catalogues de chemises homme et de chemises femme et trouvez 
parmi notre large choix de références les modèles qui conviendront le mieux à 
votre recherche, pour vous-même, un ami ou votre partenaire.
  
  Satisfait ou Remboursé
  Chemisenet.com s'engage sur la qualité des produits vendus : toute commande 
retournée dans les 10 jours suivant la livraison est entièrement remboursée 
(hors frais de retour). En cas d'échange, un chèque de 7,50? devra être joint 
au produit renvoyé pour couvrir les frais engendrés. 
  
  Conditions de paiement
  Toutes les commandes passées sur ce site sont sécurisées. ChemiseNet.com a 
choisi PayPal pour garantir les paiements effectués sur son site.
  
  Conditions de livraison
  Livraison par Colissimo suivi en France métropolitaine, gratuite à partir de 
80? d'achat.
  Livraison dans tous les pays de l'Union Européenne et du monde. 
  
  Nous contacter
  Notre équipe commerciale est à votre disposition pour répondre à vos 
questions éventuelles sur le site ou sur vos commandes en cours 
   Si vous souhaitez vous désabonner de la liste de diffusion de Selection 
Premier et de celle de ses partenaires, suivez la procédure sur le site 
SelectionPremier.com.  

 




Processed: cloning 616493, tagging -1, retitle -1 to lintian: Please recognize Multi-Arch field

2011-03-11 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 clone 616493 -1
Bug#616493: lintian: Should know about the Multi-Arch field
Bug 616493 cloned as bug 617816.

 tags -1 + pending
Bug #617816 [lintian] lintian: Should know about the Multi-Arch field
Added tag(s) pending.
 retitle -1 lintian: Please recognize Multi-Arch field
Bug #617816 [lintian] lintian: Should know about the Multi-Arch field
Changed Bug title to 'lintian: Please recognize Multi-Arch field' from 
'lintian: Should know about the Multi-Arch field'
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
617816: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=617816
616493: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=616493
-1: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=-1
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.129986191211177.transcr...@bugs.debian.org



Bug#615516: lintian: False positive with unneeded-build-dep-on-quilt.

2011-03-11 Thread Niels Thykier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 2011-02-27 04:22, Charles Plessy wrote:
 Package: lintian
 Version: 2.5.0~rc1
 Severity: normal
 
 Hello everybody,
 
 I just tested lintian 2.5.0~rc1 and found a false positive for the tag
 unneeded-build-dep-on-quilt. The package that triggered it includes
 /usr/share/cdbs/1/rules/patchsys-quilt.mk in debian/rules.
 
 Have a nice day,
 
 -- Charles Plessy, Tsurumi, Kanagawa, Japan
 
 
 [...]
 


Hey,

As far as I can tell, this tag is only triggered on 3.0 (quilt)
packages.  Can you confirm this?  If so, then the patches are applied
when the package is unpacked and therefore CDBS's patchsys-quilt.mk is
not doing a lot (unless you are using a non-standard location for quilt
patches).

~Niels

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJNek9BAAoJEAVLu599gGRCfBYP/ivPhNZLx4qFDUEfU/Urm4fi
t9e9STAi99PdLuNee2YOiLmpjki56qBzXWeVKJLcM8iZe+t27AJXMXHmrMdh1qVP
f+Xzf8LSyVgDxNIXwfwPile3GeSSCGMgMNItyaudBzZ77DHE0IIQCDVOSF5LteDw
JGbF1hbUojkpLECghyq3YtsEP+ONGh3DNDFoiusNR587xP/9P78tBe21C1JFDJ71
n5mZIG69+UkEg7OsryTpRupSG6cMQwGWj0bWhnRhoxCiiOiYQqzd52LsraOvryVm
6IbIPYyaI6nV1l+rZtGzeEGSX9Pc8hZ7+o2jnHLpNreoQ5HaqXOBsOg+xuI9QbfE
UDeLtsqZBQwF7sZ6rH9k7QBJ+Cmz0pdTU7ySeNIctsLT8azPRapv3kpxVa/NEe8D
yyx6BdP9HPcFkDswzoWjfNRMLWKc5mBjCEGAEU7AhEo90sA2AKL6muwef1oI4w+M
P2UbLyj64B+Mb2p0SZY2MzqgZAyezLM6Dyw9VLEGVEOeQXFeBfRoOAor9oTw9gze
BQT2am1UTyeaLN/WOBjshnQmijYEIcLTDveDkSQ0z4Eb6bSlcCSxc17M2qUKGwAm
kuTNGTMrVc3hrVG3DvdID8lNQVXaWgGMIft6FbBsiFkT4JDBPkfXTS07hTquhKt8
pUQ034B+ZuCpkJyTxUNY
=/HGm
-END PGP SIGNATURE-



-- 
To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d7a4f42.3000...@thykier.net



[SCM] Debian package checker branch, master, updated. 2.5.0-rc1-5-g0c00f40

2011-03-11 Thread Niels Thykier
The following commit has been merged in the master branch:
commit 0c00f4075799e3b572480401016de413a07ee862
Author: Niels Thykier ni...@thykier.net
Date:   Fri Mar 11 18:11:03 2011 +0100

Added multi-arch field and a check for its values

diff --git a/checks/fields b/checks/fields
index aba3aab..9c058ad 100644
--- a/checks/fields
+++ b/checks/fields
@@ -78,7 +78,7 @@ our %KNOWN_BINARY_FIELDS = map { $_ = 1 }
  'recommends', 'suggests', 'enhances', 'conflicts', 'provides',
  'replaces', 'breaks', 'essential', 'maintainer', 'section', 'priority',
  'source', 'description', 'installed-size', 'python-version', 'homepage',
- 'bugs', 'origin');
+ 'bugs', 'origin', 'multi-arch');
 
 # The Ubuntu original-maintainer field is handled separately.
 our %KNOWN_UDEB_FIELDS = map { $_ = 1 }
@@ -288,6 +288,15 @@ if (not defined $info-field('version')) {
}
 }
 
+# Multi-Arch
+
+if (defined $info-field('multi-arch')){
+my $march = $info-field('multi-arch');
+unfold('multi-arch', \$march);
+tag 'unknown-multi-arch-value', $pkg, $march
+   unless $march =~ m/^no|foreign|allowed|same$/o;
+}
+
 # Architecture
 
 if (not defined $info-field('architecture')) {
diff --git a/checks/fields.desc b/checks/fields.desc
index 4bb8ec4..ded3a3f 100644
--- a/checks/fields.desc
+++ b/checks/fields.desc
@@ -115,6 +115,12 @@ Info: Architecture wildcards, including the special 
architecture value
  either be architecture-independent or built for a specific architecture.
 Ref: policy 5.6.8
 
+Tag: unknown-multi-arch-value
+Severity: serious
+Certainty: certain
+Info: The package has an unknown value in its Multi-Arch field.  The
+ value must be one of no, same, foreign or allowed.
+
 Tag: aspell-package-not-arch-all
 Severity: normal
 Certainty: certain
@@ -1024,7 +1030,7 @@ Info: The package appear to be a Java library and 
depending on one
  longer mandates that Java libraries depend on Java Runtimes.
  .
  If the library package ships executables along with the library,
- then please consider making this an application package or mvoe the
+ then please consider making this an application package or move the
  binaries to a (new) application package.
  .
  If there is otherwise a valid reason for this dependency, please override
diff --git a/debian/changelog b/debian/changelog
index f788cce..5a77df8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,9 @@
 lintian (2.5.0~rc2) UNRELEASED; urgency=low
 
+  * Summary of tag changes:
++ Added:
+  - unknown-multi-arch-value
+
   * checks/binaries:
 + [ADB] Update binary-from-other-architecture's tests in line with the
   changes to filename output introduced in 2.5.0~rc1.
@@ -10,7 +14,9 @@ lintian (2.5.0~rc2) UNRELEASED; urgency=low
   * checks/deb-format:
 + [NT] Removed assumption that there was always a changelog in a binary
   with a data.tar.lzma member.
-  * checks/huge-usr-share:
+  * checks/fields:
++ [NT] Recognise Multi-Arch as a known binary field.  (Closes: #617816)
+* checks/huge-usr-share:
 + [NT] Removed assumption that there is always files in usr/share.
 
   * data/changelog-file/ubuntu-dists:
diff --git a/t/tests/basic-3.0-native/debian/README 
b/t/tests/fields-multi-arch/debian/README
similarity index 100%
copy from t/tests/basic-3.0-native/debian/README
copy to t/tests/fields-multi-arch/debian/README
diff --git a/t/tests/files-python-general/debian/debian/control.in 
b/t/tests/fields-multi-arch/debian/debian/control.in
similarity index 71%
copy from t/tests/files-python-general/debian/debian/control.in
copy to t/tests/fields-multi-arch/debian/debian/control.in
index 8513ca9..2635b44 100644
--- a/t/tests/files-python-general/debian/debian/control.in
+++ b/t/tests/fields-multi-arch/debian/debian/control.in
@@ -1,30 +1,31 @@
 Source: {$srcpkg}
 Priority: extra
-Section: python
+Section: devel
 Maintainer: {$author}
 Standards-Version: {$standards_version}
 Build-Depends: debhelper (= 7.0.50~)
 
-Package: python-kinterbasdb
+Package: {$srcpkg}-some
 Architecture: any
 Depends: $\{misc:Depends\}, $\{shlibs:Depends\}
+Multi-Arch: bad
 Description: {$description}
  This is a test package designed to exercise some feature or tag of
  Lintian.  It is part of the Lintian test suite and may do very odd
  things.  It should not be installed like a regular package.  It may
  be an empty package.
+ .
+ This is a test with an invalid Multi-Arch field.
 
-Package: python-kinterbasdb-dbg
+Package: {$srcpkg}-same
 Architecture: any
-Section: debug
-Depends: $\{misc:Depends\}, python-kinterbasdb (= $\{binary:Version\}),
- $\{shlibs:Depends\}
-Description: {$description} - debug
+Depends: $\{misc:Depends\}, $\{shlibs:Depends\}
+Multi-Arch: same
+Description: {$description} - same
  This is a test package designed to exercise some feature or tag of
  Lintian.  It is part of the Lintian test suite and may do very odd
  things.  It should not be installed like a regular package.  It may
  be an 

[SCM] Debian package checker branch, master, updated. 2.5.0-rc1-6-g07131fe

2011-03-11 Thread Niels Thykier
The following commit has been merged in the master branch:
commit 07131fe16f70ba983c2673cf02aee8764a893113
Author: Niels Thykier ni...@thykier.net
Date:   Fri Mar 11 18:24:24 2011 +0100

Mentioned typo fix in fields.desc and corrected changelog intends

diff --git a/debian/changelog b/debian/changelog
index 5a77df8..7b269e7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,9 +14,10 @@ lintian (2.5.0~rc2) UNRELEASED; urgency=low
   * checks/deb-format:
 + [NT] Removed assumption that there was always a changelog in a binary
   with a data.tar.lzma member.
-  * checks/fields:
+  * checks/fields{,.desc}:
 + [NT] Recognise Multi-Arch as a known binary field.  (Closes: #617816)
-* checks/huge-usr-share:
++ [NT] Fixed typo in a tag description.
+  * checks/huge-usr-share:
 + [NT] Removed assumption that there is always files in usr/share.
 
   * data/changelog-file/ubuntu-dists:

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1py67b-0008ks...@alioth.debian.org



Bug#616493: lintian: Should know about the Multi-Arch field

2011-03-11 Thread Niels Thykier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 2011-03-04 23:05, Raphaël Hertzog wrote:
 Package: lintian
 Version: 2.5.0~rc1
 Severity: normal
 User: debian-d...@lists.debian.org
 Usertags: multiarch
 
 While building my multi-arch dpkg I noted this:
 I: dpkg: unknown-field-in-control multi-arch
 I: dselect: unknown-field-in-control multi-arch
 
 Lintian should learn about this field and not complain if it contains
 one of the allowed values (no, foreign, allowed, same).
 
 https://wiki.ubuntu.com/MultiarchSpec
 
 [...]
 

Hi

I have added Multi-Arch to the list of known binary fields.  I assumed
it did not apply to udebs, changes and source packages, please correct
me if I am wrong here.
  I also included a sanity check of the values of the field (one of the
four listed in your email in all lowercase).  I have not added any
sanity (cross-)check for multi-arch vs. content/architecture, so Lintian
will (at least for now) happily accept Architecture: all with
Multi-Arch: foreign (or whatever).  I am keeping this bug open to track
the status of such additional checks.

~Niels

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJNeljJAAoJEAVLu599gGRCVdUP/002R30Mxw8d6GqiYo7WAFsq
jFC8G/FunFHv0GSt1zBKWT1ckEaaURVsKsWlF7GUvdkBHahD/Q5yU+oFTYf/LPIu
kXmnJEdfux0vrKf/YuuTMYeptxbsuOOCW9sxMleovvs231fhY6o6Hyfa7XCtlUx/
TYaSFluvGxIPH6gGTqB3rJcJSoMhwDHJ50tK81iB7aIVBrGg+L+3ovseXeEA8DUs
V9gHFCHaY+5XARWy2Gh14GwWyDBLnJMCVtrm/1U8VnfX0LvH/pMo9On+OgsTrkRd
TqcI38o/7p85dG8pSzn1fmnXiwG30lg6wjWPRfLeXU8OHTrd9oTnmt6qchPFqMzW
l0XogJ3+j55lW9WYxmttgJqEzYc+58DZWg115uhJ9MNzavKNdxl/+9fsiF+JRHEx
qsi9W4EzaZHjpYJ02Wz3nkiuh90DpDLY1yBI+Z8VPqb0fs8ip8miu8405p0s/CNj
YUCJl4SjRVhezc+DBTOetqn9GBNeUIK2+t43YeFoqWM8OBN4PZAo62vO/MAUAlFQ
o+mQ5EXhgsY+PY6QtltG4d07fftcoTId0Kag5poxoCf1Oec7bTfdA4gqxW5WVd/k
mwXphUZCpynbQ+MyvE2Uk9lQhLB/9bYnVvlt6sK6AmdYerEXPNkgUFVApb4jb4KY
1+HOoAdmhyuI7dNKRG2D
=kRyM
-END PGP SIGNATURE-



--
To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d7a58ca.1080...@thykier.net



Bug#616493: lintian: Should know about the Multi-Arch field

2011-03-11 Thread Raphael Hertzog
On Fri, 11 Mar 2011, Niels Thykier wrote:
 I have added Multi-Arch to the list of known binary fields.  I assumed
 it did not apply to udebs, changes and source packages, please correct
 me if I am wrong here.

That's correct.

(For dpkg, udeb are no different from deb and thus they are allowed but
I don't see udeb making use of multiarch any time soon)

   I also included a sanity check of the values of the field (one of the
 four listed in your email in all lowercase).  I have not added any

Great.

 sanity (cross-)check for multi-arch vs. content/architecture, so Lintian
 will (at least for now) happily accept Architecture: all with
 Multi-Arch: foreign (or whatever).  I am keeping this bug open to track
 the status of such additional checks.

The only forbidden combination is Architecture: all / Multi-Arch: same.
The rest is allowed. But dpkg already enforces this at build time[1] so it's
ok if there's no check in lintian.

Cheers,

[1] Not yet in sid but in the multi-arch branch that we're working on.
-- 
Raphaël Hertzog ◈ Debian Developer

Follow my Debian News ▶ http://RaphaelHertzog.com (English)
  ▶ http://RaphaelHertzog.fr (Français)



--
To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110311192521.ga28...@rivendell.home.ouaza.com



[SCM] Debian package checker branch, infra-513663, updated. 2.4.3-310-g5e32432

2011-03-11 Thread Niels Thykier
The following commit has been merged in the infra-513663 branch:
commit 5e32432ba96fedba4b347d2ccdae024063846dfa
Author: Niels Thykier ni...@thykier.net
Date:   Fri Mar 11 23:31:16 2011 +0100

Migrated unpack-binpkg-l1 to collection

diff --git a/collection/ar-info.desc b/collection/ar-info.desc
index cef7299..b7f2eec 100644
--- a/collection/ar-info.desc
+++ b/collection/ar-info.desc
@@ -2,5 +2,5 @@ Collector-Script: ar-info
 Author: Stéphane Glondu st...@glondu.net
 Info: This script runs the ar t command over all .a files of package.
 Type: binary
-Needs-Info: unpacked, fields
+Needs-Info: unpacked, fields, index
 Version: 1
diff --git a/collection/file-info.desc b/collection/file-info.desc
index d943008..d50393a 100644
--- a/collection/file-info.desc
+++ b/collection/file-info.desc
@@ -3,4 +3,4 @@ Author: Richard Braakman d...@xs4all.nl
 Info: This script runs the file(1) command over all files of any kind of 
package.
 Type: binary, udeb, source
 Version: 1
-Needs-Info: unpacked, fields
+Needs-Info: unpacked, fields, index
diff --git a/unpack/unpack-binpkg-l1 b/collection/index
similarity index 74%
rename from unpack/unpack-binpkg-l1
rename to collection/index
index 2311c78..eedc12a 100755
--- a/unpack/unpack-binpkg-l1
+++ b/collection/index
@@ -27,52 +27,45 @@ use strict;
 use warnings;
 use vars qw($verbose);
 
-($#ARGV == 1) or die 'syntax: unpack-binpkg-l1 base-dir deb-file';
-my $base_dir = shift;
-my $file = shift;
-
 # import perl libraries
 use lib $ENV{'LINTIAN_ROOT'}/lib;
 use Util;
 use Lintian::Command qw(spawn reap);
 
-# stat $file
-(my @stat = stat $file) or fail($file: cannot stat: $!);
+($#ARGV == 1) or fail 'syntax: index pkg type';
+my $pkg = shift;
+my $type = shift;
 
 my (@jobs, $job);
 
-# create directory in lab
-print N: Creating directory $base_dir ...\n if $verbose;
-mkdir($base_dir, 0777) or fail(mkdir $base_dir: $!);
-
-symlink($file,$base_dir/deb) or fail(symlink: $!);
+foreach my $file qw(index index-errors index-owner-id) {
+unlink $file or fail $file: $! if -f $file;
+}
 
 $job = { fail = 'error',
- out  = $base_dir/index,
- err  = $base_dir/index-errors };
+ out  = 'index',
+ err  = 'index-errors' };
 push @jobs, $job;
 # (replaces dpkg-deb -c)
 # create index file for package
 spawn($job,
-  ['dpkg-deb', '--fsys-tarfile', $file ],
+  ['dpkg-deb', '--fsys-tarfile', 'deb' ],
   '|', ['tar', 'tfv', '-'],
   '|', ['sed', '-e', 's/^h/-/'],
   '|', ['sort', '-k', '6'], '');
 
 $job = { fail = 'error',
- out  = $base_dir/index-owner-id,
+ out  = 'index-owner-id',
  err  = '/dev/null' };
 push @jobs, $job;
 # (replaces dpkg-deb -c)
 # create index file for package with owner IDs instead of names
 spawn($job,
-  ['dpkg-deb', '--fsys-tarfile', $file],
+  ['dpkg-deb', '--fsys-tarfile', 'deb' ],
   '|', ['tar', '--numeric-owner', '-tvf', '-'],
   '|', ['sed', '-e', 's/^h/-/'],
   '|', ['sort', '-k', '6'], '');
 
-
-
 reap(@jobs);
 undef @jobs;
 
diff --git a/collection/index.desc b/collection/index.desc
new file mode 100644
index 000..cb68914
--- /dev/null
+++ b/collection/index.desc
@@ -0,0 +1,6 @@
+Collector-Script: index
+Info: This script create an index file of the contents in the
+ binary package.
+Type: binary, udeb
+Version: 1
+
diff --git a/collection/md5sums.desc b/collection/md5sums.desc
index bb2a40d..2dfdfd7 100644
--- a/collection/md5sums.desc
+++ b/collection/md5sums.desc
@@ -3,4 +3,4 @@ Author: Richard Braakman d...@xs4all.nl
 Info: This script runs the md5sums(1) over all files in a binary package.
 Type: binary, udeb
 Version: 1
-Needs-Info: unpacked, fields
+Needs-Info: unpacked, fields, index
diff --git a/collection/scripts.desc b/collection/scripts.desc
index 6f43a8d..31be29a 100644
--- a/collection/scripts.desc
+++ b/collection/scripts.desc
@@ -7,4 +7,4 @@ Info: This script scans a binary package for scripts that start 
with #! and
  because linux only looks at the first word when executing a script.
 Type: binary, udeb
 Version: 1
-Needs-Info: unpacked, bin-pkg-control
+Needs-Info: unpacked, bin-pkg-control, index
diff --git a/lib/Lab/Package.pm b/lib/Lab/Package.pm
index 29766bf..37d32d6 100644
--- a/lib/Lab/Package.pm
+++ b/lib/Lab/Package.pm
@@ -187,13 +187,19 @@ sub create_entry(){
 # It already exists.
 return 1 if ($self-entry_exists());
 # We still use the legacy unpack for some things.
-return $self-_unpack() unless ($pkg_type eq 'changes');
+return $self-_unpack() unless ($pkg_type ne 'source');
 
 unless (-d $base_dir) {
mkdir($base_dir, 0777) or return 0;
$madedir = 1;
 }
-$link = $base_dir/changes;
+if ($pkg_type eq 'changes'){
+   $link = $base_dir/changes;
+} elsif ($pkg_type eq 'binary' or $pkg_type eq 'udeb') {
+   $link = $base_dir/deb;
+} else {
+   fail create_entry cannot handle $pkg_type;
+}
 unless (symlink($pkg_path, $link)){
# undo the 

[SCM] Debian package checker branch, infra-513663, updated. 2.5.0-rc1-64-g194b0fe

2011-03-11 Thread Niels Thykier
The following commit has been merged in the infra-513663 branch:
commit 194b0fee0e3c8e73ab764f7f5df907893a341d41
Merge: 5e32432ba96fedba4b347d2ccdae024063846dfa 
0afbd7706c10ca1066b87b4bdb3f7af178ca7e6e
Author: Niels Thykier ni...@thykier.net
Date:   Fri Mar 11 23:34:24 2011 +0100

Merge branch 'master' into infra-513663

diff --combined checks/changes-file.desc
index 67cde0c,dda3f32..4f03216
--- a/checks/changes-file.desc
+++ b/checks/changes-file.desc
@@@ -1,7 -1,6 +1,7 @@@
  Check-Script: changes-file
  Abbrev: chng
  Type: changes
 +Needs-info: fields
  Info: This script checks for various problems with .changes files
  
  Tag: malformed-changes-file
@@@ -42,8 -41,8 +42,8 @@@ Info: You've specified an unknown targe
   the ttdebian/changelog/tt file.
   .
   Your version string suggests this package is for Ubuntu, so your
-  distribution should be one of natty, maverick, lucid, karmic, hardy, or
-  dapper.
+  distribution should be one of oneiric, natty, maverick, lucid, karmic, hardy,
+  or dapper.
  
  Tag: multiple-distributions-in-changes-file
  Severity: important
diff --combined checks/fields.desc
index 5614ecf,ded3a3f..93bcdf6
--- a/checks/fields.desc
+++ b/checks/fields.desc
@@@ -2,7 -2,7 +2,7 @@@ Check-Script: field
  Author: Marc 'HE' Brockschmidt m...@marcbrockschmidt.de
  Abbrev: fld
  Type: binary, udeb, source
 -Needs-Info: debfiles, source-control-file
 +Needs-Info: debfiles, source-control-file, fields
  Info: This script checks the syntax of the fields in package control files,
   as described in the Policy Manual.
  
@@@ -115,6 -115,12 +115,12 @@@ Info: Architecture wildcards, includin
   either be architecture-independent or built for a specific architecture.
  Ref: policy 5.6.8
  
+ Tag: unknown-multi-arch-value
+ Severity: serious
+ Certainty: certain
+ Info: The package has an unknown value in its Multi-Arch field.  The
+  value must be one of no, same, foreign or allowed.
+ 
  Tag: aspell-package-not-arch-all
  Severity: normal
  Certainty: certain
@@@ -1024,7 -1030,7 +1030,7 @@@ Info: The package appear to be a Java l
   longer mandates that Java libraries depend on Java Runtimes.
   .
   If the library package ships executables along with the library,
-  then please consider making this an application package or mvoe the
+  then please consider making this an application package or move the
   binaries to a (new) application package.
   .
   If there is otherwise a valid reason for this dependency, please override
diff --combined frontend/lintian
index e858b7e,8288d7b..99aabe2
--- a/frontend/lintian
+++ b/frontend/lintian
@@@ -23,9 -23,9 +23,10 @@@
  
  # {{{ libraries and such
  use strict;
+ use warnings;
  
  use Getopt::Long;
 +use Cwd;
  # }}}
  
  # {{{ Global Variables
@@@ -43,12 -43,13 +44,12 @@@ my $pkg_mode = 'a';# auto -- 
automati
# binary and source pkgs
  my $verbose = 0;  #flag for -v|--verbose switch
  my $quiet = 0;#flag for -q|--quiet switch
 -my @debug;
 +my $debug = 0;
  my $check_everything = 0; #flag for -a|--all switch
  my $lintian_info = 0; #flag for -i|--info switch
  our $display_experimentaltags = 0; #flag for -E|--display-experimental switch
  our $display_pedantictags = 0;#flag for --pedantic switch
  our $ftpmaster_tags = 0;  #flag for -F|--ftp-master-rejects switch
 -my $unpack_level = undef; #flag for -l|--unpack-level switch
  our $no_override = 0; #flag for -o|--no-override switch
  our $show_overrides = 0;  #flag for --show-overrides switch
  my $color = 'never';  #flag for --color switch
@@@ -65,6 -66,7 +66,6 @@@ our $OPT_LINTIAN_AREA = '';   #string fo
  # These options can also be used via default or environment variables
  our $LINTIAN_CFG = '';#config file to use
  our $LINTIAN_ROOT;#location of the lintian modules
 -our $OPT_LINTIAN_SECTION = '';  #old name for OPT_LINTIAN_ARCH
  
  my $experimental_output_opts = undef;
  
@@@ -87,7 -89,7 +88,7 @@@ my $exit_code = 0
  my $LAB;
  
  my %collection_info;
 -my %checks;
 +my %enabled_checks;
  my %check_abbrev;
  my %unpack_infos;
  my %check_info;
@@@ -96,6 -98,7 +97,6 @@@
  our $LINTIAN_LAB = undef;
  our $LINTIAN_ARCHIVEDIR = undef;
  our $LINTIAN_DIST = undef;
 -our $LINTIAN_UNPACK_LEVEL = undef;
  our $LINTIAN_ARCH = undef;
  our $LINTIAN_SECTION = undef;
  our $LINTIAN_AREA = undef;
@@@ -372,7 -375,7 +373,7 @@@ my %opthash = (# 
-- 
   'print-version' = \banner,
  
   'verbose|v' = \$verbose,
 - 'debug|d' = \@debug, # Count the -d flags
 + 'debug|d+' = \$debug, # Count the -d flags
   'quiet|q' = \$quiet,
  
   # -- behaviour options
@@@ -384,6 -387,7 +385,6 @@@
   'display-source=s' = \record_display_source,
   'suppress-tags=s' = \record_suppress_tags,