)]}'
{"jenkins/scripts/common_translation_update.sh":[{"author":{"_account_id":6547,"name":"Andreas Jaeger","email":"jaegerandi@gmail.com","username":"jaegerandi"},"change_message_id":"0a22b6bbc8c6244a5a2334ad66d90124fdcc472d","unresolved":false,"context_lines":[{"line_number":48,"context_line":""},{"line_number":49,"context_line":"    if [ ! -f zanata.xml ]; then"},{"line_number":50,"context_line":"        /usr/local/jenkins/slave_scripts/create-xml.py -p $project -v master --srcdir ${project}/locale --txdir ${project}/locale -f zanata.xml"},{"line_number":51,"context_line":"        HAS_CONFIG\u003d0"},{"line_number":52,"context_line":"    fi"},{"line_number":53,"context_line":"}"},{"line_number":54,"context_line":""}],"source_content_type":"text/x-sh","patch_set":4,"id":"3afb71cf_607dd2b0","line":51,"updated":"2015-06-07 19:03:33.000000000","message":"This will *always* set HAS_CONFIG to 0 which is not desired, even if transifex is used. I guess we need another variable for this file.\n\nI would do it differently: Write down that zanata.xml is never in the repos! We only have a few repos that have a tx init file and I prefer to not have a zanata.xml anywhere at all... If we really need it in some repos, we can add it but since so few repos use it, I would start with not allowing storing it in git.","commit_id":"665c62aad8184d299338cb85174e448eac14e58f"},{"author":{"_account_id":6547,"name":"Andreas Jaeger","email":"jaegerandi@gmail.com","username":"jaegerandi"},"change_message_id":"0a22b6bbc8c6244a5a2334ad66d90124fdcc472d","unresolved":false,"context_lines":[{"line_number":237,"context_line":"    else"},{"line_number":238,"context_line":"        rm -rf .tx"},{"line_number":239,"context_line":"        rm zanata.xml"},{"line_number":240,"context_line":"    fi"},{"line_number":241,"context_line":""},{"line_number":242,"context_line":"    # Don\u0027t send a review if nothing has changed."},{"line_number":243,"context_line":"    if [ `git diff --cached |wc -l` -gt 0 ]; then"}],"source_content_type":"text/x-sh","patch_set":4,"id":"3afb71cf_c05fe63f","line":240,"updated":"2015-06-07 19:03:33.000000000","message":"this needs to be changed according on what you do above.","commit_id":"665c62aad8184d299338cb85174e448eac14e58f"},{"author":{"_account_id":6547,"name":"Andreas Jaeger","email":"jaegerandi@gmail.com","username":"jaegerandi"},"change_message_id":"a58e58c47310149917f2556db075ee89cfaaeba3","unresolved":false,"context_lines":[{"line_number":232,"context_line":"        git checkout -- .tx/config"},{"line_number":233,"context_line":"    else"},{"line_number":234,"context_line":"        rm -rf .tx zanata.xml"},{"line_number":235,"context_line":"    fi"},{"line_number":236,"context_line":""},{"line_number":237,"context_line":"    # Don\u0027t send a review if nothing has changed."},{"line_number":238,"context_line":"    if [ $(git diff --cached | wc -l) -gt 0 ]; then"}],"source_content_type":"text/x-sh","patch_set":5,"id":"fa32b979_047896c3","line":235,"updated":"2015-06-15 07:14:03.000000000","message":"Remove zanata.xml in any case.","commit_id":"7e683036014d22c8c3dc153bd2f50a7b7427d744"}],"jenkins/scripts/create-xml.py":[{"author":{"_account_id":6547,"name":"Andreas Jaeger","email":"jaegerandi@gmail.com","username":"jaegerandi"},"change_message_id":"0a22b6bbc8c6244a5a2334ad66d90124fdcc472d","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"3afb71cf_8059ee5c","updated":"2015-06-07 19:03:33.000000000","message":"Please rename the file to something more specific, e.g. create-zanata-config or create-zanata-xml","commit_id":"665c62aad8184d299338cb85174e448eac14e58f"},{"author":{"_account_id":6547,"name":"Andreas Jaeger","email":"jaegerandi@gmail.com","username":"jaegerandi"},"change_message_id":"0a22b6bbc8c6244a5a2334ad66d90124fdcc472d","unresolved":false,"context_lines":[{"line_number":31,"context_line":""},{"line_number":32,"context_line":"def main():"},{"line_number":33,"context_line":"    args \u003d get_args()"},{"line_number":34,"context_line":"    zc \u003d IniConfig(os.path.expanduser(\u0027~/.config/zanata.ini\u0027))"},{"line_number":35,"context_line":"    ProjectConfig(zc, args.file, project\u003dargs.project,"},{"line_number":36,"context_line":"                  version\u003dargs.version,"},{"line_number":37,"context_line":"                  srcdir\u003dargs.srcdir, txdir\u003dargs.txdir)"}],"source_content_type":"text/x-python","patch_set":4,"id":"3afb71cf_4032d611","line":34,"updated":"2015-06-07 19:03:33.000000000","message":"What happens if zanata.ini does not exist? Could you add sensible defaults that this works without one? Or how should the default look like?","commit_id":"665c62aad8184d299338cb85174e448eac14e58f"}],"jenkins/scripts/propose_translation_update_zanata.sh":[{"author":{"_account_id":6547,"name":"Andreas Jaeger","email":"jaegerandi@gmail.com","username":"jaegerandi"},"change_message_id":"b57ee6721640bd5de8f90ffe8d718fb6ba2e9d7a","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash -xe"},{"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-sh","patch_set":1,"id":"1aca2d91_99f4c487","line":1,"updated":"2015-05-07 19:27:25.000000000","message":"Instead of duplicating this script, what about enhancing the other script with a variable USE_ZANATA - and have this script use the other script after setting USE_ZANATA?\n\nThat way we can keep the scripts in sync...","commit_id":"4ed0700417cdd895107fab30425f08c7bf74b613"},{"author":{"_account_id":6547,"name":"Andreas Jaeger","email":"jaegerandi@gmail.com","username":"jaegerandi"},"change_message_id":"b57ee6721640bd5de8f90ffe8d718fb6ba2e9d7a","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"PROJECT\u003d$1"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"# nb - the version is a zanata concept; i\u0027m not sure what we\u0027ll do with it"},{"line_number":18,"context_line":"VERSION\u003d$2"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"source /usr/local/jenkins/slave_scripts/common_translation_update.sh"}],"source_content_type":"text/x-sh","patch_set":1,"id":"1aca2d91_39ded011","line":17,"updated":"2015-05-07 19:27:25.000000000","message":"AFAIU zanata supports branches, like stable/kilo or master. Is version the concept used for branches?","commit_id":"4ed0700417cdd895107fab30425f08c7bf74b613"}],"jenkins/scripts/upstream_translation_update.sh":[{"author":{"_account_id":6547,"name":"Andreas Jaeger","email":"jaegerandi@gmail.com","username":"jaegerandi"},"change_message_id":"7ef841850718f0735939882eaf76b58a6a94561c","unresolved":false,"context_lines":[{"line_number":50,"context_line":"    # Push everything to Zanta, if we have a zanata.xml file."},{"line_number":51,"context_line":"    # This pushes .pot files as well as the locally translated files, we"},{"line_number":52,"context_line":"    # probably want to change this behaviour when we start pulling from"},{"line_number":53,"context_line":"    # Zanata too."},{"line_number":54,"context_line":"    if [ -f zanata.xml ]; then"},{"line_number":55,"context_line":"        zanata-cli -B -e push --push-type both"},{"line_number":56,"context_line":"    fi"}],"source_content_type":"text/x-sh","patch_set":8,"id":"fa32b979_626920be","line":53,"updated":"2015-06-16 06:24:43.000000000","message":"It should really push only the pot files. Translations are always done via the server, never locally.","commit_id":"c5278bc36904c362a6d5132cafcc906daba61437"}]}
