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 versioning notes to release.md #629

Merged
merged 7 commits into from
Jul 12, 2018
Merged

Add versioning notes to release.md #629

merged 7 commits into from
Jul 12, 2018

Conversation

dabacon
Copy link
Collaborator

@dabacon dabacon commented Jul 11, 2018

No description provided.

@dabacon dabacon requested a review from Strilanc July 11, 2018 20:51
@googlebot googlebot added the cla: yes Makes googlebot stop complaining. label Jul 11, 2018
release.md Outdated
to the release. In the pull request corresponding to the release
the [version file](cirq/_version.py) should be updated. After
that version is cut, a future pull request should update the
version to the next minor version with `-dev` appended.
Copy link
Contributor

Choose a reason for hiding this comment

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

Might want to do vX.X.X.dev instead to match what python tooling expects for package versions (see https://www.python.org/dev/peps/pep-0440/#public-version-identifiers). Or could leave the branch names with -dev but should also document what the package versions do.

@dabacon
Copy link
Collaborator Author

dabacon commented Jul 11, 2018

Update as suggested to use ".dev" Also changed _version.py

releases. Versions are labeled MAJOR.MINOR.PATCH where each of these
is a numerical value. The rules for versions changes are:
* Before MAJOR becomes 1, updates to MINOR can and will make changes to
public facing apis and interfaces..
Copy link
Contributor

Choose a reason for hiding this comment

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

Double .

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed

[on the Cirq release page](https://github.com/quantumlib/Cirq/releases).

Our development process uses the `master` branch for development.
When a release is made for a major or minor version update, `master`
Copy link
Contributor

Choose a reason for hiding this comment

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

I would say that a commit is tagged, not master.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

changed to "a commit to the master branch"


Our development process uses the `master` branch for development.
When a release is made for a major or minor version update, `master`
is tagged with a version tag (vX.X.X) for a pull request corresponding
Copy link
Contributor

Choose a reason for hiding this comment

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

What do you mean by a pull request corresponding to the release? Like, we make a pull request "Release vX", merge it, and the resulting commit is what we tag?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ugh reworded

version to the next minor version with `.dev` appended.

For patch version updates (bug fixes), we follow a different pattern.
For these we create a separate branch that off of the version the
Copy link
Contributor

Choose a reason for hiding this comment

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

'that off of' gore

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

d

For patch version updates (bug fixes), we follow a different pattern.
For these we create a separate branch that off of the version the
major minor version for the patch, or a previous branch patch. The
branches should be of the name `branch-X-X-X` corresponding to the
Copy link
Contributor

Choose a reason for hiding this comment

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

double space

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

d

Copy link
Contributor

@Strilanc Strilanc left a comment

Choose a reason for hiding this comment

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

LGTM

@Strilanc Strilanc changed the title Release Add versioning notes to release.md Jul 12, 2018
@Strilanc Strilanc added the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Jul 12, 2018
@googlebot googlebot added cla: no and removed cla: yes Makes googlebot stop complaining. labels Jul 12, 2018
@Strilanc Strilanc added the cla: yes Makes googlebot stop complaining. label Jul 12, 2018
@googlebot googlebot removed the cla: no label Jul 12, 2018
@Strilanc Strilanc removed the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Jul 12, 2018
@quantumlib quantumlib deleted a comment from googlebot Jul 12, 2018
@quantumlib quantumlib deleted a comment from googlebot Jul 12, 2018
@Strilanc Strilanc added the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Jul 12, 2018
@googlebot googlebot added cla: no and removed cla: yes Makes googlebot stop complaining. labels Jul 12, 2018
@Strilanc Strilanc added the cla: yes Makes googlebot stop complaining. label Jul 12, 2018
@quantumlib quantumlib deleted a comment from googlebot Jul 12, 2018
@googlebot googlebot removed the cla: no label Jul 12, 2018
@quantumlib quantumlib deleted a comment from googlebot Jul 12, 2018
@Strilanc Strilanc merged commit 06a2d05 into quantumlib:master Jul 12, 2018
@Strilanc Strilanc deleted the release branch July 12, 2018 01:49
@Strilanc Strilanc removed the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Jul 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Makes googlebot stop complaining.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants