Bug#342772: reprepro: Should delete empty directories in pool when removing a package

2005-12-10 Thread Julien Valroff
Package: reprepro
Severity: wishlist

When removeing a package from a distribution, reprepro should delete the empty
directory in pool/.

For example, if I wan to remove the package reprepro from the unstable 
distribution,
'reprepro -b . remove sid reprepro' should delete pool/main/r/reprepro/ _if_ 
there are
no other reprepro versions in other distributions, as well as pool/main/r/ _if_ 
no other
pckage begins with 'r'.

Cheers,
Julien



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



Bug#342772: reprepro: Should delete empty directories in pool when removing a package

2005-12-10 Thread Bernhard R. Link
* Julien Valroff [EMAIL PROTECTED] [051210 09:48]:
 When removeing a package from a distribution, reprepro should delete the empty
 directory in pool/.

After running find pool -type d -empty and then fastly 
find pool -depth -type d -empty -exec rmdir -- {} \;
because there were over 400 such emtpy directories I considered your
suggestion a very good idea and implemented it in reprepro.

The feature is implemented in CVS and will be included in the next
release of reprepro (which I normaly only make after some things have
collected up or something urgent is there).

If you want to test the new feature, CVS tree can be checked out via:
cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/mirrorer login  
cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/mirrorer co reprepro
(password for login is empty, as usually with alioth)

Hochachtungsvoll,
Bernhard R. Link


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