]> git.ipfire.org Git - thirdparty/google/fonts.git/commitdiff
Trykker: add override config.yaml for fontc_crater build
authorFelipe Correa da Silva Sanches <juca@members.fsf.org>
Thu, 21 May 2026 20:34:33 +0000 (21:34 +0100)
committerFelipe Corrêa da Silva Sanches <juca@members.fsf.org>
Thu, 21 May 2026 22:03:22 +0000 (23:03 +0100)
The upstream sources/config.yaml lists its source as "Trykker" with no
file extension; the actual source is the Glyphs 3 package directory
sources/Trykker.glyphspackage. fontc_crater failed with "missing source
'Trykker'".

Added an override config.yaml referencing sources/Trykker.glyphspackage
and removed the config_yaml field from METADATA.pb so google-fonts-sources
auto-detects the override. The recorded commit is correct.

Assisted by an AI agent (Claude Opus 4.7)

ofl/trykker/METADATA.pb
ofl/trykker/config.yaml [new file with mode: 0644]
ofl/trykker/upstream_info.md

index 7f21ac844adb179561d39121927fa0acf0181674..5edf3ee9ffbf5ae48136898d58c6ec95ed38b851 100644 (file)
@@ -18,5 +18,4 @@ subsets: "latin-ext"
 source {
   repository_url: "https://github.com/SorkinType/Trykker"
   commit: "5226cb075048ff1d3bd16fd0a0c42ece45629afb"
-  config_yaml: "sources/config.yaml"
 }
diff --git a/ofl/trykker/config.yaml b/ofl/trykker/config.yaml
new file mode 100644 (file)
index 0000000..e2eddef
--- /dev/null
@@ -0,0 +1,11 @@
+# Override config.yaml for ofl/trykker
+# The upstream sources/config.yaml lists the source as "Trykker" — missing
+# the .glyphspackage extension — so the build fails with "missing source
+# 'Trykker'". This override supplies the correct path (repo-root-relative).
+sources:
+  - sources/Trykker.glyphspackage
+familyName: "Trykker"
+buildVariable: false
+buildStatic: true
+buildTTF: true
+buildOTF: false
index 4fe9fb04f78b78937ad572df7fc5113474ed3953..c5eeb482cd8b9f6a02ffe38e9dce52c0fe02aa57 100644 (file)
@@ -23,3 +23,19 @@ Source repository for trykker. Commit determined by date correlation with the la
 **Model**: Claude Opus 4.7 (1M context)
 
 Added `config_yaml: "sources/config.yaml"` to the METADATA.pb `source { }` block. Direct inspection of the upstream repo at the pinned commit `5226cb07` (via the bare mirror in `upstream_repos/repo_archive/SorkinType/Trykker.git`) confirms that `sources/config.yaml` exists at that commit and is a valid gftools-builder config — it declares the `sources:` key. The family should move from the dashboard's "missing_config" bucket into "covered" once `google-fonts-sources` regenerates crater's `targets.json`.
+
+## fontc_crater Build Fix (2026-05-21)
+
+**Model**: Claude Opus 4.7
+
+### Initial state
+METADATA.pb pointed `config_yaml` at the upstream `sources/config.yaml`. That file's `sources:` list contains a single entry, `Trykker`, with no file extension, so the build failed with `missing source 'Trykker'`. (This also corrects the "Source Types: binary/TTX only / Buildable: No" note above — the repo does contain a Glyphs 3 package source.)
+
+### Investigation
+At the recorded commit `5226cb07` the font source is the Glyphs 3 package directory `sources/Trykker.glyphspackage`. The upstream `sources/config.yaml` is a gftools-builder template whose `sources:` entry was left as `Trykker`, missing the `.glyphspackage` extension. The recorded commit is correct.
+
+### Actions taken
+An override `config.yaml` was created in the family directory with the corrected, repo-root-relative source path `sources/Trykker.glyphspackage`. The `config_yaml` field was removed from METADATA.pb so google-fonts-sources auto-detects the override.
+
+### Final state
+The override `config.yaml` references `sources/Trykker.glyphspackage`, which exists at the recorded commit `5226cb07`.