• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / stash / 19628769271 / 1
83%
master: 83%

Build:
DEFAULT BRANCH: master
Ran 24 Nov 2025 09:04AM UTC
Files 8
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Nov 2025 09:03AM UTC coverage: 78.934% (-4.4%) from 83.378%
19628769271.1

push

github

web-flow
feat(git): add git versioning for key-value tracking (#7)

* feat(git): add git versioning for key-value tracking

- Add git package with pure Go implementation (go-git)
- Track all key changes with commits (set, delete operations)
- Support point-in-time recovery via restore command
- Implement path traversal protection for security
- Add CLI subcommands (server, restore)
- Integrate git commits in web UI handlers
- Optional remote sync with auto-push

This provides full audit trail and disaster recovery for
configuration changes without external dependencies.

* fix(git): honor configured branch for commits

Ensure all commits go to the configured branch, not just HEAD:
- Add ensureBranch() to checkout configured branch when opening repo
- Checkout the branch in createNewRepo after initial commit
- Fixes issue where commits went to master while Push() pushed cfg.Branch

* refactor(app): split commands into separate file

move ServerCmd and RestoreCmd with their Execute methods to commands.go.
move command tests to commands_test.go following one-test-file-per-source rule.
keeps main.go focused on entry point and helper functions.

* feat(server): add debug logging for key operations

log get/set/delete operations at DEBUG level with key name and size.
add .history/ to gitignore (default git versioning path).

* refactor(app): simplify subcommand structure

Consolidate commands back into main.go using single opts struct
with inline command structs and dispatcher pattern, matching
the simpler cdata-utils approach.

1199 of 1519 relevant lines covered (78.93%)

10.44 hits per line

Source Files on job 19628769271.1
  • Tree
  • List 8
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19628769271
  • 35e8e60e on github
  • Prev Job for on master (#19624597200.1)
  • Next Job for on master (#19629007499.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc