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

Bootstrap pulp_python plugin #116

Merged
merged 1 commit into from
Nov 8, 2017
Merged

Bootstrap pulp_python plugin #116

merged 1 commit into from
Nov 8, 2017

Conversation

dralley
Copy link
Contributor

@dralley dralley commented Oct 31, 2017

Everything needed for getting the plugin to be installed properly by Pulp 3, and get basic CRUD functionality working.

COPYRIGHT Outdated
@@ -1,4 +1,4 @@
Copyright © 2014 Pulp Project developers.
Copyright © 2017 Pulp Project developers.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Would it be best to leave this at 2014? I don't think it matters one way or the other in this case

Copy link
Contributor

Choose a reason for hiding this comment

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

I think this should be left as 2014:

The general rule is that the year to include in a copyright notice is the year of first publication of the work. [0]

[0] http://www.copyrightlaws.com/copyright-notice-year/

Copy link
Contributor

@werwty werwty left a comment

Choose a reason for hiding this comment

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

This looks great!! I installed it and everything (plugin discovery, importer/publisher CRUD) worked.
I think the flake8 error ought to be fixed for both this and pulp_template.
Thanks @dralley!

COPYRIGHT Outdated
@@ -1,4 +1,4 @@
Copyright © 2014 Pulp Project developers.
Copyright © 2017 Pulp Project developers.
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this should be left as 2014:

The general rule is that the year to include in a copyright notice is the year of first publication of the work. [0]

[0] http://www.copyrightlaws.com/copyright-notice-year/

docs/Makefile Outdated
@@ -1,153 +0,0 @@
# Makefile for Sphinx documentation
Copy link
Contributor

Choose a reason for hiding this comment

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

I think eventually we're still planning on building sphinx docs. Although I am fine with this being deleted for now and bought back when we have sphinx docs to build.

@@ -1,51 +0,0 @@
1.0 Release Notes
Copy link
Contributor

Choose a reason for hiding this comment

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

Same for these. I think we will need to bring the release notes back at some point, but it's fine if they go for now.

@@ -0,0 +1,84 @@
"""
Copy link
Contributor

Choose a reason for hiding this comment

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

Can this doc string be removed?

@@ -0,0 +1,75 @@
"""
Check `Plugin Writer's Guide`_ and `pulp_example`_ plugin
Copy link
Contributor

Choose a reason for hiding this comment

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

Can this doc string be removed?

@@ -0,0 +1,53 @@
"""
Check `Plugin Writer's Guide`_ and `pulp_example`_ plugin
Copy link
Contributor

Choose a reason for hiding this comment

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

Can this doc string also be removed?

Copy link
Contributor

@werwty werwty left a comment

Choose a reason for hiding this comment

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

Other than a minor nitpick this looks good! Thanks @dralley!

flake8.cfg Outdated
@@ -1,5 +1,5 @@
[flake8]
exclude = ./docs/*
exclude = */migrations/*
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should keep excluding docs

Replace current code with boilerplate created by plugin template.
Added back README changes, AUTHORS, COPYRIGHT, travis.yaml, etc.

closes: #2882
https://pulp.plan.io/issues/2882
@dralley dralley merged commit e91d357 into pulp:3.0-dev Nov 8, 2017
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