Overview
| Comment: | Add a read-lenient import path so zit can read fossil's own pre-2009 history: parseForImport tolerates the single legacy trailing space on fossil F cards (a cvs2fossil quirk, non-conforming per artifact-format 4.2) by stripping one dangling separator per F card ONLY after the strict parse rejects and the original Z self-checksum validates, re-sealing Z on an ephemeral copy that never touches storage, serve, or identity. The strict parser, the writer, and the RFC stay unchanged; artifacts keep their original hash. |
|---|---|
| Timelines: | family | ancestors | descendants | both | fcard-import |
| Files: | files | file ages | folders |
| SHA3-256: |
cca7dc06a2404cd60e08c63e6487e2e6 |
| User & Date: | dmestas on 2026-07-16 22:16:17.761 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-07-16
| ||
| 22:18 | Merge fcard-import: read-lenient import path lets zit parse fossil's legacy trailing-space F cards (interop with pre-2009 history) while the strict parser, writer, and RFC stay pure and artifact identity is unchanged. check-in: f98cb9177c user: dmestas tags: trunk | |
| 22:16 | Add a read-lenient import path so zit can read fossil's own pre-2009 history: parseForImport tolerates the single legacy trailing space on fossil F cards (a cvs2fossil quirk, non-conforming per artifact-format 4.2) by stripping one dangling separator per F card ONLY after the strict parse rejects and the original Z self-checksum validates, re-sealing Z on an ephemeral copy that never touches storage, serve, or identity. The strict parser, the writer, and the RFC stay unchanged; artifacts keep their original hash. closed check-in: cca7dc06a2 user: dmestas tags: fcard-import | |
| 21:38 | Create new branch named "fcard-import" check-in: d3be8fe4ac user: dmestas tags: fcard-import | |
Changes
Modified src/artifact.zig
from [b861267326]
to [8098be40aa].
[diff]
Modified src/artifact_test.zig
from [1f72290779]
to [9672ac38ea].
[diff]
Modified src/main.zig
from [36441ef23f]
to [eccbda8d99].
[diff]
Modified src/repoview.zig
from [9ee094906b]
to [0d1acb6dc7].
[diff]
Modified src/update.zig
from [6936029d7e]
to [2eadd62b87].
[diff]