export run: commit= im Marker je Seite statt je Ziel - jede Datei nennt den letzten Commit ihrer eigenen Seite, ermittelt in einem git log über alle ausgewählten Pfade (Pfade über stdin und wörtlich), das Manifest behält den neuesten Commit über alle; ein Commit schreibt nur die Dateien der Seiten neu, die er berührt hat, plus Dateien, deren Links sich ändern. Erster Lauf nach dem Update schreibt jede Datei einmal neu (#221); 10.1.0-beta.12
Files changed: - CHANGES.md - VERSION - docs/how-to/export-to-a-synced-folder.md - docs/reference/commands/exports.md - docs/reference/configuration.md - tools/CONTRACT.md - tools/chemenu/commands/export_cmd.py - tools/chemenu/guideline_export.py - tools/chemenu/page_export.py - tools/chemenu/tests/test_export_run.py Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SnAJ7Z3CpVD3PRbN73QtU2
This commit is contained in:
1 parent
ca12c54200
commit
52078bb4b0
10 files changed
+161
-21
No files matched your search
@@ -76,7 +76,7 @@ look like: [configuration reference](../reference/configuration.md#export-to-a-f
|
||||
what is wrong with the section.
|
||||
|
||||
The export reads the committed pages. A `kb/` or `types/` with uncommitted changes is refused, so
|
||||
every file names the commit its pages come from. Publish first.
|
||||
every file names the commit its page comes from. Publish first.
|
||||
|
||||
## What a run does to the folder
|
||||
|
||||
@@ -93,6 +93,11 @@ what the last run wrote.
|
||||
- **An empty selection is an error.** A run that finds no page does not delete the earlier export.
|
||||
- **An unchanged export stays untouched.** A run that has nothing to change writes nothing, not even
|
||||
a modification time - the sync client has nothing to upload.
|
||||
- **A commit rewrites the files of the pages it touched.** Each file names the last commit of its own
|
||||
page, so an ingest that changed three pages rewrites three files, however large the selection.
|
||||
A file of a page the commit did not touch changes only when its text does: a link to a page that
|
||||
has just entered the selection becomes a relative link, one to a page that left it plain text.
|
||||
The first run after updating to a version that brought this rewrites every file once.
|
||||
- **A growing selection needs no confirmation.** New pages are reported as new; read the list
|
||||
before the sync client uploads them.
|
||||
|
||||
|
||||
Reference in new issue
Block a user