LibCrowds / libcrowds

The frontend for the LibCrowds crowdsourcing platform
MIT License
33 stars 6 forks source link

Set up 'fixathon' to tidy up previous volumes / projects #849

Open mialondon opened 5 years ago

mialondon commented 5 years ago

Following the steps at https://github.com/LibCrowds/libcrowds/issues/843#issuecomment-524083526

mialondon commented 5 years ago

Notes from Geoffroy Noël copied over from https://github.com/LibCrowds/libcrowds/issues/843

What I can see from my analysis of the database is that some projects didn't have any tasks and it seems to correlate with a missing manifest in the parent volumes. I'm not sure how this actually happened, whether it is an omission during creation or the admin interface being slightly buggy and loosing some inputs when things are not done in a proper sequence.

[and]

As you noted in your message above there is a bug in the admin with the removal of the Volumes that have no tasks. I have fixed that bug locally and will share that soon with you on the repository.

However when that bug is fixed, Libcrowds will show you a message telling you that you can't remove a Volume that contains Projects. So that won't help much. The good news is that you don't need to remove those Volumes.

Instead you can 1) use Pybossa to remove the projects that have no task attached to them, 2) then insert the missing manifest link in the Volume and 3) recreate the project according to the instructions I left above.

Here's an example for this volume: "Miscellaneous London theatres 1807-1857 (Vol. 2)". 1) removing the projects

Please let me know if you have any question.