Debian Bug report logs - #262783
lintian: Add an optional to check for a package dir before performing a build

version graph

Package: lintian; Maintainer for lintian is Debian Lintian Maintainers <[email protected]>; Source for lintian is src:lintian (PTS, buildd, popcon).

Reported by: Enrico Zini <[email protected]>

Date: Mon, 2 Aug 2004 00:03:03 UTC

Severity: wishlist

Merged with 461490

Found in versions 1.23.2, lintian/1.23.41

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Debian Lintian Maintainers <[email protected]>:
Bug#262783; Package lintian. (full text, mbox, link).


Acknowledgement sent to Enrico Zini <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian Lintian Maintainers <[email protected]>. (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Enrico Zini <[email protected]>
To: Debian Bug Tracking System <[email protected]>
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



Information forwarded to [email protected], Debian Lintian Maintainers <[email protected]>:
Bug#262783; Package lintian. (full text, mbox, link).


Acknowledgement sent to Frank Lichtenheld <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <[email protected]>. (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Frank Lichtenheld <[email protected]>
To: Enrico Zini <[email protected]>, [email protected]
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. Request was from Frank Lichtenheld <[email protected]> to [email protected]. (full text, mbox, link).


Merged 262783 461490. Request was from Russ Allbery <[email protected]> to [email protected]. (Fri, 18 Jan 2008 23:42:04 GMT) (full text, mbox, link).


Merged 262783 461490 Request was from Bastien ROUCARIES <[email protected]> to [email protected]. (Sat, 19 Jul 2014 08:21:04 GMT) (full text, mbox, link).


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).


Information forwarded to [email protected], Debian Lintian Maintainers <[email protected]>:
Bug#262783; Package lintian. (Thu, 28 Dec 2023 12:09:04 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).


Message #23 received at [email protected] (full text, mbox, reply):

From: Otto Kekäläinen <[email protected]>
To: [email protected]
Subject: Re: lintian: Add an optional to check for a package dir before performing a build
Date: Thu, 28 Dec 2023 12:06:13 +0000
[Message part 1 (text/plain, inline)]
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
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 08:13:21 2025; Machine Name: bembo

Debian Bug tracking system

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/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.