Red Hat Bugzilla – Bug 153124
using the same csv file twice should not require the --force option
Last modified: 2007-04-18 13:22:36 EDT
Description of problem: Using the same csv file twice, even after deleting the
downloads first, you must use the --force option. As pointed out by cmacleod,
this doesn't make much sense, so I'm going to remove the --force option and
change the download-manager to be able to use the same csv file multiple times
without requiring a separate option.
Removed the --force option and added the ability for rhn-download-manager to use
the same csv file twice.
this isn't entirly true.
If you attempt to use the same csv file twice without deleteing anything that
should require a force option (or be disallowed completely). doing 2 straight
uploads would result in duplicate isos on the website.
The problem I described was when isos were uploaded, then delete and then
attempted to reupload again. Basically what happens is that they produce isos,
then they get uploaded then they respinand we have to resync the isos and
reupload them again after deleting them.
rhn-download-manager shouldn't throw a FileModified error when doing a
delete-upload cycle using the same csv file. It will throw a
DuplicateFileError if the user attempts to upload a file that already
exists in the db.
Mass move to ON_QA
<wregglej> mspevack_hm: chris has been using the changes I made to
download-manager for a while now, you probably don't need to test that. There's
not an easy test plan for that.
<mspevack_hm> ok, PROD_READY it is :-)