Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
make Namespace Reference

-flathub-manifest More...

Detailed Description

-flathub-manifest

Derive the Flathub manifest from the nightly one.

A Flathub build gets no network: every input has to be declared in the manifest and
hashed up front. The nightly manifest is the opposite by design -- it builds the working
tree and lets `data/CMakeLists.txt` fetch the current lens database and denoise models at
configure time, so a nightly always carries today's calibrations.

The two differ in four places and nowhere else, which is why this is a generator and not a
second manifest to keep in sync:

  * the app module builds a pinned git tag instead of the working directory,
  * it drops `--share=network`,
  * the payloads it used to fetch become `type: file` sources, hashed,
  * and it is told where they landed, with the fetches switched off.

The hashes are read from the manifests the fetches themselves read, so this is never
hand-maintained: LensSerious publishes `db/v<schema>/manifest.json` and ansel-denoise
publishes `models/manifest.json`, both carrying a sha256 per file.

Usage:
    make-flathub-manifest.py --tag v1.0.0 [--commit SHA] [-o photos.ansel.Ansel.json]

With no --commit, the tag is resolved against the local repository.