Repository navigation
Conversation
Port covers the 0.0.27 release line: x11/bitty builds from the released source tarball with USES=cargo and a CARGO_CRATES list generated from Cargo.lock, and installs bin/bitty, the desktop entry, AppStream metadata, the hicolor icon set, the compiled terminfo entry, and the docs. distinfo stays comment-only until make makesum runs at tag time; the docs say so and packaging/freebsd.md labels the port best-effort, not supported. check-distro-recipes.test.sh gains version-agnostic FreeBSD assertions: Makefile fields, USES=cargo and CARGO_CRATES presence, do-install coverage, pkg-plist entries resolving to in-tree sources, icon-size agreement, pkg-descr/distinfo content, and absence of hardcoded host paths.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
Closes #2512
Priority: P1 | Area: package | Milestone: v0.0.27 | Task: CTX-1473
Summary
Adds a FreeBSD Ports recipe for Bitty at
packaging/freebsd/x11/bitty/(
Makefile,pkg-plist,pkg-descr,distinfo) plus the docs and aCI-checkable gate:
PORTNAME=bitty,PORTVERSION=0.0.27(the lineCargo.tomlis beingbumped to),
CATEGORIES=x11— the same category FreeBSD uses forx11/kitty,x11/alacritty, andx11/wezterm;x11-serversis for Xservers, not terminals.
v0.0.27tag withUSES=cargoand aCARGO_CRATESlist regenerated fromCargo.lock(397 crates.io entries + 17 git-sourced crates in 8
@git+...groups).The CDN artifact
scripts/install.shpoints FreeBSD users at(
…/releases/v0.0.27/bitty-0.0.27-x86_64-unknown-freebsd.tar.xz) carriesonly
bin/bittyplus docs, so it cannot supply terminfo or desktopintegration — hence a source port.
freebsd.mddocuments both paths.LICENSE=MIT APACHE20(LICENSE_COMB=dual) matchingCargo.toml(
MIT OR Apache-2.0),nfpm.yaml, andpackaging/PKGBUILD; only the MITtext ships in the repo, so only
LICENSE_FILE_MITis pinned.LIB_DEPENDS= fontconfig + freetype, exactly the directNEEDEDset inpackaging/linux/runtime-deps.toml. X11/Wayland/Vulkan stay dlopen-time(same stance as the apk, which depends only on fontconfig + freetype).
ONLY_FOR_ARCHS=amd64: release CI builds and testsx86_64-unknown-freebsdonly; aarch64 has no coverage, so it is excludedrather than silently claimed.
do-installstagesbin/bitty, the.desktoplauncher, AppStreammetainfo, the hicolor icon set (16–512 px + scalable),
tic -x-compiledshare/terminfo/b/bitty, and README/CHANGELOG.distinfois deliberately comment-only: checksums cannot exist before thetag does. The file says so and
freebsd.mddocuments the tag-timemake makesum(andmake cargo-crates) step.Docs and gate:
packaging/freebsd.md— build/install from a ports tree,make stage/make check-plist, distinfo regeneration, what is not covered, and anexplicit best-effort, not supported label per
packaging/README.md(no release job installs this package, no published checksum for it).
packaging/README.md— newfreebsdrow in the Formats table, a sentenceon why it is best-effort, and a
build-freebsdbullet in Release Matrixmarked build-only.
packaging/INSTALL.md— FreeBSD install bullet.scripts/tests/check-distro-recipes.test.sh— FreeBSD section; thedistro-recipes-testjust recipe and thejust checkaggregate alreadyinclude this script, so no justfile change was needed.
Scope
Packaging only: no Rust source, no build-system, no workflow changes. The
only non-
packaging/file touched is the existing distro-recipes gatescript. Nothing outside this worktree or issue #2512 is touched.
Base note: this branch is stacked on
ctx-1471/feat-distro-recipes(PR #2558), because the FreeBSD checks extend
scripts/tests/check-distro-recipes.test.sh, which that PR introduces andwhich is not in
mainyet. Retarget tomainonce #2558 lands.Verification
bash scripts/tests/check-distro-recipes.test.sh(alsojust distro-recipes-test) — exit 0:The new check was proved to bite —
PORTNAME=bitteyplus a bogusshare/examples/bitty.confplist entry:Both were restored and the gate is green again.
Other packaging-scoped gates, all passing:
bash -n scripts/tests/check-distro-recipes.test.sh— clean. Added filesgrep clean for secrets, host paths (
/home/,/Users/,/mnt/) andnon-ASCII bytes; the CARGO_CRATES list was diffed against
Cargo.lock(0 missing, 0 extra, 17/17 git crates).
just checkwas not run: it needs a siblingbitty-pluginscheckout(#2459). No FreeBSD host is available in this environment, so
make stage/make check-plist/make makesumwere not executed — the port isstructurally gated only, which is why it is labeled best-effort.