It's that time of the year again to move the quarterly ports repos on my build hosts to the new branch. And again I fail to find any sane way in the poudriere manpages to achieve this (supposedly) simple task without just destroying & re-downloading the whole quarterly portstree.
also it seems poudriere isn't using a full
So in short: how can I switch to a new quarterly branch with poudriere without completely deleteing & re-creating the ports tree every 3 months?
Code:
root@srv1:/usr/local/poudriere/ports/quarterly # git status
On branch 2023Q2
Your branch is up to date with 'origin/2023Q2'.
nothing to commit, working tree clean
root@srv1:~ # poudriere ports -p quarterly -u -B 2023Q3
[00:00:01] Updating portstree "quarterly" with git+https... done
root@srv1:/usr/local/poudriere/ports/quarterly # git status
On branch 2023Q2
Your branch is up to date with 'origin/2023Q2'.
nothing to commit, working tree clean
also it seems poudriere isn't using a full
git clone
to create the tree, because there is no information about remote branches except the one specified when creating the tree, and hence I can't switch to the new branch:
Code:
root@srv1:/usr/local/poudriere/ports/quarterly # git branch -r
origin/2023Q2
root@srv1:/usr/local/poudriere/ports/quarterly # git switch origin/2023Q3
fatal: invalid reference: origin/2023Q3
So in short: how can I switch to a new quarterly branch with poudriere without completely deleteing & re-creating the ports tree every 3 months?