summaryrefslogtreecommitdiff
path: root/lib/manifest.ml
AgeCommit message (Collapse)Author
42 hoursFix KDL.of_flow Result type and update callerstoastal
- Properly type annotate KDL.of_flow to return (t, [> `ParseError]) result - Handle nested Results from Eio.Buf_read.parse_exn - Fix Manifest.read to work with new Result type - Fix nixtamal.ml error handling for Manifest and Lockfile errors All 17 tests pass.
42 hoursPhase 1: Fix security vulnerabilities and error handlingtoastal
- Fix command injection in editor.ml using Filename.quote - Change KDL.of_flow to return Result instead of failwith - Update manifest.ml to handle new Result type Security: Prevents shell injection when opening files with malicious filenames containing shell metacharacters. Error handling: KDL parsing errors now return Result type instead of crashing with failwith.
2 daysPort upstream patches: Cmdliner 2.x, lockfile auto-creation, schema upgrade, ↡Crash Over Burn
Fossil VCS Ported from upstream darcs repository (v1.1.2): - Cmdliner 2.x compatibility fixes (variable shadowing) - Lockfile auto-creation when missing - Schema upgrade command with backup/rollback - Fossil VCS support (new VCS type) - Clean up Cmdliner warning for unescaped $PWD Files modified: - lib/schema.ml (new): Schema versioning module - lib/nixtamal.ml: Add upgrade function, Fossil meld support - lib/error.ml: Add Fossil to prefetch_method, Upgrade error - lib/input.ml: Add Fossil module, Kind variant - lib/prefetch.ml: Add Fossil prefetch with SRI hash support - lib/manifest.ml: Add Fossil codec - lib/lockfile.ml: Add Fossil lockfile type - lib/lock_loader.ml: Add Fossil feature flag - lib/input_foreman.ml: Add Fossil display and prefetch check - bin/cmd.ml: Cmdliner 2.x fixes, add Upgrade command - bin/dune, lib/dune, test/dune: Deprecation flags Builds successfully with all tests passing.
2026-01-02Schema bump: lockfile fields required·𐑑𐑴𐑕𐑑𐑩𐑀
2025-12-19logging: move manifest Γ— lockfile to info·𐑑𐑴𐑕𐑑𐑩𐑀
2025-12-11make KDL module + fix casing·𐑑𐑴𐑕𐑑𐑩𐑀
2025-12-11hash match shape·𐑑𐑴𐑕𐑑𐑩𐑀
2025-12-11refactor Manifest.Latest_cmd·𐑑𐑴𐑕𐑑𐑩𐑀
2025-12-11move Kind module·𐑑𐑴𐑕𐑑𐑩𐑀
2025-12-11manifest git fix bool nodes·𐑑𐑴𐑕𐑑𐑩𐑀
2025-12-11fix darcs manifest·𐑑𐑴𐑕𐑑𐑩𐑀
2025-12-11UTF8 type·𐑑𐑴𐑕𐑑𐑩𐑀
2025-12-10Git fix reference·𐑑𐑴𐑕𐑑𐑩𐑀
2025-12-10Pijul fix reference·𐑑𐑴𐑕𐑑𐑩𐑀
2025-12-10can’t reuse Darcs reference since Assumed must be None in manifest·𐑑𐑴𐑕𐑑𐑩𐑀
2025-12-10manifest: do hash algo·𐑑𐑴𐑕𐑑𐑩𐑀
2025-12-10add more eq·𐑑𐑴𐑕𐑑𐑩𐑀
2025-12-10set up QCheck·𐑑𐑴𐑕𐑑𐑩𐑀
2025-12-10add banners! ⛧·𐑑𐑴𐑕𐑑𐑩𐑀
2025-12-10further README updates·𐑑𐑴𐑕𐑑𐑩𐑀
2025-12-10ocaml onset·𐑑𐑴𐑕𐑑𐑩𐑀