Skip to content
This repository has been archived by the owner on Nov 13, 2022. It is now read-only.

Provide users with a path to automated upgrade #77

Closed
hamelsmu opened this issue Feb 19, 2020 · 2 comments · Fixed by #143
Closed

Provide users with a path to automated upgrade #77

hamelsmu opened this issue Feb 19, 2020 · 2 comments · Fixed by #143
Labels
enhancement New feature or request good first issue Good for newcomers in-progress

Comments

@hamelsmu
Copy link
Member

  • merges upstream master into their repo on a new branch
  • open a PR
  • user has to fix conflicts?

@jph00 can you think of a nice workflow where people should upgrade? Is git merge/fix conflicts the best route, you think?

@hamelsmu hamelsmu added enhancement New feature or request good first issue Good for newcomers labels Feb 19, 2020
@jph00
Copy link
Member

jph00 commented Feb 19, 2020 via email

@mikonapoli
Copy link
Contributor

I have actually built a GitHub action that does something similar on a different project. I use git-subtree to keep a folder in sync with my upstream, but probably can be easily adapted to this use case.
If it's useful, the relevant part of the action I am using is:

jobs:
  build-notebooks:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
      with:
          ref: master
          fetch-depth: 0
    - name: Set git user and email
      uses: srt32/git-actions@master
      with:
        args: git config user.email "upstreamsyncbot@example.com" && git config user.name "UpstreamSyncBot"
    - name: Fetch upstream repo
      uses: srt32/git-actions@master
      with:
        args: git subtree pull --squash --message=UpstreamSync  --prefix=base-images https://github.com/upstream-github-user/upstream-repo.git master

Most likely it is overkill with what's needed here

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers in-progress
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants