fix: refuse an offline export with no originals

pipeline.py --offline --with-export, listed as a standard command, passes
no --fetch to step 2e: on a fresh clone the database, verify and truth
were built before the export failed on every platform whose own file it
patches. The run is refused before step 0 when .cache/upstream-native/
holds nothing for such a platform, and tools.md says how to fill it.
This commit is contained in:
Abdessamad Derraz committed 2026-11-06 08:27:32 +01:00
1 parent 5f8205b36b
commit da9e1f568c
4 files changed
+74 -1

No files matched your search

+2 -1
View File
@@ -534,7 +534,8 @@ Include truth generation and diffing in the pipeline:
python scripts/pipeline.py --offline --with-truth
```
Include truth + native format export:
Include truth + native format export. Offline, the platforms' own files
must already be cached ([tools](tools.md#pipeline)):
```bash
python scripts/pipeline.py --offline --with-export
+7
View File
@@ -28,6 +28,13 @@ python scripts/pipeline.py --check-buildbot # online run + buildbot fresh
`python scripts/refresh_data_dirs.py` once first. A run that builds packs with no
data directory cached is refused before step 0.
`--with-export` online passes `--fetch` to step 2e, which downloads each
platform's own file and patches it. Offline that file must already be in
`.cache/upstream-native/`: on a fresh clone run
`python scripts/export_native.py --all --refresh-cache` once first. An offline
run with `--with-export` and an empty cache for any platform it patches is
refused before step 0.
Pipeline steps:
| Step | Description | Skipped by |