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

Prepend Content model hierarchy with _ #215

Merged
merged 1 commit into from
Jan 8, 2019
Merged

Conversation

CodeHeeler
Copy link
Contributor

Prepend all pulpcore model fields in the Content model hierarchy with _
and do the same for all plugins reliant on them.

Required PR: pulp/pulp#3798

re #4206
https://pulp.plan.io/issues/4206

@dralley
Copy link
Contributor

dralley commented Dec 19, 2018

Bump the pulpcore-plugin dep to b15, it should fix this issue.

Copy link
Contributor

@dralley dralley left a comment

Choose a reason for hiding this comment

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

@@ -152,11 +152,11 @@ def __str__(self):
e.g. <PythonPackageContent: shelf-reader [version] (whl)>

"""
return '<{obj_name}: {name} [{version}] ({type})>'.format(
return '<{obj_name}: {name} [{version}] ({_type})>'.format(
Copy link
Contributor

Choose a reason for hiding this comment

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

This actually doesn't need to be changed, it maps to packagetype not the underlying "_type" field.

@CodeHeeler CodeHeeler force-pushed the issue-4206 branch 3 times, most recently from 7f83748 to f6c14a6 Compare January 3, 2019 15:43
Prepend all pulpcore model fields in the Content model hierarchy with _
and do the same for all plugins reliant on them.

Required PR: pulp/pulp#3798

re #4206
https://pulp.plan.io/issues/4206
@dralley
Copy link
Contributor

dralley commented Jan 8, 2019

@CodeHeeler @asmacdo , Test failures are due to an upstreah aiohttp issue, not anything we're doing. I downgraded aiohttp locally and everything passes now. Merging.

aio-libs/aiohttp#3477

@dralley dralley merged commit 318c1c3 into pulp:master Jan 8, 2019
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