)]}'
{"doc/source/.gettext-exclude.sh":[{"author":{"_account_id":6882,"name":"Sungjin Kang","display_name":"ujuc","email":"community@ujuc.me","username":"sungjin"},"change_message_id":"2ffafe14c4b7219986df705d72e5d70a260c3dbc","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash -xe"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\"); you may"}],"source_content_type":"text/x-sh","patch_set":3,"id":"3fa0c359_79b9e312","line":1,"updated":"2018-02-12 17:45:18.000000000","message":"`-xe` debug option.\n\nIs it necessary?","commit_id":"7600d8c3fd39aa0b0398e6f635a5e231fe142f26"},{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"be93dff6c0074d5599639a9ce2d4aa8fec7b3366","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash -xe"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\"); you may"}],"source_content_type":"text/x-sh","patch_set":3,"id":"3fa0c359_22967896","line":1,"in_reply_to":"3fa0c359_79b9e312","updated":"2018-02-15 07:20:35.000000000","message":"Not necessary for the output of results, but so useful to see log messages in Zuul if the script returns some expected errors.","commit_id":"7600d8c3fd39aa0b0398e6f635a5e231fe142f26"}],"tools/generatepot.sh":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"f8afbf5188da0539bc2064844f1c987cda9cfcb6","unresolved":false,"context_lines":[{"line_number":32,"context_line":""},{"line_number":33,"context_line":"# Manipulates pot translation sources"},{"line_number":34,"context_line":"if [[ -f tools/doc-pot-manage.sh ]]; then"},{"line_number":35,"context_line":"    (exec tools/doc-pot-manage.sh)"},{"line_number":36,"context_line":"fi"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"# Take care of deleting all temporary files so that"}],"source_content_type":"text/x-sh","patch_set":5,"id":"3fa0c359_c231d4a4","line":35,"range":{"start_line":35,"start_character":3,"end_line":35,"end_character":34},"updated":"2018-02-16 16:33:06.000000000","message":"Why do you need parenthese and \"exec\"?\nCan\u0027t we just run tools/doc-pot-manage.sh?","commit_id":"568e330175b38cba7feb8382233d2b10e820fa8f"},{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"2eeb9e4451f697d1e9384aa4466a28c88696e1f4","unresolved":false,"context_lines":[{"line_number":32,"context_line":""},{"line_number":33,"context_line":"# Manipulates pot translation sources"},{"line_number":34,"context_line":"if [[ -f tools/doc-pot-manage.sh ]]; then"},{"line_number":35,"context_line":"    (exec tools/doc-pot-manage.sh)"},{"line_number":36,"context_line":"fi"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"# Take care of deleting all temporary files so that"}],"source_content_type":"text/x-sh","patch_set":5,"id":"3fa0c359_ed6b7cee","line":35,"range":{"start_line":35,"start_character":3,"end_line":35,"end_character":34},"in_reply_to":"3fa0c359_c231d4a4","updated":"2018-02-16 16:45:21.000000000","message":"Initially I located the file in a different directory and at that time cd command was included. Not needed anymore so I changed into a new patchset - thanks!","commit_id":"568e330175b38cba7feb8382233d2b10e820fa8f"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"422b768d287d16760cb0b183c126433e42c60976","unresolved":false,"context_lines":[{"line_number":23,"context_line":"fi"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"# doctrees with different sphinx builder(s) is not compatible"},{"line_number":26,"context_line":"rm -rf ${DIRECTORY}/build/doctrees"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"# Extract messages"},{"line_number":29,"context_line":"python setup.py build_sphinx -b gettext"}],"source_content_type":"text/x-sh","patch_set":7,"id":"3fa0c359_c8aa2ed1","line":26,"updated":"2018-02-16 16:56:55.000000000","message":"Why do you remove build/doctrees?\nI would not like to lose my build/doctrees for doc generation to run generatepot... I believe the previous approach makes more sense.","commit_id":"d80730f022fda7dcc2a79c6641280fa5bf211e65"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"ad3940b8249316ea308c65b9465241e8b2b05c1f","unresolved":false,"context_lines":[{"line_number":23,"context_line":"fi"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"# doctrees with different sphinx builder(s) is not compatible"},{"line_number":26,"context_line":"rm -rf ${DIRECTORY}/build/doctrees"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"# Extract messages"},{"line_number":29,"context_line":"python setup.py build_sphinx -b gettext"}],"source_content_type":"text/x-sh","patch_set":7,"id":"ff6b8bd7_af1a8914","line":26,"in_reply_to":"1f9dbf25_01eec521","updated":"2018-03-05 13:11:30.000000000","message":"So, is it for your local testing? The infra script is always run on a fresh machine, so it is unnecessary in our CI chain. if we consider local run repeatedly, after this is introduced, the normal documentation will be affected too. I would like to avoid unnecessary asymmetricity.","commit_id":"d80730f022fda7dcc2a79c6641280fa5bf211e65"},{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"74970e1d7a4e9bcb422574c32c499e88afc83a1a","unresolved":false,"context_lines":[{"line_number":23,"context_line":"fi"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"# doctrees with different sphinx builder(s) is not compatible"},{"line_number":26,"context_line":"rm -rf ${DIRECTORY}/build/doctrees"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"# Extract messages"},{"line_number":29,"context_line":"python setup.py build_sphinx -b gettext"}],"source_content_type":"text/x-sh","patch_set":7,"id":"1f9dbf25_01eec521","line":26,"in_reply_to":"3fa0c359_c8aa2ed1","updated":"2018-03-01 11:21:04.000000000","message":"I did because build/doctrees for \"-b html\" and \u0027-b gettext\" are not compatible. The previous approach also does not use build/doctrees from my investigation - the previous approach stores doctrees in locale/.doctrees as temporary and does not use build/doctrees so I think deleting does not affect the performance for this execution.","commit_id":"d80730f022fda7dcc2a79c6641280fa5bf211e65"},{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"ee39dc784cbc3752ed23bf3141e8bc1f7bd73d0d","unresolved":false,"context_lines":[{"line_number":23,"context_line":"fi"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"# doctrees with different sphinx builder(s) is not compatible"},{"line_number":26,"context_line":"rm -rf ${DIRECTORY}/build/doctrees"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"# Extract messages"},{"line_number":29,"context_line":"python setup.py build_sphinx -b gettext"}],"source_content_type":"text/x-sh","patch_set":7,"id":"5f7c97a3_80d5b7e7","line":26,"in_reply_to":"bf659307_227b1d8c","updated":"2018-05-23 12:52:45.000000000","message":"Agreed with u - thanks","commit_id":"d80730f022fda7dcc2a79c6641280fa5bf211e65"},{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"0dff6e06ed45b2c2055712eba993a0ceddff11cf","unresolved":false,"context_lines":[{"line_number":23,"context_line":"fi"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"# doctrees with different sphinx builder(s) is not compatible"},{"line_number":26,"context_line":"rm -rf ${DIRECTORY}/build/doctrees"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"# Extract messages"},{"line_number":29,"context_line":"python setup.py build_sphinx -b gettext"}],"source_content_type":"text/x-sh","patch_set":7,"id":"ff6b8bd7_b9e63fe8","line":26,"in_reply_to":"ff6b8bd7_af1a8914","updated":"2018-03-06 16:26:37.000000000","message":"Hmm, then would there be some ways to specify the folder of doctrees during \"python setup.py build_sphinx\"? I initially failed to find out this kind of way. Although CI job works fine, it would be so nice for this script for local runnings with doc builds and generatepot tox jobs. (Of course, I will investigate in again later.)","commit_id":"d80730f022fda7dcc2a79c6641280fa5bf211e65"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"812df9f8a0352ebb7a648739966aa87321297614","unresolved":false,"context_lines":[{"line_number":23,"context_line":"fi"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"# doctrees with different sphinx builder(s) is not compatible"},{"line_number":26,"context_line":"rm -rf ${DIRECTORY}/build/doctrees"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"# Extract messages"},{"line_number":29,"context_line":"python setup.py build_sphinx -b gettext"}],"source_content_type":"text/x-sh","patch_set":7,"id":"bf659307_227b1d8c","line":26,"in_reply_to":"ff6b8bd7_b9e63fe8","updated":"2018-04-14 19:58:30.000000000","message":"The new PTI (project testing interface) does not suggest to use \"python setup.py build_sphinx\". It says the CI uses sphinx-build.\nI don\u0027t think we need to stick to python setup.py build_sphinx.","commit_id":"d80730f022fda7dcc2a79c6641280fa5bf211e65"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"422b768d287d16760cb0b183c126433e42c60976","unresolved":false,"context_lines":[{"line_number":29,"context_line":"python setup.py build_sphinx -b gettext"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"# Manipulates pot translation sources"},{"line_number":32,"context_line":"if [[ -f tools/doc-pot-manage.sh ]]; then"},{"line_number":33,"context_line":"    tools/doc-pot-manage.sh"},{"line_number":34,"context_line":"fi"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"# Take care of deleting all temporary files so that"},{"line_number":37,"context_line":"# \"git add ${DIRECTORY}/source/locale\" will only add the"}],"source_content_type":"text/x-sh","patch_set":7,"id":"3fa0c359_e87cca73","line":34,"range":{"start_line":32,"start_character":0,"end_line":34,"end_character":2},"updated":"2018-02-16 16:56:55.000000000","message":"Why do you prefer to a separate shell script?\nThe contents of doc-pot-manage.sh is simple enough and it is not so confusing to have it here.","commit_id":"d80730f022fda7dcc2a79c6641280fa5bf211e65"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"ad3940b8249316ea308c65b9465241e8b2b05c1f","unresolved":false,"context_lines":[{"line_number":29,"context_line":"python setup.py build_sphinx -b gettext"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"# Manipulates pot translation sources"},{"line_number":32,"context_line":"if [[ -f tools/doc-pot-manage.sh ]]; then"},{"line_number":33,"context_line":"    tools/doc-pot-manage.sh"},{"line_number":34,"context_line":"fi"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"# Take care of deleting all temporary files so that"},{"line_number":37,"context_line":"# \"git add ${DIRECTORY}/source/locale\" will only add the"}],"source_content_type":"text/x-sh","patch_set":7,"id":"ff6b8bd7_4faf2d94","line":34,"range":{"start_line":32,"start_character":0,"end_line":34,"end_character":2},"in_reply_to":"1f9dbf25_614a2928","updated":"2018-03-05 13:11:30.000000000","message":"I agree with the long-term goal.\n\nThe reason I didn\u0027t use a common function for the i18n repo in https://review.openstack.org/#/c/545377/ is the i18n document does not follow the guideline of the standard project document structure. \n\nThe i18n document has a directory \u0027atc-stats\u0027. With my new version of the extract method we will have two POT files (doc.pot and doc-atc-stats.pot) and this is NOT what we want.\n\nThe i18n doc is not small now, so perhaps it is better to explore to split the doc into more meaningful pieces, but I have no time to lead it.","commit_id":"d80730f022fda7dcc2a79c6641280fa5bf211e65"},{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"74970e1d7a4e9bcb422574c32c499e88afc83a1a","unresolved":false,"context_lines":[{"line_number":29,"context_line":"python setup.py build_sphinx -b gettext"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"# Manipulates pot translation sources"},{"line_number":32,"context_line":"if [[ -f tools/doc-pot-manage.sh ]]; then"},{"line_number":33,"context_line":"    tools/doc-pot-manage.sh"},{"line_number":34,"context_line":"fi"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"# Take care of deleting all temporary files so that"},{"line_number":37,"context_line":"# \"git add ${DIRECTORY}/source/locale\" will only add the"}],"source_content_type":"text/x-sh","patch_set":7,"id":"1f9dbf25_614a2928","line":34,"range":{"start_line":32,"start_character":0,"end_line":34,"end_character":2},"in_reply_to":"3fa0c359_e87cca73","updated":"2018-03-01 11:21:04.000000000","message":"My long-term goal is not to use a special job execution logic in i18n repo and follow i18n doc build just to use the same logic as other doc builds: https://review.openstack.org/#/c/545377/11/roles/prep-zanata/files/common_translation_update.sh@421 . The only additional execution for i18n doc is this part and I think such manipulation of pot translation sources would be needed to other project doc builds to get translation sources.","commit_id":"d80730f022fda7dcc2a79c6641280fa5bf211e65"},{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"ee39dc784cbc3752ed23bf3141e8bc1f7bd73d0d","unresolved":false,"context_lines":[{"line_number":29,"context_line":"python setup.py build_sphinx -b gettext"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"# Manipulates pot translation sources"},{"line_number":32,"context_line":"if [[ -f tools/doc-pot-manage.sh ]]; then"},{"line_number":33,"context_line":"    tools/doc-pot-manage.sh"},{"line_number":34,"context_line":"fi"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"# Take care of deleting all temporary files so that"},{"line_number":37,"context_line":"# \"git add ${DIRECTORY}/source/locale\" will only add the"}],"source_content_type":"text/x-sh","patch_set":7,"id":"5f7c97a3_4009df92","line":34,"range":{"start_line":32,"start_character":0,"end_line":34,"end_character":2},"in_reply_to":"9f6a8fd7_5a27f1b7","updated":"2018-05-23 12:52:45.000000000","message":"Yep so nice :)","commit_id":"d80730f022fda7dcc2a79c6641280fa5bf211e65"},{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"0dff6e06ed45b2c2055712eba993a0ceddff11cf","unresolved":false,"context_lines":[{"line_number":29,"context_line":"python setup.py build_sphinx -b gettext"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"# Manipulates pot translation sources"},{"line_number":32,"context_line":"if [[ -f tools/doc-pot-manage.sh ]]; then"},{"line_number":33,"context_line":"    tools/doc-pot-manage.sh"},{"line_number":34,"context_line":"fi"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"# Take care of deleting all temporary files so that"},{"line_number":37,"context_line":"# \"git add ${DIRECTORY}/source/locale\" will only add the"}],"source_content_type":"text/x-sh","patch_set":7,"id":"ff6b8bd7_793e672a","line":34,"range":{"start_line":32,"start_character":0,"end_line":34,"end_character":2},"in_reply_to":"ff6b8bd7_4faf2d94","updated":"2018-03-06 16:26:37.000000000","message":"Yep, after seeing the patch and tried on my local testing, I also found that \"atc-stats\" directory is the blocker for compatibility with the common function. I think re-organizing I18n contributor guide is worth to I18n team but in Rocky cycle more infra related things for example project doc translation support has higher priority.\n\nAnd, when I read [1], having additional logics on tox environment is discouraged and I have been thinking about how to remove tox environment in infra scripts and separating doc-pot-filter.sh and executing the script would be the way to generalize the logic of pot generation I thought.\n\n[1] https://governance.openstack.org/tc/reference/pti/python.html#documentation\n[2] https://review.openstack.org/#/c/545377/8/roles/prep-zanata/files/common_translation_update.sh@237","commit_id":"d80730f022fda7dcc2a79c6641280fa5bf211e65"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"812df9f8a0352ebb7a648739966aa87321297614","unresolved":false,"context_lines":[{"line_number":29,"context_line":"python setup.py build_sphinx -b gettext"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"# Manipulates pot translation sources"},{"line_number":32,"context_line":"if [[ -f tools/doc-pot-manage.sh ]]; then"},{"line_number":33,"context_line":"    tools/doc-pot-manage.sh"},{"line_number":34,"context_line":"fi"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"# Take care of deleting all temporary files so that"},{"line_number":37,"context_line":"# \"git add ${DIRECTORY}/source/locale\" will only add the"}],"source_content_type":"text/x-sh","patch_set":7,"id":"9f6a8fd7_5a27f1b7","line":34,"range":{"start_line":32,"start_character":0,"end_line":34,"end_character":2},"in_reply_to":"ff6b8bd7_793e672a","updated":"2018-04-14 19:58:30.000000000","message":"Does this help us? https://review.openstack.org/561430","commit_id":"d80730f022fda7dcc2a79c6641280fa5bf211e65"},{"author":{"_account_id":6882,"name":"Sungjin Kang","display_name":"ujuc","email":"community@ujuc.me","username":"sungjin"},"change_message_id":"9f94da37abf2f2160af77b5dc09529691b6563ac","unresolved":false,"context_lines":[{"line_number":22,"context_line":"    NUMBER_OF_CORES\u003d2"},{"line_number":23,"context_line":"fi"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    # Temporary build folder for gettext"},{"line_number":26,"context_line":"    mkdir -p doc/build/gettext"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    # Extract messages"}],"source_content_type":"text/x-sh","patch_set":11,"id":"5f7c97a3_3ecda92f","line":25,"updated":"2018-05-29 11:15:03.000000000","message":"indent error...","commit_id":"0251758ff50cb81b339814caf0d898e731a40259"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"502dcef7491088167f3904403ef4e1b47cc853e0","unresolved":false,"context_lines":[{"line_number":22,"context_line":"    NUMBER_OF_CORES\u003d2"},{"line_number":23,"context_line":"fi"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    # Temporary build folder for gettext"},{"line_number":26,"context_line":"    mkdir -p doc/build/gettext"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    # Extract messages"}],"source_content_type":"text/x-sh","patch_set":11,"id":"5f7c97a3_6c1e0960","line":25,"in_reply_to":"5f7c97a3_3ecda92f","updated":"2018-05-30 02:52:54.000000000","message":"Yeah, there is no need to indent L.25-.","commit_id":"0251758ff50cb81b339814caf0d898e731a40259"},{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"6b6f18a3347773c0ce7bc915384c7c9ab40ac72e","unresolved":false,"context_lines":[{"line_number":22,"context_line":"    NUMBER_OF_CORES\u003d2"},{"line_number":23,"context_line":"fi"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    # Temporary build folder for gettext"},{"line_number":26,"context_line":"    mkdir -p doc/build/gettext"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    # Extract messages"}],"source_content_type":"text/x-sh","patch_set":11,"id":"5f7c97a3_cc0abdd0","line":25,"in_reply_to":"5f7c97a3_6c1e0960","updated":"2018-05-30 03:13:47.000000000","message":"Done","commit_id":"0251758ff50cb81b339814caf0d898e731a40259"}]}
