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

umputun / stash
79%
master: 84%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/download-artifact-6
DEFAULT BRANCH: master
Repo Added 24 Nov 2025 02:23AM UTC
Files 17
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

LAST BUILD ON BRANCH refs/tags/v0.2.0
branch: refs/tags/v0.2.0
CHANGE BRANCH
x
Reset
  • refs/tags/v0.2.0
  • api-list-keys
  • conflict-detection
  • dependabot/github_actions/actions/checkout-6
  • dependabot/github_actions/actions/download-artifact-6
  • dependabot/github_actions/actions/setup-go-6
  • dependabot/github_actions/actions/upload-artifact-5
  • feat-public-access
  • feat/git-ssh-key
  • feat/key-history
  • feat/rate-limiting
  • feat/selective-session-invalidation
  • feat/sighup-auth-reload
  • feat/syntax-highlighting
  • feat/value-validation
  • feature/auth-hot-reload
  • feature/cache-layer
  • feature/enum-types
  • feature/git-versioning
  • feature/granular-auth
  • feature/web-pagination
  • fix/git-concurrency-and-error-handling
  • fix/server-code-review-improvements
  • json-schema-validation
  • master
  • persistent-sessions
  • refactor/split-server-subpackages
  • refs/tags/v0.1.0
  • refs/tags/v0.1.1
  • refs/tags/v0.10.0
  • refs/tags/v0.10.1
  • refs/tags/v0.10.2
  • refs/tags/v0.10.3
  • refs/tags/v0.10.4
  • refs/tags/v0.11.0
  • refs/tags/v0.12.0
  • refs/tags/v0.12.1
  • refs/tags/v0.13.0
  • refs/tags/v0.13.1
  • refs/tags/v0.13.2
  • refs/tags/v0.13.3
  • refs/tags/v0.2.1
  • refs/tags/v0.2.2
  • refs/tags/v0.3.0
  • refs/tags/v0.3.1
  • refs/tags/v0.4.0
  • refs/tags/v0.5.0
  • refs/tags/v0.6.0
  • refs/tags/v0.7.0
  • refs/tags/v0.7.1
  • refs/tags/v0.7.2
  • refs/tags/v0.7.3
  • refs/tags/v0.8.0
  • refs/tags/v0.8.1
  • refs/tags/v0.8.2
  • refs/tags/v0.9.0
  • refs/tags/v0.9.1
  • refs/tags/v0.9.2

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

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.

266 of 407 new or added lines in 5 files covered. (65.36%)

113 existing lines in 4 files now uncovered.

1199 of 1519 relevant lines covered (78.93%)

10.44 hits per line

Relevant lines Covered
Build:
Build:
1519 RELEVANT LINES 1199 COVERED LINES
10.44 HITS PER LINE
Source Files on refs/tags/v0.2.0
  • Tree
  • List 8
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
19628830092 refs/tags/v0.2.0 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... push 24 Nov 2025 09:07AM UTC web-flow github
78.93
See All Builds (204)
  • Repo on GitHub
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

© 2025 Coveralls, Inc