)]}'
{"playbooks/maintain-github-mirror/github_manager.py":[{"author":{"_account_id":13252,"name":"Dr. Jens Harbott","display_name":"Jens Harbott (frickler)","email":"frickler@offenerstapel.de","username":"jrosenboom"},"change_message_id":"b8ace7911eac51e134ec2f727c70faca8f862ce0","unresolved":true,"context_lines":[{"line_number":193,"context_line":""},{"line_number":194,"context_line":"    try:"},{"line_number":195,"context_line":"        gh \u003d github.Github(os.environ[\u0027GITHUB_TOKEN\u0027])"},{"line_number":196,"context_line":"        org \u003d gh.get_organization(\u0027openstack\u0027)"},{"line_number":197,"context_line":"        archive_org \u003d gh.get_organization(ARCHIVE_ORG)"},{"line_number":198,"context_line":"    except KeyError:"},{"line_number":199,"context_line":"        print(\u0027Aborting: missing GITHUB_TOKEN environment variable\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"335938fe_53d8ceeb","line":196,"updated":"2026-07-29 06:14:34.000000000","message":"if you look at the current job logs, a login failure is happening here and it is logging the token, so we need to somehow cover for the github library leaking credentials in the log, too","commit_id":"ffc5609abbfa03399fe89f24d700b585b8da9bf3"},{"author":{"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"},"change_message_id":"5a39bd03b0d7e710f2bdb34143619fd803f4a5b9","unresolved":true,"context_lines":[{"line_number":193,"context_line":""},{"line_number":194,"context_line":"    try:"},{"line_number":195,"context_line":"        gh \u003d github.Github(os.environ[\u0027GITHUB_TOKEN\u0027])"},{"line_number":196,"context_line":"        org \u003d gh.get_organization(\u0027openstack\u0027)"},{"line_number":197,"context_line":"        archive_org \u003d gh.get_organization(ARCHIVE_ORG)"},{"line_number":198,"context_line":"    except KeyError:"},{"line_number":199,"context_line":"        print(\u0027Aborting: missing GITHUB_TOKEN environment variable\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"9133d3f2_8366681a","line":196,"in_reply_to":"335938fe_53d8ceeb","updated":"2026-07-29 17:09:12.000000000","message":"Yeah, on closer look, it complains about `requests.exceptions.InvalidHeader: Invalid leading whitespace, reserved character(s), or return character(s) in header value` but that\u0027s actually coming from the github module\u0027s use of requests not our own calls directly to requests.","commit_id":"ffc5609abbfa03399fe89f24d700b585b8da9bf3"},{"author":{"_account_id":13252,"name":"Dr. Jens Harbott","display_name":"Jens Harbott (frickler)","email":"frickler@offenerstapel.de","username":"jrosenboom"},"change_message_id":"7f7271ef3283a252dab71320ade11707676c7318","unresolved":true,"context_lines":[{"line_number":193,"context_line":""},{"line_number":194,"context_line":"    try:"},{"line_number":195,"context_line":"        gh \u003d github.Github(os.environ[\u0027GITHUB_TOKEN\u0027])"},{"line_number":196,"context_line":"        org \u003d gh.get_organization(\u0027openstack\u0027)"},{"line_number":197,"context_line":"        archive_org \u003d gh.get_organization(ARCHIVE_ORG)"},{"line_number":198,"context_line":"    except KeyError:"},{"line_number":199,"context_line":"        print(\u0027Aborting: missing GITHUB_TOKEN environment variable\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"93682c07_697f065e","line":196,"in_reply_to":"9133d3f2_8366681a","updated":"2026-08-04 12:24:30.000000000","message":"looking at this again, I wonder whether we might need to handle all subsequent calls the same way, in case there is an intermittend issue in github auth. but maybe we can live with this as a first step","commit_id":"ffc5609abbfa03399fe89f24d700b585b8da9bf3"}]}
