Skip to content
go-libfossil Ambiguous Artifact ID
Login

Ambiguous Artifact ID

The artifact hash prefix 06ec is ambiguous and might mean any of the following:

  1. 06ec30e07d2039d4fa0b1b34aef58dd086b5bc729905b23f7da8f11aeeddf1f6 -

    • File dst/tag_branch_test.go — part of check-in [6b66ea6b2d] at 2026-05-12 20:01:20 on branch trunk — feat: CreateOpts.ProjectCode — accept explicit project-code on Create (#31)

      * feat: CreateOpts.ProjectCode — accept explicit project-code on Create

      Downstream EdgeSync coordinates a shared project-code across sibling Fossil repos created on different machines so its NATS sync subject ("<prefix>.<project-code>.sync") matches across leaves. Today every Create generates a fresh project-code, so commits never propagate.

      Add CreateOpts.ProjectCode: empty preserves current behavior; non-empty must be 40-char lowercase hex (^[0-9a-f]{40}$) — the same format generated project-codes use. Validation runs at the top of libfossil.Create before any disk I/O, so invalid input cannot leave a half-written file behind. Server-code stays auto-generated.

      Threaded through repo.Create / repo.CreateWithEnv / db.SeedConfig. SeedConfig validates as defense-in-depth (public package, multiple callers possible).

      Clone accepting ProjectCode is out of scope; will follow separately if EdgeSync needs it.

      * test: round-trip explicit ProjectCode through fossil rebuild

      Asserts that vanilla `fossil` (2.28) accepts a Go-side repo created with an explicit ProjectCode, and that `fossil sql` reads back the same value we set. Closes the gap where the existing TestCreate_FossilValidation only covered the generated-project-code path. (user: [email protected], size: 6720) [annotate] [blame] [check-ins using]

  2. 06ecb1325e1626005356870e967076b9bf7259ebfaad86929d8472f2834c8d7f -

    Tag referencing [06ecb1325e] - Edit [c1cbd26795]: Add tag "db/driver/modernc/v0.3.0". by [email protected] on 2026-07-24 22:17:38.