)]}'
{"jenkins/scripts/ZanataUtils.py":[{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"83931ccd5da00540eda1d229a7eb9d8d1eb4adcf","unresolved":false,"context_lines":[{"line_number":61,"context_line":""},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"class ZanataRestService:"},{"line_number":64,"context_line":"    def __init__(self, zconfig, content_type\u003d\u0027application/xml\u0027):"},{"line_number":65,"context_line":"        self.url \u003d zconfig.url"},{"line_number":66,"context_line":"        self.headers \u003d {\u0027Accept\u0027: content_type,"},{"line_number":67,"context_line":"                        \u0027Content-Type\u0027: content_type,"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_faf8904b","line":64,"updated":"2015-07-06 21:12:49.000000000","message":"Maybe be more explicit about the encoding? i think utf8 is typically recommended, content_type\u003d\u0027application/xml;charset\u003dutf-8\u0027","commit_id":"8de852939b3a24b0c26171004e8805b9a2cbe58c"},{"author":{"_account_id":9369,"name":"Steve Kowalik","email":"steven@wedontsleep.org","username":"stevenk"},"change_message_id":"aa9f26ddbb90ece7af384c5df670e556c1676545","unresolved":false,"context_lines":[{"line_number":61,"context_line":""},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"class ZanataRestService:"},{"line_number":64,"context_line":"    def __init__(self, zconfig, content_type\u003d\u0027application/xml\u0027):"},{"line_number":65,"context_line":"        self.url \u003d zconfig.url"},{"line_number":66,"context_line":"        self.headers \u003d {\u0027Accept\u0027: content_type,"},{"line_number":67,"context_line":"                        \u0027Content-Type\u0027: content_type,"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_07a2b84b","line":64,"in_reply_to":"ba3cc151_faf8904b","updated":"2015-07-06 23:53:29.000000000","message":"Not sure if that works with the Zanata server, but I\u0027ll try it out.","commit_id":"8de852939b3a24b0c26171004e8805b9a2cbe58c"}],"jenkins/scripts/register-zanata-projects.py":[{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"83931ccd5da00540eda1d229a7eb9d8d1eb4adcf","unresolved":false,"context_lines":[{"line_number":58,"context_line":""},{"line_number":59,"context_line":"def main():"},{"line_number":60,"context_line":"    zc \u003d IniConfig(os.path.expanduser(\u0027~/.config/zanata.ini\u0027))"},{"line_number":61,"context_line":"    rest_service \u003d ZanataRestService(zc, content_type\u003d\u0027application/json\u0027)"},{"line_number":62,"context_line":"    for project in sorted(parse_project_data()):"},{"line_number":63,"context_line":"        registered \u003d is_project_registered(rest_service, project)"},{"line_number":64,"context_line":"        master \u003d False"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_18dd3d14","line":61,"updated":"2015-07-06 21:12:49.000000000","message":"probably better to provide encoding.","commit_id":"8de852939b3a24b0c26171004e8805b9a2cbe58c"},{"author":{"_account_id":6547,"name":"Andreas Jaeger","email":"jaegerandi@gmail.com","username":"jaegerandi"},"change_message_id":"1dcb81e8d9111d45440242e6f2a43ca24ceb77d0","unresolved":false,"context_lines":[{"line_number":74,"context_line":"            if register_project(rest_service, project):"},{"line_number":75,"context_line":"                print(\"\\tProject registered.\")"},{"line_number":76,"context_line":"            else:"},{"line_number":77,"context_line":"                print(\"\\tFailure registering project.\")"},{"line_number":78,"context_line":"                continue"},{"line_number":79,"context_line":"        if not master:"},{"line_number":80,"context_line":"            if not newly_registered:"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_81ea91d9","line":77,"updated":"2015-07-03 08:03:02.000000000","message":"What should be done if a failure happens? Shouldn\u0027t the script exit with failure code at the end?","commit_id":"8de852939b3a24b0c26171004e8805b9a2cbe58c"},{"author":{"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"},"change_message_id":"6982ce1be885ef0ed9c7a89b593f0708a98602d8","unresolved":false,"context_lines":[{"line_number":26,"context_line":"def parse_project_data():"},{"line_number":27,"context_line":"    data \u003d yaml.load(open(\u0027gerrit/projects.yaml\u0027))"},{"line_number":28,"context_line":"    return [project[\u0027project\u0027].split(\u0027/\u0027)[1]"},{"line_number":29,"context_line":"            for project in data if project.get(\u0027translate\u0027) \u003d\u003d True]"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"def is_project_registered(rest_service, project):"}],"source_content_type":"text/x-python","patch_set":8,"id":"3a50d1a3_e6f1e46b","line":29,"updated":"2015-07-30 21:14:36.000000000","message":"Have to agree with Clark, we have code in jeepyb for reading gerrit/projects.yaml and try to keep it contained there so that we have only one place to fix when we change that file\u0027s formatting.","commit_id":"92a25190add24d909ab895ffef2b85a0b7954452"}],"zuul/layout.yaml":[{"author":{"_account_id":6547,"name":"Andreas Jaeger","email":"jaegerandi@gmail.com","username":"jaegerandi"},"change_message_id":"0ea542ae825cc6e94ecdddb809622751228b55db","unresolved":false,"context_lines":[{"line_number":5086,"context_line":"      - gate-project-config-irc-access"},{"line_number":5087,"context_line":"      - gate-project-config-jenkins-project"},{"line_number":5088,"context_line":"      - gate-project-config-projects-yaml"},{"line_number":5089,"context_line":"      - gate-project-config-zanata-project"},{"line_number":5090,"context_line":"      - check-infra-docs-index"},{"line_number":5091,"context_line":"      - check-generate-specs-site"},{"line_number":5092,"context_line":"    post:"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"ba3cc151_49442b73","line":5089,"updated":"2015-07-07 17:40:13.000000000","message":"This will execute this during trying to merge. I think this needs to be a post job.","commit_id":"4d00dfaa442b6f005a553e4ed53c19cbe50b459a"},{"author":{"_account_id":6547,"name":"Andreas Jaeger","email":"jaegerandi@gmail.com","username":"jaegerandi"},"change_message_id":"c2a26514c80f0206dc6723a23f2654be57f22450","unresolved":false,"context_lines":[{"line_number":909,"context_line":"      - \u0027tools/check_projects_yaml_alphabetized.sh\u0027"},{"line_number":910,"context_line":"      - \u0027tox.ini\u0027"},{"line_number":911,"context_line":""},{"line_number":912,"context_line":"  - name: post-project-config-zanata-project"},{"line_number":913,"context_line":"    files:"},{"line_number":914,"context_line":"      - \u0027check_valid_gerrit_projects.py\u0027"},{"line_number":915,"context_line":"      - \u0027gerrit/projects.yaml\u0027"}],"source_content_type":"text/x-yaml","patch_set":7,"id":"3a50d1a3_16334263","line":912,"updated":"2015-07-29 06:04:05.000000000","message":"This is not supported with *post* jobs. The job will not run if you add this, please remove again.","commit_id":"482cd834292c11bc2506b3cff94be42aa02c4203"}]}
