Skip to content

datalad/datalad-ria

 
 

Repository files navigation

DataLad RIA

Documentation Status Build status codecov.io Documentation test builds

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 in datalad_helloworld/__init__.py to point to it.

  • Replace hello_cmd with the name of the new command in datalad_helloworld/tests/test_register.py to automatically test whether the new extension installs correctly.

  • Adjust the documentation in docs/source/index.rst. Refer to docs/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.

Test setup

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 server
  • DATALAD_TESTS_RIA_SERVER_SSH_PORT: Port of the SSH server
  • DATALAD_TESTS_RIA_SERVER_SSH_LOGIN: Username/login to use with the SSH server
  • DATALAD_TESTS_RIA_SERVER_SSH_SECKEY: Path to a local SSH private key to use for logging into the SSH server
  • DATALAD_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 by DATALAD_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.

Contributing

See CONTRIBUTING.md if you are interested in internals or contributing to the project.

About

Adds functionality for RIA stores to DataLad

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.9%
  • Shell 1.3%
  • Batchfile 1.2%
  • Other 0.6%