Bug#467650: debian-edu: Downloads things, does not clean up after itself.

2008-03-03 Thread Andreas Tille

On Sat, 1 Mar 2008, Kurt Roeckx wrote:


I had some problems with mail getting to me.  Things are now slowly
being processed.  I can't really follow everything that's happened
with this.


Ahh, OK, thanks for clarifying this.


cdd-dev would get a Depends on apt.  I'm perfectly happy with that.
I would consider that part of the bug to be serious.

It's just downloading Packages files, while I thought it was actually
downloading .deb's file.  I clearly didn't properly read the build log.
I don't have a problem with this part anymore.  But I would like to
suggest you use whatever is currently on the system (in
/var/lib/apt/lists/).  I don't see why you need to download it again.


Well, it is not necessarily the Packages file of the system you
are using to build the package.  For instance if you are building
in pbuilder you have proably the list of packages in unstable.
If you want to have the control file builded to add only Recommends
to packages that are available in testing (which makes perfectly
sense and is used in this way) - you need to download a packages
file from testing.


I think someone also cloned it to say it doesn't work if there is no
network.  That's probably a bug in cdd-dev then, and would also be
serious.


OK.  You need network to download something - but I partly agree
with you that this is not really a good solution.  I worked over
last weekend on the issue you raised and found a solution that
solves this problem in so far, that the information we need is
stored in the debian-edu package source before the package is
builded and there will be no need for download any more.  The
current solution has the side effect that we might produce architecture
any packages that Recommend packages which are avialbale in i386.
This will most probably lead to bugs package recommends packages
not available for this architecture sooner or later.  In case
it will be later I have a longer term plan how to fix this.  In
case it is sooner we have to live with these not so serious bug to
fix the serious one reportet by you.


I have a problem with package that leave things behind after they've
been removed and purged, or have build something.  But I can't say
that this is considered to be RC.


OK.  This problem will automatically vanish anyway.


Using the Packages file from the
system would also solve that problem.


It would not have solved this but that's no matter any more.

Thanks for your input

Andreas.

--
http://fam-tille.de



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#467650: debian-edu: Downloads things, does not clean up after itself.

2008-03-01 Thread Kurt Roeckx
On Thu, Feb 28, 2008 at 04:21:17PM +0100, Andreas Tille wrote:
 Petter and me tried to clarify this also as a feature and not
 a bug.  So I would regard this point as void and would like
 to close the bug.  If you don't think so please speak up now.

 It doesnt seem to work, according to the original bug report...

 Well, the original reporter raised three different points in
 his bug report (filed three times :-() and I wonder which point
 he regards as grave and especially why.  If the reporter does
 not answer questistions about his report I would downgrade
 and set moreinfo tag at least.

I had some problems with mail getting to me.  Things are now slowly
being processed.  I can't really follow everything that's happened
with this.

From what I understand so far:

cdd-dev would get a Depends on apt.  I'm perfectly happy with that.
I would consider that part of the bug to be serious.

It's just downloading Packages files, while I thought it was actually
downloading .deb's file.  I clearly didn't properly read the build log.
I don't have a problem with this part anymore.  But I would like to
suggest you use whatever is currently on the system (in
/var/lib/apt/lists/).  I don't see why you need to download it again.

I think someone also cloned it to say it doesn't work if there is no
network.  That's probably a bug in cdd-dev then, and would also be
serious.

I have a problem with package that leave things behind after they've
been removed and purged, or have build something.  But I can't say
that this is considered to be RC.  Using the Packages file from the
system would also solve that problem.


Kurt




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Processed: Re: Bug#467650: debian-edu: Downloads things, does not clean up after itself.

2008-02-28 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 clone 467650 -1
Bug#467650: debian-edu: Downloads things, does not clean up after itself.
Bug 467650 cloned as bug 468345.

 clone 467650 -2
Bug#467650: debian-edu: Downloads things, does not clean up after itself.
Bug 467650 cloned as bug 468346.

 retitle 467650 missing build-dependency on apt
Bug#467650: debian-edu: Downloads things, does not clean up after itself.
Changed Bug title to `missing build-dependency on apt' from `debian-edu: 
Downloads things, does not clean up after itself.'.

 retitle -1 network check broken, fails to build without network
Bug#468345: debian-edu: Downloads things, does not clean up after itself.
Changed Bug title to `network check broken, fails to build without network' 
from `debian-edu: Downloads things, does not clean up after itself.'.

 retitle -2 doesnt clean up properly after build
Bug#468346: debian-edu: Downloads things, does not clean up after itself.
Changed Bug title to `doesnt clean up properly after build' from `debian-edu: 
Downloads things, does not clean up after itself.'.

 severity -1 important
Bug#468345: network check broken, fails to build without network
Severity set to `important' from `grave'

 severity -2 normal
Bug#468346: doesnt clean up properly after build
Severity set to `normal' from `grave'

 reassign -2 cdd-dev
Bug#468346: doesnt clean up properly after build
Bug reassigned from package `debian-edu' to `cdd-dev'.

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#467650: debian-edu: Downloads things, does not clean up after itself.

2008-02-28 Thread Andreas Tille

On Tue, 26 Feb 2008, Petter Reinholdtsen wrote:


[Kurt Roeckx]

It seems that apt downloads things from a debian mirror and puts it in
../tmp.


Yes.  It is part of the purpose of the package.


So I would not regard this as bug but a feature, right.


There are a few problems with this:
- It's missing a build dependency on apt, which isn't part of
  essential + build essential.


Good point.  Need to be fixed.


I added the following changelog to cdd package:

  * Add Depends: apt-get to cdd-dev package
Closes: #467650

I would like to reassign this bug to cdd-dev package and close
it with an upload.  Kurt, does this fit your point of view of
the problem?


- Since you download things, the sources aren't available for it,
  so I don't see how you comply with the DFSG.  (Or I have no
  idea why you download things.)


Petter and me tried to clarify this also as a feature and not
a bug.  So I would regard this point as void and would like
to close the bug.  If you don't think so please speak up now.

Kind regards

 Andreas.

--
http://fam-tille.de



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#467650: Processed: Re: Bug#467650: debian-edu: Downloads things, does not clean up after itself.

2008-02-28 Thread Andreas Tille

Uhmm, Kurt could you please do us a favour and do not file the
same bug three times and instead respond to the requests for
clarification?

As I said in my last comment to #467650 I would like to
reassign the problem to cdd-dev and close the bug by with
the apt-get dependency.  If you don't agree please add some
more detailed explanation what exactly your problem is.

Kind regards

 Andreas.

On Thu, 28 Feb 2008, Debian Bug Tracking System wrote:


Processing commands for [EMAIL PROTECTED]:


clone 467650 -1

Bug#467650: debian-edu: Downloads things, does not clean up after itself.
Bug 467650 cloned as bug 468345.


clone 467650 -2

Bug#467650: debian-edu: Downloads things, does not clean up after itself.
Bug 467650 cloned as bug 468346.


retitle 467650 missing build-dependency on apt

Bug#467650: debian-edu: Downloads things, does not clean up after itself.
Changed Bug title to `missing build-dependency on apt' from `debian-edu: 
Downloads things, does not clean up after itself.'.


retitle -1 network check broken, fails to build without network

Bug#468345: debian-edu: Downloads things, does not clean up after itself.
Changed Bug title to `network check broken, fails to build without network' 
from `debian-edu: Downloads things, does not clean up after itself.'.


retitle -2 doesnt clean up properly after build

Bug#468346: debian-edu: Downloads things, does not clean up after itself.
Changed Bug title to `doesnt clean up properly after build' from `debian-edu: 
Downloads things, does not clean up after itself.'.


severity -1 important

Bug#468345: network check broken, fails to build without network
Severity set to `important' from `grave'


severity -2 normal

