{"id":20398756,"url":"https://github.com/bcambl/pulp-cleanup","last_synced_at":"2026-07-07T08:31:24.832Z","repository":{"id":73990560,"uuid":"62839453","full_name":"bcambl/pulp-cleanup","owner":"bcambl","description":"Remove old versions of Katello/Satellite 6 composite \u0026 content views","archived":false,"fork":false,"pushed_at":"2019-07-10T16:56:10.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-31T13:42:49.677Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bcambl.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":"2016-07-07T21:34:37.000Z","updated_at":"2019-07-10T21:26:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"80d1147a-1886-413d-b0ea-3d736f99e068","html_url":"https://github.com/bcambl/pulp-cleanup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bcambl/pulp-cleanup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcambl%2Fpulp-cleanup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcambl%2Fpulp-cleanup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcambl%2Fpulp-cleanup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcambl%2Fpulp-cleanup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bcambl","download_url":"https://codeload.github.com/bcambl/pulp-cleanup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcambl%2Fpulp-cleanup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35221308,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-07T02:00:07.222Z","response_time":90,"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-11-15T04:23:58.466Z","updated_at":"2026-07-07T08:31:24.696Z","avatar_url":"https://github.com/bcambl.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## pulp-cleanup \n\nDescription:\nScripted removal of old composite \u0026 content view versions (_n munus 1_ by default)\n\nScripted Tasks:\n- Delete 'content' view versions older than n-1 (keep previous version for rollback purposes)\n- Delete 'composite' view versions older than n-1 (keep previous version for rollback purposes)\n- Move related pulp yum content to a backup directory to be manually deleted at a later date (_see additional note_)\n\nUsage:\n- The script should be safe to execute with `DEBUG = True`. \n- Carefully review the stdout *before* setting `DEBUG = False`.\n\nAdditional Note:\nThis script contains a workaround for Red Hat internal Bugzilla #1184442 \u0026 #1317057 for Satellite 6.1.x\n**_Note: This is not an official solution. You should probably contact Red Hat support first._**\n\nThe aforementioned bugs result in content not being removed from disk when content versions\nare deleted via the web GUI. Although there are a few content directories related to the bug, \nthe majority of the disk space can be recovered by only removing the yum content associated \nwith the deleted versions.\n\n**WARNING:**  \n**All versions NOT associated with a lifecycle will be removed with the exception of one previous version.**\n\nTesting:\nTested on Satellite 6.1.x -\u003e 6.3.5\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbcambl%2Fpulp-cleanup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbcambl%2Fpulp-cleanup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbcambl%2Fpulp-cleanup/lists"}