pgxn / pgxn-api

Maintain and serve a REST API to search PGXN mirrors
http://pgxn.org/
15 stars 2 forks source link

Ensure Tag Case is Correct #3

Closed theory closed 13 years ago

theory commented 13 years ago

Just got this error from pgxn_api_sync:

/etc/cron.hourly/sync_pgxn:
Cannot open www/mirror/tag/Italian.json: No such file or directory
run-parts: /etc/cron.hourly/sync_pgxn exited with return code 2

Curiously, while the master mirror has an italian.json, the API mirror does not. And neither has Italian.json. So I suspect it's not doing the right thing. It should be lowercasing the tag name for the JSON file at all times. Right? Confirm with the PGXN Manager code.

theory commented 13 years ago

Done in 6b405a76e472d807a106f769880af6ac49564c4a, and for nicknames. But the same treatment probably needs to be made to extensions and distributions, but right now PGXN::Manager preserves cases in those files. That will need to be changed.

theory commented 13 years ago

Deployed.