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

Add bump2version #151

Merged
merged 13 commits into from
Oct 20, 2021
Merged

Conversation

jashparekh
Copy link
Contributor

@jashparekh jashparekh commented Oct 20, 2021

Resolves #99 and #14

@codecov
Copy link

codecov bot commented Oct 20, 2021

Codecov Report

Merging #151 (38c620b) into main (6ca4817) will not change coverage.
The diff coverage is n/a.

❗ Current head 38c620b differs from pull request most recent head c0d5d1a. Consider uploading reports for the commit c0d5d1a to get more accurate results

@@            Coverage Diff            @@
##              main      #151   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            6         6           
  Lines          160       160           
  Branches        19        19           
=========================================
  Hits           160       160           

@jashparekh jashparekh changed the title Add bump2version Add bump2version and support for py3.10 Oct 20, 2021
Jash Parekh and others added 2 commits October 19, 2021 22:08
Copy link
Collaborator

@jdw6359 jdw6359 left a comment

Choose a reason for hiding this comment

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

Thanks for this awesome contribution!

I think there are several different and independent things going on here, and my preference would be to have the high level changes (bump2version and python 3.10) to be made separate from each other.

though these changes seem low risk as-is, I think that there is value in being incremental here so that I can at least better understand the requested changes

Comment on lines +12 to +19
- package-ecosystem: "docker"
directory: "/docker"
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
Copy link
Collaborator

Choose a reason for hiding this comment

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

nice!

Comment on lines 103 to 105
Merging the pull request will trigger a GitHub Action that will create a new release. The creation of this new
release will trigger a GitHub Action that will to build a wheel & a source distributions of the package and push them to
[PyPI][pypi].
Copy link
Collaborator

Choose a reason for hiding this comment

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

You are saying that a github release gets created for us as a result of using the bump command?

Currently, new package version publishes happen when we create a release manually

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hey Josh - What I mean is, when you run bump service as defined in docker-compose.yaml, the service will create a new branch updating the version in the following files and allow the user to create a PR. This PR when approved and merged will trigger a github-actions as defined here.

Files in which version will be updated:

  1. docs/index.md
  2. setup.cfg

Copy link
Collaborator

Choose a reason for hiding this comment

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

awesome, this makes sense. somehow I missed the detect_version_bump.yml during my initial review

docs/development-guide.md Show resolved Hide resolved
@jashparekh
Copy link
Contributor Author

Thanks for this awesome contribution!

I think there are several different and independent things going on here, and my preference would be to have the high level changes (bump2version and python 3.10) to be made separate from each other.

though these changes seem low risk as-is, I think that there is value in being incremental here so that I can at least better understand the requested changes

This makes sense to me, I revertted all the changes related to python 3.10 and updated the PR description

@jashparekh jashparekh requested a review from jdw6359 October 20, 2021 14:18
@jashparekh jashparekh changed the title Add bump2version and support for py3.10 Add bump2version Oct 20, 2021
Copy link
Collaborator

@jdw6359 jdw6359 left a comment

Choose a reason for hiding this comment

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

There are still some minor questions to be addressed, but I am more than comfortable with what you have here, so i'll approve.

Thank you so much for this contribution @jashparekh !

.bumpversion.cfg Outdated Show resolved Hide resolved
.github/workflows/detect_version_bump.yml Show resolved Hide resolved
docker/bump_version.sh Show resolved Hide resolved
@jdw6359 jdw6359 merged commit 57c5a3f into wayfair-incubator:main Oct 20, 2021
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.

Use bump2version
2 participants