Skip to content

.github: workflows: add rebasing workflows#32

Open
DaniilKl wants to merge 1 commit intomasterfrom
add-rebase-workflow
Open

.github: workflows: add rebasing workflows#32
DaniilKl wants to merge 1 commit intomasterfrom
add-rebase-workflow

Conversation

@DaniilKl
Copy link
Copy Markdown

Related to: TrenchBoot/.github#16 .

@DaniilKl DaniilKl self-assigned this Apr 10, 2026
@DaniilKl DaniilKl marked this pull request as draft April 10, 2026 10:27
@DaniilKl DaniilKl force-pushed the add-rebase-workflow branch 2 times, most recently from 7d50661 to 4278b94 Compare April 10, 2026 18:04
Comment thread .github/workflows/rebase.yml Outdated
Comment thread .github/workflows/rebase-and-build.yml Outdated
Comment thread .github/workflows/rebase.yml Outdated
@DaniilKl DaniilKl force-pushed the add-rebase-workflow branch 3 times, most recently from 94dd17d to a2fbc4e Compare April 15, 2026 10:22
@DaniilKl DaniilKl marked this pull request as ready for review April 15, 2026 10:22
@DaniilKl DaniilKl force-pushed the add-rebase-workflow branch from a2fbc4e to 5325440 Compare April 15, 2026 10:24
DaniilKl added a commit to TrenchBoot/.github that referenced this pull request Apr 15, 2026
This is because it is being used in other TrenchBoot repos as well but
on other branches because of:

TrenchBoot/grub#32
TrenchBoot/qubes-antievilmaid#15
TrenchBoot/xen#26

IMHO there is no reason to mention every use of this workflow.

Signed-off-by: Danil Klimuk <daniil.klimuk@3mdeb.com>
@DaniilKl DaniilKl force-pushed the add-rebase-workflow branch from 5325440 to 53c0f27 Compare April 15, 2026 12:59
DaniilKl added a commit to TrenchBoot/.github that referenced this pull request Apr 15, 2026
This is because it is being used in other TrenchBoot repos as well but
on other branches because of:

TrenchBoot/grub#32
TrenchBoot/qubes-antievilmaid#15
TrenchBoot/xen#26

IMHO there is no reason to mention every use of this workflow.

Signed-off-by: Danil Klimuk <daniil.klimuk@3mdeb.com>
DaniilKl added a commit to TrenchBoot/.github that referenced this pull request Apr 15, 2026
This is because it is being used in other TrenchBoot repos as well but
on other branches because of:

TrenchBoot/grub#32
TrenchBoot/qubes-antievilmaid#15
TrenchBoot/xen#26

IMHO there is no reason to mention every use of this workflow.

Signed-off-by: Danil Klimuk <daniil.klimuk@3mdeb.com>
DaniilKl added a commit to TrenchBoot/.github that referenced this pull request Apr 15, 2026
This is because it is being used in other TrenchBoot repos as well but
on other branches because of:

TrenchBoot/grub#32
TrenchBoot/qubes-antievilmaid#15
TrenchBoot/xen#26

IMHO there is no reason to mention every use of this workflow.

Signed-off-by: Danil Klimuk <daniil.klimuk@3mdeb.com>
Comment thread .github/workflows/rebase.yml Outdated
Comment thread .github/workflows/rebase.yml Outdated
@DaniilKl DaniilKl force-pushed the add-rebase-workflow branch 2 times, most recently from 35aed1c to d5c69f9 Compare April 16, 2026 10:59
@DaniilKl DaniilKl changed the title .github: workflows: rebase-and-build.yml: add .github: workflows: add rebasing workflows Apr 16, 2026
@DaniilKl DaniilKl changed the base branch from tb-dev to master April 16, 2026 11:16
@DaniilKl DaniilKl force-pushed the add-rebase-workflow branch 3 times, most recently from 02d3bc0 to c3d5f15 Compare April 21, 2026 15:08
@DaniilKl DaniilKl force-pushed the add-rebase-workflow branch from c3d5f15 to 05719c9 Compare April 21, 2026 15:25
@DaniilKl
Copy link
Copy Markdown
Author

DaniilKl commented Apr 21, 2026

Though the review process can be continued, the final merge is blocked by the same reason as here. We do not want to rebase the tb-dev branch but rather create a separate one.

env:
UPSTREAM_TAG: grub-${{ steps.version.outputs.version }}
run: |
git remote add upstream https://git.savannah.gnu.org/git/grub.git
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The repo has been moved to https://gitlab.freedesktop.org/gnu-grub/grub and the old one is apparently won't be synchronized (as if it's hard...).

ref: 'aem-next-rebased'
- name: Read version of the QubesOS Component from version file
id: read-version
run: echo "version=$(cat version)" >> "$GITHUB_OUTPUT"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

No tr?

commit-user-name: 'github-actions[bot]'
commit-user-email: 'github-actions[bot]@users.noreply.github.com'
cicd-trigger-resume: '7. Rerun the workflow https://github.com/TrenchBoot/grub/actions/runs/${{ github.run_id }} to resume automated rebase.'
cleanup-after-rebase-attemp:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
cleanup-after-rebase-attemp:
cleanup-after-rebase-attempt:

@DaniilKl DaniilKl force-pushed the add-rebase-workflow branch 2 times, most recently from 36be4c4 to 9a34c93 Compare April 21, 2026 18:55
Comment thread .github/workflows/rebase-build-and-publish-rebased.yml Outdated
Regarding the "rebase.yml".

We cannot simply rebase commits from TrenchBoot/grub on top of the
commits in the QubesOS/qubes-grub2, because:

1. The actual history for the grub component is held in patches in the
   QubesOS/qubes-grub2 repository, so we need to do a conversion from
   patches to commits every time we want to try to rebase.
2. We want to track the changes to the other files from the
   QubesOS/qubes-grub2, except for the patches for the grub component, as
   versions of these files might be closely related to the changes in
   the patches for the grub component.

Other changes that should be made due to the history format difference
between the QubesOS/qubes-grub2 and TrenchBoot/grub should will be resolved
by the follwoing commit when the actual rebase happens:

2f477ee

Signed-off-by: Danil Klimuk <daniil.klimuk@3mdeb.com>
@DaniilKl DaniilKl force-pushed the add-rebase-workflow branch from 9a34c93 to 9bba50b Compare April 22, 2026 10:02
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.

2 participants