)]}'
{"tools/list_eol_stale_branches.sh":[{"author":{"_account_id":28522,"name":"Hervé Beraud","email":"herveberaud.pro@gmail.com","username":"hberaud"},"change_message_id":"8b84aa407ee9baf9093f1fb1d60db661ee1ed01f","unresolved":true,"context_lines":[{"line_number":74,"context_line":"            read -p \"\u003e Do you want to delete the branch stable/${em_serie} from ${repo} repository? [y/N]: \" YN"},{"line_number":75,"context_line":"            if [ \"${YN,,}\" \u003d\u003d \"y\" ]; then"},{"line_number":76,"context_line":"                pushd ${repo} \u003e/dev/null"},{"line_number":77,"context_line":"                git push origin --delete \"refs/heads/stable/${em_serie}\""},{"line_number":78,"context_line":"                popd \u003e/dev/null"},{"line_number":79,"context_line":"            fi"},{"line_number":80,"context_line":"        fi"}],"source_content_type":"text/x-sh","patch_set":1,"id":"79f5cfdd_a3978fa5","line":77,"range":{"start_line":77,"start_character":25,"end_line":77,"end_character":31},"updated":"2021-02-25 15:27:29.000000000","message":"Are we sure that `origin` will exist anytime?\n\nI was thinking that we will do this kind of maitainance by using the gerrit API, isn\u0027t?\n\nIf I remember correctly Jeremy (fungi) spoke about something doable via the new gerrit API.","commit_id":"e74262818eb9922af588f4a67c88b8bcd24469d3"},{"author":{"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"},"change_message_id":"f093dbe98bdd80a3d09baaa27dd1bb8a50acfe81","unresolved":false,"context_lines":[{"line_number":74,"context_line":"            read -p \"\u003e Do you want to delete the branch stable/${em_serie} from ${repo} repository? [y/N]: \" YN"},{"line_number":75,"context_line":"            if [ \"${YN,,}\" \u003d\u003d \"y\" ]; then"},{"line_number":76,"context_line":"                pushd ${repo} \u003e/dev/null"},{"line_number":77,"context_line":"                git push origin --delete \"refs/heads/stable/${em_serie}\""},{"line_number":78,"context_line":"                popd \u003e/dev/null"},{"line_number":79,"context_line":"            fi"},{"line_number":80,"context_line":"        fi"}],"source_content_type":"text/x-sh","patch_set":1,"id":"4988ed77_d36f2510","line":77,"updated":"2021-02-25 18:12:17.000000000","message":"Yeah, this is the less preferable of the two methods described at https://review.opendev.org/Documentation/project-configuration.html#branch-deletion . The REST API method documented at https://review.opendev.org/Documentation/rest-api-projects.html#delete-branch allows us to control access specifically to that via https://review.opendev.org/Documentation/access-control.html#category_delete without needing to grant force push permission.","commit_id":"e74262818eb9922af588f4a67c88b8bcd24469d3"},{"author":{"_account_id":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},"change_message_id":"663a625e539e3b576b3468137bb11ae5df4540d4","unresolved":false,"context_lines":[{"line_number":74,"context_line":"            read -p \"\u003e Do you want to delete the branch stable/${em_serie} from ${repo} repository? [y/N]: \" YN"},{"line_number":75,"context_line":"            if [ \"${YN,,}\" \u003d\u003d \"y\" ]; then"},{"line_number":76,"context_line":"                pushd ${repo} \u003e/dev/null"},{"line_number":77,"context_line":"                git push origin --delete \"refs/heads/stable/${em_serie}\""},{"line_number":78,"context_line":"                popd \u003e/dev/null"},{"line_number":79,"context_line":"            fi"},{"line_number":80,"context_line":"        fi"}],"source_content_type":"text/x-sh","patch_set":1,"id":"98bad5c7_3174d19a","line":77,"in_reply_to":"4988ed77_d36f2510","updated":"2021-02-25 18:41:33.000000000","message":"Oh, I see, I thought if we are dealing with bash script maybe the easiest is to use git. I\u0027ve missed the fact that this would need force push right when I read the \u0027category_delete\u0027 description. I\u0027ll try to replace this with REST API call.\n\nThank both of you for the review! :)","commit_id":"e74262818eb9922af588f4a67c88b8bcd24469d3"},{"author":{"_account_id":28522,"name":"Hervé Beraud","email":"herveberaud.pro@gmail.com","username":"hberaud"},"change_message_id":"551c76b2867d3ce93d5bf810857eb95607fe6472","unresolved":true,"context_lines":[{"line_number":20,"context_line":"cat \u003c\u003cEOF"},{"line_number":21,"context_line":"usage: $0 [\u003cargs\u003e]"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Provide a list of repositories that contains eol stale branches"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"Arguments:"},{"line_number":26,"context_line":"    -d, --debug         Turn on the debug mode"}],"source_content_type":"text/x-sh","patch_set":3,"id":"9687a7f3_ee55d023","line":23,"updated":"2021-03-04 15:44:12.000000000","message":"Should be updated accordingly","commit_id":"4a7264fbbcd81c8d5047c9da486554e13aae500f"},{"author":{"_account_id":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},"change_message_id":"2ca8e65a42024bb452ba46fb8d640debbb6dfae6","unresolved":false,"context_lines":[{"line_number":20,"context_line":"cat \u003c\u003cEOF"},{"line_number":21,"context_line":"usage: $0 [\u003cargs\u003e]"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Provide a list of repositories that contains eol stale branches"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"Arguments:"},{"line_number":26,"context_line":"    -d, --debug         Turn on the debug mode"}],"source_content_type":"text/x-sh","patch_set":3,"id":"bb46cac9_eff73707","line":23,"in_reply_to":"9687a7f3_ee55d023","updated":"2021-03-04 16:29:39.000000000","message":"Oh, thanks, I\u0027ve missed it. :S","commit_id":"4a7264fbbcd81c8d5047c9da486554e13aae500f"}]}
