Skip to content

Conversation

@bastelfreak
Copy link
Contributor

This will allow us to run against branches in PRs, see OpenVoxProject/ezbake#66

@bastelfreak
Copy link
Contributor Author

tested with:

DEP_REBUILD=clj-parent,trapperkeeper DEP_REBUILD_ORG=bastelfreak DEP_REBUILD_BRANCH=sd_notify_2 EZBAKE_VERSION=2.8.0-SNAPSHOT EZBAKE_REPO='https://github.com/bastelfreak/ezbake' EZBAKE_BRANCH='notify' DEB_PLATFORMS='ubuntu-24.04' RPM_PLATFORMS='' bundle exec rake vox:build

gives us:

running build with current branch
Checking out ezbake
Running git clone https://github.com/bastelfreak/ezbake /tmp/deps20260107-294464-hgcmcf/ezbake; cd /tmp/deps20260107-294464-hgcmcf/ezbake; git fetch origin notify; git checkout FETCH_HEAD
Cloning into '/tmp/deps20260107-294464-hgcmcf/ezbake'...
From https://github.com/bastelfreak/ezbake
 * branch            notify     -> FETCH_HEAD
Note: switching to 'FETCH_HEAD'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 32156bc systemd: Switch to Type=notify
Checking out clj-parent
Running git clone https://github.com/bastelfreak/clj-parent /tmp/deps20260107-294464-hgcmcf/clj-parent; cd /tmp/deps20260107-294464-hgcmcf/clj-parent; git fetch origin sd_notify_2; git checkout FETCH_HEAD
Cloning into '/tmp/deps20260107-294464-hgcmcf/clj-parent'...
From https://github.com/bastelfreak/clj-parent
 * branch            sd_notify_2 -> FETCH_HEAD
Note: switching to 'FETCH_HEAD'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at a72b63b foo
Checking out trapperkeeper
Running git clone https://github.com/bastelfreak/trapperkeeper /tmp/deps20260107-294464-hgcmcf/trapperkeeper; cd /tmp/deps20260107-294464-hgcmcf/trapperkeeper; git fetch origin sd_notify_2; git checkout FETCH_HEAD
Cloning into '/tmp/deps20260107-294464-hgcmcf/trapperkeeper'...
From https://github.com/bastelfreak/trapperkeeper
 * branch            sd_notify_2 -> FETCH_HEAD
Note: switching to 'FETCH_HEAD'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 28f6c8e Update line to ignore eastwood reflection fault
Starting container
...

and also:

DEP_REBUILD=clj-parent,trapperkeeper DEP_REBUILD_ORG=bastelfreak DEP_REBUILD_BRANCH=sd_notify_2 EZBAKE_VERSION=2.7.2-SNAPSHOT EZBAKE_REPO='https://github.com/OpenVoxProject/ezbake' EZBAKE_BRANCH='refs/pull/66/merge' DEB_PLATFORMS='ubuntu-24.04' RPM_PLATFORMS='' bundle exec rake vox:build

gives us:

running build with current branch
Checking out ezbake
Running git clone https://github.com/OpenVoxProject/ezbake /tmp/deps20260107-291103-2kxu30/ezbake; cd /tmp/deps20260107-291103-2kxu30/ezbake; git fetch origin refs/pull/66/merge; git checkout FETCH_HEAD
Cloning into '/tmp/deps20260107-291103-2kxu30/ezbake'...
From https://github.com/OpenVoxProject/ezbake
 * branch            refs/pull/66/merge -> FETCH_HEAD
Note: switching to 'FETCH_HEAD'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 5fc41f8 Merge 3b8d18b48541e1c30fdb90e84b40bdcb7799e434 into e5e9a26420a75f75dfa61555fcd735d87129b661
Checking out clj-parent
Running git clone https://github.com/bastelfreak/clj-parent /tmp/deps20260107-291103-2kxu30/clj-parent; cd /tmp/deps20260107-291103-2kxu30/clj-parent; git fetch origin sd_notify_2; git checkout FETCH_HEAD
Cloning into '/tmp/deps20260107-291103-2kxu30/clj-parent'...
From https://github.com/bastelfreak/clj-parent
 * branch            sd_notify_2 -> FETCH_HEAD
Note: switching to 'FETCH_HEAD'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at a72b63b foo
Checking out trapperkeeper
Running git clone https://github.com/bastelfreak/trapperkeeper /tmp/deps20260107-291103-2kxu30/trapperkeeper; cd /tmp/deps20260107-291103-2kxu30/trapperkeeper; git fetch origin sd_notify_2; git checkout FETCH_HEAD
Cloning into '/tmp/deps20260107-291103-2kxu30/trapperkeeper'...
From https://github.com/bastelfreak/trapperkeeper
 * branch            sd_notify_2 -> FETCH_HEAD
Note: switching to 'FETCH_HEAD'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 28f6c8e Update line to ignore eastwood reflection fault
Starting container

This will allow us to run against branches in PRs, see OpenVoxProject/ezbake#66

Co-authored-by: Ewoud Kohl van Wijngaarden <[email protected]>
@bastelfreak bastelfreak added the skip-changelog Excluded from CHANGELOG label Jan 7, 2026
@bastelfreak bastelfreak merged commit c1381c6 into OpenVoxProject:main Jan 7, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog Excluded from CHANGELOG

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants