converters: Testkorpus und Harness ziehen nach torben/chemenu-testfiles, Workflow Converters mit Pfad-Trigger, Release-Gate (#232); 10.1.0-beta.2
Files changed: - .gitattributes - .gitea/workflows/converters.yml - .gitea/workflows/release.yml - .gitignore - CHANGES.md - VERSION - docs/dev/development.md - instructions/dev/dev-setup.md - instructions/dev/publish-and-ci.md - instructions/dev/testing-conventions.md - testfiles/README.md - testfiles/mail/github-outlook.msg - testfiles/mail/github-roundcube.eml - testfiles/mail/gog-outlook.msg - testfiles/mail/gog-roundcube.eml - testfiles/mail/gog-roundcube.eml.expect - testfiles/mail/tldr-outlook.msg - testfiles/mail/tldr-roundcube.eml - testfiles/office/excel-artificial.xlsx - testfiles/office/excel-business.xlsx - testfiles/office/excel-business.xlsx.expect - testfiles/office/excel-science.xlsx - testfiles/office/pptx-baseline.pptx - testfiles/office/pptx-master.pptx - testfiles/office/pptx-objects.pptx - testfiles/office/word-complex.docx - testfiles/office/word-simple.docx - testfiles/pdf/einstein-dissertation.pdf - testfiles/pdf/ifg.pdf - testfiles/pdf/nist-ai-rmf.pdf - testfiles/pdf/nist-ssdf-genai.pdf - testfiles/zip/archive.zip - tools/chemenu/tests/test_raw_derive_testfiles.py Co-Authored-By: Claude Code <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SnAJ7Z3CpVD3PRbN73QtU2
This commit is contained in:
1 parent
3bf179ae8c
commit
71170bc1e8
33 files changed
+231
-2517
No files matched your search
@@ -40,6 +40,7 @@ development material under `instructions/dev/` and `commonplace/`, and no
|
||||
| `USER.md`/`SOUL.md` describe a demo operator and persona | Written by the operator during setup |
|
||||
| `tools/wikitool dist upgrade` refuses: there is no stamp to compare against. The checkout follows `main` with `tools/wikitool sync` | Updated with `dist upgrade --latest` |
|
||||
| `instructions/dev/`, `docs/dev/`, `commonplace/` and `.gitea/` are present | Never shipped |
|
||||
| `testfiles/` may hold the private test corpus (step 6) | Never present |
|
||||
|
||||
5. **Use `dist export` as a build and test tool.** It writes exactly the tree a release ships, so
|
||||
it is how a change to the shipped surface is looked at before it is released:
|
||||
@@ -56,6 +57,23 @@ development material under `instructions/dev/` and `commonplace/`, and no
|
||||
`.gitea/workflows/ci.yml` is that replay and the reference for it. Keep scratch trees outside
|
||||
this checkout.
|
||||
|
||||
6. **Clone the private test corpus, if you have access.** The real documents the converters are
|
||||
tested against, and the harness that runs them, are a repository of their own and not part of
|
||||
this one:
|
||||
|
||||
```bash
|
||||
git clone ssh://git@gitea.nehmer.net:10101/torben/chemenu-testfiles.git testfiles
|
||||
cd tools && .venv/bin/python -m pytest -c pytest.ini ../testfiles/harness
|
||||
```
|
||||
|
||||
The clone sits in `testfiles/`, which `.gitignore` excludes; it is deliberately not a
|
||||
submodule. Without access nothing breaks: `pytest` in `tools/` needs none of it, and a
|
||||
session that changes a converter leaves the real-document run to the `converters` workflow
|
||||
([publish-and-ci.md](publish-and-ci.md) step 3). What is missing without the clone is the
|
||||
local run of that harness, nothing else. The corpus holds files that may not be public, so
|
||||
nothing from it is copied into this repository, an issue or a bug report without its README
|
||||
saying the file could be public.
|
||||
|
||||
## Decision points
|
||||
|
||||
- **Asked to set up an instance from this checkout** (`dist export` into the user's folder, or a
|
||||
|
||||
Reference in new issue
Block a user