From 7582c4ba0162231d27fcc22777137cf7ac57713b Mon Sep 17 00:00:00 2001 From: Jirka Date: Mon, 14 Aug 2023 15:53:19 +0200 Subject: [PATCH] rename `target_repository` to `source_repository` --- README.md | 6 +++--- _actions/_config.yaml | 2 +- _actions/assistant.py | 2 +- configs/Lightning-AI/bolts_pl-develop.yaml | 2 +- configs/Lightning-AI/bolts_pl-release.yaml | 2 +- configs/Lightning-AI/flash_pl-develop.yaml | 2 +- configs/Lightning-AI/flash_pl-release.yaml | 2 +- configs/Lightning-AI/metrics_pl-develop.yaml | 2 +- configs/Lightning-AI/metrics_pl-release.yaml | 2 +- configs/NVIDIA/nemo-release.yaml | 2 +- configs/SeanNaren/deepspeech-release.yaml | 2 +- configs/manujosephv/pytorch-tabular_lit-release.yaml | 2 +- configs/microsoft/deepspeed-release.yaml | 2 +- configs/neptune-ai/lightning_integration.yaml | 2 +- configs/vturrisi/solo-learn_lit-develop.yaml | 2 +- configs/vturrisi/solo-learn_lit-release.yaml | 2 +- 16 files changed, 18 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index cb12cd0d..12c255ec 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Here are pre-requisites for your project before adding to the Lightning EcoSyste ``` 1. At the minimum, modify the `HTTPS` variable to point to your repository. See [Configuring my project](https://github.com/Lightning-AI/ecosystem-ci/tree/main#configuring-my-project) for more options. ```yaml - target_repository: + source_repository: HTTPS: https://github.com/MyUsername/MyProject.git ... ``` @@ -83,7 +83,7 @@ Here are pre-requisites for your project before adding to the Lightning EcoSyste The config include a few different sections: -- `target_repository` include your project +- `source_repository` include your project - `env` (optional) define any environment variables required when running tests - `dependencies` listing all dependencies which are taken outside pip - `testing` defines specific pytest arguments and what folders shall be tested @@ -91,7 +91,7 @@ The config include a few different sections: All dependencies as well as the target repository is sharing the same template with the only required field `HTTPS` and all others are optional: ```yaml -target_repository: +source_repository: HTTPS: https://github.com/Lightning-AI/metrics.git username: my-nick # Optional, used when checking out private/protected repo password: dont-tell-anyone # Optional, used when checking out private/protected repo diff --git a/_actions/_config.yaml b/_actions/_config.yaml index 33830875..d7a85b3d 100644 --- a/_actions/_config.yaml +++ b/_actions/_config.yaml @@ -1,4 +1,4 @@ -target_repository: +source_repository: HTTPS: https://github.com/Lightning-AI/metrics.git # OPTIONAL, for some protected repository # username: my-nick diff --git a/_actions/assistant.py b/_actions/assistant.py index e9d7b045..a4318485 100644 --- a/_actions/assistant.py +++ b/_actions/assistant.py @@ -41,7 +41,7 @@ def _file_exits(fpath: str, ups: int = 3) -> str: class AssistantCLI: _BASH_SCRIPT = ("set -e",) - _FIELD_TARGET_REPO = "target_repository" + _FIELD_TARGET_REPO = "source_repository" _FIELD_REQUIRE = "dependencies" _FIELD_TESTS = "testing" _MANDATORY_FIELDS = (_FIELD_TARGET_REPO, _FIELD_REQUIRE) diff --git a/configs/Lightning-AI/bolts_pl-develop.yaml b/configs/Lightning-AI/bolts_pl-develop.yaml index b67f54ad..56715c10 100644 --- a/configs/Lightning-AI/bolts_pl-develop.yaml +++ b/configs/Lightning-AI/bolts_pl-develop.yaml @@ -1,4 +1,4 @@ -target_repository: +source_repository: HTTPS: https://github.com/Lightning-AI/lightning-bolts.git # checkout a particular branch or a tag checkout: master diff --git a/configs/Lightning-AI/bolts_pl-release.yaml b/configs/Lightning-AI/bolts_pl-release.yaml index 5cb80948..c6bf154a 100644 --- a/configs/Lightning-AI/bolts_pl-release.yaml +++ b/configs/Lightning-AI/bolts_pl-release.yaml @@ -1,4 +1,4 @@ -target_repository: +source_repository: HTTPS: https://github.com/Lightning-AI/lightning-bolts.git # checkout a particular branch or a tag checkout: master diff --git a/configs/Lightning-AI/flash_pl-develop.yaml b/configs/Lightning-AI/flash_pl-develop.yaml index 7354ef18..e2bdb45a 100644 --- a/configs/Lightning-AI/flash_pl-develop.yaml +++ b/configs/Lightning-AI/flash_pl-develop.yaml @@ -1,4 +1,4 @@ -target_repository: +source_repository: HTTPS: https://github.com/Lightning-AI/lightning-flash.git # checkout a particular branch or a tag checkout: master diff --git a/configs/Lightning-AI/flash_pl-release.yaml b/configs/Lightning-AI/flash_pl-release.yaml index e8885660..e182ce61 100644 --- a/configs/Lightning-AI/flash_pl-release.yaml +++ b/configs/Lightning-AI/flash_pl-release.yaml @@ -1,4 +1,4 @@ -target_repository: +source_repository: HTTPS: https://github.com/Lightning-AI/lightning-flash.git # checkout a particular branch or a tag checkout: master diff --git a/configs/Lightning-AI/metrics_pl-develop.yaml b/configs/Lightning-AI/metrics_pl-develop.yaml index 4ef015bb..74616d59 100644 --- a/configs/Lightning-AI/metrics_pl-develop.yaml +++ b/configs/Lightning-AI/metrics_pl-develop.yaml @@ -1,4 +1,4 @@ -target_repository: +source_repository: HTTPS: https://github.com/Lightning-AI/metrics.git # checkout a particular branch or a tag checkout: master diff --git a/configs/Lightning-AI/metrics_pl-release.yaml b/configs/Lightning-AI/metrics_pl-release.yaml index da3b5aff..c4650da4 100644 --- a/configs/Lightning-AI/metrics_pl-release.yaml +++ b/configs/Lightning-AI/metrics_pl-release.yaml @@ -1,4 +1,4 @@ -target_repository: +source_repository: HTTPS: https://github.com/Lightning-AI/metrics.git # checkout a particular branch or a tag checkout: master diff --git a/configs/NVIDIA/nemo-release.yaml b/configs/NVIDIA/nemo-release.yaml index ee57c93e..0a1e8c3b 100644 --- a/configs/NVIDIA/nemo-release.yaml +++ b/configs/NVIDIA/nemo-release.yaml @@ -1,4 +1,4 @@ -target_repository: +source_repository: HTTPS: https://github.com/NVIDIA/NeMo.git # checkout a particular branch or a tag checkout: main diff --git a/configs/SeanNaren/deepspeech-release.yaml b/configs/SeanNaren/deepspeech-release.yaml index b25102ae..9320d743 100644 --- a/configs/SeanNaren/deepspeech-release.yaml +++ b/configs/SeanNaren/deepspeech-release.yaml @@ -1,4 +1,4 @@ -target_repository: +source_repository: HTTPS: https://github.com/SeanNaren/deepspeech.pytorch.git checkout: master copy_tests: diff --git a/configs/manujosephv/pytorch-tabular_lit-release.yaml b/configs/manujosephv/pytorch-tabular_lit-release.yaml index f6084e50..d560a5e6 100644 --- a/configs/manujosephv/pytorch-tabular_lit-release.yaml +++ b/configs/manujosephv/pytorch-tabular_lit-release.yaml @@ -1,4 +1,4 @@ -target_repository: +source_repository: HTTPS: https://github.com/manujosephv/pytorch_tabular.git checkout: main # OPTIONAL, define installing package extras diff --git a/configs/microsoft/deepspeed-release.yaml b/configs/microsoft/deepspeed-release.yaml index 7b4d97b4..e2ca5294 100644 --- a/configs/microsoft/deepspeed-release.yaml +++ b/configs/microsoft/deepspeed-release.yaml @@ -1,4 +1,4 @@ -target_repository: +source_repository: HTTPS: https://github.com/microsoft/DeepSpeed.git checkout: master copy_tests: diff --git a/configs/neptune-ai/lightning_integration.yaml b/configs/neptune-ai/lightning_integration.yaml index 1f8505c2..99abdc6d 100644 --- a/configs/neptune-ai/lightning_integration.yaml +++ b/configs/neptune-ai/lightning_integration.yaml @@ -1,4 +1,4 @@ -target_repository: +source_repository: HTTPS: https://github.com/neptune-ai/neptune-client # OPTIONAL, checkout a particular branch or a tag checkout: master diff --git a/configs/vturrisi/solo-learn_lit-develop.yaml b/configs/vturrisi/solo-learn_lit-develop.yaml index 8f0c194b..52a9b9c0 100644 --- a/configs/vturrisi/solo-learn_lit-develop.yaml +++ b/configs/vturrisi/solo-learn_lit-develop.yaml @@ -1,4 +1,4 @@ -target_repository: +source_repository: HTTPS: https://github.com/vturrisi/solo-learn.git checkout: main # OPTIONAL, define installing package extras diff --git a/configs/vturrisi/solo-learn_lit-release.yaml b/configs/vturrisi/solo-learn_lit-release.yaml index 8ea36c34..d08b93c8 100644 --- a/configs/vturrisi/solo-learn_lit-release.yaml +++ b/configs/vturrisi/solo-learn_lit-release.yaml @@ -1,4 +1,4 @@ -target_repository: +source_repository: HTTPS: https://github.com/vturrisi/solo-learn.git checkout: main # OPTIONAL, define installing package extras