Bug#974909: explicitly differentiate between files and fileds in Check:

2020-11-16 Thread Pirate Praveen

Package: lintian
severity: wishlist

In many lintian outputs (I use lintian -iIEcv --pedantic --color auto), 
Check: is a very good clue for people who are new to packaging. But it 
could be improved further.


For example in this case,

I: ruby-grape-path-helpers source: older-debian-watch-file-standard 3
N:
I: older-debian-watch-file-standard
N:
N: The version= line in the debian/watch file in this package declares 
an

N: older version. Please upgrade when you have a chance.
N:
N: Refer to the uscan(1) manual page for details.
N:
N: Severity: info
N:
N: Check: debian/watch/standard

Check: debian/watch/standard could be changed to Check: version field 
in debian/watch can be better.


As there is no standard field in debian/watch or there is no 
debian/watch/standard file. It would be obvious to someone who is 
experienced, but making it clearly spelt is helpful to newbies.


Another example is,

E: ruby-grape-path-helpers source: bogus-mail-host Uploaders 
praveen@debian

N:
E: bogus-mail-host
N:
N: The host part of the named contact address is not known or not
N: globally routables, such as localhost(.localdomain).
N:
N: Refer to Debian Policy Manual section 5.6.2 (Maintainer), Debian
N: Policy Manual section 5.6.3 (Uploaders), and Debian Policy Manual
N: section 5.6.4 (Changed-By) for details.
N:
N: Severity: error
N:
N: Check: fields/mail-address

Check: fields/mail-address could be,

Check: Uploaders/Maintainer in debian/control and debian/changelog (if 
we know the line number then mention it)




Bug#846009: sample files

2016-11-27 Thread Pirate Praveen
attaching sample control and copyright files created by npm2deb
Source: node-yargs
Section: web
Priority: optional
Maintainer: Debian Javascript Maintainers 

Uploaders: Pirate Praveen 
Build-Depends:
 debhelper (>= 9)
 , dh-buildinfo
 , nodejs
Standards-Version: 3.9.8
Homepage: http://yargs.js.org/
Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-yargs.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-yargs.git

Package: node-yargs
Architecture: all
Depends:
 ${misc:Depends}
 , nodejs
 , node-os-locale (>= 1.4.0)
 , node-require-directory (>= 2.1.1)
 , node-read-pkg-up (>= 1.0.1)
 , node-y18n (>= 3.2.1)
 , node-set-blocking (>= 2.0.0)
 , node-cliui (>= 3.2.0)
 , node-which-module (>= 1.0.0)
 , node-decamelize (>= 1.1.1)
 , node-require-main-filename (>= 1.0.1)
 , node-yargs-parser (>= 4.1.0)
 , node-get-caller-file (>= 1.0.1)
 , node-string-width (>= 1.0.2)
 , node-camelcase (>= 3.0.0)
 , node-window-size (>= 0.2.0)
Description: yargs the modern, pirate-themed, successor to optimist.
 FIX_ME long description
 .
 Node.js is an event-based server-side JavaScript engine.
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: yargs
Upstream-Contact: https://github.com/yargs/yargs/issues
Source: http://yargs.js.org/

Files: *
Copyright: 2016 FIX_ME upstream author
License: Expat

Files: debian/*
Copyright: 2016 Pirate Praveen 
License: Expat

License: Expat
 Permission is hereby granted, free of charge, to any person
 obtaining a copy of this software and associated documentation files
 (the "Software"), to deal in the Software without restriction,
 including without limitation the rights to use, copy, modify, merge,
 publish, distribute, sublicense, and/or sell copies of the Software,
 and to permit persons to whom the Software is furnished to do so,
 subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be
 included in all copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
 BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.



signature.asc
Description: OpenPGP digital signature


Bug#846009: look for FIX-MEs in control and copyright created by npm2deb

2016-11-27 Thread Pirate Praveen
package: lintian
severity: wishlist
version: 2.5.49

npm2deb creates template values in control and copyright. Please look
for this and mark this as error (it gets rejected by ftp masters).



signature.asc
Description: OpenPGP digital signature


Bug#808013: lintian does not understand #!/usr/bin/env rake

2015-12-15 Thread Pirate Praveen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

package: lintian
version: 2.5.38.1

See attached Rakefile. lintian gives the following warning

W: gitlab: unusual-interpreter usr/share/gitlab/Rakefile #!rake
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJWb/J0AAoJEM4fnGdFEsIqobAP/jP+EYMsOCojgOwO1LYWh4Me
sT665/UrJ5XOb9kYEljQu24ICnvQzb4ma3SWKIblFcRSndwfUX/GSOqDcXxxDvpP
iVREjeIeJVYroWaltUHr4ChyAfOLsFoRd+6UJLrZKvxR3p4oFxkLXqPRYS6BHgrW
lIcdXIM+8vMlFlFm9L0tIjpfnAugd6FXS2XRzga1J5WftOXDqAypriyqDtoJz+D8
zLO+H73ynQEDvNux25x3a8gyvk8Qv/FY1Je195uoeYqdiA/hjh6JmqQ9XQdSv36s
bYEbpJo6PJ68KjHfLw0eInePk+fyx+RkTzaZv+fWxfxWKONcY6ZH5RjEULNjuRF4
oIAW0jAbLBwo7KM89M56WTDtZtuGOMzQYIDabkdQUdtLcxHFMcywdvdExZb6LUdz
oQciUfx0xZPbk8Asq3vuaXL8NZYYsZ5MoEyVyx2Jo71CmBnB8mIjBPZA11U5Nghf
kLfEPz99feg2Lb7/f4Z2tnjcfzZu7bjrBmCzMqz3YwIzYG8zQLKDziVSxMmy+1LI
dl/UAfU1rSHh/KcrDsIs8kQt6YI4Qc1L5O3rTLuZUngRpF9h9SgXyI5eJwVT7RJn
8TIdWNWKla7doLSWFT4eVIPjx09WGL03o2V/SSwYc50DvLCCbdv+Pb2kl11rotsv
aOu1IUs35K43BcgbKXux
=w5Y3
-END PGP SIGNATURE-
#!/usr/bin/env rake
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be 
available to Rake.

require File.expand_path('../config/application', __FILE__)

Gitlab::Application.load_tasks


Rakefile.sig
Description: PGP signature


Bug#792365: lintian gives false positive for minified js file

2015-07-14 Thread Pirate Praveen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

package: lintian
version: 2.5.33
severity: grave
reason: gives wrong lintian error

the file that gave wrong error is

https://raw.githubusercontent.com/components/highlightjs/master/highligh
t.pack.js

E: ruby-rails-assets-highlightjs source: source-is-missing
app/assets/javascripts/highlightjs/highlight.pack.js
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJVpMfGAAoJEM4fnGdFEsIqYwIP/19JMB5lJ5c03cRNdYiMzBgS
XV8FxJN5MiTPCK0jvZ9hBRkHqMb8/ehtBfBXdQpNzX/BnxPO4oXt1sV6i8yqBNCd
zamovaBAXs7+PYVjRRGkSUd0MXuuXYRilixAZfAbewB3zf81G1+Yw3UQNh8PfXCi
UISYIL/N5JQUk6v8Eq0SKqd/HL1yFajsfr7LzooWP+B0zuiLHUXCgQkQBTFzIvqC
YoFktLWNSk82poagit/EeoTatOfzKV31E9jwvBRg3RfTC/TT5YPvl5rYM9LfHe51
+qu3F66wZabjqbCR0HIF6xVTdJaCfWJgvVuLPCzmNDyirMf03GxRrzyx1TvQzOVB
ydbS1ZhBKDzbNxBJT794FWiYozPtIjtt6pKMwk73xf9ZSIF5QZ04Ej+G6pj0tObk
YCciq9Z+YNe1O6m3zZmP/QzHL5yZA+vxVZAdp/hS9zHs0H66bZ2Qb9ZDSOeQkaXa
rebegdPLNZHC6V3rSpNPEmTaq9h3OZG+vM2kskTJGOSPh5shPZY7+efIJwWKm9w2
y93XlklL9/Q7o9mTQYu+vQB56ECy4YaMph73yz0RzkQeuUn/AlM621Q//cFn1d0C
odi5h9To2DxLXSqw629c6P7AXtlikFYNxBRkL8CG3w9XYCmGzaciOqosgyukDy1h
m286uGX4EsF7SMJqPLMF
=Dvi8
-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: https://lists.debian.org/55a4c7c6.5000...@debian.org



Bug#761048: test-command is sufficient for autopkgtest

2014-09-10 Thread Pirate Praveen
package: lintian
version: 2.5.26

from
http://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/tree/doc/README.package-tests.rst

Test-Command: shell command
If your test only contains a shell command or two, or you want to
re-use an existing upstream test executable and just need to wrap it
with some command like ``dbus-launch`` or ``env``, you can use this
field to specify the shell command directly. It will be run under
``bash -e``. This is mutually exclusive with the ``Tests:`` field.

but lintian give the following warnings, please fix them

W: ruby-kaminari source: missing-runtime-tests-field tests
N:
N:A mandatory field is missing in some paragraph of the
N:debian/tests/control file.
N:
N:Refer to
N:
http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=blob_plain;f=doc/README.package-tests.rst;hb=HEAD
N:for details.
N:
N:Severity: normal, Certainty: certain
N:
N:Check: testsuite, Type: source
N:
P: ruby-kaminari source: unknown-runtime-tests-field test-command
N:
N:A paragraph in debian/tests/control mentions a non standard field.
N:Though allowed, this may indicate an error, as the whole paragraph
will
N:be ignored.
N:
N:Refer to
N:
http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=blob_plain;f=doc/README.package-tests.rst;hb=HEAD
N:for details.
N:
N:Severity: pedantic, Certainty: wild-guess
N:
N:Check: testsuite, Type: source
N:
W: ruby-kaminari source: missing-runtime-tests-field tests
P: ruby-kaminari source: unknown-runtime-tests-field test-command



signature.asc
Description: OpenPGP digital signature


Bug#760570: lintian should update default jre version for bytecode version

2014-09-05 Thread Pirate Praveen
package: lintian
version: 2.5.25

W: gnukhata: incompatible-java-bytecode-format Java7 version (Class
format: 51)
N:
N:The package contains Java class files with a minimum requirement
on the
N:listed Java version. This Java version is not supported by the default
N:JVM in Debian and is therefore likely to be a mistake.

I think lintian should check the version of default-jre during runtime
as default-jre is now java 7.

$ apt-cache policy default-jre
default-jre:
  Installed: 2:1.7-52
  Candidate: 2:1.7-52

Also the package I'm building (gnukhata) explicitly depend on
java7-runtime and uses java-wrappers to find java7 when launching it.

You can get the gnukhata package from here if you want to reproduce this
https://people.debian.org/~praveen/gnukhata/



signature.asc
Description: OpenPGP digital signature


Bug#749023: false flag for duplicate-font-file in fonts-font-awesome-webfonts

2014-05-22 Thread Pirate Praveen
package: lintian
version: 2.5.22.1

When building ruby-font-awesome-rails source package I get the following
warning, but looking at fonts-font-awesome invalidates this claim.

W: fonts-font-awesome-webfonts: duplicate-font-file
usr/share/fonts/truetype/fonts-font-awesome-webfont/fontawesome-webfont.ttf
also in fonts-font-awesome

you can build the package from
http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-font-awesome-rails.git


-- 
To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/537ed23c.3090...@onenetbeyond.org



Bug#746646: false flag source-is-missing for json files in source for ruby-twitter

2014-05-02 Thread Pirate Praveen

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

package: lintian
version: 2.5.22

Was this fixed in 2.5.22.1? I don't see it mentioned in changelog though.

-  Original Message 
Subject: Re: json files in source for ruby-twitter
Resent-Date: Fri, 2 May 2014 08:45:43 + (UTC)
Resent-From: debian-r...@lists.debian.org
Date: Fri, 2 May 2014 10:45:26 +0200
From: Christian Hofstaedtler 
To: Pirate Praveen 
CC: debian-ruby 



* Pirate Praveen  [140502 10:33]:
> There are many json files used for testing and lintian gives following
> errors.
>
> ruby-twitter: source-contains-prebuilt-javascript-object
> spec/fixtures/configuration.json means line length is about 1318
characters
> ruby-twitter: source-is-missing spec/fixtures/configuration.json
>
> I have overridden them but I wanted to ask here if it is okay before I
> upload.

Please also tell the lintian about these; the files are data, not
code, and can be easily edited if needed - I can't see how
"source-is-missing" can apply to those json files.

  -ch

- -- 
 ,''`.  Christian Hofstaedtler 
: :' :  Debian Developer
`. `'   7D1A CFFA D9E0 806C 9C4C  D392 5C13 D6DB 9305 2E03
  `-




-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCAAGBQJTY2pmAAoJEM4fnGdFEsIqpLoP+wS3jgtlBeYRtlCmgbnZFTts
bVdB0rfztqY2E9xfS9i3ujQZpBLJqtvX7s1AEjW+B94BkNwikKAMTB2QVcBpq9Yv
pTnX2TA71v/hWqZ9guoeGMpZ6hJypA9x2P9Aw3Qj8SpWsCmFCum2TTqrIGUQUzZu
borjbLZ6l8INa45OSfok2tXNNeAEtcCuKdRYFOk7qL9ZH1G9GqPgQTZOvZnvbGXN
VEJdd86g93GkGTWe56dA/oALQgPvjDGuPH/rAX0AKwFI6IEZOnrI0G3+bbqYaAU3
Flt8Gz7QMZRrbFwU4WGcrEIlCjnLjk29oWOR9bC1SyEA1X772Spqxs+SUNhIgLEG
ELY1hxFpW7hTlaMlhO9bDp4W3f6Q2qx3jGynxHc9gPtPT9FODL0JqFdZpT6Uhmj/
rnC4Pu1hqz35ic/K+TqcJcwX64xRKfvQlFEiD9IqStqOHNnioKZa1UOZZLb+q2Gv
tAsgY0PNmWx/tF2OYkESuJPL0pAKVG6iu1WOtvDvjxc3uF+4ntqxlpbNXeaEj6P0
HUMwtWX/64jUIZHf358Qf9FKontjq50e7HjterLmch0QbSKRP90BS+v8l1yKezxA
1oUNe2WafcTf+gEAIxYE9aycZSY0ksULJvpBJdUtAF1yJCOWovjoZ2TnrQcnD6eA
ud77VG69h3/oCkyz59Tk
=rL1h
-END PGP SIGNATURE-