Repository navigation
Releases
crossdock v0.3.0 Alpha
Added
- Munki repositories for macOS.
format: munkipublishesmunki/<repo>/from disk
images (<file>.dmg) and pkginfo sidecars (<file>.dmg.pkginfo, asmakepkginfowrites
them) for Munki'scopy_from_dmginstalls, with optional icons (<file>.dmg.png). It writes
catalogs/as Munki'smakecatalogsdoes (CI compares them with Munki 7.4's Linux build),
pkgsinfo/,icons/_icon_hashes.plist, a manifest offering every item (manifests/<repo>,
andmanifests/site_defaultwithsite_default: true), and hand-written manifests from
manifests_source. crossdock checks each image's UDIF trailer and never reads inside it;
it setsinstaller_item_location,installer_item_hashandinstaller_item_size, refuses
PackageURL, and passes everything else through. A disk image without a sidecar is
published for download only. CI installs, upgrades and removes an item with the real Munki
client on macOS, including a resumed download and a disk image refused on its hash. crossdock inspectreads.dmgfiles: the UDIF trailer and the pkginfo publish would write.- Browseable repos. Every publish writes a landing page (
index.htmlat the release root)
with the signing key's fingerprint and a ready-to-paste setup snippet for each repo (apt,
pacman, dnf, GooGet, Munki), and anindex.htmlper repo listing each package's version,
architecture, size and SHA-256 with a download link. A deb split into<name>-dataNparts is
listed under its package with the oneapt installline that needs them all. - Each repo gets
SHA256SUMS, insha256sum -cformat, andSHA256SUMS.asc, a detached
signature by the repo key, so packages downloaded by hand can be checked withgpgvorsqv. serve.public_urlsets the address the snippets use. Without it,serveand the generated
nginx config fill in the address each page was requested at.serve's directory listings show directories first, sizes and UTC times. A directory's
index.htmlis served in place of the listing.
Changed
- Directory listings are on by default in
serveandnginx-config, and the landing page is
published by default. Existing configs have noindexkey, so this applies to them on
upgrade. On a host the internet can reach, setserve.index: false: that turns listings off
and leaves out the landing page, the only page that names every repo. Each repo's indexes
already list its packages to anyone who can reach them, and so do its page andSHA256SUMS.
-index=falseturns listings off for oneserveornginx-configrun. nginx-configneedsngx_http_sub_module(sub_filter), which the Debian, Fedora, EL,
Arch and nginx.org packages include, and servesindex.htmlfor directories.- The packages create and watch
/var/lib/crossdock/incoming/munki, and the packaged config
has a commented-out munki repo.
crossdock v0.2.3 Alpha
Added
- Windows on ARM: releases include
crossdock-<version>-windows-arm64.zip.
Security
- Builds use Go 1.27.4, which fixes GO-2026-6859 in
net/http.
crossdock v0.2.2 Alpha
Fixed
- Publish no longer fails when a package is replaced or removed while it reads the sources
(an upload swapping one version for the next). If the sources changed, the failed round is
dropped and publish runs again, up to the same limit of rounds as for other changes.
crossdock v0.2.1 Alpha
Changed
- Arch: when a source holds several versions of one package (same name and architecture),
the publish keeps the newest, compared as pacman'svercmpdoes, and logs the older files as
skipped. Before, it failed, and that stopped every repo from publishing. Two different files
with the same version are still an error.
Fixed
publishpublishes again when the sources changed while it ran, until they hold still (at
most five rounds). Uploads that landed during a long publish used to wait for the next change,
becausecrossdock-publish.pathdoesn't start the service again while it's running. Later
rounds are quick, as unchanged packages are cached. (#7)- GooGet: a pkgspec dependency with an empty version is accepted as "any version", as googet
itself does, instead of failing the publish withempty version.
crossdock v0.2.0 Alpha
Added
-
RPM repositories —
format: rpmpublishesrpm/<repo>/withPackages/andrepodata/
(primary,filelists,other, and a signedrepomd.xml), following createrepo_c's rules,
for dnf withrepo_gpgcheck=1. Package headers aren't re-signed; sign packages withrpmsign
forgpgcheck=1. -
GooGet repositories —
format: goopublishesgoo/<repo>/indexandindex.gzfor
googet addrepo, keeping each package's pkgspec verbatim. -
crossdock inspectreads.rpmand.goofiles. -
The packaged config,
/var/lib/crossdock/incomingandcrossdock-publish.pathnow cover all
four formats. -
serveandnginx-configcache content-addressedrepodata/<sha256>-*.xml.gzfiles as
immutable and serve.gooasapplication/gzip. -
Incremental publishing —
<output>/cache.jsonremembers each package's digest and parsed
metadata (by path, size and mtime), so unchanged packages aren't reread, rehashed or copied. -
apt
Acquire-By-Hash, keeping the previous generation's indexes reachable through a swap,
andvalid_forforValid-Until, with a new (disabled)crossdock-publish.timerthat
republishes daily. -
no_symlinks— publish without symlinks (in-release links become hardlinks or copies;
current.idrecords the current release). It's used automatically where symlinks can't be
created, and always on Windows. -
crossdock keygencreates an Ed25519 signing key, optionally passphrase-protected, and
signing.passphrase_filereads a passphrase from a file such as a systemd credential. -
signing.key_idcan pick one key from akey_filethat holds several. -
CI runs the real client for every supported target against a signed repo, and checks that a
tampered index is rejected: apt on Debian stable (sqv) and Ubuntu (gpgv), dnf on Fedora 44
and 45 and AlmaLinux 10, and pacman on Arch. -
Dependabot auto-merges its grouped minor and patch updates to Go modules and Actions once CI
passes. Major and security updates (which skip the cooldown) wait for review. -
crossdock systemd-configgenerates the drop-ins and tmpfiles entry for a config whose paths
aren't under/var/lib/crossdock:ReadWritePaths, the watched directories and
RequiresMountsFor. -
allow_empty: trueon a repo lets it be published empty after it has had packages.
Changed
- Packages are hardlinked into the store when the source shares a file system with
output,
so they no longer take twice the space. Publish warns if it has to copy. Replace sources by
rename, not by writing into them. A truncated store object is now replaced, not reused. - A publish that's interrupted resumes. Progress is saved every minute and on failure, and
crossdock-publish.serviceno longer has a 30-minute start timeout. Releases left by a killed
publish no longer count towardskeep_releases. - A repo that has packages won't be published empty, as an unmounted disk would make it look,
unless it setsallow_empty. Symlinked packages, once skipped silently, now fail the publish. sign_packagesis off in the packaged config and example: it's unsuitable for large packages,
and a signed database covers package contents when clients require its signature. pacman clients
need
SigLevel = Required DatabaseRequired PackageOptional.crossdock-publish.servicecan write all of/var/lib/crossdock, not justrepo/, because
hardlinks can't cross the separate mountsReadWritePathsmakes. Both services now require
that path's mount.- No host tools needed. Signing,
keygen, and xz and zstd decoding are native Go
(ProtonMail/go-crypto, ulikunitz/xz, klauspost/compress). The packages no longer depend on
gnupg, xz or zstd.gpgis only used, and only suggested, forsigning.gnupg_home
(agent and smartcard keys). - The config is YAML:
crossdock.yaml, and/etc/crossdock/crossdock.yamlin the
packages. Unknown and duplicate keys are errors with line and column. JSON configs still load. - Keys are v4 Ed25519 with SHA-512 signatures, which every supported client accepts. GnuPG
(pacman, EL10's dnf) rejects RFC 9580 v6 keys. - Supported targets are current releases only: Debian 13+, Fedora 44/45, EL10.2+ and Arch.
Building needs Go 1.27.3 (GOTOOLCHAIN=autofetches it). - The store is garbage-collected from per-release manifests rather than hardlink counts.
Fixed
- Windows always publishes without symlinks. With symlink rights, the
currentswap failed
with "Access is denied". - Release paths are checked with
filepath.IsLocal, which also rejects rooted paths and
reserved names on Windows.