Skip to content

.github: workflows: rebase-and-build.yml: add#26

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

.github: workflows: rebase-and-build.yml: add#26
DaniilKl wants to merge 1 commit intomasterfrom
add-rebase-workflow

Conversation

@DaniilKl
Copy link
Copy Markdown

Related to TrenchBoot/.github#16 .

@DaniilKl DaniilKl marked this pull request as draft April 10, 2026 19:00
Comment thread .github/workflows/rebase-and-build.yml Outdated
Comment thread .github/workflows/rebase-and-build.yml Outdated
Comment thread .github/workflows/rebase-and-build.yml Outdated
@DaniilKl DaniilKl force-pushed the add-rebase-workflow branch 3 times, most recently from 976adbe to e87d261 Compare April 14, 2026 16:14
@DaniilKl DaniilKl changed the base branch from aem-next to master April 14, 2026 16:15
@DaniilKl DaniilKl force-pushed the add-rebase-workflow branch 2 times, most recently from 15e1a9d to ea0cec8 Compare April 15, 2026 09:36
@DaniilKl DaniilKl marked this pull request as ready for review April 15, 2026 09:36
@DaniilKl DaniilKl force-pushed the add-rebase-workflow branch from ea0cec8 to c268f01 Compare April 15, 2026 09:44
@DaniilKl DaniilKl force-pushed the add-rebase-workflow branch from c268f01 to 4976812 Compare April 15, 2026 10:08
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 4976812 to 445d8b0 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
@DaniilKl DaniilKl force-pushed the add-rebase-workflow branch 3 times, most recently from 93194e3 to 7f4daed Compare April 16, 2026 10:58
Copy link
Copy Markdown

@m-iwanicki m-iwanicki left a comment

Choose a reason for hiding this comment

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

  • Pass commit message through a spellchecker

Comment thread .github/workflows/rebase-build-and-publish-rebased.yml Outdated
Comment thread .github/workflows/rebase-build-and-publish-rebased.yml Outdated
Comment thread .github/workflows/rebase-build-and-publish-rebased.yml
Comment thread .github/workflows/rebase-build-and-publish-rebased.yml
Comment thread .github/workflows/rebase-build-and-publish-rebased.yml
Comment thread .github/workflows/rebase-build-and-publish-rebased.yml
Comment thread .github/workflows/rebase-build-and-publish-rebased.yml
Comment thread .github/workflows/rebase-build-and-publish-rebased.yml
Comment thread .github/workflows/rebase-build-and-publish-rebased.yml Outdated
@@ -0,0 +1,137 @@
name: Rebase and build the last successful automatic rebase of aem-next branch
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I'm not sure if we want Qubes patches on aem-next branch? We are/were using this branch for e.g. upstreaming Trenchboot changes. Maybe separate qubes+aem-next branch?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Author

@DaniilKl DaniilKl Apr 21, 2026

Choose a reason for hiding this comment

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

Considering the answer: https://matrix.to/#/!WHWPvnIGPhGGtUFucJ:matrix.org/$Q_vxQEooVvzAs3ienpZNHQ8MMaxdyJ51cybIrmUjDvo?via=matrix.org&via=matrix.tu-berlin.de&via=invisiblethingslab.com, you are right, a separate branch for QubesOS things should be created and the auto-rebase should be run there, not on the aem-next branch.

The only thing that should be changed because of this fact in this PR - are the branches though, all the other things should stay untouched. So we can continue review, but this will be a bloker for the final merge.

Copy link
Copy Markdown
Member

@SergiiDmytruk SergiiDmytruk Apr 21, 2026

Choose a reason for hiding this comment

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

Maybe we can use CI variables to specify branches? This way we don't have to hard-code names in commits and can change easily in the future. Although, I'm not sure how often this will change, so it may not be worth it.

@DaniilKl DaniilKl force-pushed the add-rebase-workflow branch from 7f4daed to 754e1ea Compare April 21, 2026 10:58
@DaniilKl
Copy link
Copy Markdown
Author

  • Pass commit message through a spellchecker

Done.

@DaniilKl DaniilKl force-pushed the add-rebase-workflow branch 3 times, most recently from 7d08327 to 9e91e1e Compare April 21, 2026 15:27
@DaniilKl DaniilKl requested a review from m-iwanicki April 21, 2026 15:42
Comment thread .github/workflows/rebase-build-and-publish-rebased.yml
@DaniilKl DaniilKl force-pushed the add-rebase-workflow branch 2 times, most recently from 4e4efd2 to a12e070 Compare April 21, 2026 18:48
@DaniilKl DaniilKl force-pushed the add-rebase-workflow branch 2 times, most recently from bf52c84 to ae91a9b Compare April 23, 2026 15:21
@DaniilKl DaniilKl requested a review from SergiiDmytruk April 23, 2026 15:22
We cannot simply rebase commits from TrenchBoot/xen on top of the
commits in the QubesOS/qubes-vmm-xen, because:

1. The actual history for the xen component is held in patches in the
   QubesOS/qubes-vmm-xen 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-vmm-xen, except for the patches for the xen component, as
   versions of these files might be closely related to the changes in
   the patches for the xen component.

Other changes that should be done due to the history format difference
between the QubesOS/qubes-vmm-xen and TrenchBoot/xen should be resolved
by TrenchBoot maintainers in the same way as it was done in the following
commit:

TrenchBoot/grub@2f477ee

Except for the above, there are three workarounds:

1. The "Fix malformed patch header (split URL line in 0627 patch)",
   otherwise git will not apply the patch.
2. Renaming QubesOS/qubes-vmm-xen/config to
   TrenchBoot/xen/config-qubesos, so it will not conflict with an
   already existing directory "config" in the xen source code.
3. Renaming QubesOS/qubes-vmm-xen/xen.spec.in to
   QubesOS/qubes-vmm-xen/vmm-xen.spec.in. This is done because the
   qubes-dom0-packagev2.yml expects the file to have a name
   ${{ inputs.qubes-component }}.spec.in and the correct name for this
   component in QubesOS is vmm-xen, not xen.

Signed-off-by: Danil Klimuk <daniil.klimuk@3mdeb.com>
@DaniilKl DaniilKl force-pushed the add-rebase-workflow branch from ae91a9b to dc90373 Compare April 27, 2026 09:09
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.

4 participants