)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":23279,"name":"Seongsoo Cho","display_name":"Seongsoo Cho","email":"ppiyakk2@printf.kr","username":"seongsoo.cho"},"change_message_id":"b801341f1ce43af6b44b5175cf2872ce70e5e01f","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"82c795b9_526f9aed","updated":"2026-06-03 06:46:24.000000000","message":"The Weblate scripts are based on the existing Zanata scripts. To make the changes easy to review, patchset 1 is just a copy of the current Zanata scripts. The actual Weblate changes will come in the next patchset.","commit_id":"d528fb6c07b1df9396559d497f7f970d6b7a1f37"},{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"d8b4e2715da0ed55f6cc6bf786649257bc885017","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"75aac4d3_84e6e775","updated":"2026-06-03 14:59:02.000000000","message":"I have not reviewed the two files: \"bin/setup_weblate_project.py\" and \"bin/upload_po_weblate.py\", but leaving comments to move forward:\n\n1. There are some zero-sized files\n2. Please don\u0027t revert bin/get-modulename.py\n3. bin/propose_translation_update_weblate.sh file is still working with Zanata, not Weblate.\n4. Some logics on original bin/common_translation_update.sh seems disappeared.","commit_id":"426f4a0c57bd68d8eb58a91f0bfc02080194baff"},{"author":{"_account_id":23279,"name":"Seongsoo Cho","display_name":"Seongsoo Cho","email":"ppiyakk2@printf.kr","username":"seongsoo.cho"},"change_message_id":"e0ffdc9992600996eae79118585cee3738aa4c95","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"edfdef81_15df6051","in_reply_to":"75aac4d3_84e6e775","updated":"2026-08-22 06:51:05.000000000","message":"Thanks for the review. Sorry, patch set 2 was not ready. All four points\nare fixed now.\n\n1. Fixed. bin/check_weblate_project.py and bin/download_translations_weblate.py were empty files in PS2. They have real content now.\n\n2. Fixed. bin/get-modulename.py is the same as the merged version from 981694 PS8, so the file is not part of this change any more.\n\n3. Fixed. The download goes through the Weblate REST API now, and the old ZANATA_VERSION variable is gone. Please see my replies on the single lines below.\n\n4. You are right. The translation ratio check for new files was missing. I added it back. Details in my reply on common_translation_update_weblate.sh.\n\nTwo files are also renamed:\n\n  setup_weblate_project.py -\u003e weblate_utils.py\n  upload_po_weblate.py     -\u003e upload_pot_weblate.py\n\nThe second one was a typo on my side. The script that calls it always used the \"pot\" name.","commit_id":"426f4a0c57bd68d8eb58a91f0bfc02080194baff"}],"bin/check_weblate_project.py":[{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"d8b4e2715da0ed55f6cc6bf786649257bc885017","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":2,"id":"f302e53e_9dc1dbea","updated":"2026-06-03 14:59:02.000000000","message":"Do you need this file?","commit_id":"426f4a0c57bd68d8eb58a91f0bfc02080194baff"},{"author":{"_account_id":23279,"name":"Seongsoo Cho","display_name":"Seongsoo Cho","email":"ppiyakk2@printf.kr","username":"seongsoo.cho"},"change_message_id":"e0ffdc9992600996eae79118585cee3738aa4c95","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":2,"id":"33e6634a_5d74bd5f","in_reply_to":"f302e53e_9dc1dbea","updated":"2026-08-22 06:51:05.000000000","message":"Yes. This one was also empty in PS2. It does the same job as query-zanata-project-version.py, which skipped a\nrun when the Zanata version for the branch was READONLY.\n\nWeblate has no lock on a category, and a category is what a branch maps\nto. So the script checks two things instead: whether the project is\nlocked, and whether every component in the category for this branch is\nlocked.\n\nI’ve updated it in patchset 9.","commit_id":"426f4a0c57bd68d8eb58a91f0bfc02080194baff"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"d6daf05bd88b76f9917e11b33a67ec0560e16782","unresolved":false,"context_lines":[{"line_number":37,"context_line":"import sys"},{"line_number":38,"context_line":"from types import SimpleNamespace"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"from weblate_utils import SimpleIniConfig, WeblateSetup, slugify_branch"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"def main():"}],"source_content_type":"text/x-python","patch_set":7,"id":"390013f3_1339559b","line":40,"updated":"2026-08-22 05:44:26.000000000","message":"pep8: H301: one import per line","commit_id":"7cb44e8e8ad55811e216eb24e7ea089c7d50925c"}],"bin/common_translation_update_weblate.sh":[{"author":{"_account_id":23279,"name":"Seongsoo Cho","display_name":"Seongsoo Cho","email":"ppiyakk2@printf.kr","username":"seongsoo.cho"},"change_message_id":"b0bdcc92a4a88a2085d333f0e0a86aea0de76e59","unresolved":true,"context_lines":[{"line_number":135,"context_line":""},{"line_number":136,"context_line":"# Setup a project for Zanata. This is used by both Python and Django projects."},{"line_number":137,"context_line":"# syntax: setup_project \u003cproject\u003e \u003czanata_version\u003e"},{"line_number":138,"context_line":"function setup_project {"},{"line_number":139,"context_line":"    local project\u003d$1"},{"line_number":140,"context_line":"    local version\u003d$2"},{"line_number":141,"context_line":""}],"source_content_type":"text/x-sh","patch_set":1,"id":"c3144efd_38b35619","line":138,"updated":"2026-06-03 13:56:20.000000000","message":"Weblate only uses the credentials stored in ~/.config/weblate, so setup_project is not needed.\n\nIn Zanata, setup_project was required because a Zanata config file had to be created for each project.","commit_id":"d528fb6c07b1df9396559d497f7f970d6b7a1f37"},{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"d8b4e2715da0ed55f6cc6bf786649257bc885017","unresolved":true,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash -e"},{"line_number":2,"context_line":"# Common code used by propose_translation_update.sh and"},{"line_number":3,"context_line":"# upstream_translation_update.sh"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\"); you may"}],"source_content_type":"text/x-sh","patch_set":2,"id":"25785701_fb7bb7dd","line":2,"range":{"start_line":2,"start_character":22,"end_line":2,"end_character":51},"updated":"2026-06-03 14:59:02.000000000","message":"propose_translation_update_weblate.sh","commit_id":"426f4a0c57bd68d8eb58a91f0bfc02080194baff"},{"author":{"_account_id":23279,"name":"Seongsoo Cho","display_name":"Seongsoo Cho","email":"ppiyakk2@printf.kr","username":"seongsoo.cho"},"change_message_id":"e0ffdc9992600996eae79118585cee3738aa4c95","unresolved":true,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash -e"},{"line_number":2,"context_line":"# Common code used by propose_translation_update.sh and"},{"line_number":3,"context_line":"# upstream_translation_update.sh"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\"); you may"}],"source_content_type":"text/x-sh","patch_set":2,"id":"e414c7fe_973ead5b","line":2,"range":{"start_line":2,"start_character":22,"end_line":2,"end_character":51},"in_reply_to":"25785701_fb7bb7dd","updated":"2026-08-22 06:51:05.000000000","message":"Changed","commit_id":"426f4a0c57bd68d8eb58a91f0bfc02080194baff"},{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"d8b4e2715da0ed55f6cc6bf786649257bc885017","unresolved":true,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash -e"},{"line_number":2,"context_line":"# Common code used by propose_translation_update.sh and"},{"line_number":3,"context_line":"# upstream_translation_update.sh"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":6,"context_line":"# not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-sh","patch_set":2,"id":"6dcc63cc_ceac9a6e","line":3,"range":{"start_line":3,"start_character":2,"end_line":3,"end_character":32},"updated":"2026-06-03 14:59:02.000000000","message":"upstream_translation_update_weblate.sh","commit_id":"426f4a0c57bd68d8eb58a91f0bfc02080194baff"},{"author":{"_account_id":23279,"name":"Seongsoo Cho","display_name":"Seongsoo Cho","email":"ppiyakk2@printf.kr","username":"seongsoo.cho"},"change_message_id":"e0ffdc9992600996eae79118585cee3738aa4c95","unresolved":true,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash -e"},{"line_number":2,"context_line":"# Common code used by propose_translation_update.sh and"},{"line_number":3,"context_line":"# upstream_translation_update.sh"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":6,"context_line":"# not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-sh","patch_set":2,"id":"91e04aeb_54a80b01","line":3,"range":{"start_line":3,"start_character":2,"end_line":3,"end_character":32},"in_reply_to":"6dcc63cc_ceac9a6e","updated":"2026-08-22 06:51:05.000000000","message":"Changed","commit_id":"426f4a0c57bd68d8eb58a91f0bfc02080194baff"},{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"d8b4e2715da0ed55f6cc6bf786649257bc885017","unresolved":true,"context_lines":[{"line_number":691,"context_line":"    local project\u003d$1"},{"line_number":692,"context_line":""},{"line_number":693,"context_line":"    echo \"Pulling translations from Weblate for project: $project\""},{"line_number":694,"context_line":"    # Weblate translations are downloaded via the API in"},{"line_number":695,"context_line":"    # propose_translation_update_weblate.sh"},{"line_number":696,"context_line":"    # This function is kept as a placeholder for compatibility."},{"line_number":697,"context_line":"}"},{"line_number":698,"context_line":""}],"source_content_type":"text/x-sh","patch_set":2,"id":"21037fbc_7a5f7577","line":695,"range":{"start_line":694,"start_character":3,"end_line":695,"end_character":43},"updated":"2026-06-03 14:59:02.000000000","message":"Also, would you point out where the below logic is moved?\n\n```\n        # We want new files to be \u003e75% translated. The\n        # common documents in openstack-manuals have that relaxed to\n        # \u003e40%.\n```","commit_id":"426f4a0c57bd68d8eb58a91f0bfc02080194baff"},{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"d8b4e2715da0ed55f6cc6bf786649257bc885017","unresolved":true,"context_lines":[{"line_number":691,"context_line":"    local project\u003d$1"},{"line_number":692,"context_line":""},{"line_number":693,"context_line":"    echo \"Pulling translations from Weblate for project: $project\""},{"line_number":694,"context_line":"    # Weblate translations are downloaded via the API in"},{"line_number":695,"context_line":"    # propose_translation_update_weblate.sh"},{"line_number":696,"context_line":"    # This function is kept as a placeholder for compatibility."},{"line_number":697,"context_line":"}"},{"line_number":698,"context_line":""}],"source_content_type":"text/x-sh","patch_set":2,"id":"9d011a92_af200255","line":695,"range":{"start_line":694,"start_character":0,"end_line":695,"end_character":43},"updated":"2026-06-03 14:59:02.000000000","message":"I cannot find which part on \"propose_translation_update_weblate.sh\" pulls translations from Weblate.","commit_id":"426f4a0c57bd68d8eb58a91f0bfc02080194baff"},{"author":{"_account_id":23279,"name":"Seongsoo Cho","display_name":"Seongsoo Cho","email":"ppiyakk2@printf.kr","username":"seongsoo.cho"},"change_message_id":"e0ffdc9992600996eae79118585cee3738aa4c95","unresolved":true,"context_lines":[{"line_number":691,"context_line":"    local project\u003d$1"},{"line_number":692,"context_line":""},{"line_number":693,"context_line":"    echo \"Pulling translations from Weblate for project: $project\""},{"line_number":694,"context_line":"    # Weblate translations are downloaded via the API in"},{"line_number":695,"context_line":"    # propose_translation_update_weblate.sh"},{"line_number":696,"context_line":"    # This function is kept as a placeholder for compatibility."},{"line_number":697,"context_line":"}"},{"line_number":698,"context_line":""}],"source_content_type":"text/x-sh","patch_set":2,"id":"24bf597e_857a7907","line":695,"range":{"start_line":694,"start_character":3,"end_line":695,"end_character":43},"in_reply_to":"21037fbc_7a5f7577","updated":"2026-08-22 06:51:05.000000000","message":"You are right, it was lost, not moved. Thank you for catching it. I restored that part.","commit_id":"426f4a0c57bd68d8eb58a91f0bfc02080194baff"},{"author":{"_account_id":23279,"name":"Seongsoo Cho","display_name":"Seongsoo Cho","email":"ppiyakk2@printf.kr","username":"seongsoo.cho"},"change_message_id":"e0ffdc9992600996eae79118585cee3738aa4c95","unresolved":true,"context_lines":[{"line_number":691,"context_line":"    local project\u003d$1"},{"line_number":692,"context_line":""},{"line_number":693,"context_line":"    echo \"Pulling translations from Weblate for project: $project\""},{"line_number":694,"context_line":"    # Weblate translations are downloaded via the API in"},{"line_number":695,"context_line":"    # propose_translation_update_weblate.sh"},{"line_number":696,"context_line":"    # This function is kept as a placeholder for compatibility."},{"line_number":697,"context_line":"}"},{"line_number":698,"context_line":""}],"source_content_type":"text/x-sh","patch_set":2,"id":"ae8d7128_1230e6e7","line":695,"range":{"start_line":694,"start_character":0,"end_line":695,"end_character":43},"in_reply_to":"9d011a92_af200255","updated":"2026-08-22 06:51:05.000000000","message":"In PS2 pull_from_weblate was an\nempty stub, and the download was an inline python3 call in the middle of\nthe propose_translation_update_weblate.sh script.\n\nHowever, I have now added a `pull_from_weblate` function to `common` and changed the code to use it to fetch translated PO files from Weblate.","commit_id":"426f4a0c57bd68d8eb58a91f0bfc02080194baff"},{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"d8b4e2715da0ed55f6cc6bf786649257bc885017","unresolved":true,"context_lines":[{"line_number":705,"context_line":"# publishing. This uses the exact same path."},{"line_number":706,"context_line":"function copy_pot {"},{"line_number":707,"context_line":"    local all_modules\u003d$1"},{"line_number":708,"context_line":"    local target\u003d.translation-source/$WEBLATE_BRANCH/"},{"line_number":709,"context_line":""},{"line_number":710,"context_line":"    for m in $all_modules ; do"},{"line_number":711,"context_line":"        for f in `find $m -name \"*.pot\" ` ; do"}],"source_content_type":"text/x-sh","patch_set":2,"id":"85f19603_b155c56e","line":708,"range":{"start_line":708,"start_character":38,"end_line":708,"end_character":52},"updated":"2026-06-03 14:59:02.000000000","message":"No $WEBLATE_BRANCH definition here or upstream_translation_update_weblate.sh - or should it be $WEBLATE_CATEGORY?","commit_id":"426f4a0c57bd68d8eb58a91f0bfc02080194baff"},{"author":{"_account_id":23279,"name":"Seongsoo Cho","display_name":"Seongsoo Cho","email":"ppiyakk2@printf.kr","username":"seongsoo.cho"},"change_message_id":"e0ffdc9992600996eae79118585cee3738aa4c95","unresolved":true,"context_lines":[{"line_number":705,"context_line":"# publishing. This uses the exact same path."},{"line_number":706,"context_line":"function copy_pot {"},{"line_number":707,"context_line":"    local all_modules\u003d$1"},{"line_number":708,"context_line":"    local target\u003d.translation-source/$WEBLATE_BRANCH/"},{"line_number":709,"context_line":""},{"line_number":710,"context_line":"    for m in $all_modules ; do"},{"line_number":711,"context_line":"        for f in `find $m -name \"*.pot\" ` ; do"}],"source_content_type":"text/x-sh","patch_set":2,"id":"e59f87e3_9df7c9ac","line":708,"range":{"start_line":708,"start_character":38,"end_line":708,"end_character":52},"in_reply_to":"85f19603_b155c56e","updated":"2026-08-22 06:51:05.000000000","message":"Thanks. I changed it","commit_id":"426f4a0c57bd68d8eb58a91f0bfc02080194baff"}],"bin/download_translations_weblate.py":[{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"d8b4e2715da0ed55f6cc6bf786649257bc885017","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":2,"id":"059b02a0_70a5e5dc","updated":"2026-06-03 14:59:02.000000000","message":"Do you need this file?","commit_id":"426f4a0c57bd68d8eb58a91f0bfc02080194baff"},{"author":{"_account_id":23279,"name":"Seongsoo Cho","display_name":"Seongsoo Cho","email":"ppiyakk2@printf.kr","username":"seongsoo.cho"},"change_message_id":"e0ffdc9992600996eae79118585cee3738aa4c95","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":2,"id":"d1f58bd4_3f07d12a","in_reply_to":"059b02a0_70a5e5dc","updated":"2026-08-22 06:51:05.000000000","message":"Yes. Sorry, the file was empty in PS2. It replaces \"zanata-cli pull\". It lists the components of the project\nthat belong to the category for this branch, downloads each po file over\nthe REST API","commit_id":"426f4a0c57bd68d8eb58a91f0bfc02080194baff"},{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"d6daf05bd88b76f9917e11b33a67ec0560e16782","unresolved":false,"context_lines":[{"line_number":39,"context_line":"import tempfile"},{"line_number":40,"context_line":"from types import SimpleNamespace"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"from weblate_utils import SimpleIniConfig, WeblateSetup, slugify_branch"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"def component_to_target(comp_slug):"}],"source_content_type":"text/x-python","patch_set":7,"id":"f516cb5f_7227751b","line":42,"updated":"2026-08-22 05:44:26.000000000","message":"pep8: H301: one import per line","commit_id":"7cb44e8e8ad55811e216eb24e7ea089c7d50925c"}],"bin/get-modulename.py":[{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"d8b4e2715da0ed55f6cc6bf786649257bc885017","unresolved":true,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"import argparse"},{"line_number":16,"context_line":"import configparser"},{"line_number":17,"context_line":"import sys"},{"line_number":18,"context_line":"import tomllib"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"39dcaaa4_d97f4eae","line":17,"updated":"2026-06-03 14:59:02.000000000","message":"You are reverting https://review.opendev.org/c/openstack/i18n/+/981694/8/bin/get-modulename.py .. which is not a good idea.","commit_id":"426f4a0c57bd68d8eb58a91f0bfc02080194baff"},{"author":{"_account_id":23279,"name":"Seongsoo Cho","display_name":"Seongsoo Cho","email":"ppiyakk2@printf.kr","username":"seongsoo.cho"},"change_message_id":"e0ffdc9992600996eae79118585cee3738aa4c95","unresolved":true,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"import argparse"},{"line_number":16,"context_line":"import configparser"},{"line_number":17,"context_line":"import sys"},{"line_number":18,"context_line":"import tomllib"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"6be17570_fb52c49a","line":17,"in_reply_to":"39dcaaa4_d97f4eae","updated":"2026-08-22 06:51:05.000000000","message":"Sorry, that was a mistake. I had an old copy of the file in my local\nbranch. It is fixed now. The file is the same as 981694 PS8, so it does\nnot show up in this change any more.","commit_id":"426f4a0c57bd68d8eb58a91f0bfc02080194baff"}],"bin/propose_translation_update_weblate.sh":[{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"d8b4e2715da0ed55f6cc6bf786649257bc885017","unresolved":true,"context_lines":[{"line_number":17,"context_line":"JOBNAME\u003d$3"},{"line_number":18,"context_line":"HORIZON_DIR\u003d$4"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"# Replace /\u0027s in the branch name with -\u0027s because Zanata does not"},{"line_number":21,"context_line":"# allow /\u0027s in version names."},{"line_number":22,"context_line":"ZANATA_VERSION\u003d${BRANCH//\\//-}"},{"line_number":23,"context_line":""}],"source_content_type":"text/x-sh","patch_set":2,"id":"bf35bea6_bfbd4d6b","line":20,"range":{"start_line":20,"start_character":50,"end_line":20,"end_character":57},"updated":"2026-06-03 14:59:02.000000000","message":"Weblate","commit_id":"426f4a0c57bd68d8eb58a91f0bfc02080194baff"},{"author":{"_account_id":23279,"name":"Seongsoo Cho","display_name":"Seongsoo Cho","email":"ppiyakk2@printf.kr","username":"seongsoo.cho"},"change_message_id":"e0ffdc9992600996eae79118585cee3738aa4c95","unresolved":true,"context_lines":[{"line_number":17,"context_line":"JOBNAME\u003d$3"},{"line_number":18,"context_line":"HORIZON_DIR\u003d$4"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"# Replace /\u0027s in the branch name with -\u0027s because Zanata does not"},{"line_number":21,"context_line":"# allow /\u0027s in version names."},{"line_number":22,"context_line":"ZANATA_VERSION\u003d${BRANCH//\\//-}"},{"line_number":23,"context_line":""}],"source_content_type":"text/x-sh","patch_set":2,"id":"92de36c0_f7df7db3","line":20,"range":{"start_line":20,"start_character":50,"end_line":20,"end_character":57},"in_reply_to":"bf35bea6_bfbd4d6b","updated":"2026-08-22 06:51:05.000000000","message":"I updated the comment to make it clear that we are following the same rules as Zanata.","commit_id":"426f4a0c57bd68d8eb58a91f0bfc02080194baff"},{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"d8b4e2715da0ed55f6cc6bf786649257bc885017","unresolved":true,"context_lines":[{"line_number":19,"context_line":""},{"line_number":20,"context_line":"# Replace /\u0027s in the branch name with -\u0027s because Zanata does not"},{"line_number":21,"context_line":"# allow /\u0027s in version names."},{"line_number":22,"context_line":"ZANATA_VERSION\u003d${BRANCH//\\//-}"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"SCRIPTSDIR\u003d\"$( cd \"$( dirname \"${BASH_SOURCE[0]}\" )\" \u0026\u0026 pwd )\""},{"line_number":25,"context_line":"source $SCRIPTSDIR/common_translation_update.sh"}],"source_content_type":"text/x-sh","patch_set":2,"id":"c10fd016_0f0b8392","line":22,"range":{"start_line":22,"start_character":0,"end_line":22,"end_character":14},"updated":"2026-06-03 14:59:02.000000000","message":"WEBLATE_VERSION","commit_id":"426f4a0c57bd68d8eb58a91f0bfc02080194baff"},{"author":{"_account_id":23279,"name":"Seongsoo Cho","display_name":"Seongsoo Cho","email":"ppiyakk2@printf.kr","username":"seongsoo.cho"},"change_message_id":"e0ffdc9992600996eae79118585cee3738aa4c95","unresolved":true,"context_lines":[{"line_number":19,"context_line":""},{"line_number":20,"context_line":"# Replace /\u0027s in the branch name with -\u0027s because Zanata does not"},{"line_number":21,"context_line":"# allow /\u0027s in version names."},{"line_number":22,"context_line":"ZANATA_VERSION\u003d${BRANCH//\\//-}"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"SCRIPTSDIR\u003d\"$( cd \"$( dirname \"${BASH_SOURCE[0]}\" )\" \u0026\u0026 pwd )\""},{"line_number":25,"context_line":"source $SCRIPTSDIR/common_translation_update.sh"}],"source_content_type":"text/x-sh","patch_set":2,"id":"29ba71af_e30c5941","line":22,"range":{"start_line":22,"start_character":0,"end_line":22,"end_character":14},"in_reply_to":"c10fd016_0f0b8392","updated":"2026-08-22 06:51:05.000000000","message":"I renamed it, but to WEBLATE_CATEGORY instead of WEBLATE_VERSION.\nWeblate has no \"version\". A branch maps to a category, and the value is\nsent to the API as a category slug","commit_id":"426f4a0c57bd68d8eb58a91f0bfc02080194baff"}],"bin/upload_pot_weblate.py":[{"author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"tag":"autogenerated:zuul:check","change_message_id":"d6daf05bd88b76f9917e11b33a67ec0560e16782","unresolved":false,"context_lines":[{"line_number":36,"context_line":""},{"line_number":37,"context_line":"import requests"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"from weblate_utils import SimpleIniConfig, WeblateSetup, slugify_branch"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"class WeblateUploader(WeblateSetup):"}],"source_content_type":"text/x-python","patch_set":7,"id":"89144f9d_08f11c6d","line":39,"updated":"2026-08-22 05:44:26.000000000","message":"pep8: H301: one import per line","commit_id":"7cb44e8e8ad55811e216eb24e7ea089c7d50925c"}],"bin/upstream_translation_update_weblate.sh":[{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"d8b4e2715da0ed55f6cc6bf786649257bc885017","unresolved":true,"context_lines":[{"line_number":112,"context_line":"python3 \"$SCRIPTSDIR/upload_pot_weblate.py\" \\"},{"line_number":113,"context_line":"    --config ~/.config/weblate \\"},{"line_number":114,"context_line":"    --project \"$WEBLATE_PROJECT\" \\"},{"line_number":115,"context_line":"    --category \"$WEBLATE_BRANCH\" \\"},{"line_number":116,"context_line":"    --pot-dir translation-source/"},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"# Tell finish function that everything is fine."}],"source_content_type":"text/x-sh","patch_set":2,"id":"66477538_86148ece","line":115,"updated":"2026-06-03 14:59:02.000000000","message":"$WEBLATE_CATEGORY?","commit_id":"426f4a0c57bd68d8eb58a91f0bfc02080194baff"},{"author":{"_account_id":23279,"name":"Seongsoo Cho","display_name":"Seongsoo Cho","email":"ppiyakk2@printf.kr","username":"seongsoo.cho"},"change_message_id":"e0ffdc9992600996eae79118585cee3738aa4c95","unresolved":true,"context_lines":[{"line_number":112,"context_line":"python3 \"$SCRIPTSDIR/upload_pot_weblate.py\" \\"},{"line_number":113,"context_line":"    --config ~/.config/weblate \\"},{"line_number":114,"context_line":"    --project \"$WEBLATE_PROJECT\" \\"},{"line_number":115,"context_line":"    --category \"$WEBLATE_BRANCH\" \\"},{"line_number":116,"context_line":"    --pot-dir translation-source/"},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"# Tell finish function that everything is fine."}],"source_content_type":"text/x-sh","patch_set":2,"id":"1d14d346_33b39206","line":115,"in_reply_to":"66477538_86148ece","updated":"2026-08-22 06:51:05.000000000","message":"$WEBLATE_BRANCH did not exist, so this line was broken. Fixed, but I\npass $BRANCHNAME instead of $WEBLATE_CATEGORY","commit_id":"426f4a0c57bd68d8eb58a91f0bfc02080194baff"}]}
