{"id":16096379,"url":"https://github.com/sio/aptrepo-cleanup","last_synced_at":"2025-09-14T06:46:18.089Z","repository":{"id":101312628,"uuid":"466163166","full_name":"sio/aptrepo-cleanup","owner":"sio","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-21T07:39:31.000Z","size":8,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-14T06:46:17.852Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-04T14:55:00.000Z","updated_at":"2022-03-04T14:55:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"9967f26f-bd33-464d-a94f-1de9b19350f7","html_url":"https://github.com/sio/aptrepo-cleanup","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"2c6117cc3b174b680d01232b36905c600eaf425d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sio/aptrepo-cleanup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sio%2Faptrepo-cleanup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sio%2Faptrepo-cleanup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sio%2Faptrepo-cleanup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sio%2Faptrepo-cleanup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sio","download_url":"https://codeload.github.com/sio/aptrepo-cleanup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sio%2Faptrepo-cleanup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275071556,"owners_count":25400398,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-09T17:13:52.296Z","updated_at":"2025-09-14T06:46:18.044Z","avatar_url":"https://github.com/sio.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Disable repos which cause errors for 'apt update'\n\nWhen a repository becomes inaccessible or when a repo GPG key expires\n'apt update' fails loudly and asks for administator to intervene.\n\nThis is not good in automated scenarios where the error may be automatically\nfixed down the line (e.g. repo key update may have already been scheduled).\nThis script will attempt to update apt cache and if any of the configured\nrepos gets in the way - the script will just disable the offending repo.\n\nExit code 200 will indicate that the run was not exactly clean, but at\nleast all further 'apt update' calls will be successful and will not prevent\nautomated system healing.\n\n\n## License and copyright\n\nCopyright 2022 Vitaly Potyarkin\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsio%2Faptrepo-cleanup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsio%2Faptrepo-cleanup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsio%2Faptrepo-cleanup/lists"}