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

umputun / stash / 19623610874
83%

Build:
DEFAULT BRANCH: master
Ran 24 Nov 2025 04:45AM UTC
Jobs 1
Files 7
Run time 1min
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 04:43AM UTC coverage: 83.378% (+0.5%) from 82.852%
19623610874

push

github

umputun
feat(server): add base URL support for subpath deployment

add --server.base-url flag for serving stash at a subpath (e.g., /stash).
includes handler wrapping with http.StripPrefix, template URL prefixing,
cookie path configuration, and proper auth redirects.

- add BaseURL to server config and handler() method
- add url() and cookiePath() helpers
- update all templates to use {{.BaseURL}} prefix
- update SessionAuth to accept configurable login URL
- handle __Host- cookie prefix only when baseURL empty
- add unit and integration tests for base URL support

79 of 82 new or added lines in 4 files covered. (96.34%)

933 of 1119 relevant lines covered (83.38%)

11.76 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
73.53
3.87% app/server/server.go
2
57.3
6.62% app/main.go
Jobs
ID Job ID Ran Files Coverage
1 19623610874.1 24 Nov 2025 04:45AM UTC 7
83.38
GitHub Action Run
Source Files on build 19623610874
  • Tree
  • List 7
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • dda12e03 on github
  • Prev Build on master (#19622604620)
  • Next Build on master (#19623723040)
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