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

gsmlg-dev / elixir_caddy / eb88927107dfdf69a92549a441fe79f911bbbfec / 3
54%
main: 54%

Build:
DEFAULT BRANCH: main
Ran 14 Jan 2026 10:43AM UTC
Files 15
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

14 Jan 2026 10:43AM UTC coverage: 50.571% (-19.9%) from 70.447%
eb88927107dfdf69a92549a441fe79f911bbbfec.3

push

github

GSMLG-BOT
refactor: simplify config to text-first design

Replace complex struct-based configuration (27+ modules, 5000+ LOC) with
simple text-based Caddyfile storage. Configuration now stores raw Caddyfile
text directly in a 3-field struct {bin, caddyfile, env}.

Breaking changes:
- Remove Caddy.Config.Global, Site, Snippet, and all matcher modules
- Remove Caddy.Caddyfile protocol
- Old API (set_global, set_site, set_snippet) replaced with set_caddyfile
- Config validation delegated to Caddy binary via adapt() command

Benefits:
- 85% code reduction (5000+ LOC → 700 LOC)
- Users write native Caddyfile syntax directly
- No impedance mismatch between Elixir code and Caddy format
- Simpler to understand and maintain
- All 88 tests passing

New API:
  Caddy.set_caddyfile(text)  # Set raw Caddyfile
  Caddy.get_caddyfile()      # Get raw Caddyfile
  Caddy.append_caddyfile(text)  # Append to Caddyfile
  Caddy.adapt(text)          # Validate syntax via Caddy binary

310 of 613 relevant lines covered (50.57%)

2.18 hits per line

Source Files on job eb88927107dfdf69a92549a441fe79f911bbbfec.3
  • Tree
  • List 15
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 0
  • eb889271 on github
  • Prev Job for on main (#7ea350993d266ebe2b5f94cd9157ff72ca290e2b.3)
  • Next Job for on main (#b8ce4ea3f112c734d7b9ae8659ab7c22b14e699f.4)
  • Delete
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