-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only generate catalog info when in DiamondLightSource
Doesn't make sense in per-user repos as they aren't scanned. Also doesn't make sense for bluesky
- Loading branch information
Showing
3 changed files
with
18 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
package_name: | ||
type: str | ||
help: | | ||
Name of the python import package. | ||
Name of the python import package. | ||
Must be a valid python identifier, i.e. my_package | ||
validator: >- | ||
{% if not (package_name | regex_search('^[a-zA-Z][a-zA-Z_0-9]+$')) %} | ||
|
@@ -58,20 +58,22 @@ author_email: | |
help: Your email address | ||
placeholder: [email protected] | ||
|
||
# Catalog info | ||
component_owner: | ||
type: str | ||
when: "{{ github_org == 'DiamondLightSource' }}" | ||
help: | | ||
The unique name of the person or group who owns this component in | ||
The unique name of the person or group who owns this component in | ||
the Developer Portal Software Catalogue. | ||
This will normally be group:default/<your_group>. For a full list of groups visit | ||
This will normally be group:default/<your_group>. For a full list of groups visit | ||
https://dev-portal.diamond.ac.uk/catalog?filters%5Bkind%5D=group&filters%5Buser%5D=all | ||
and hover over each group link to see its group ID, e.g. | ||
https://dev-portal.diamond.ac.uk/catalog/default/group/accelerator-controls | ||
would go here as group:default/accelerator-controls. | ||
component_type: | ||
type: str | ||
when: "{{ github_org == 'DiamondLightSource' }}" | ||
help: | | ||
Type of the component in the Developer Portal Software Catalogue. | ||
Most likely service, library or application (without quotes). | ||
|
@@ -84,8 +86,9 @@ component_type: | |
|
||
component_lifecycle: | ||
type: str | ||
when: "{{ github_org == 'DiamondLightSource' }}" | ||
help: | | ||
Project's current lifecycle stage, to be displayed in the Developer | ||
Project's current lifecycle stage, to be displayed in the Developer | ||
Portal Software Catalogue. | ||
choices: | ||
- experimental | ||
|
@@ -147,6 +150,6 @@ _tasks: | |
_migrations: | ||
- version: 2.0.0 | ||
before: | ||
- echo This update will require you to login to pypi.org and make changes before you can make a new release to PyPI. If you do not have time to do this now, press CTRL+C to abort this update. | ||
- echo This update will require you to login to pypi.org and make changes before you can make a new release to PyPI. If you do not have time to do this now, press CTRL+C to abort this update. | ||
after: | ||
- echo Visit https://diamondlightsource.github.io/python-copier-template/main/how-to/pypi.html to find out how to set up PyPI trusted publishing | ||
- echo Visit https://diamondlightsource.github.io/python-copier-template/main/how-to/pypi.html to find out how to set up PyPI trusted publishing |
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