-
Notifications
You must be signed in to change notification settings - Fork 8
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
Split the package distribution again into one for stable
(i.e. right now: 4.11
) and one for devel
(i.e., right now 4.12
)
#297
Comments
This all sounds good to me. I think tools in main branch, packages in dedicated branches sounds cleanest. This would also make it easier at a later date to track changes to the code vs changes to the packages (although it's not too hard to separate). One minor suggestion (and feel free to reject this if it would be difficult) -- rather than having packages-devel, we could just call it packages-4.12 from the start, this would mean it would be obvious from the branch name which version it was targeting. This would mean editing GAP master after a new release to point at "packages-4.12.tar.gz" (or whatever), but that doesn't feel like too difficult a request. |
I think the solution with branches like |
@ChrisJefferson to me both approach seem equivalent; the main differences are:
So it is not really more or less difficult, just... different? |
Just looked a bit into doing this, and run into a snag: managing our GitHub workflows. E.g. the workflow which is triggered on PRs... which workflow is used depends on the branch being targeted. So that means each A way out might be to reuse workflows which can call other workflows also in other repositories and/or branches -- we already use this to "call" |
CC @alex-konovalov @ChrisJefferson @FriedrichRober @wilfwilson
In the old package distribution, we had (at least) two versions of the package distribution:
stable-4.11
, and also for any potential further 4.11.x release);master
branch.With the new package distribution, we decided to simplify things and have only one distribution. The rationale went like this: we don't plan to make another 4.11.x release; and before 4.12 is out, there shouldn't be updates for packages that require GAP 4.12, because, well, 4.12 is not yet out.
Alas:
stable-4.11
andmaster
both reference the same distribution files. Once we start merging packages requiring 4.12, we need to update thestable-4.11
branch to pull a different (old) version of the package distribution...I am not fully sure what the right conclusion to draw from this is... But suppose we do want to offer multiple versions of the distro again. Then IMHO the most natural way to do this would be to use branches: besides the
main
branch here (which serves GAP'smaster
branch), add astable-4.11
branch. Then adjust some workflows:assemble-distro.yml
:stable-*
brancheslatest
by e.g.latest-4.11
as tag namescan-for-updates.yml
:main
and one for each activestable-*
branch (we'd probably only support one at a time, though)stable-*
if the package indicates it is compatible with the corresponding GAP versionpull-request.yml
:Challenges:
main
branch; but put the packages into dedicated branches: saypackage-4.11
andpackages-master
(orpackages-devel
to avoid the boo-boo namemaster
). This would also solve issuescan-for-updates.yml
: only update "automatic" PRs when the package changed? #238Thoughts, anyone?
The text was updated successfully, but these errors were encountered: