Re: Bug#101325: lintian: empty (transition) packages shouldn't n

2001-06-21 Thread Richard Braakman
On Wed, Jun 20, 2001 at 05:10:36PM +0100, Julian Gilbey wrote: That's what the next PACKAGE; achieves. Alternatively, in such a case, set a variable $empty_package = 1 and then test the value of this variable around the checks block (lines 1127--1221). There may be some other things which

Re: Bug#101325: lintian: empty (transition) packages shouldn't n

2001-06-21 Thread Julian Gilbey
On Thu, Jun 21, 2001 at 10:53:07AM +0300, Richard Braakman wrote: On Wed, Jun 20, 2001 at 05:10:36PM +0100, Julian Gilbey wrote: That's what the next PACKAGE; achieves. Alternatively, in such a case, set a variable $empty_package = 1 and then test the value of this variable around the

Re: Bug#101325: lintian: empty (transition) packages shouldn't n

2001-06-21 Thread Richard Braakman
On Wed, Jun 20, 2001 at 05:10:36PM +0100, Julian Gilbey wrote: That's what the next PACKAGE; achieves. Alternatively, in such a case, set a variable $empty_package = 1 and then test the value of this variable around the checks block (lines 1127--1221). There may be some other things which

Re: Bug#101325: lintian: empty (transition) packages shouldn't n

2001-06-21 Thread Julian Gilbey
On Thu, Jun 21, 2001 at 10:53:07AM +0300, Richard Braakman wrote: On Wed, Jun 20, 2001 at 05:10:36PM +0100, Julian Gilbey wrote: That's what the next PACKAGE; achieves. Alternatively, in such a case, set a variable $empty_package = 1 and then test the value of this variable around the

Re: Bug#101325: lintian: empty (transition) packages shouldn't n

2001-06-20 Thread Julian Gilbey
On Tue, Jun 19, 2001 at 08:16:59PM -0700, Sean 'Shaleh' Perry wrote: On 19-Jun-2001 Julian Gilbey wrote: On Mon, Jun 18, 2001 at 06:24:52PM -0700, Sean 'Shaleh' Perry wrote: And how am I to tell a package that is empty on purpose from one created by accident? What constitutes empty?

Re: Bug#101325: lintian: empty (transition) packages shouldn't n

2001-06-20 Thread Julian Gilbey
On Wed, Jun 20, 2001 at 08:17:03AM -0700, Sean 'Shaleh' Perry wrote: Somewhere around line 1100 of /usr/bin/lintian (not sure exactly where), you could essentially have the following code: { local $/; open FILELIST, $base/index; my $filelist = FILELIST; if

Re: Bug#101325: lintian: empty (transition) packages shouldn't n

2001-06-20 Thread Julian Gilbey
On Tue, Jun 19, 2001 at 08:16:59PM -0700, Sean 'Shaleh' Perry wrote: On 19-Jun-2001 Julian Gilbey wrote: On Mon, Jun 18, 2001 at 06:24:52PM -0700, Sean 'Shaleh' Perry wrote: And how am I to tell a package that is empty on purpose from one created by accident? What constitutes empty?

RE: Bug#101325: lintian: empty (transition) packages shouldn't n

2001-06-20 Thread Sean 'Shaleh' Perry
Somewhere around line 1100 of /usr/bin/lintian (not sure exactly where), you could essentially have the following code: { local $/; open FILELIST, $base/index; my $filelist = FILELIST; if ($filelist eq ./\n) { print W: no files in binary package $pkg\n;

Re: Bug#101325: lintian: empty (transition) packages shouldn't n

2001-06-20 Thread Julian Gilbey
On Wed, Jun 20, 2001 at 08:17:03AM -0700, Sean 'Shaleh' Perry wrote: Somewhere around line 1100 of /usr/bin/lintian (not sure exactly where), you could essentially have the following code: { local $/; open FILELIST, $base/index; my $filelist = FILELIST; if

Re: Bug#101325: lintian: empty (transition) packages shouldn't n

2001-06-19 Thread Julian Gilbey
On Mon, Jun 18, 2001 at 06:24:52PM -0700, Sean 'Shaleh' Perry wrote: And how am I to tell a package that is empty on purpose from one created by accident? What constitutes empty? Maybe have a lintian warning about an empty package, but no error messages. Julian --

RE: Bug#101325: lintian: empty (transition) packages shouldn't n

2001-06-19 Thread Sean 'Shaleh' Perry
On 19-Jun-2001 Julian Gilbey wrote: On Mon, Jun 18, 2001 at 06:24:52PM -0700, Sean 'Shaleh' Perry wrote: And how am I to tell a package that is empty on purpose from one created by accident? What constitutes empty? Maybe have a lintian warning about an empty package, but no error

RE: Bug#101325: lintian: empty (transition) packages shouldn't n

2001-06-19 Thread Simon Richter
On Mon, 18 Jun 2001, Sean 'Shaleh' Perry wrote: lintian complains about empty packages not having a copyright file. I think it should silently accept empty packages (Severity set to normal because it might actually stop packages from being installed). And how am I to tell a package that

Re: Bug#101325: lintian: empty (transition) packages shouldn't n

2001-06-19 Thread Julian Gilbey
On Mon, Jun 18, 2001 at 06:24:52PM -0700, Sean 'Shaleh' Perry wrote: And how am I to tell a package that is empty on purpose from one created by accident? What constitutes empty? Maybe have a lintian warning about an empty package, but no error messages. Julian --

RE: Bug#101325: lintian: empty (transition) packages shouldn't n

2001-06-19 Thread Sean 'Shaleh' Perry
On 19-Jun-2001 Julian Gilbey wrote: On Mon, Jun 18, 2001 at 06:24:52PM -0700, Sean 'Shaleh' Perry wrote: And how am I to tell a package that is empty on purpose from one created by accident? What constitutes empty? Maybe have a lintian warning about an empty package, but no error

RE: Bug#101325: lintian: empty (transition) packages shouldn't n

2001-06-18 Thread Sean 'Shaleh' Perry
On 18-Jun-2001 Simon Richter wrote: Package: lintian Severity: normal Hi, lintian complains about empty packages not having a copyright file. I think it should silently accept empty packages (Severity set to normal because it might actually stop packages from being installed).

RE: Bug#101325: lintian: empty (transition) packages shouldn't n

2001-06-18 Thread Simon Richter
On Mon, 18 Jun 2001, Sean 'Shaleh' Perry wrote: lintian complains about empty packages not having a copyright file. I think it should silently accept empty packages (Severity set to normal because it might actually stop packages from being installed). And how am I to tell a package that

RE: Bug#101325: lintian: empty (transition) packages shouldn't n

2001-06-18 Thread Sean 'Shaleh' Perry
On 18-Jun-2001 Simon Richter wrote: Package: lintian Severity: normal Hi, lintian complains about empty packages not having a copyright file. I think it should silently accept empty packages (Severity set to normal because it might actually stop packages from being installed).