- Python 99.7%
- Shell 0.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
Some checks failed
Codespell / Check for spelling errors (push) Successful in 52s
Codespell / Check for spelling errors (pull_request) Successful in 56s
Ruff / Code linting (push) Successful in 1m1s
Ruff / Code linting (pull_request) Successful in 1m4s
Conventional commits / check-messages (pull_request) Successful in 1m9s
Unit tests (Linux) / check (push) Failing after 1m24s
Unit tests (Linux) / check (pull_request) Failing after 1m28s
Type annotation (project) / check (push) Successful in 1m35s
Type annotation (PR) / check (pull_request) Successful in 1m42s
This is the work horse for populating a worktree with (missing) tracked content: downloading annex keys and cloning submodules. This implementation has support for Git (non-literal) pathspecs. This implementation is also capable of using a global task executor, for example, to parallelize download operations *across* repositories. However, this feature is not thoroughly tested. Moreover, there is no support for multiple git-annex download-jobs *within* a repository, yet. |
||
| .forgejo/workflows | ||
| datalad_core | ||
| docs | ||
| tools | ||
| .appveyor.yml | ||
| .changelog.md.j2 | ||
| .gitignore | ||
| .noannex | ||
| .readthedocs.yaml | ||
| CHANGELOG.md | ||
| conftest.py | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| pyproject.toml | ||
| README.md | ||
datalad-core: core library for the DataLad framework
Developing with datalad_core
API stability is important, just as adequate semantic versioning, and informative changelogs.
Public vs internal API
Anything that can be imported directly from any of the sub-packages in
datalad_core is considered to be part of the public API. Changes to this API
determine the versioning, and development is done with the aim to keep this API
as stable as possible. This includes signatures and return value behavior.
As an example: from datalad_core.abc import xyz imports a part of the public
API, but from datalad_core.abc.def import xyz does not.
Use of the internal API
Developers can obviously use parts of the non-public API. However, this should only be done with the understanding that these components may change from one release to another, with no guarantee of transition periods, deprecation warnings, etc.
Developers are advised to never reuse any components with names starting with
_ (underscore). Their use should be limited to their individual subpackage.
Contributing
Contributions to this library are welcome! Please see the contributing guidelines for details on scope and style of potential contributions.