Skip to content

Add retain_checkpoints field to Repository#14

Open
Moustafa-Moustafa wants to merge 1 commit into
mainfrom
feature/retain-checkpoints
Open

Add retain_checkpoints field to Repository#14
Moustafa-Moustafa wants to merge 1 commit into
mainfrom
feature/retain-checkpoints

Conversation

@Moustafa-Moustafa
Copy link
Copy Markdown
Owner

Add a retain_checkpoints field to the Repository model that limits the number of checkpoint publications per repository. When set, older checkpoint publications beyond the limit have their checkpoint flag cleared automatically.

Cleanup is triggered both when retain_checkpoints is updated on an existing repository and when a new checkpoint publication is created.

closes pulp#7428
Assisted-by: GitHub Copilot

📜 Checklist

  • Commits are cleanly separated with meaningful messages (simple features and bug fixes should be squashed to one commit)
  • A changelog entry or entries has been added for any significant changes
  • Follows the Pulp policy on AI Usage
  • (For new features) - User documentation and test coverage has been added

See: Pull Request Walkthrough

Add a retain_checkpoints field to the Repository model that limits
the number of checkpoint publications per repository. When set,
older checkpoint publications beyond the limit have their checkpoint
flag cleared automatically.

Cleanup is triggered both when retain_checkpoints is updated on an
existing repository and when a new checkpoint publication is created.

closes pulp#7428
Assisted-by: GitHub Copilot
@Moustafa-Moustafa Moustafa-Moustafa force-pushed the feature/retain-checkpoints branch from 5e298b0 to 40b4b26 Compare March 9, 2026 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add the ability to limit the number of checkpoints per repo

1 participant