Skip to content

Chore/migrate to GitHub - #1

Merged
mheyen merged 4 commits into
mainfrom
chore/migrate-to-github
Aug 4, 2026
Merged

Chore/migrate to GitHub#1
mheyen merged 4 commits into
mainfrom
chore/migrate-to-github

Conversation

@mheyen

@mheyen mheyen commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

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 breaking pip install there. Full history and package tags were mirrored over beforehand; this PR is the follow-up file changes.

  • CI: .gitlab-ci.yml.github/workflows/ci.yml (SPDX check, package tests, ui-build) + .github/workflows/publish.yml (packs @basicbar/ui and attaches it as a GitHub Release asset on ui/v* tags — no registry account/token needed, same as the pip archive-tarball installs).
  • Docs: new ADR-0004 records the why/what of the move; ADR-0002 and CLAUDE.md updated to match (Branch+MR → Branch+PR, GitLab registry language → GitHub Release-asset language).
  • URLs: README, copier.yml, and the generated project template (requirements.txt.jinja, package.json.jinja) now point at github.com/virtUOS/basicbar instead of the GitLab host.

Test plan

  • GitHub Actions CI (SPDX, 3 package test jobs, ui-build) passes on this PR
  • pipx run copier copy --trust --defaults --vcs-ref HEAD https://github.com/virtUOS/basicbar.git /tmp/probe renders correctly
  • After merge: push a ui/v* tag and confirm the Release asset gets attached
  • Confirm abstimmbar's Docker build succeeds against the new URLs (separate repo, already updated)

mheyen added 4 commits August 4, 2026 16:41
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.
@mheyen
mheyen requested a review from rrolf August 4, 2026 14:44
@mheyen mheyen self-assigned this Aug 4, 2026
@mheyen
mheyen merged commit 1cbcf04 into main Aug 4, 2026
5 checks passed
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.

1 participant