OperationTransport said:
Whew nice work. How did you do that?
Though I did spot some artist tags that aren't artist type still.
bugmenot said:
I got annoyed that countless artist tags were no longer artist tags after the migration, so I wrote a script to fix them using data from the old site. All previous artist tags should be artist tags again.
I got annoyed that countless artist tags were no longer artist tags after the migration, so I wrote a script to fix them using data from the old site. All previous artist tags should be artist tags again.
Whew nice work. How did you do that?
Though I did spot some artist tags that aren't artist type still.
I did it by downloading the list of artists in json format from the tag list on the old site, cleaning it up a bit to remove artist names with junk data like newlines and unicode characters, then I used that with a simple Python script that iterates through the list and changes each tag to an artist tag on the server one by one.
It turns out it's taking a bit longer than I thought, I have it running on a different computer and just kind of assumed it would be done by now. I really should have checked it before posting, but I was getting ready for bed and figured that if it wasn't done, it probably would be by the time anyone noticed.
Edit: It's finally done. All previous artist tags should be artist tags again, for real this time.