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

openvax / datacache
95%
master: 95%

Build:
Build:
LAST BUILD BRANCH: fix/zip-deflate-drain
DEFAULT BRANCH: master
Repo Added 20 Feb 2018 04:12AM UTC
Files 23
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 feature/cache-root
branch: feature/cache-root
CHANGE BRANCH
x
Reset
  • feature/cache-root
  • adding-timeout-parameter-and-removing-fasta-helpers
  • deslop/py2-travis-leftovers
  • docs/clearer-guides
  • docs/human-friendly-pass
  • docs/public-api-and-quickstart
  • docs/reader-oriented-guides
  • feat/verified-http-zip-members
  • feature/archive-directory-install
  • feature/bounded-downloads
  • feature/bundle-metadata-inspection
  • feature/bundle-store-path
  • feature/derived-materialization
  • feature/downstream-data-workflows
  • feature/fetch-freshness
  • feature/fixed-path-file-registry
  • feature/inspection-provenance
  • feature/platformdirs
  • feature/prune-and-local-bundles
  • feature/resume-auto
  • feature/resume-etag-raw-downloads
  • feature/return-stale-on-error
  • feature/shared-cache-root
  • feature/shared-generation-store
  • feature/tqdm-default
  • feature/windows-bundles
  • fix-17-quote-sql-identifiers
  • fix-40-assert-to-raise
  • fix-45-sqlite-cross-thread
  • fix-49-streaming-download
  • fix-flaky-download-test
  • fix-lint
  • fix-releasing-docs
  • fix/archive-content-validation
  • fix/bounded-http-retries
  • fix/cache-safety-and-legacy-compatibility
  • fix/csv-db-names-zip-members-docs
  • fix/downstream-compat-readonly-cache
  • fix/padded-xdg-cache-home
  • fix/reject-empty-downloads
  • fix/sqlite-schema-1.10.1
  • fix/user-agent
  • fix/utf8-byte-cache-names
  • fix/verified-downloads
  • fix/zip-deflate-drain
  • master
  • migrate-pyproject-toml
  • modernize-py3
  • release-1.6.0
  • try-using-wget

09 Oct 2026 11:32PM UTC coverage: 94.816% (+0.06%) from 94.754%
38004929620

Pull #113

github

iskandr
Fix review findings in get_cache_root

- A legacy location holds data when it has a file anywhere inside (not
  just one level down), ignoring .DS_Store, Thumbs.db, desktop.ini and
  DataCache's own .datacache-* files; unreadable or looping entries are
  skipped instead of raising.
- A platform directory that already holds data wins over a legacy one,
  so the root no longer flips after a fresh install.
- legacy and override are validated up front whichever rule applies:
  text paths only, non-empty, legacy absolute (a relative one scanned the
  working directory); legacy=None means none; override is stripped and
  ~-expanded like environment values.
- Docs: precedence, raises, the interface reference row, and advice to
  resolve once and pass the root along.

Claude-Session: https://claude.ai/code/session_01Pic7GGifYLP45oZkdYihge
Pull Request #113: Resolve a package's cache root in one call (1.24.0)

41 of 41 new or added lines in 2 files covered. (100.0%)

3018 of 3183 relevant lines covered (94.82%)

7.58 hits per line

Relevant lines Covered
Build:
Build:
3183 RELEVANT LINES 3018 COVERED LINES
7.58 HITS PER LINE
Source Files on feature/cache-root
  • Tree
  • List 22
  • Changed 3
  • Source Changed 3
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
38004929620 feature/cache-root Fix review findings in get_cache_root - A legacy location holds data when it has a file anywhere inside (not just one level down), ignoring .DS_Store, Thumbs.db, desktop.ini and DataCache's own .datacache-* files; unreadable or looping entrie... Pull #113 09 Oct 2026 11:33PM UTC iskandr github
94.82
37972511701 feature/cache-root Resolve a package's cache root in one call (1.24.0) get_cache_root(name, *envkeys, override=None, legacy=()) picks the first of: an explicit override, the first environment variable that is set, the first legacy location that already holds data (... Pull #113 09 Oct 2026 06:21PM UTC iskandr github
94.7
See All Builds (208)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc