Subject: Add a modality to check for a package dir _before_ doing the build
Date: Mon, 02 Aug 2004 01:57:12 +0200
Package: lintian
Version: 1.23.2
Severity: wishlist
Hello,
It would be nice to be able to run lintian on a package directory before
running debuild, to be able to catch various trivial things such as CVS
or .svn directories left around, debian versions when no matching
.orig.tar.gz is present in the upper directory and so on.
A possibility of spotting them before the build would be very valuable
to avoid spending long time waiting for the build to discover that a
.svn dir has left around or that I forgot to generate the .orig.tar.gz
and restart the build again.
Bye,
Enrico
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-686-smp
Locale: LANG=it_IT@euro, LC_CTYPE=it_IT@euro
Versions of packages lintian depends on:
ii binutils 2.15-1 The GNU assembler, linker and bina
ii diffstat 1.34-1 produces graph of changes introduc
ii file 4.10-3 Determines file type using "magic"
ii gettext 0.14.1-5 GNU Internationalization utilities
ii man-db 2.4.2-19 The on-line manual pager
ii perl [libdigest-md5-perl] 5.8.4-2 Larry Wall's Practical Extraction
-- no debconf information
Subject: Re: Bug#262783: Add a modality to check for a package dir _before_ doing the build
Date: Mon, 2 Aug 2004 02:25:36 +0200
On Mon, Aug 02, 2004 at 01:57:12AM +0200, Enrico Zini wrote:
> It would be nice to be able to run lintian on a package directory before
> running debuild, to be able to catch various trivial things such as CVS
> or .svn directories left around, debian versions when no matching
> .orig.tar.gz is present in the upper directory and so on.
>
> A possibility of spotting them before the build would be very valuable
> to avoid spending long time waiting for the build to discover that a
> .svn dir has left around or that I forgot to generate the .orig.tar.gz
> and restart the build again.
You should be able to emulate this behaviour by only running
dpkg-source -b and then calling lintian on the resulting source
package.
Interesting idea, though. Let's see what we can do :)
Gruesse,
--
Frank Lichtenheld <[email protected]>
www: http://www.djpig.de/
Changed Bug title to 'lintian: Add an optional to check for a package dir before performing a build' from '[frontend] Add a modality to check for a package dir _before_ doing the build'.
Request was from Chris Lamb <[email protected]>
to [email protected].
(Mon, 29 Jan 2018 13:48:16 GMT) (full text, mbox, link).
Acknowledgement sent
to Otto Kekäläinen <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <[email protected]>.
(Thu, 28 Dec 2023 12:09:04 GMT) (full text, mbox, link).
Hi!
I just wanted to +1 on this idea.
I am exploring this in order to get my text editor to nag about findings
immediately without separate build steps. To implement something similar to
e.g. linter-shellcheck[1] in my favorite editor it would help immensely if
Lintian would accept simply the path to an existing 'debian/' directory as
an argument, or even better if it would accept individual files (e.g.
debian/control) and then run all the lints that are applicable to plain
debian/* files.
[1] https://web.pulsar-edit.dev/packages/linter-shellcheck
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.