{"push_id":562850937,"size":3,"distinct_size":3,"ref":"refs/heads/1597-fix-committee-appearances","head":"82bb11c06e68273cd35387b696de3642d567a759","before":"57bf083fcc3e8ad6e1657ffddded85ab9e482453","commits":[{"sha":"759c7963d4afda928a51bd0d8316bdbe0ebbfa5f","author":{"email":"7ece978167073d004197c0d6655799d1a2ce976e@pobox.com","name":"Mark Longair"},"message":"Add a script to fix inconsistent references to people from SayIt speakers\n\nWe have changed the form of IDs in the South African PopIt instance\nseveral times, but without removing the entries corresponding to old\nPopIt IDs from the popit-django popit_person table. This meant that the\nname resolution on importing new committee proceedings could associate\nthe speeches with various SayIt speakers corresponding to different\nentries in that table.\n\nThis commit introduces a script to hopefully clean up that mess; it\ntries to remove any row with an deprecated format ID from the\npopit_person table, safely removing any SayIt Speaker or EntityName\nassociated with that row. It also removes any rows from this table that\ncan't be associated with any Pombola core Person any more, so long as\nthey are not referenced any more.\n\nThis should fix #1597 and hopefully #1601.\n\nThe underlying issue (that Pombola ZA stores the identity of people in\nfive different places) is being addressed by #1594.","distinct":true,"url":"https://api.github.com/repos/mysociety/pombola/commits/759c7963d4afda928a51bd0d8316bdbe0ebbfa5f"},{"sha":"be8ea0d21e2d5e4998569b0186bd154a88151d1e","author":{"email":"7ece978167073d004197c0d6655799d1a2ce976e@pobox.com","name":"Mark Longair"},"message":"Currently we're using an empty scheme for PopIt IDs","distinct":true,"url":"https://api.github.com/repos/mysociety/pombola/commits/be8ea0d21e2d5e4998569b0186bd154a88151d1e"},{"sha":"82bb11c06e68273cd35387b696de3642d567a759","author":{"email":"7ece978167073d004197c0d6655799d1a2ce976e@pobox.com","name":"Mark Longair"},"message":"Check that there are no duplicate popit_url entries","distinct":true,"url":"https://api.github.com/repos/mysociety/pombola/commits/82bb11c06e68273cd35387b696de3642d567a759"}]}