{"action":"opened","issue":{"url":"https://api.github.com/repos/geoadmin/mf-chsdi3/issues/2323","repository_url":"https://api.github.com/repos/geoadmin/mf-chsdi3","labels_url":"https://api.github.com/repos/geoadmin/mf-chsdi3/issues/2323/labels{/name}","comments_url":"https://api.github.com/repos/geoadmin/mf-chsdi3/issues/2323/comments","events_url":"https://api.github.com/repos/geoadmin/mf-chsdi3/issues/2323/events","html_url":"https://github.com/geoadmin/mf-chsdi3/issues/2323","id":188272252,"number":2323,"title":"Rename 3 metadata layers","user":{"login":"daguer","id":5330196,"avatar_url":"https://avatars.githubusercontent.com/u/5330196?v=3","gravatar_id":"","url":"https://api.github.com/users/daguer","html_url":"https://github.com/daguer","followers_url":"https://api.github.com/users/daguer/followers","following_url":"https://api.github.com/users/daguer/following{/other_user}","gists_url":"https://api.github.com/users/daguer/gists{/gist_id}","starred_url":"https://api.github.com/users/daguer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daguer/subscriptions","organizations_url":"https://api.github.com/users/daguer/orgs","repos_url":"https://api.github.com/users/daguer/repos","events_url":"https://api.github.com/users/daguer/events{/privacy}","received_events_url":"https://api.github.com/users/daguer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-09T15:18:01Z","updated_at":"2016-11-09T15:18:01Z","closed_at":null,"body":"This layer Ids needs to be remapped to new Ids\r\n- ch.swisstopo.landeskarte1000_papier.metadata\r\n  (old ch.swisstopo.lk1000-papierkarte.metadata)\r\n- ch.swisstopo.geologie-gravimetrischer_atlas_papier.metadata\r\n  (old ch.swisstopo.geologie-gravimetrischer_atlas.metadata)\r\n- ch.swisstopo.geologie-grundwasservulnerabilitaet_papier.metadata\r\n  (old ch.swisstopo.gkwvul500-papierkarte.metadata)\r\n\r\n\r\nTO CHECKLIST:\r\n\r\nGeocat:\r\n- [ ] Update entry \r\n\r\nDB:\r\nBOD (maybe more...)\r\n- [ ] catalog\r\n- [ ] dataset\r\n- [ ] geocat_data\r\n- [ ] abnahme\r\n- [ ] layers_js\r\n- [ ] translations\r\n\r\nGeometries\r\n- [ ] associated tables if not used by another layer (for chsdi you can use https://github.com/geoadmin/mf-chsdi3/blob/master/scripts/models_scan.py)\r\n\r\nWMS:\r\n- [ ] Remove from mapfile_includes\r\n- [ ] Remove from WMS services\r\n\r\nCHSDI:\r\n- [ ] models\r\n- [ ] translations\r\n- [ ] makos\r\n- [ ] legends\r\n\r\nSphinx:\r\n- [x] Remove indice if searchable\r\n\r\n\r\nPost deploy tasks:\r\n- [ ] Remove from BOD\r\n- delete from re3.layers_js where pk_layer in ('ch.swisstopo.lk1000-papierkarte.metadata','ch.swisstopo.geologie-gravimetrischer_atlas.metadata','ch.swisstopo.gkwvul500-papierkarte.metadata');\r\n\r\n- delete from dataset where id_dataset in ('ch.swisstopo.lk1000-papierkarte.metadata','ch.swisstopo.geologie-gravimetrischer_atlas.metadata','ch.swisstopo.gkwvul500-papierkarte.metadata');\r\n\r\n- delete from translations where msg_id like '%ch.swisstopo.lk1000-papierkarte.metadata%';\r\n- delete from translations where msg_id like '%ch.swisstopo.geologie-gravimetrischer_atlas.metadata%';\r\n- delete from translations where msg_id like '%ch.swisstopo.gkwvul500-papierkarte.metadata%';\r\n\r\n- [ ] Remove from chsdi\r\n- [ ] Remove from sphinx\r\n"}}
{"actor":{"display_login":"daguer"}}