Skip to content

feat(plugins): generate projects ready for GitHub releases and the catalog - #390

Merged
PierreRaybaut merged 1 commit into
developfrom
feat/catalog-ready-plugin-generator
Oct 8, 2026
Merged

PierreRaybaut merged 1 commit into
developfrom
feat/catalog-ready-plugin-generator

Conversation

@PierreRaybaut

Copy link
Copy Markdown
Contributor

Makes projects created by datalab-plugin create ready to be published and listed in the DataLab plugin catalog (https://datalab-platform.com/plugins/), without any PyPI account.

  • New --github-account option (asked interactively when the plugin ID is not given). The default plugin ID becomes io.github.<account>.<name>; org.datalab. stays reserved to DataLab-Platform projects, and org.example. is used without an account.
  • pyproject.toml requires the current DataLab major version (datalab-platform >= X.Y, < X+1, from datalab.__version__), declares datalab/datalab-plugin keywords and, when the account is known, the project URLs.
  • New .github/workflows/release.yml: pushing a vX.Y.Z tag 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.
  • Generated README, plugin documentation, 1.4 release notes and French translations updated.

Tests: generator tests extended (release workflow, metadata, default IDs, invalid account). The generated workflow shell steps were also run in WSL bash with gh stubbed (matching and mismatching tags). Camera and Pulse already use this workflow.

@PierreRaybaut
PierreRaybaut merged commit 371b513 into develop Oct 8, 2026
10 of 12 checks passed
@PierreRaybaut
PierreRaybaut deleted the feat/catalog-ready-plugin-generator branch October 8, 2026 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant