retitle 291296 Rebuild options need to cover more
tags 291296 +experimental
tags 291296 +confirmed
thanks

On Wed, Jan 19, 2005 at 11:11:42PM +0100, Francesco P. Lovergine wrote:
> Package: debpool
> Version: 0.1.9
> Severity: wishlist
> 
> Working on debian-gis archive on alioth debpool messed up Sources,
> Packages and probably its internal file due to / full. But for a 
> proper handling and checking of updates :-/ it would be nice 
> if debpool had a recover option to recreate its internal file
> starting from pool/ and installed/ files. The archive tree should yet have
> all files required for that AFAIK. 

Sounds like you want --rebuild-all. Unfortunately, this currently only
includes --rebuild-files (which regenerates the Sources and Packages
files). The --rebuild-dbs option does not yet function, but is intended to
rebuild the on-disk DBs (though on further consideration, this may be an
interesting task). Sounds like there also needs to be a --rebuild-<mumble>
option for rebuilding the .source and .package files from which Sources and
Packages are built, if it isn't save to assume that they ever got written.

In the meanwhile, I think it should be possible to grab *everything* that
got installed for the various packages (changes, dsc, etc), and put then
in the incoming/ area of a new archive, then fire it by hand. This is
effectively re-uploading things, and probably wouldn't work in an archive
that still had old data in it. Even the orig tarball detection in 0.1.10,
however, doesn't try to use the .changes file to decide if the orig tarball
should be in the upload or in the archive; instead, it simply requires
that it exist in one (and only one) of the two places. I may fix this for
0.1.11, now that I think of it...

I agree that the --rebuild-* options need to be able to handle situations
that are somewhat more pathological than they currently can, but I'm not
(yet) sure just what they need to do or how they should do it yet, so this
bug may not be fixed immediately.
-- 
Joel Aelwyn <[EMAIL PROTECTED]>                                       ,''`.
                                                                     : :' :
                                                                     `. `'
                                                                       `-

Attachment: signature.asc
Description: Digital signature

Reply via email to