Bug#468346: doesnt clean up properly after build
Severity set to `normal' from `grave'


reassign -2 cdd-dev

Bug#468346: doesnt clean up properly after build
Bug reassigned from package `debian-edu' to `cdd-dev'.


thanks

Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)





--
http://fam-tille.de



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#467650: Processed: Re: Bug#467650: debian-edu: Downloads things, does not clean up after itself.

2008-02-28 Thread Holger Levsen
Hi Andreas,

On Thursday 28 February 2008 14:54, Andreas Tille wrote:
 Uhmm, Kurt could you please do us a favour...

I cloned the bug, Kurt didnt do it :)

 As I said in my last comment to #467650 I would like to
 reassign the problem to cdd-dev and close the bug by with
 the apt-get dependency.  If you don't agree please add some
 more detailed explanation what exactly your problem is.

As I read the bug report, there were three issues. As some were easier to fix 
than others, I decided to clone the bug to reflect this. Otherwise I feared 
the most critical issue would be fixed and the rest forgotten (as its a 
pretty easy thing to add a build-depends :)

And as easy as it is to clone bug, it's easy to close them :-)

regards,
Holger


pgpZYQRY4N6na.pgp
Description: PGP signature


Bug#467650: debian-edu: Downloads things, does not clean up after itself.

2008-02-28 Thread Andreas Tille

On Thu, 28 Feb 2008, Holger Levsen wrote:


On Thursday 28 February 2008 14:46, Andreas Tille wrote:

I would like to reassign this bug to cdd-dev package and close
it with an upload.


You dont _have to_ reassign to close the bug with an upload :-)


Hmmm, once I tried without reassigning and got a message that
I would try to close bug that belongs to a different package
which is not possible.  I would regard this as a reasonable
measure to prevent closing bugs unintentionally because of
typos.  Did this changed in the last time?


Petter and me tried to clarify this also as a feature and not
a bug.  So I would regard this point as void and would like
to close the bug.  If you don't think so please speak up now.


It doesnt seem to work, according to the original bug report...


Well, the original reporter raised three different points in
his bug report (filed three times :-() and I wonder which point
he regards as grave and especially why.  If the reporter does
not answer questistions about his report I would downgrade
and set moreinfo tag at least.

Kind regards

Andreas.

--
http://fam-tille.de



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#467650: Processed: Re: Bug#467650: debian-edu: Downloads things, does not clean up after itself.

2008-02-28 Thread Andreas Tille

On Thu, 28 Feb 2008, Holger Levsen wrote:


On Thursday 28 February 2008 14:54, Andreas Tille wrote:

Uhmm, Kurt could you please do us a favour...


I cloned the bug, Kurt didnt do it :)


Ahhh, sorry Kurt.  Blame my ignorance for bothering you for
this thing. ;-)


As I read the bug report, there were three issues. As some were easier to fix
than others, I decided to clone the bug to reflect this. Otherwise I feared
the most critical issue would be fixed and the rest forgotten (as its a
pretty easy thing to add a build-depends :)

And as easy as it is to clone bug, it's easy to close them :-)


Well, #467650 should be against cdd-dev and it is in fact fixed
on my local hard-disk.  If cdd-dev depends from apt-get this problem
is very easy to solve.

Also #468346 would be very easy to solve - we would just loose
a feature which is seldomly used.

The third bug #468345 is the hard part.  I would see a solution but
I wonder whether it is _really_ a bug.  The solution would be to
sync Packages.gz files into our SVN and just provide a copy of
the Packages.gz files at build time inside the debian-edu source
tarball - or at least a stripped down version.  I gained some
experience to read out Packages files when building the tasks
web pages and thus I see a chance to strip down Packages.gz to
the essence we need.

Hmmm, thinking twice about it we could perhaps do even better and
do not create the debian/control file at package building time but
do this when building the debian-edu source tarball.  I have to
sleep about this.  So there are chances to fix this - but I'm not
convinced that this is a real bug.  I'm keen on hearing comments
from Kurt.

Kind regards

Andreas.

--
http://fam-tille.de



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#468347: Processed: Re: Bug#467650: debian-edu: Downloads things, does not clean up after itself.

2008-02-28 Thread Holger Levsen
Hi,

On Thursday 28 February 2008 16:34, Andreas Tille wrote:
 Well, #467650 should be against cdd-dev and it is in fact fixed
 on my local hard-disk.  If cdd-dev depends from apt-get this problem
 is very easy to solve.

Cheers.

 Also #468346 would be very easy to solve - we would just loose
 a feature which is seldomly used.

You need to be able to build without network. Otherwise the source package 
doesnt contain all the sources needed to build the binary - DFSG violation.

 Hmmm, thinking twice about it we could perhaps do even better and
 do not create the debian/control file at package building time but
 do this when building the debian-edu source tarball.  I have to
 sleep about this.  So there are chances to fix this - but I'm not
 convinced that this is a real bug.  I'm keen on hearing comments
 from Kurt.

Sounds good to me. Sleep well :)


regards,
Holger


pgpT7WFJEuyDh.pgp
Description: PGP signature


Bug#467650: debian-edu: Downloads things, does not clean up after itself.

2008-02-28 Thread Kurt Roeckx
On Tue, Feb 26, 2008 at 10:46:59PM +0100, Andreas Tille wrote:
 On Tue, 26 Feb 2008, Petter Reinholdtsen wrote:

 There are a few problems with this:
 - It's missing a build dependency on apt, which isn't part of
   essential + build essential.

 Good point.  Need to be fixed.

 Yes it should.  IMHO the simplest solution would be to make
 cdd-dev dependant from apt.
 On the other hand - why isn't apt not part of essential?

Because it's not.  What is part of essential is dpkg.

 - Since you download things, the sources aren't available for it,
   so I don't see how you comply with the DFSG.  (Or I have no
   idea why you download things.)

 The package check if there is net, and if there is net it download the
 list of packages available from the debian repository of choice and
 uses this information to filter the priority of the list of wanted
 packages to generate tasksel tasks and meta packages (packages with
 only dependencies).  As the list of available packages differ over
 time, as well as differ from architecture to architecture, the
 generated package lists are supposed to reflect this.  It is the
 purpose of this package.

 I fail to see the actual conflict with DSFG.  Kurt, could you please
 specify the point you have in mind that conflicts?  I hope this is
 not the point why you tagged the bug grave because I do not see a good
 chance to change this.

From that description I have to wonder why you need to download all
those .deb files.  Can't you do the same thing with just the Packages
file?

Since it doesn't actually seem to be doing much with the .deb's it
downloads, I don't see a problem anymore.

 - Since it's not put in the build dir, it doesn't get cleaned up.

 This should be fixed too.

 Well, if we would fix it we will have to refuse the option to profit from
 this cache if you work offline.  This is no big loss, but putting it
 outside the build dir was intended for exactly the purpose to have it
 not cleaned up.  I admit that it is not really a clean solution.  We
 might think about reading an environment variable, say OFFLINE=yes
 and keep the cache if this is set, while removeing it otherwise.  This
 should be done in cdd-dev package.

Putting it in some arbitrary path isn't very useful.  If all packages
start to write to ../tmp and store something there, sooner or later
things will break.


Kurt




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#467650: debian-edu: Downloads things, does not clean up after itself.

2008-02-28 Thread Andreas Tille

On Thu, 28 Feb 2008, Kurt Roeckx wrote:


On the other hand - why isn't apt not part of essential?


Because it's not.  What is part of essential is dpkg.


Well, I'm aware of the current state - I just was wondering
whether apt should not become a part of essential.  This is
just a question which is not at all related to your bug report.


From that description I have to wonder why you need to download all
those .deb files.  Can't you do the same thing with just the Packages
file?


There are no packages downloaded at all.  Only packages files are
parsed for the availablity of packages in a certain distribution.


