Comment 1 for bug 30415

Revision history for this message
Celso Providelo (cprov) wrote :

I agree with some of your points and we do have a plan for rearranging the directory structure on the server to allow 'lazy' uploads and also allow 'Personal Package Archives'uploads to be landed. Something like:

{{{
/distros/<distro_name>/
/people/<person_name>/distros/<distro_name>/
}}}

Each directory beyond those paths will be processed contextually.

Following you suggestion, I think, we need to support a single control file inside the upload directory which controls its processing, of course, it needs support from 'dput' side. It would be something like:

{{{
at /distros/ubuntu/<upload_directory_name>/<control_file> containing:
proccess = False
}}}

I don't know how to define a reliable way to name the upload directory, since it will be required in the' dput' side to continue the upload later.

Also it needs a way to minimize exploits by having a lot of locked upload_directories, maybe removing directories older than a some age (one day would be a lot, IMO).

Anyway, the current prototype hasidentified problem, let's discuss available mid-term solutions.