Skip to content

Allow setting retain_repo_versions to null#1412

Open
alexjfisher wants to merge 1 commit into
pulp:mainfrom
alexjfisher:fix_retain_repo_versions
Open

Allow setting retain_repo_versions to null#1412
alexjfisher wants to merge 1 commit into
pulp:mainfrom
alexjfisher:fix_retain_repo_versions

Conversation

@alexjfisher
Copy link
Copy Markdown

Setting is already NULLABLE in
pulp-glue/src/pulp_glue/common/context.py line 1586

NULLABLES = {"description", "remote", "retain_repo_versions"}

but cli didn't allow an empty string to be used.

@mdellweg
Copy link
Copy Markdown
Member

mdellweg commented Jun 5, 2026

Please add a changelog entry to this bugfix.

Setting is already `NULLABLE` in
`pulp-glue/src/pulp_glue/common/context.py` line 1586

```
NULLABLES = {"description", "remote", "retain_repo_versions"}
```

but cli didn't allow an empty string to be used.
@alexjfisher alexjfisher force-pushed the fix_retain_repo_versions branch from 971d57a to db0650c Compare June 5, 2026 10:28
@alexjfisher
Copy link
Copy Markdown
Author

Please add a changelog entry to this bugfix.

Done! (At least I think I've done it right! :) )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants