Page MenuHomePhabricator

Add a flag "Can be removed" to unsuccessful uploads of IA Upload
Open, Needs TriagePublic

Description

When IA Upload fails, often users get and upload into Commons a running djvu otherwise, and pending upload becomes unuseful and confounding. A flag to suggest removal of pending item could be useful to clear the list, while waiting for needed debugging of the tool.

See too T182778 for a suggestion about debugging some ia-upload failures.

Event Timeline

Restricted Application added a project: Community-Tech. · View Herald TranscriptDec 20 2017, 8:36 AM

I guess any authenticated user would be able to add the flag (and I guess, also remove it)? That sounds good.

How should the actual deleting of the job happen? We could look up users' permissions on wiki and allow admins to delete jobs (although, we don't currently know *which* Wikisource people are from, so that could be slowish). Although, we do know the language of the job, so perhaps we just allow admins from that language to delete the job? That'd be reasonably quick to find out, I think.

Samwilson moved this task from Backlog to Needs discussion on the IA Upload board.Dec 20 2017, 9:26 AM
Alex_brollo added a comment.EditedDec 20 2017, 10:27 AM

The best IMHO would be, that the flag could be activated only by "ia-upload-sysops" (if they exist...) or by the uploader, like it happens into archive.org items, after a successful OAuth access.

Another clean trick could be, to follow links pointing to Commons, and to delete all queued items where the link points to an existing djvu file.

Samwilson removed Samwilson as the assignee of this task.Feb 27 2018, 2:35 AM
Samwilson added a subscriber: Samwilson.

I'm not sure when I'll find time for this, sorry.