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

Fixes related to units_erratum.pushcount field #753

Merged
merged 1 commit into from
Dec 23, 2015

Conversation

bmbouter
Copy link
Member

  • Reverts units_erratum.pushcount to be an StringField
  • Adds migration 24 which converts all int or float
    units_erratum.pushcount values to a string
  • Adds tests for migration 24
  • Adds release notes about field data quality changes
  • Adjusts pulp-admin to have it submit pushcount as a string

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

@bmbouter
Copy link
Member Author

pulp-smash at b9069643f7a5759ff8675cdfe4e131c750681184 passes for me on 2.8 with the same problems as the commit message indicates are expected.

The failures that prompted the issue (see ticket) now work.

The database has renamed some field names for RPM unit models. This change should not be noticeable through the API,
but it does come with a migration which drops some indexes. The following field names are renamed:
The 2.8.0 comes with strong Validation enabled at the database layer. This required some database
changes to be, however these should go unnoticed for most users. For those integrating with Pulp
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing a verb after "to be" ?

* Reverts units_erratum.pushcount to be an StringField

* Adds migration 24 which converts all int or float
  units_erratum.pushcount values to a string. Any pushcount
  fields with a value of null are $unset.

* Adds tests for migration 24

* Adds release notes about field data quality changes

* Adjusts pulp-admin to have it submit pushcount as a string

https://pulp.plan.io/issues/1455
closes pulp#1455
bmbouter added a commit that referenced this pull request Dec 23, 2015
Fixes related to units_erratum.pushcount field
@bmbouter bmbouter merged commit 6b9d07b into pulp:master Dec 23, 2015
@bmbouter bmbouter deleted the 1455-Mild branch December 23, 2015 19:06
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.

2 participants