Putting it in some arbitrary path isn't very useful.  If all packages
start to write to ../tmp and store something there, sooner or later
things will break.


Well, I doubt that so many packages have good reasons to do so.  I
would not really call it a clean solution but fail to see the danger
of breaking anything serious.

On the other hand if we follow my plan for building the control file
I posted in the last mail the problem will vanish at the build machine
because the temporary directory (if needed) will stay on the machine
where the source package is assembled.  So the build machine stays
clean.

Kind regards

  Andreas.

--
http://fam-tille.de



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#467650: debian-edu: Downloads things, does not clean up after itself.

2008-02-26 Thread Kurt Roeckx
Package: debian-edu
Version: 0.826
Severity: grave

Hi,

It seems that apt downloads things from a debian mirror and puts it in
../tmp.

There are a few problems with this:
- It's missing a build dependency on apt, which isn't part of
  essential + build essential.
- Since you download things, the sources aren't available for it,
  so I don't see how you comply with the DFSG.  (Or I have no
  idea why you download things.)
- Since it's not put in the build dir, it doesn't get cleaned up.


Kurt




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#467650: debian-edu: Downloads things, does not clean up after itself.

2008-02-26 Thread Petter Reinholdtsen
[Kurt Roeckx]
 It seems that apt downloads things from a debian mirror and puts it in
 ../tmp.

Yes.  It is part of the purpose of the package.

 There are a few problems with this:
 - It's missing a build dependency on apt, which isn't part of
   essential + build essential.

Good point.  Need to be fixed.

 - Since you download things, the sources aren't available for it,
   so I don't see how you comply with the DFSG.  (Or I have no
   idea why you download things.)

The package check if there is net, and if there is net it download the
list of packages available from the debian repository of choice and
uses this information to filter the priority of the list of wanted
packages to generate tasksel tasks and meta packages (packages with
only dependencies).  As the list of available packages differ over
time, as well as differ from architecture to architecture, the
generated package lists are supposed to reflect this.  It is the
purpose of this package.

If there is no net, it uses the package lists it generated the last
time it was built.  At least that is the intention.  Not sure if it
has been tested the last few years. :)

 - Since it's not put in the build dir, it doesn't get cleaned up.

This should be fixed too.

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#467650: debian-edu: Downloads things, does not clean up after itself.

2008-02-26 Thread Andreas Tille

On Tue, 26 Feb 2008, Petter Reinholdtsen wrote:


There are a few problems with this:
- It's missing a build dependency on apt, which isn't part of
  essential + build essential.


Good point.  Need to be fixed.


Yes it should.  IMHO the simplest solution would be to make
cdd-dev dependant from apt.
On the other hand - why isn't apt not part of essential?


- Since you download things, the sources aren't available for it,
  so I don't see how you comply with the DFSG.  (Or I have no
  idea why you download things.)


The package check if there is net, and if there is net it download the
list of packages available from the debian repository of choice and
uses this information to filter the priority of the list of wanted
packages to generate tasksel tasks and meta packages (packages with
only dependencies).  As the list of available packages differ over
time, as well as differ from architecture to architecture, the
generated package lists are supposed to reflect this.  It is the
purpose of this package.


I fail to see the actual conflict with DSFG.  Kurt, could you please
specify the point you have in mind that conflicts?  I hope this is
not the point why you tagged the bug grave because I do not see a good
chance to change this.


- Since it's not put in the build dir, it doesn't get cleaned up.


This should be fixed too.


Well, if we would fix it we will have to refuse the option to profit from
this cache if you work offline.  This is no big loss, but putting it
outside the build dir was intended for exactly the purpose to have it
not cleaned up.  I admit that it is not really a clean solution.  We
might think about reading an environment variable, say OFFLINE=yes
and keep the cache if this is set, while removeing it otherwise.  This
should be done in cdd-dev package.

Kind regards

 Andreas.

--
http://fam-tille.de



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]