|
carputils
Doxygen code documentation for the python framework controlling openCARP
|
Functions related the upload of bundles to a remote git repository. More...
Functions | |
| def | check_git () |
| def | init_repo (path) |
| Initializes a git repository in a folder containing a bundled experiment. More... | |
| def | commit_repo (path, message) |
| Commits whole content of a git repository. More... | |
| def | push_repo (path) |
| Pushes the repository containing a bundled experiment on a remote repository. More... | |
| def | upload_bundle (path) |
| Uploads a bundled experiment on a remote repository. More... | |
| def | convert_name_to_reponame (name) |
| Converts a string to a compatible Gitlab repository name. More... | |
| def | get_opencarp_docker_tag_from_codemeta (codemeta_file='codemeta.json') |
| Get the openCARP docker tag corresponding to the version of openCARP specified in the codemeta file in field 'softwareRequirements'. More... | |
Variables | |
| string | GITIGNORE |
| string | LICENSE |
| string | NOTICE |
| string | GITLAB_CI |
Functions related the upload of bundles to a remote git repository.
| def carputils.bundle.upload.check_git | ( | ) |
| def carputils.bundle.upload.commit_repo | ( | path, | |
| message | |||
| ) |
Commits whole content of a git repository.
| path | path to the bundle directory |
| def carputils.bundle.upload.convert_name_to_reponame | ( | name | ) |
Converts a string to a compatible Gitlab repository name.
| name | String to convert |
| def carputils.bundle.upload.get_opencarp_docker_tag_from_codemeta | ( | codemeta_file = 'codemeta.json' | ) |
Get the openCARP docker tag corresponding to the version of openCARP specified in the codemeta file in field 'softwareRequirements'.
If no version is specified, return 'latest'.
| def carputils.bundle.upload.init_repo | ( | path | ) |
Initializes a git repository in a folder containing a bundled experiment.
| path | path to the bundle directory |
| def carputils.bundle.upload.push_repo | ( | path | ) |
Pushes the repository containing a bundled experiment on a remote repository.
The link to the remote repository should have been given as an argument to the --push-bundle option, or in codemeta.json in the codeRepository field.
| path | path to the bundle directory |
| def carputils.bundle.upload.upload_bundle | ( | path | ) |
Uploads a bundled experiment on a remote repository.
The link to the remote repository should have been given as an argument to the --push-bundle option, or in codemeta.json in the codeRepository field.
| path | path to the bundle directory |
| string carputils.bundle.upload.GITIGNORE |
| string carputils.bundle.upload.GITLAB_CI |
| string carputils.bundle.upload.LICENSE |
| string carputils.bundle.upload.NOTICE |