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

Switch to a branch-based release model #382

Merged
merged 3 commits into from
Sep 22, 2023
Merged

Switch to a branch-based release model #382

merged 3 commits into from
Sep 22, 2023

Conversation

btjanaka
Copy link
Member

Description

Pyribs roughly follows a trunk-based development model. Previously, for releases, we only released from the trunk (master branch). However, this does not work well if we need to perform a patch release while trunk already has several features implemented for the next release. This PR shifts to the branch-based release model where we create release branches for minor versions. If we need to release patches, we can cherry pick commits from trunk into the release branch and then push the patch release. We will use this to properly release 0.6.2, as 0.6.1 was released with features for 0.7.0 (namely, OMG-MEGA and OG-MAP-Elites).

TODO

  • Update instructions in CONTRIBUTING.md
  • Update HISTORY.md

Questions

Status

  • I have read the guidelines in
    CONTRIBUTING.md
  • I have formatted my code using yapf
  • I have tested my code by running pytest
  • I have linted my code with pylint
  • I have added a one-line description of my change to the changelog in
    HISTORY.md
  • This PR is ready to go

@btjanaka btjanaka merged commit 8f3c251 into master Sep 22, 2023
17 checks passed
@btjanaka btjanaka deleted the branch-release branch September 22, 2023 02:29
@btjanaka btjanaka mentioned this pull request Sep 22, 2023
8 tasks
btjanaka added a commit that referenced this pull request Sep 22, 2023
## Description

<!-- Provide a brief description of the PR's purpose here. -->

Following the new instructions in #382, the actual 0.6.2 release will
happen on the `release/0.6.x` branch.

## TODO

<!-- Notable points that this PR has either accomplished or will
accomplish. -->

- [x] Bump version
- [x] Update history

## Questions

<!-- Any concerns or points of confusion? -->

## Status

- [x] I have read the guidelines in

[CONTRIBUTING.md](https://github.com/icaros-usc/pyribs/blob/master/CONTRIBUTING.md)
- [x] I have formatted my code using `yapf`
- [x] I have tested my code by running `pytest`
- [x] I have linted my code with `pylint`
- [x] I have added a one-line description of my change to the changelog
in
      `HISTORY.md`
- [x] This PR is ready to go
btjanaka added a commit that referenced this pull request Sep 22, 2023
## Description

<!-- Provide a brief description of the PR's purpose here. -->

Pyribs roughly follows a trunk-based development model. Previously, for
releases, we only released from the trunk (master branch). However, this
does not work well if we need to perform a patch release while trunk
already has several features implemented for the next release. This PR
shifts to the [branch-based release
model](https://trunkbaseddevelopment.com/branch-for-release/) where we
create release branches for minor versions. If we need to release
patches, we can cherry pick commits from trunk into the release branch
and then push the patch release. We will use this to properly release
0.6.2, as 0.6.1 was released with features for 0.7.0 (namely, OMG-MEGA
and OG-MAP-Elites).

## TODO

<!-- Notable points that this PR has either accomplished or will
accomplish. -->

- [x] Update instructions in CONTRIBUTING.md
- [x] Update HISTORY.md

## Questions

<!-- Any concerns or points of confusion? -->

## Status

- [x] I have read the guidelines in

[CONTRIBUTING.md](https://github.com/icaros-usc/pyribs/blob/master/CONTRIBUTING.md)
- [x] I have formatted my code using `yapf`
- [x] I have tested my code by running `pytest`
- [x] I have linted my code with `pylint`
- [x] I have added a one-line description of my change to the changelog
in
      `HISTORY.md`
- [x] This PR is ready to go
btjanaka added a commit that referenced this pull request Sep 22, 2023
## Description

<!-- Provide a brief description of the PR's purpose here. -->

Following the new instructions in #382, the actual 0.6.2 release will
happen on the `release/0.6.x` branch.

## TODO

<!-- Notable points that this PR has either accomplished or will
accomplish. -->

- [x] Bump version
- [x] Update history

## Questions

<!-- Any concerns or points of confusion? -->

## Status

- [x] I have read the guidelines in

[CONTRIBUTING.md](https://github.com/icaros-usc/pyribs/blob/master/CONTRIBUTING.md)
- [x] I have formatted my code using `yapf`
- [x] I have tested my code by running `pytest`
- [x] I have linted my code with `pylint`
- [x] I have added a one-line description of my change to the changelog
in
      `HISTORY.md`
- [x] This PR is ready to go
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.

1 participant