)]}'
{"tools/zanata/ZanataUtils.py":[{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"f4bbdb498cfc3092814750711aad3ffe3ef2c0f5","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2015 Hewlett-Packard Development Company, L.P."},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"# not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a1ced50_582b96eb","line":1,"updated":"2017-03-18 02:30:51.000000000","message":"I copied from https://git.openstack.org/cgit/openstack-infra/project-config/plain/jenkins/scripts/ZanataUtils.py and did some minor modifications - https://review.openstack.org/#/c/447178/ is under review now.","commit_id":"676799071d4eb145ec96a1d7c1402b0109301216"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"553c77295137c72001a66a58cfc9a5f54863dd95","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"from io import BytesIO"},{"line_number":16,"context_line":"import json"},{"line_number":17,"context_line":"from lxml import etree"},{"line_number":18,"context_line":"import os"},{"line_number":19,"context_line":"import re"},{"line_number":20,"context_line":"import requests"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a1ced50_2c013caf","line":17,"range":{"start_line":17,"start_character":0,"end_line":17,"end_character":9},"updated":"2017-03-18 10:58:37.000000000","message":"lxml needs to be added to requirements.txt","commit_id":"676799071d4eb145ec96a1d7c1402b0109301216"},{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"ae5778527431f7b63fc9912e53e8d16588b39301","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"from io import BytesIO"},{"line_number":16,"context_line":"import json"},{"line_number":17,"context_line":"from lxml import etree"},{"line_number":18,"context_line":"import os"},{"line_number":19,"context_line":"import re"},{"line_number":20,"context_line":"import requests"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a1ced50_270157af","line":17,"range":{"start_line":17,"start_character":0,"end_line":17,"end_character":9},"in_reply_to":"1a1ced50_2c013caf","updated":"2017-03-18 14:58:45.000000000","message":"Done","commit_id":"676799071d4eb145ec96a1d7c1402b0109301216"}],"tools/zanata/zanata_userinfo.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"553c77295137c72001a66a58cfc9a5f54863dd95","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"1a1ced50_ac2b6c2f","updated":"2017-03-18 10:58:37.000000000","message":"Can only zanata admin or language coordinator run this script?\n\nWhen I tried to run this, I got 403 error.\nI am neither Zanata admin nor a language coordinator.\n\nIf there is some requirements, it would be nice to have a comment on this.","commit_id":"676799071d4eb145ec96a1d7c1402b0109301216"},{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"ae5778527431f7b63fc9912e53e8d16588b39301","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"1a1ced50_c720834c","in_reply_to":"1a1ced50_ac2b6c2f","updated":"2017-03-18 14:58:45.000000000","message":"Although Zanata API documentation for accounts API [1] does not describe this in details, it seems that your saying is right - I have simply tested with one new user id (even no translator in one language team) in openstack-dev.o.o but it also returns 403 error.\n\nNow instead I am pasting my execution result [2], and I added a description with argparse.\n\n[1] https://zanata.ci.cloudbees.com/job/zanata-api-site/site/zanata-common-api/rest-api-docs/resource_AccountResource.html\n[2] http://paste.openstack.org/show/603273/","commit_id":"676799071d4eb145ec96a1d7c1402b0109301216"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"9670c37f08d1e2a53a64bebe5db6eab2764a1c45","unresolved":false,"context_lines":[{"line_number":85,"context_line":""},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"def read_language_team_yaml(translation_team_uri, lang_list):"},{"line_number":88,"context_line":"    LOG.debug(\u0027Process list of language team from uri: %s\u0027,"},{"line_number":89,"context_line":"              translation_team_uri)"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    content \u003d yaml.safe_load(io.open(translation_team_uri, \u0027r\u0027))"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a1ced50_76094395","line":88,"range":{"start_line":88,"start_character":4,"end_line":88,"end_character":13},"updated":"2017-03-18 06:51:14.000000000","message":"I think this does not output anything now as no log handler is setup.\nI am okay with it now. I will clean it up later.","commit_id":"676799071d4eb145ec96a1d7c1402b0109301216"},{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"ec23b7694c108eeaa7091c77c58281f25c38c074","unresolved":false,"context_lines":[{"line_number":85,"context_line":""},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"def read_language_team_yaml(translation_team_uri, lang_list):"},{"line_number":88,"context_line":"    LOG.debug(\u0027Process list of language team from uri: %s\u0027,"},{"line_number":89,"context_line":"              translation_team_uri)"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    content \u003d yaml.safe_load(io.open(translation_team_uri, \u0027r\u0027))"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a1ced50_e7cbbf70","line":88,"range":{"start_line":88,"start_character":4,"end_line":88,"end_character":13},"in_reply_to":"1a1ced50_07f29bd2","updated":"2017-03-18 15:01:43.000000000","message":"Oh the content in Ib2b29896ca596f24cfb0c18602334435be6c2e13 - I see. Let\u0027s address it on the next time.","commit_id":"676799071d4eb145ec96a1d7c1402b0109301216"},{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"ae5778527431f7b63fc9912e53e8d16588b39301","unresolved":false,"context_lines":[{"line_number":85,"context_line":""},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"def read_language_team_yaml(translation_team_uri, lang_list):"},{"line_number":88,"context_line":"    LOG.debug(\u0027Process list of language team from uri: %s\u0027,"},{"line_number":89,"context_line":"              translation_team_uri)"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    content \u003d yaml.safe_load(io.open(translation_team_uri, \u0027r\u0027))"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a1ced50_07f29bd2","line":88,"range":{"start_line":88,"start_character":4,"end_line":88,"end_character":13},"in_reply_to":"1a1ced50_56c7e711","updated":"2017-03-18 14:58:45.000000000","message":"Q: Line 28 \"LOG \u003d logging.getLogger(__name__)\" is not a log output setup? Additional things would be needed?","commit_id":"676799071d4eb145ec96a1d7c1402b0109301216"},{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"25382f39b02481ef34adfea719dad62ef57f06af","unresolved":false,"context_lines":[{"line_number":85,"context_line":""},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"def read_language_team_yaml(translation_team_uri, lang_list):"},{"line_number":88,"context_line":"    LOG.debug(\u0027Process list of language team from uri: %s\u0027,"},{"line_number":89,"context_line":"              translation_team_uri)"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    content \u003d yaml.safe_load(io.open(translation_team_uri, \u0027r\u0027))"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a1ced50_56c7e711","line":88,"range":{"start_line":88,"start_character":4,"end_line":88,"end_character":13},"in_reply_to":"1a1ced50_76094395","updated":"2017-03-18 07:08:48.000000000","message":"Aha yep I forgot setting up a log handler.","commit_id":"676799071d4eb145ec96a1d7c1402b0109301216"}]}
