Skip to content
go-libfossil Check-in [88f824a32b]
Login

Check-in [88f824a32b]

Overview
Comment: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.

Timelines: family | ancestors | descendants | both | main | trunk | fix/ticket-optional-columns
Files: files | file ages | folders
SHA3-256: 88f824a32b6590deda5737a544dc125e6708fff2145910a5151fe6602cf8f22b
User & Date: [email protected] on 2026-10-19 22:51:58.000
Other Links: branch diff | manifest | tags
Context
2026-10-19
22:52
docs(changelog): note optional ticket columns fix leaf check-in: c5ab22b8e5 user: [email protected] tags: fix/ticket-optional-columns, main, trunk
22:51
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. check-in: 88f824a32b user: [email protected] tags: fix/ticket-optional-columns, main, trunk

22:48
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. check-in: 40a0ba9626 user: [email protected] tags: fix/ticket-optional-columns, main, trunk

Changes