Syncing only releases

Open
#77 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
backend, devtools

Research direction

Start with the issue description and examine how Backstroke currently selects an upstream branch and determines when to create a PR. Compare GitHub release-based syncing with an optional commit-message pattern, then clarify the intended configuration and behavior. Done means the chosen release strategy is specified and its edge cases are covered.

Written by the indexing model from the issue text.

Description

Backstroke is great for syncing commits from a branch. But in certain situations, it'd be ideal to create backstroke PRs only for upstream releases.

Taking create-react-app as an example, I don't really want to have Backstroke create a PR for every other commit on master, because the changes may not be ready for production. I'd want to have a PR created whenever a release is cut.

What would be the best approach here?

  • Option to sync releases instead of choosing a branch, then use the API to find the latest release during sync.
  • Be less tied to what Github deems as a release, instead allowing configuration of an optional commit message regex, eg. ^Publish.*$. This would be easier to implement but less user friendly and prone to false positives.
Dominant language
JavaScript
Stars
663
Forks
62
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from backstrokeapp/server

All issues in backstrokeapp/server

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.