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

pulpcore-plugin 0.1.0rc4 compatibility #15

Merged
merged 2 commits into from Aug 6, 2019
Merged

Conversation

dkliban
Copy link
Member

@dkliban dkliban commented Aug 4, 2019

This PR adds compatibility with pulpcore-plugin 0.1.0rc4, introduces black formatting, and introduces towncrier for changes.

@dkliban dkliban force-pushed the beta3 branch 9 times, most recently from 0b80c25 to 06e06fa Compare August 4, 2019 12:30
@dkliban dkliban changed the title Beta3 pulpcore-plugin 0.1.0rc4 compatibility Aug 4, 2019
Solution: use plugin-template to update travis config

The code is now also formatted with black.

Migrations are committed.

closes: #5217
https://pulp.plan.io/issues/5217
Copy link
Member

@goosemania goosemania left a comment

Choose a reason for hiding this comment

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

I have few questions and comments, nothing blocking, no re-review is needed.

# bootstrap.py to update this file.
#
# For more info visit https://github.com/pulp/plugin_template

Copy link
Member

Choose a reason for hiding this comment

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

Is this file still needed? mariadb.yml

pip install twine

python setup.py sdist bdist_wheel --python-tag py3
twine upload dist/* -u pulp -p $PYPI_PASSWORD
twine upload dist/* -u None -p $PYPI_PASSWORD
Copy link
Member

Choose a reason for hiding this comment

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

Why is username changed to None?

sync
upload
publish-host
cache
Copy link
Member

Choose a reason for hiding this comment

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

why did you keep only cache use case?

Copy link
Member Author

Choose a reason for hiding this comment

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

Because there is only one workflow right now. It's the cache one.

docs_test: True
pydocstyle: True
test_bindings: False
pypi_username: None
Copy link
Member

Choose a reason for hiding this comment

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

Is it correct that the username is None?

Copy link
Member Author

Choose a reason for hiding this comment

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

No, I need to correct this.

@@ -0,0 +1 @@
Updates serializers and tests to make plugin compatible with pulpcore-plugin 0.1.0rc4.
Copy link
Member

Choose a reason for hiding this comment

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

How about a .feature about adding towncrier? Just a suggestion.

@@ -0,0 +1 @@
Updates serializers and tests to make plugin compatible with pulpcore-plugin 0.1.0rc4.
Copy link
Member

Choose a reason for hiding this comment

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

I'm not sure what was incompatible with pulpcore, except for tests.
I didn't notice any changes in serializer (maybe black changes make it hard to notice).

Solution: add towncrier

[noissue]
@dkliban dkliban merged commit 6629a1c into pulp:master Aug 6, 2019
@dkliban dkliban deleted the beta3 branch August 6, 2019 02: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.

None yet

2 participants