You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Munki repositories for macOS. format: munki publishes munki/<repo>/ from disk
images (<file>.dmg) and pkginfo sidecars (<file>.dmg.pkginfo, as makepkginfo writes
them) for Munki's copy_from_dmg installs, with optional icons (<file>.dmg.png). It writes catalogs/ as Munki's makecatalogs does (CI compares them with Munki 7.4's Linux build), pkgsinfo/, icons/_icon_hashes.plist, a manifest offering every item (manifests/<repo>,
and manifests/site_default with site_default: true), and hand-written manifests from manifests_source. crossdock checks each image's UDIF trailer and never reads inside it;
it sets installer_item_location, installer_item_hash and installer_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 inspect reads .dmg files: the UDIF trailer and the pkginfo publish would write.
Browseable repos. Every publish writes a landing page (index.html at 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 an index.html per repo listing each package's version,
architecture, size and SHA-256 with a download link. A deb split into <name>-dataN parts is
listed under its package with the one apt install line that needs them all.
Each repo gets SHA256SUMS, in sha256sum -c format, and SHA256SUMS.asc, a detached
signature by the repo key, so packages downloaded by hand can be checked with gpgv or sqv.
serve.public_url sets the address the snippets use. Without it, serve and 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.html is served in place of the listing.
Changed
Directory listings are on by default in serve and nginx-config, and the landing page is
published by default. Existing configs have no index key, so this applies to them on
upgrade. On a host the internet can reach, set serve.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 and SHA256SUMS. -index=false turns listings off for one serve or nginx-config run.
nginx-config needs ngx_http_sub_module (sub_filter), which the Debian, Fedora, EL,
Arch and nginx.org packages include, and serves index.html for directories.
The packages create and watch /var/lib/crossdock/incoming/munki, and the packaged config
has a commented-out munki repo.