-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- move template file lists in dedicated directory - move lock files and .in files into dedicated directory - move files related to readme generation into dedicated directory
- Loading branch information
1 parent
009e402
commit 19c6048
Showing
26 changed files
with
187 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
|
||
- id: common | ||
uses: ghga-de/gh-action-common@v3 | ||
uses: ghga-de/gh-action-common@v4 | ||
|
||
- uses: pre-commit/[email protected] | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<!-- | ||
Copyright 2021 - 2023 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln | ||
for the German Human Genome-Phenome Archive (GHGA) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
|
||
# Template File Lists | ||
|
||
This directory contains multiple text files that are listing paths to other files | ||
of this repository. The listed files are affected in different ways by template updates | ||
as explained in the following. | ||
|
||
## `static_files.txt` | ||
The files listed here are synced with their counterparts in the template. They should | ||
never be modified manually. | ||
|
||
## `static_files_ignore.txt` | ||
To opt out of template updates just for individual files declared as static | ||
(e.g. because you would like manually modify them), you may add them to this list. | ||
|
||
## `mandatory_files.txt` | ||
The contents of the files listed here are not synced with the template, however, upon | ||
every template update it is checked that the files exist. You should modify them | ||
manually to the needs of your repository. | ||
|
||
## `mandatory_files_ignore.txt` | ||
To opt out of existence checks for individual files declared as mandatory, you may add | ||
them to this list. | ||
|
||
## `deprecated_files.txt` | ||
Files listed here must not exist in your repository and are automatically deleted upon | ||
a template update. | ||
|
||
## `deprecated_files_ignore.txt` | ||
If you would like to keep files declared as deprecated, you may add them to this list. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<!-- | ||
Copyright 2021 - 2023 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln | ||
for the German Human Genome-Phenome Archive (GHGA) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
|
||
# Lock Files | ||
|
||
This directory contains two lock files locking the dependencies of this microservice: | ||
|
||
The [`./requirements.txt`](./requirements.txt) contains production dependencies. | ||
|
||
The [`./requirements-dev.txt`](./requirements-dev.txt) additionally contains development | ||
dependencies. | ||
|
||
## Sources | ||
|
||
For generating the production lock file, only the dependencies specified in the | ||
[`../pyproject.toml`](../pyproject.toml) are considered as input. | ||
|
||
For generating the development lock file, additionally, the | ||
[`./requirements-dev-template.in`](./requirements-dev-template.in) as well as | ||
the [`./requirements-dev.in`](./requirements-dev.in) are considered. | ||
|
||
The `./requirements-dev-template.in` is automatically updated from the template | ||
repository and should not be manually modified. | ||
|
||
If you require additional dev dependencies not part of the | ||
`./requirements-dev-template.in`, you can add them to the | ||
`./requirements-dev.in`. | ||
|
||
## Update and Upgrade | ||
|
||
The lock files can be updated running the | ||
[`../scripts/update_lock.py`](../scripts/update_lock.py) script. This will keep the | ||
dependency versions in the lockfile unchanged unless they are in conflict with the | ||
the input sources. In that case, the affected dependencies are updated to the latest | ||
versions compatible with the input. | ||
|
||
If you would like to upgrade all dependencies in the lock file to the latest versions | ||
compatible with the input, you can run `../scripts/update_lock.py --upgrade`. | ||
|
||
If you just want to check if the script would do update, you can run | ||
`../scripts/update_lock.py --check`. |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# requirements for development and testing this service | ||
|
||
# common requirements for development and testing | ||
-r requirements-dev-common.in | ||
# template requirements for development and testing | ||
-r requirements-dev-template.in | ||
|
||
# additional requirements can be listed here | ||
testcontainers[kafka,mongo]>=3.4.1 |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters