| Comment: | fix(manifest): honor fossil's optional ticket columns (#456)
* test(manifest): cover ticket schemas without fossil's optional columns Fossil treats the ticket table, ticket.tkt_ctime, the ticketchng table, ticketchng.tkt_rid and ticketchng.tkt_user as optional. Each schema here must derive the rows fossil rebuild derives; all fail today. * fix(manifest): honor fossil's optional ticket columns Port ticket_insert and ticket_rebuild_entry's schema probes from src/tkt.c: the ticket table, tkt_ctime, the ticketchng table, tkt_rid and tkt_user are optional, a change row is written only when it has a field or bookkeeping column to fill, fields stored in both tables are copied from the ticket row, and baseline columns record the assigning rid. Rebuilding fossil's own repository failed on its missing tkt_user. * docs(changelog): note optional ticket columns fix * test(manifest): pin ticket append to an unset field, baselines and shared columns The corpus now appends to a field no artifact set, to a field with a baseline column, and to a field stored in both tables, so the comparison against fossil rebuild covers each branch of the append path. |
|---|---|
| Timelines: | family | ancestors | descendants | both | main | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
1f46e25556d8f75f92496ee76a459284 |
| User & Date: | [email protected] on 2026-10-20 03:15:49.000 |
| Other Links: | branch diff | manifest | tags |
|
2026-10-20
| ||
| 04:31 | chore(release): v0.13.0 changelog (#458) check-in: ae2704ef94 user: [email protected] tags: main, trunk, v0.13.0 | |
| 03:36 | chore(release): v0.13.0 changelog leaf check-in: 530ef65683 user: [email protected] tags: chore/release-v0.13.0, main, trunk | |
| 03:15 |
fix(manifest): honor fossil's optional ticket columns (#456)
* test(manifest): cover ticket schemas without fossil's optional columns Fossil treats the ticket table, ticket.tkt_ctime, the ticketchng table, ticketchng.tkt_rid and ticketchng.tkt_user as optional. Each schema here must derive the rows fossil rebuild derives; all fail today. * fix(manifest): honor fossil's optional ticket columns Port ticket_insert and ticket_rebuild_entry's schema probes from src/tkt.c: the ticket table, tkt_ctime, the ticketchng table, tkt_rid and tkt_user are optional, a change row is written only when it has a field or bookkeeping column to fill, fields stored in both tables are copied from the ticket row, and baseline columns record the assigning rid. Rebuilding fossil's own repository failed on its missing tkt_user. * docs(changelog): note optional ticket columns fix * test(manifest): pin ticket append to an unset field, baselines and shared columns The corpus now appends to a field no artifact set, to a field with a baseline column, and to a field stored in both tables, so the comparison against fossil rebuild covers each branch of the append path. check-in: 1f46e25556 user: [email protected] tags: main, trunk | |
| 02:58 |
fix(cli): match PATH as fossil does; run pragmas in a fixed order (#457)
* fix(cli): match PATH as fossil does; run pragmas in a fixed order log --path, cat --at and diff drop a leading ./, a trailing / and doubled or /./ separators, and compare names with the repository's case-sensitive setting, fossil's platform default when unset. Not found stays exit 2, where fossil exits 1; the docs now say so. SettingBoolean moves to internal/repo, shared by sync and checkout. Opening a repository runs every pragma in a fixed order, not only busy_timeout first. Tracked in #451 * feat(cli): document and pin repo new for embedding apps repo new takes the path from -R as the other embedding commands do, refuses a missing parent directory with a message naming it, and is documented in the embedding contract with its output and exit statuses. Tests pin each behaviour and that stock fossil opens the result. Tracked in #451 * docs(cli): say how ../x, absolute paths and the global case-sensitive setting behave Tracked in #451 check-in: 8de2ae751d user: [email protected] tags: main, trunk | |