-
Notifications
You must be signed in to change notification settings - Fork 1.1k
add a pull request template #355
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
Conversation
Is there any conception of what a 1.0 release would entail? |
@thunderfish24 we have not seriously discussed what a 1.0 release would look like. Does it impact this PR? I didn't understand the point of your semver link on the related issue, so I feel like I must be missing something. I understand the semver concept and try to manage pvlib in a similar way, but I don't see the connection to the pull request template. The point of the PR template is to get contributors to check or at least think about a few things before the code reviewers comment on them. So, it seems to me that the PR template would be the same no matter what version we're on. In any case, it would be a good idea to discuss a roadmap to a 1.0 release in a dedicated issue. |
At Workiva we use a versioning checklist in our PR templates for post-1.0.0 repo's: Semantic Versioning (check all that apply)Patch
Minor
Major
|
We also use the rule of thumb that once you have more than one consumer, it's time to go >=1.0.0. Personally, I think it's good to be a stickler about not breaking consumers' code "out of the blue", so that consumers should not have to worry about minor/patch bumps (other than new bugs!). Furthermore, "graceful" upgrade paths are great wherever possible: Deprecate with instructions on how to upgrade in a minor bump before removing deprecations in the next major bump. (One can always wait longer than the next major bump, if the need arises.) |
Thanks for clarifying. I had not considered that kind of checklist on a PR before. I think that could be useful once we get to 1.0.0, but I'd like to keep it a little more flexible until then. I'm a little surprised I don't see it on any of the major pydata projects that I've surveyed. I guess that could be because so much of pydata is sub-1.0.0. I want to incorporate ideas from a few more templates before merging this PR: |
Cool. I agree that updating the api.rst and whatsnew.rst seems sufficient at this time. |
git diff upstream/master -u -- "*.py" | flake8 --diff
and/or landscape.io linting service.docs/sphinx/source/api.rst
for API changes.docs/sphinx/source/whatsnew
file for all changes.Brief description of the problem and proposed solution (if not already fully described in the issue linked to above):
Adds a pull request template. I'm open to suggestions on how to improve it. I'll merge in a few days.