Repository navigation
feat(plugins): generate projects ready for GitHub releases and the catalog - #390
Merged
Merged
Conversation
…talog Assisted-by: Claude Opus 5.5
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Makes projects created by
datalab-plugin createready to be published and listed in the DataLab plugin catalog (https://datalab-platform.com/plugins/), without any PyPI account.--github-accountoption (asked interactively when the plugin ID is not given). The default plugin ID becomesio.github.<account>.<name>;org.datalab.stays reserved to DataLab-Platform projects, andorg.example.is used without an account.pyproject.tomlrequires the current DataLab major version (datalab-platform >= X.Y, < X+1, fromdatalab.__version__), declaresdatalab/datalab-pluginkeywords and, when the account is known, the project URLs..github/workflows/release.yml: pushing avX.Y.Ztag builds the wheel, checks that it is pure Python and that the tag matches its version, attaches it to a GitHub release, and prints the catalog entry (with the wheel SHA-256) in the run summary.Tests: generator tests extended (release workflow, metadata, default IDs, invalid account). The generated workflow shell steps were also run in WSL bash with
ghstubbed (matching and mismatching tags). Camera and Pulse already use this workflow.