Skip to content

userFixesLink

cashTangoTangoCash edited this page Oct 28, 2016 · 2 revisions

up

ask user to fix a link manually

When automatic methods of fixing a link fail, the script can prompt the user to attempt to fix a broken link manually.

This feature is off by default. It's enabled by the flag -u, --userFixesLinks.

benefits:

  • user will not need to fix this link again; repair data goes in pastInteractiveRepairs.csv file

  • script will remember a link the user chose not to fix, and not prompt user to fix it again (pastInteractiveRepairs.csv file holds this data)

  • gives user the option to stop program execution and wrap things up cleanly

Storing data in pastInteractiveRepairs.csv is much simpler than sqlite database approach. A csv file is easy to edit. A database does not seem necessary since a user is not expected to carry out large numbers of manual link repairs.

more to do (TODO)

  • in interactive manual repair of a broken link, allow user to directly input link rather than v.9 search facility