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

Howto rebase a source-git repo to a new upstream release #324

Open
jpopelka opened this issue Aug 19, 2021 · 5 comments
Open

Howto rebase a source-git repo to a new upstream release #324

jpopelka opened this issue Aug 19, 2021 · 5 comments

Comments

@jpopelka
Copy link
Member

jpopelka commented Aug 19, 2021

I have a source-git repo, which is not pushed anywhere, so I can rebase at will.
The thing is that rebasing it to a new upstream release is quite a few steps, so I'm wondering whether we should mention them in the docs

Ok, so what I'm doing in the source-git repo to rebase to a newly released version:

  • git pull --rebase upstream main
  • cd .distro/
  • change Version: in spec to the newly released version
  • download tarball: spectool -g *.spec
  • sha512sum the-downloaded-tarball
  • in source-git.yaml change the upstream_ref and sources path & url (even the tarball is not yet uploaded)

Now I can run source-git update-dist-git, which BTW works nicely.

Or perhaps have a new source-git rebase-to-version command to perform those steps?
Anyway, I'd start with discussing what are the supposed steps (above) and documenting them.

@stale
Copy link

stale bot commented Oct 30, 2021

This issue has been marked as stale because it hasn't seen any
activity for the last 60 days.

Stale issues are closed after 14 days, unless the label is removed
by a maintainer or someone comments on it.

This is done in order to ensure that open issues are still relevant.

Thank you for your contribution! 🦄 🚀 🤖

(Note: issues labeled with pinned or EPIC are
never marked as stale.)

@stale stale bot added the stale Is the issue still valid? label Oct 30, 2021
@csomh csomh removed the stale Is the issue still valid? label Nov 1, 2021
@stale
Copy link

stale bot commented Jan 3, 2022

This issue has been marked as stale because it hasn't seen any
activity for the last 60 days.

Stale issues are closed after 14 days, unless the label is removed
by a maintainer or someone comments on it.

This is done in order to ensure that open issues are still relevant.

Thank you for your contribution! 🦄 🚀 🤖

(Note: issues labeled with pinned or EPIC are
never marked as stale.)

@stale stale bot added the stale Is the issue still valid? label Jan 3, 2022
@csomh csomh removed the stale Is the issue still valid? label Jan 4, 2022
@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been marked as stale because it hasn't seen any
activity for the last 60 days.

Stale issues are closed after 14 days, unless the label is removed
by a maintainer or someone comments on it.

This is done in order to ensure that open issues are still relevant.

Thank you for your contribution! 🦄 🚀 🤖

(Note: issues labeled with pinned or EPIC are
never marked as stale.)

@stale stale bot added the stale Is the issue still valid? label Apr 16, 2022
@jpopelka jpopelka changed the title Howto rebase a source-git repo to new upstream release Howto rebase a source-git repo to a new upstream release Apr 19, 2022
@stale stale bot removed the stale Is the issue still valid? label Apr 19, 2022
@stale
Copy link

stale bot commented Jun 23, 2022

This issue has been marked as stale because it hasn't seen any
activity for the last 60 days.

Stale issues are closed after 14 days, unless the label is removed
by a maintainer or someone comments on it.

This is done in order to ensure that open issues are still relevant.

Thank you for your contribution! 🦄 🚀 🤖

(Note: issues labeled with pinned or EPIC are
never marked as stale.)

@stale stale bot added the stale Is the issue still valid? label Jun 23, 2022
@csomh csomh removed the stale Is the issue still valid? label Jun 23, 2022
@stale
Copy link

stale bot commented Sep 21, 2022

This issue has been marked as stale because it hasn't seen any
activity for the last 60 days.

Stale issues are closed after 14 days, unless the label is removed
by a maintainer or someone comments on it.

This is done in order to ensure that open issues are still relevant.

Thank you for your contribution! 🦄 🚀 🤖

(Note: issues labeled with pinned or EPIC are
never marked as stale.)

@stale stale bot added the stale Is the issue still valid? label Sep 21, 2022
@stale stale bot closed this as completed Nov 12, 2022
@TomasTomecek TomasTomecek reopened this Nov 16, 2022
@stale stale bot removed the stale Is the issue still valid? label Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: backlog
Development

No branches or pull requests

3 participants