Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --repository option to Advisory upload #936

Open
pedro-psb opened this issue Apr 1, 2024 · 5 comments
Open

Add --repository option to Advisory upload #936

pedro-psb opened this issue Apr 1, 2024 · 5 comments
Labels
feature request New feature request (template-set)

Comments

@pedro-psb
Copy link
Member

Summary

Currently, only Packages support the --repository option on the pulp rpm content -t CONTENT_TYPE upload command.

Examples

I'd like to use:

pulp rpm content -t advisory upload --repository REPONAME --file filename.json
@pedro-psb pedro-psb added feature request New feature request (template-set) Triage-Needed Needs to be reviewed at next pulp-cli mtg labels Apr 1, 2024
@mdellweg mdellweg removed the Triage-Needed Needs to be reviewed at next pulp-cli mtg label Apr 2, 2024
@mdellweg
Copy link
Member

mdellweg commented Apr 2, 2024

Can you comment with the appropriate version guards on pulp_rpm?

@pedro-psb
Copy link
Member Author

Looks like this advisory upload endpoint was introduced in 3.0.0.
pulp/pulp_rpm@ab748df

@mdellweg
Copy link
Member

mdellweg commented Apr 5, 2024

The question is, when was the repository option added.
And that may just well be a change in Pulpcore. Having a hard time finding it myself... Has it been available for all eternity?

@pedro-psb
Copy link
Member Author

The ancestor class that provides repository is NoArtifactContentSerializer, from pulpcore.
Looks like it was introduced here in pulpcore==3.29.0.

@mdellweg
Copy link
Member

mdellweg commented Apr 5, 2024

The ancestor class that provides repository is NoArtifactContentSerializer, from pulpcore. Looks like it was introduced here in pulpcore==3.29.0.

I think that's it, right! Thanks for digging it up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature request (template-set)
Projects
None yet
Development

No branches or pull requests

2 participants