{"action":"opened","issue":{"url":"https://api.github.com/repos/rachelproject/rachelplus/issues/58","repository_url":"https://api.github.com/repos/rachelproject/rachelplus","labels_url":"https://api.github.com/repos/rachelproject/rachelplus/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/rachelproject/rachelplus/issues/58/comments","events_url":"https://api.github.com/repos/rachelproject/rachelplus/issues/58/events","html_url":"https://github.com/rachelproject/rachelplus/issues/58","id":156925014,"number":58,"title":"bad db for some modules","user":{"login":"needlestack","id":5177260,"avatar_url":"https://avatars.githubusercontent.com/u/5177260?v=3","gravatar_id":"","url":"https://api.github.com/users/needlestack","html_url":"https://github.com/needlestack","followers_url":"https://api.github.com/users/needlestack/followers","following_url":"https://api.github.com/users/needlestack/following{/other_user}","gists_url":"https://api.github.com/users/needlestack/gists{/gist_id}","starred_url":"https://api.github.com/users/needlestack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/needlestack/subscriptions","organizations_url":"https://api.github.com/users/needlestack/orgs","repos_url":"https://api.github.com/users/needlestack/repos","events_url":"https://api.github.com/users/needlestack/events{/privacy}","received_events_url":"https://api.github.com/users/needlestack/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-26T07:52:53Z","updated_at":"2016-05-26T07:52:53Z","closed_at":null,"body":"When we made the name format change to start with the language code, it broke the links in the db for the following modules:\r\n\r\n```\r\nen-hesperian_health/search/hesperian_health.db\r\nen-infonet/search/infonet.db\r\nen-law_library/search/law_library.db\r\nen-medline_plus/search/medline_plus.db\r\nen-oya/search/oya.db\r\nen-practical_action/search/practical_action.db\r\nes-wikihow/search/wikihow-es.db\r\n```\r\n\r\nI have updated these modules on dev so an rsync will fix it. Alternately, you can fix it with the following command:\r\n\r\n`sqlite3 [modname]/search/[dbname].db \"update pages set url = 'en-'||url\"`\r\n\r\nBut be sure to put \"es-\" if you're updating es-wikihow.\r\n\r\nSorry for the rigmarole related to this change. Will be more careful in the future. "}}
{"actor":{"display_login":"needlestack"}}