)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":13252,"name":"Dr. Jens Harbott","display_name":"Jens Harbott (frickler)","email":"frickler@offenerstapel.de","username":"jrosenboom"},"change_message_id":"eaf738e37d981b781ff5a0d5a1fcdd697be56983","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"96e671d7_a0eeaadc","updated":"2026-02-05 09:36:33.000000000","message":"the typo for the filename should be fixed: tools/abandon_patches_on_retired_repositories.sh","commit_id":"386ae7d5588023561a336275def5d7fc375b1344"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"c911dc6db66141708455b87ad1d65368bbbbc047","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"5da5a22e_4949f2dc","in_reply_to":"96e671d7_a0eeaadc","updated":"2026-02-09 20:39:05.000000000","message":"thanks! done","commit_id":"386ae7d5588023561a336275def5d7fc375b1344"},{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"19e01d670193b62002ee7c776530b3164134142e","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"04349f16_85b639da","updated":"2026-02-10 08:43:32.000000000","message":"the script works good for me.","commit_id":"6205ddaeac0d2086b60796b373f5f3d0c39a67b6"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"bae2b27025e48df7fafc470d86f439ebeba365a1","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"1588aff5_35fe0e22","updated":"2026-02-12 19:51:55.000000000","message":"ty for the reviews..","commit_id":"6205ddaeac0d2086b60796b373f5f3d0c39a67b6"}],"tools/abandon_patches_on_retired_repositories.sh":[{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"19e01d670193b62002ee7c776530b3164134142e","unresolved":false,"context_lines":[{"line_number":78,"context_line":"    else"},{"line_number":79,"context_line":"        echo \"Abandoning: $change -- $commit_message\""},{"line_number":80,"context_line":"        ssh review.opendev.org gerrit review $gitid \\"},{"line_number":81,"context_line":"            --abandon --message \\\"$msg\\\""},{"line_number":82,"context_line":"    fi"},{"line_number":83,"context_line":"}"},{"line_number":84,"context_line":""}],"source_content_type":"text/x-sh","patch_set":2,"id":"efcd513a_6998e15c","line":81,"updated":"2026-02-10 08:43:32.000000000","message":"correct command, wfm.","commit_id":"6205ddaeac0d2086b60796b373f5f3d0c39a67b6"},{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"19e01d670193b62002ee7c776530b3164134142e","unresolved":false,"context_lines":[{"line_number":98,"context_line":"    open_changes\u003d$("},{"line_number":99,"context_line":"        ssh review.opendev.org \\"},{"line_number":100,"context_line":"        \"gerrit query --current-patch-set --format json \\"},{"line_number":101,"context_line":"        status:open project:${repo}\" | \\"},{"line_number":102,"context_line":"        jq .currentPatchSet.revision | grep -v null | sed \u0027s/\"//g\u0027"},{"line_number":103,"context_line":"    )"},{"line_number":104,"context_line":""}],"source_content_type":"text/x-sh","patch_set":2,"id":"3ecde835_533c6ff5","line":101,"updated":"2026-02-10 08:43:32.000000000","message":"it will return all patches from all branches (incl. stable ones), lgtm.","commit_id":"6205ddaeac0d2086b60796b373f5f3d0c39a67b6"},{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"19e01d670193b62002ee7c776530b3164134142e","unresolved":true,"context_lines":[{"line_number":103,"context_line":"    )"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"    if [[ -z \"$open_changes\" ]]; then"},{"line_number":106,"context_line":"        echo \"  No open changes found.\""},{"line_number":107,"context_line":"    else"},{"line_number":108,"context_line":"        change_count\u003d$(echo \"$open_changes\" | wc -l | tr -d \u0027 \u0027)"},{"line_number":109,"context_line":"        echo \"  Found $change_count open change(s).\""}],"source_content_type":"text/x-sh","patch_set":2,"id":"c7b6f35d_0acaa363","line":106,"updated":"2026-02-10 08:43:32.000000000","message":"you could return here but the loop will not run below, so that\u0027s just a nit","commit_id":"6205ddaeac0d2086b60796b373f5f3d0c39a67b6"}],"tools/abandon_patches_on_retired_reposotories.sh":[{"author":{"_account_id":13252,"name":"Dr. Jens Harbott","display_name":"Jens Harbott (frickler)","email":"frickler@offenerstapel.de","username":"jrosenboom"},"change_message_id":"eaf738e37d981b781ff5a0d5a1fcdd697be56983","unresolved":true,"context_lines":[{"line_number":33,"context_line":"    echo"},{"line_number":34,"context_line":"    echo \" !!! WARNING: please do not run this script without \\\\\""},{"line_number":35,"context_line":"    echo \"              discussing it\""},{"line_number":36,"context_line":"    echo \"              first with release managers!\""},{"line_number":37,"context_line":"    exit 1"},{"line_number":38,"context_line":"}"},{"line_number":39,"context_line":""}],"source_content_type":"text/x-sh","patch_set":1,"id":"f2654f89_d37a6220","line":36,"range":{"start_line":36,"start_character":35,"end_line":36,"end_character":51},"updated":"2026-02-05 09:36:33.000000000","message":"```suggestion\n    echo \"              first with the Technical Commitee!\"\n```\nmay be better?","commit_id":"386ae7d5588023561a336275def5d7fc375b1344"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"c911dc6db66141708455b87ad1d65368bbbbc047","unresolved":false,"context_lines":[{"line_number":33,"context_line":"    echo"},{"line_number":34,"context_line":"    echo \" !!! WARNING: please do not run this script without \\\\\""},{"line_number":35,"context_line":"    echo \"              discussing it\""},{"line_number":36,"context_line":"    echo \"              first with release managers!\""},{"line_number":37,"context_line":"    exit 1"},{"line_number":38,"context_line":"}"},{"line_number":39,"context_line":""}],"source_content_type":"text/x-sh","patch_set":1,"id":"9225501f_70a97f97","line":36,"range":{"start_line":36,"start_character":35,"end_line":36,"end_character":51},"in_reply_to":"f2654f89_d37a6220","updated":"2026-02-09 20:39:05.000000000","message":"+1 fixed this.","commit_id":"386ae7d5588023561a336275def5d7fc375b1344"},{"author":{"_account_id":13252,"name":"Dr. Jens Harbott","display_name":"Jens Harbott (frickler)","email":"frickler@offenerstapel.de","username":"jrosenboom"},"change_message_id":"eaf738e37d981b781ff5a0d5a1fcdd697be56983","unresolved":true,"context_lines":[{"line_number":110,"context_line":"    fi"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"    abandon_message\u003d\"This project has been retired and no longer \\"},{"line_number":113,"context_line":"accepts code changes via https://review.opendev.org. New changes can \\"},{"line_number":114,"context_line":"be uploaded if the project is restored.\""},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"    for change in $open_changes; do"},{"line_number":117,"context_line":"        abandon_change $change \"$abandon_message\" $DRY_RUN"}],"source_content_type":"text/x-sh","patch_set":1,"id":"f992f4e7_3ccace78","line":114,"range":{"start_line":113,"start_character":53,"end_line":114,"end_character":38},"updated":"2026-02-05 09:36:33.000000000","message":"I don\u0027t like this sentence, maybe rather drop it? or replace with a link to our retirement process docs?","commit_id":"386ae7d5588023561a336275def5d7fc375b1344"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"c911dc6db66141708455b87ad1d65368bbbbc047","unresolved":false,"context_lines":[{"line_number":110,"context_line":"    fi"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"    abandon_message\u003d\"This project has been retired and no longer \\"},{"line_number":113,"context_line":"accepts code changes via https://review.opendev.org. New changes can \\"},{"line_number":114,"context_line":"be uploaded if the project is restored.\""},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"    for change in $open_changes; do"},{"line_number":117,"context_line":"        abandon_change $change \"$abandon_message\" $DRY_RUN"}],"source_content_type":"text/x-sh","patch_set":1,"id":"9212aae8_b8557c42","line":114,"range":{"start_line":113,"start_character":53,"end_line":114,"end_character":38},"in_reply_to":"f992f4e7_3ccace78","updated":"2026-02-09 20:39:05.000000000","message":"Yeah, makes sense. I\u0027ll leave it out.","commit_id":"386ae7d5588023561a336275def5d7fc375b1344"}]}
