{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/olympia/issues/463","labels_url":"https://api.github.com/repos/mozilla/olympia/issues/463/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/olympia/issues/463/comments","events_url":"https://api.github.com/repos/mozilla/olympia/issues/463/events","html_url":"https://github.com/mozilla/olympia/pull/463","id":59830779,"number":463,"title":"Increment the version in install.rdf when we mass sign the add-on (bug 1135139)","user":{"login":"magopian","id":167767,"avatar_url":"https://avatars.githubusercontent.com/u/167767?v=3","gravatar_id":"","url":"https://api.github.com/users/magopian","html_url":"https://github.com/magopian","followers_url":"https://api.github.com/users/magopian/followers","following_url":"https://api.github.com/users/magopian/following{/other_user}","gists_url":"https://api.github.com/users/magopian/gists{/gist_id}","starred_url":"https://api.github.com/users/magopian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magopian/subscriptions","organizations_url":"https://api.github.com/users/magopian/orgs","repos_url":"https://api.github.com/users/magopian/repos","events_url":"https://api.github.com/users/magopian/events{/privacy}","received_events_url":"https://api.github.com/users/magopian/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-03-04T17:23:01Z","updated_at":"2015-04-03T20:05:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/olympia/pulls/463","html_url":"https://github.com/mozilla/olympia/pull/463","diff_url":"https://github.com/mozilla/olympia/pull/463.diff","patch_url":"https://github.com/mozilla/olympia/pull/463.patch"},"body":"Fixes [bug 1135139](https://bugzilla.mozilla.org/show_bug.cgi?id=1135139)\r\n\r\nFollowing several discussions with @kmaglione and @joernhees (from https://github.com/RDFLib/rdflib/issues/468), I believe we can't reliably use rdflib in this case. I've thus given a try to `lxml.etree`.\r\n\r\nHere's the diff on the two different install.rdf formats that I know of (left is the file I got from XPI files, the right is the result of the `_bump_version_in_install_rdf method`):\r\n\r\n\"standard\" (most common) install.rdf:\r\n![screen shot 2015-03-09 at 14 29 18](https://cloud.githubusercontent.com/assets/167767/6555870/a0c0ce0a-c669-11e4-95f1-529c3450f44f.png)\r\n\r\n\"alternate\" (deprecated?) install.rdf (the indentation is mine, the end result put each node on a single line):\r\n![screen shot 2015-03-09 at 14 29 02](https://cloud.githubusercontent.com/assets/167767/6555881/b08b1e76-c669-11e4-854a-38644e9f905e.png)\r\n"},"comment":{"url":"https://api.github.com/repos/mozilla/olympia/issues/comments/89407646","html_url":"https://github.com/mozilla/olympia/pull/463#issuecomment-89407646","issue_url":"https://api.github.com/repos/mozilla/olympia/issues/463","id":89407646,"user":{"login":"kmaglione","id":125842,"avatar_url":"https://avatars.githubusercontent.com/u/125842?v=3","gravatar_id":"","url":"https://api.github.com/users/kmaglione","html_url":"https://github.com/kmaglione","followers_url":"https://api.github.com/users/kmaglione/followers","following_url":"https://api.github.com/users/kmaglione/following{/other_user}","gists_url":"https://api.github.com/users/kmaglione/gists{/gist_id}","starred_url":"https://api.github.com/users/kmaglione/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmaglione/subscriptions","organizations_url":"https://api.github.com/users/kmaglione/orgs","repos_url":"https://api.github.com/users/kmaglione/repos","events_url":"https://api.github.com/users/kmaglione/events{/privacy}","received_events_url":"https://api.github.com/users/kmaglione/received_events","type":"User","site_admin":false},"created_at":"2015-04-03T20:05:55Z","updated_at":"2015-04-03T20:05:55Z","body":"I think so. Everything looks good to me."}}