Chore/migrate to GitHub - #1
Merged
Merged
Conversation
GitHub-hosted runners can't reach the internal Uni Osnabrück GitLab, so CI has to run on GitHub Actions now that the repo lives there. Ports the existing SPDX/test/build jobs 1:1, and replaces the GitLab Generic Package Registry publish step for @basicbar/ui with a GitHub Release asset (npm pack, attached on ui/v* tags) — no registry account or token needed, same as the pip archive-tarball installs.
Documents why basicbar moved off the university GitLab (GitHub-hosted CI runners can't reach it; enables contributions from other universities) and what changed in distribution (GitHub archive tarballs for pip, Release asset for npm). Updates ADR-0002's URLs and npm-distribution description to match.
Branch+MR terminology becomes Branch+PR, GitLab Generic Package Registry references become GitHub Release-asset language, and notes the new canonical host (ADR-0004).
Repoints the copier source URL, package install examples, and the generated project template's requirements.txt/package.json at github.com/virtUOS/basicbar instead of the university GitLab, and switches @basicbar/ui to a GitHub Release-asset tarball URL.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Move basicbar's canonical home from the university GitLab to
github.com/virtUOS/basicbar, so public GitHub-hosted CI (e.g. abstimmBAR's image build) can actually reach the packages — GitLab-hosted runners can't route to the internal GitLab, which was breakingpip installthere. Full history and package tags were mirrored over beforehand; this PR is the follow-up file changes..gitlab-ci.yml→.github/workflows/ci.yml(SPDX check, package tests, ui-build) +.github/workflows/publish.yml(packs@basicbar/uiand attaches it as a GitHub Release asset onui/v*tags — no registry account/token needed, same as the pip archive-tarball installs).ADR-0004records the why/what of the move;ADR-0002andCLAUDE.mdupdated to match (Branch+MR → Branch+PR, GitLab registry language → GitHub Release-asset language).copier.yml, and the generated project template (requirements.txt.jinja,package.json.jinja) now point atgithub.com/virtUOS/basicbarinstead of the GitLab host.Test plan
pipx run copier copy --trust --defaults --vcs-ref HEAD https://github.com/virtUOS/basicbar.git /tmp/proberenders correctlyui/v*tag and confirm the Release asset gets attached