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

Advisory package sum_type #1667

Merged
merged 1 commit into from
Apr 20, 2020
Merged

Conversation

pavelpicka
Copy link
Contributor

Advisory package sum_type will be stored as INT as createrepo_c uses it.
Upload will translate supported checksum from str to int.
User will still see a string representation of sum_type.

closes #6442
https://pulp.plan.io/issues/6442

@pep8speaks
Copy link

pep8speaks commented Apr 6, 2020

Hello @pavelpicka! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2020-04-17 22:36:44 UTC

@pulpbot
Copy link
Member

pulpbot commented Apr 6, 2020

Attached issue: https://pulp.plan.io/issues/6442

pulp_rpm/app/fields.py Outdated Show resolved Hide resolved
@pavelpicka pavelpicka force-pushed the 6442-advisory-sum-type branch 2 times, most recently from cfad9be to a802b8f Compare April 7, 2020 15:25
@pavelpicka
Copy link
Contributor Author

@dralley updated without backward search of dict

pulp_rpm/app/constants.py Outdated Show resolved Hide resolved
pulp_rpm/app/constants.py Outdated Show resolved Hide resolved
@dralley
Copy link
Contributor

dralley commented Apr 16, 2020

@goosemania had some other ideas about what to change that might be simpler, FYI @pavelpicka

pulp_rpm/app/fields.py Outdated Show resolved Hide resolved
@pavelpicka pavelpicka changed the title Advisory package sum_type [WIP] Advisory package sum_type Apr 17, 2020
@pavelpicka pavelpicka force-pushed the 6442-advisory-sum-type branch 2 times, most recently from b8c42dd to 047ee65 Compare April 17, 2020 21:38
CHANGES/6442.feature Outdated Show resolved Hide resolved
@pavelpicka pavelpicka force-pushed the 6442-advisory-sum-type branch 2 times, most recently from 50be24e to 9ff26a1 Compare April 17, 2020 22:08
Advisory package sum_type will be stored as INT as createrepo_c uses it.
Upload will translate supported checksum from str to int.
User will still see a string representation of sum_type.

closes #6442
https://pulp.plan.io/issues/6442
@pavelpicka pavelpicka changed the title [WIP] Advisory package sum_type Advisory package sum_type Apr 17, 2020
@goosemania goosemania merged commit 4e78a4d into pulp:master Apr 20, 2020
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.

None yet

5 participants