Issue tracker moved to https://gitlab.archlinux.org/archlinux/aurweb/-/issues
FS#2547 - Upload not adding to DB
Attached to Project:
AUR web interface
Opened by Simo Leone (neotuli) - Monday, 11 April 2005, 23:38 GMT
Last edited by Paul Mattal (paul) - Thursday, 14 April 2005, 03:31 GMT
Opened by Simo Leone (neotuli) - Monday, 11 April 2005, 23:38 GMT
Last edited by Paul Mattal (paul) - Thursday, 14 April 2005, 03:31 GMT
|
DetailsI'm not entirely sure what's going on, but I uploaded libticables and its files appeared where I would one would expect them to be, but it didn't seem to get added to the db.
Repeated resubmissions (without "overwrite package" checked) kept allowing me to upload it over and over again, yet it never appears in any of the package lists, but it's files are there, as usual. |
This task depends upon
libticables.tar.gz
I'll snoop around and see if I can figure out the root cause of it. At least there should be some better error handling of this.
Along those same lines, it wouldn't kill us to write a simple cleanup script that lists everything in the package directory, and checks for corresponding db entries, if there isn't an entry, maybe move the package to another directory for a manual double check or just plain delete it.
I'm working on the second half of the bug now. Think I'm onto something.
When in fact, we were the dummies. ;)
This fix will go out with v1.0.1.
UPDATE Packages SET CategoryID = 1 WHERE CategoryID = 19
2>I can see the package page, and I see that you've been there already
3>Would you mind manually unsetting that dummy bit?
We might want to unset our own as well :)