)]}'
{"tools/lp-reset-backport-potential":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"9a80937c7a21ab8a878012e1f03e4e3ee6c4faa0","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"bae84128_4010034f","updated":"2016-02-19 12:28:29.000000000","message":"I would like to have .py suffix in the filename.","commit_id":"98c3c32847bb7b547b44d1aba9f8e88481af5e9f"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"220ffeb580a4b98ba788da8163de6f83540c8971","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"fa0719c6_79f2bc70","in_reply_to":"bae84128_4010034f","updated":"2016-03-22 18:31:52.000000000","message":"Done","commit_id":"98c3c32847bb7b547b44d1aba9f8e88481af5e9f"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"869c48bb134af2d05e9a790a40982d3eb23896f4","unresolved":false,"context_lines":[{"line_number":7,"context_line":""},{"line_number":8,"context_line":"from launchpadlib.launchpad import Launchpad"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"cachedir \u003d \"~/.launchpadlib/cache/\""},{"line_number":11,"context_line":"launchpad \u003d Launchpad.login_with(\u0027neutron-reset-backport-potential\u0027, \u0027production\u0027)"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"for release in (\u0027kilo\u0027, \u0027liberty\u0027):"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"da85f559_26858706","line":10,"updated":"2015-11-14 16:35:52.000000000","message":"useless cachedir variable","commit_id":"98c3c32847bb7b547b44d1aba9f8e88481af5e9f"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"220ffeb580a4b98ba788da8163de6f83540c8971","unresolved":false,"context_lines":[{"line_number":7,"context_line":""},{"line_number":8,"context_line":"from launchpadlib.launchpad import Launchpad"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"cachedir \u003d \"~/.launchpadlib/cache/\""},{"line_number":11,"context_line":"launchpad \u003d Launchpad.login_with(\u0027neutron-reset-backport-potential\u0027, \u0027production\u0027)"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"for release in (\u0027kilo\u0027, \u0027liberty\u0027):"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"fa0719c6_39f9644e","line":10,"in_reply_to":"da85f559_26858706","updated":"2016-03-22 18:31:52.000000000","message":"Done","commit_id":"98c3c32847bb7b547b44d1aba9f8e88481af5e9f"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"8d37f8603f5e285baa65d43802f59f85828d6c94","unresolved":false,"context_lines":[{"line_number":8,"context_line":"from launchpadlib.launchpad import Launchpad"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"cachedir \u003d \"~/.launchpadlib/cache/\""},{"line_number":11,"context_line":"launchpad \u003d Launchpad.login_with(\u0027neutron-reset-backport-potential\u0027, \u0027production\u0027)"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"for release in (\u0027kilo\u0027, \u0027liberty\u0027):"},{"line_number":14,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":1,"id":"5aef4532_f8e89f7e","line":11,"range":{"start_line":11,"start_character":34,"end_line":11,"end_character":66},"updated":"2016-03-08 15:49:04.000000000","message":"Is this an actual user? Or does it not matter? Would maybe be best if you took an option for the user to use when logging in and making the updates.\n\nOtherwise it looks like you can get anonymous access:\n\nhttps://help.launchpad.net/API/launchpadlib#Anonymous_access\n\nAnyway, I should look at what the release scripts in release-tools do for this because I know they update bug status in launchpad.","commit_id":"98c3c32847bb7b547b44d1aba9f8e88481af5e9f"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"325701761ce092e2f0b9ea310896fb2cb2e1778e","unresolved":false,"context_lines":[{"line_number":8,"context_line":"from launchpadlib.launchpad import Launchpad"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"cachedir \u003d \"~/.launchpadlib/cache/\""},{"line_number":11,"context_line":"launchpad \u003d Launchpad.login_with(\u0027neutron-reset-backport-potential\u0027, \u0027production\u0027)"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"for release in (\u0027kilo\u0027, \u0027liberty\u0027):"},{"line_number":14,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":1,"id":"5aef4532_fb5a5429","line":11,"range":{"start_line":11,"start_character":34,"end_line":11,"end_character":66},"in_reply_to":"5aef4532_607df11b","updated":"2016-03-08 17:16:47.000000000","message":"yes, Launchpad.login_with opens the browser to authenticate and enables the application to use your LP account for a certain time.","commit_id":"98c3c32847bb7b547b44d1aba9f8e88481af5e9f"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"15dc267a3f0b5be4e5272ccbd6fa0f558ff56de3","unresolved":false,"context_lines":[{"line_number":8,"context_line":"from launchpadlib.launchpad import Launchpad"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"cachedir \u003d \"~/.launchpadlib/cache/\""},{"line_number":11,"context_line":"launchpad \u003d Launchpad.login_with(\u0027neutron-reset-backport-potential\u0027, \u0027production\u0027)"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"for release in (\u0027kilo\u0027, \u0027liberty\u0027):"},{"line_number":14,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":1,"id":"5aef4532_607df11b","line":11,"range":{"start_line":11,"start_character":34,"end_line":11,"end_character":66},"in_reply_to":"5aef4532_f8e89f7e","updated":"2016-03-08 17:03:21.000000000","message":"AFAIR you need to initialize the auth cookie as in: https://help.launchpad.net/API/launchpadlib#Authenticated_access","commit_id":"98c3c32847bb7b547b44d1aba9f8e88481af5e9f"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"0e7685c41e3d921ee6c76d198fdcba1ddfa7dd58","unresolved":false,"context_lines":[{"line_number":10,"context_line":"cachedir \u003d \"~/.launchpadlib/cache/\""},{"line_number":11,"context_line":"launchpad \u003d Launchpad.login_with(\u0027neutron-reset-backport-potential\u0027, \u0027production\u0027)"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"for release in (\u0027kilo\u0027, \u0027liberty\u0027):"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"    in_tag \u003d \u0027in-stable-%s\u0027 % release"},{"line_number":16,"context_line":"    potential_tag \u003d \u0027%s-backport-potential\u0027 % release"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"da85f559_864eb3bf","line":13,"updated":"2015-11-14 17:04:56.000000000","message":"also should add juno and mitaka here.","commit_id":"98c3c32847bb7b547b44d1aba9f8e88481af5e9f"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"325701761ce092e2f0b9ea310896fb2cb2e1778e","unresolved":false,"context_lines":[{"line_number":10,"context_line":"cachedir \u003d \"~/.launchpadlib/cache/\""},{"line_number":11,"context_line":"launchpad \u003d Launchpad.login_with(\u0027neutron-reset-backport-potential\u0027, \u0027production\u0027)"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"for release in (\u0027kilo\u0027, \u0027liberty\u0027):"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"    in_tag \u003d \u0027in-stable-%s\u0027 % release"},{"line_number":16,"context_line":"    potential_tag \u003d \u0027%s-backport-potential\u0027 % release"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"5aef4532_5bdee86d","line":13,"in_reply_to":"da85f559_864eb3bf","updated":"2016-03-08 17:16:47.000000000","message":"(out of change scope) ideally, we could query LP to deduce in_tags and potential_tags BUT i fail to find how as LP only publishs \"official\" tags.","commit_id":"98c3c32847bb7b547b44d1aba9f8e88481af5e9f"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"220ffeb580a4b98ba788da8163de6f83540c8971","unresolved":false,"context_lines":[{"line_number":10,"context_line":"cachedir \u003d \"~/.launchpadlib/cache/\""},{"line_number":11,"context_line":"launchpad \u003d Launchpad.login_with(\u0027neutron-reset-backport-potential\u0027, \u0027production\u0027)"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"for release in (\u0027kilo\u0027, \u0027liberty\u0027):"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"    in_tag \u003d \u0027in-stable-%s\u0027 % release"},{"line_number":16,"context_line":"    potential_tag \u003d \u0027%s-backport-potential\u0027 % release"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"fa0719c6_9964f022","line":13,"in_reply_to":"da85f559_864eb3bf","updated":"2016-03-22 18:31:52.000000000","message":"Done","commit_id":"98c3c32847bb7b547b44d1aba9f8e88481af5e9f"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"ecd3c992237b29a85ef77b9f7e5438a09145a140","unresolved":false,"context_lines":[{"line_number":15,"context_line":"    in_tag \u003d \u0027in-stable-%s\u0027 % release"},{"line_number":16,"context_line":"    potential_tag \u003d \u0027%s-backport-potential\u0027 % release"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"    for task in launchpad.projects[\u0027neutron\u0027].searchTasks(tags\u003d[potential_tag]):"},{"line_number":19,"context_line":"        bug \u003d task.bug"},{"line_number":20,"context_line":"        tags \u003d bug.tags"},{"line_number":21,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":1,"id":"5aef4532_2c580832","line":18,"range":{"start_line":18,"start_character":36,"end_line":18,"end_character":43},"updated":"2016-03-08 15:49:34.000000000","message":"If we move this script to release-tools, we\u0027ll want this to be an argument to pass in on the command line.","commit_id":"98c3c32847bb7b547b44d1aba9f8e88481af5e9f"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"220ffeb580a4b98ba788da8163de6f83540c8971","unresolved":false,"context_lines":[{"line_number":15,"context_line":"    in_tag \u003d \u0027in-stable-%s\u0027 % release"},{"line_number":16,"context_line":"    potential_tag \u003d \u0027%s-backport-potential\u0027 % release"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"    for task in launchpad.projects[\u0027neutron\u0027].searchTasks(tags\u003d[potential_tag]):"},{"line_number":19,"context_line":"        bug \u003d task.bug"},{"line_number":20,"context_line":"        tags \u003d bug.tags"},{"line_number":21,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":1,"id":"fa0719c6_944e756d","line":18,"range":{"start_line":18,"start_character":36,"end_line":18,"end_character":43},"in_reply_to":"5aef4532_2c580832","updated":"2016-03-22 18:31:52.000000000","message":"Done","commit_id":"98c3c32847bb7b547b44d1aba9f8e88481af5e9f"},{"author":{"_account_id":14611,"name":"dasm","display_name":"dasm","email":"dsmigiel@redhat.com","username":"dasm"},"change_message_id":"6b4fac29c596ed91af3cd8c4a92c81f417ace9c9","unresolved":false,"context_lines":[{"line_number":20,"context_line":"        tags \u003d bug.tags"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"        if in_tag in tags:"},{"line_number":23,"context_line":"            print \"Removing %s tag for %s\" % (potential_tag, bug)"},{"line_number":24,"context_line":"            tags.remove(potential_tag)"},{"line_number":25,"context_line":"            bug.tags \u003d tags"},{"line_number":26,"context_line":"            bug.lp_save()"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"da85f559_065883f9","line":23,"updated":"2015-11-14 16:23:20.000000000","message":"We probably should use Python3 expression:\n\n  print(\"Removing %s tag for %s\" % (potential_tag, bug))","commit_id":"98c3c32847bb7b547b44d1aba9f8e88481af5e9f"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"8d37f8603f5e285baa65d43802f59f85828d6c94","unresolved":false,"context_lines":[{"line_number":20,"context_line":"        tags \u003d bug.tags"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"        if in_tag in tags:"},{"line_number":23,"context_line":"            print \"Removing %s tag for %s\" % (potential_tag, bug)"},{"line_number":24,"context_line":"            tags.remove(potential_tag)"},{"line_number":25,"context_line":"            bug.tags \u003d tags"},{"line_number":26,"context_line":"            bug.lp_save()"}],"source_content_type":"application/octet-stream","patch_set":1,"id":"5aef4532_6c14d043","line":23,"in_reply_to":"da85f559_065883f9","updated":"2016-03-08 15:49:04.000000000","message":"I think you can just import the print function:\n\nfrom __future__ import print_function","commit_id":"98c3c32847bb7b547b44d1aba9f8e88481af5e9f"}]}
