This datalad extension will contain a modernized and improved implementation for RIA-related functionality. It is currently a work-in-progress.
TODOs:
-
Pick a name for the new extension.
-
Look through the sources and replace
helloworld
with<newname>
(hint:git grep helloworld
should find all spots). -
Delete the example command implementation in
datalad_helloworld/hello_cmd.py
. -
Implement a new command, and adjust the
command_suite
indatalad_helloworld/__init__.py
to point to it. -
Replace
hello_cmd
with the name of the new command indatalad_helloworld/tests/test_register.py
to automatically test whether the new extension installs correctly. -
Adjust the documentation in
docs/source/index.rst
. Refer todocs/README.md
for more information on documentation building, testing and publishing. -
Replace this README, and/or update the links in the badges at the top.
-
Update
setup.cfg
with appropriate metadata on the new extension. -
Generate GitHub labels for use by the "Add changelog.d snippet" and "Auto-release on PR merge" workflows by using the code in the
datalad/release-action
repository as described in its README. -
You can consider filling in the provided .zenodo.json file with contributor information and meta data to acknowledge contributors and describe the publication record that is created when you make your code citeable by archiving it using zenodo.org.
-
You may also want to consider acknowledging contributors with the allcontributors bot.
The test battery included in the sources is designed to run tests against a configurable server. The default mode of operation is to perform all tests against localhost (given the necessary service availability). A number of environment variable (or configuration items) can be set to configure an alternative test target.
DATALAD_TESTS_RIA_SERVER_SSH_HOST
: Hostname of the SSH serverDATALAD_TESTS_RIA_SERVER_SSH_PORT
: Port of the SSH serverDATALAD_TESTS_RIA_SERVER_SSH_LOGIN
: Username/login to use with the SSH serverDATALAD_TESTS_RIA_SERVER_SSH_SECKEY
: Path to a local SSH private key to use for logging into the SSH serverDATALAD_TESTS_RIA_SERVER_SSH_PATH
: Root path to run all tests under on the SSH server (absolute path)DATALAD_TESTS_RIA_SERVER_LOCALPATH
: If the directory pointed to byDATALAD_TESTS_RIA_SERVER_SSH_PATH
is also available as a local mount, this is the path to the respective local directory. Set to an empty string to indicate that no local path is available.
See CONTRIBUTING.md if you are interested in internals or contributing to the project.