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

dcdpr / jp / 25076211620 / 1
65%
main: 65%

Build:
DEFAULT BRANCH: main
Ran 28 Apr 2026 08:36PM UTC
Files 292
Run time 10s
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

28 Apr 2026 08:33PM UTC coverage: 64.213% (+0.02%) from 64.197%
25076211620.1

push

github

web-flow
refactor(config, cli): Rename `user_global_config_path` to `*_dir` (#586)

The function `user_global_config_path` in `jp_config::fs` was
misleadingly named — it returns a directory path, not a file path.
Rename it to `user_global_config_dir` to accurately reflect its purpose,
and rename the associated environment variable from
`JP_GLOBAL_CONFIG_FILE` to `JP_GLOBAL_CONFIG_DIR` for the same reason.

The old function also contained logic to detect whether the env var
pointed to a file (extracting the stem and adjusting the loader), which
was fragile and inconsistent. That logic is removed; callers now receive
a clean directory path and are responsible for appending the appropriate
file name (e.g. `config.toml`).

All call sites in `jp_cli` are updated accordingly, and the RFD 035
document is updated to reference the renamed function.

---------

Signed-off-by: Jean Mertz <git@jeanmertz.com>

23435 of 36496 relevant lines covered (64.21%)

237.7 hits per line

Source Files on job 25076211620.1
  • Tree
  • List 292
  • Changed 5
  • Source Changed 5
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25076211620
  • 9034280e on github
  • Prev Job for on main (#25073170659.1)
  • Next Job for on main (#25080314439.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