Bug#541261: Please also use prefix for pool when using FakeComponentPrefix

2009-08-13 Thread Bernhard R. Link
* Daniel Baumann dan...@debian.org [090812 21:49]:
 when using FakeComponentPrefix, it would be nice if reprepro (at least
 optionally) could put the packages for a given prefix into pool/$prefix
 just as debian does it.

I think making that possible would be quite complicated. (There might be
ways to do, but they would be break horible if that option is changed
after package are already added).

Is there a reason for storing those file at this place? I only see
disadvantages.

Hochachtungsvoll,
Bernhard R. Link



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#541261: Please also use prefix for pool when using FakeComponentPrefix

2009-08-13 Thread Daniel Baumann
Bernhard R. Link wrote:
 Is there a reason for storing those file at this place? I only see
 disadvantages.

first, debian does it that way and for some people it's important to
replicate the same alike repositories.

second, it's nifty for mirroring. you can rsync over the whole
repository, and exclude the submodules in dists and pool you don't want,
and be done with it. no error prone and crappy packages.gz/sources.gz
parsing that tools like debmirror need to do and often break or choke up
with.

Regards,
Daniel

-- 
Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:  daniel.baum...@panthera-systems.net
Internet:   http://people.panthera-systems.net/~daniel-baumann/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#541261: Please also use prefix for pool when using FakeComponentPrefix

2009-08-13 Thread Bernhard R. Link
package reprepro
tags 54126 + pending
thanks

* Daniel Baumann dan...@debian.org [090813 16:16]:
 Bernhard R. Link wrote:
  Is there a reason for storing those file at this place? I only see
  disadvantages.

 first, debian does it that way and for some people it's important to
 replicate the same alike repositories.

 second, it's nifty for mirroring. you can rsync over the whole
 repository, and exclude the submodules in dists and pool you don't want,
 and be done with it. no error prone and crappy packages.gz/sources.gz
 parsing that tools like debmirror need to do and often break or choke up
 with.

I think I found a solution: Instead of telling reprepro to put the files
to a different place, one can just change the components to where one
actually wants them. This then only need some code to not have the
prefix than stored in the path of the dists dirs multiple times, which
I committed to CVS and which will be in the next version.

(i.e. it will then be possible to have

Codename: name/bla
FakeComponentPrefix: bla
Components: bla/name1 bla/name2

which (with or without FakeComponentPrefix already stores files in
pool/bla/name*) but have the same look in dists as one now gets with
the same without the bla in Components.

Hochachtungsvoll,
Bernhard R. Link



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#541261: Please also use prefix for pool when using FakeComponentPrefix

2009-08-13 Thread Daniel Baumann
Bernhard R. Link wrote:
 I think I found a solution: Instead of telling reprepro to put the files
 to a different place, one can just change the components to where one
 actually wants them. This then only need some code to not have the
 prefix than stored in the path of the dists dirs multiple times, which
 I committed to CVS and which will be in the next version.

this is really great, thank you very much.

-- 
Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:  daniel.baum...@panthera-systems.net
Internet:   http://people.panthera-systems.net/~daniel-baumann/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#541261: Please also use prefix for pool when using FakeComponentPrefix

2009-08-12 Thread Daniel Baumann
Package: reprepro
Severity: wishlist

Hi,

when using FakeComponentPrefix, it would be nice if reprepro (at least
optionally) could put the packages for a given prefix into pool/$prefix
just as debian does it.

Regards,
Daniel

-- 
Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:  daniel.baum...@panthera-systems.net
Internet:   http://people.panthera-systems.net/~daniel-baumann/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org