Published November 3, 2026 | Version 1.8.0

datalad/datalad: 1.8.0

Description

💥 Breaking Changes

  • GitRepo.set_gitattributes() writes string patterns as given, so it no longer converts absolute paths into patterns relative to the directory of the .gitattributes file: pass such paths as Paths. Strings starting with ./ are paths relative to that directory, not the current one, and ../ is not supported. (by @yarikoptic)

🚀 Enhancements and New Features

  • Add cpus as a new value for the -J/--jobs option, resolving to the number of CPUs available to the process (via os.sched_getaffinity on Linux, so CPU-affinity and cpuset limits are respected). Unlike auto, cpus is not bounded by datalad.runtime.max-annex-jobs, providing an explicit opt-in to CPU-count-based parallelism. The auto path is now also affinity-aware (no change in behavior under the default max-annex-jobs=1). PR #7871 (by @just-meng)

🐛 Bug Fixes

  • GitRepo.set_gitattributes() accepts patterns anchored with a leading /, e.g. /*.tsv for top-level TSV files only, instead of rejecting them as outside the repository. Fixes #7972 (by @yarikoptic)

  • GitRepo.set_gitattributes() writes entries, and the attributes within each, in the given order instead of sorting them, so that later ones overrule earlier ones as the caller intends. (by @yarikoptic)

Files

datalad/datalad-1.8.0.zip

Files (1.9 MB)

Name Size
md5:afa4c0f8bb6747bffcf25f9d6a9c4672
1.9 MB Preview Download

Additional details

Related works

Is supplement to
Software: https://github.com/datalad/datalad/tree/1.8.0 (URL)

Funding

U.S. National Science Foundation
CRCNS US-German Data Sharing: DataGit - converging catalogues, warehouses, and deployment logistics into a federated 'data distribution' 1429999

Software