Hubble demo functionality for flashing and provisioning boards
Project description
Hubble Demo Script
This will enable you to flash a pre-determined set of boards and provision them with your credentials.
Releasing
Releases are triggered by pushing a vX.Y.Z tag. The
.github/workflows/release.yml workflow then runs lint + tests, builds
sdist + wheel, creates a GitHub Release using release-notes.md as the
body, and publishes to PyPI via OIDC trusted publishing.
One-time setup
- PyPI Trusted Publisher — at
https://pypi.org/manage/project/pyhubbledemo/settings/publishing/,
add a publisher with:
- Owner:
HubbleNetwork - Repository:
hubble-tldm - Workflow filename:
release.yml - Environment name:
pypi
- Owner:
- GitHub Environment — in repo Settings → Environments, create an
environment named
pypi. Optionally add a required-reviewer rule so each publish needs manual approval.
Cutting a release
Run all commands from the repo root.
- Bump the version in
python/pyproject.toml(project.version). The git tag must exactly match this string with avprefix. - Update
python/release-notes.md— prepend a new section under# Release Notes:## [X.Y.Z] - YYYY-MM-DD ### Added - feat(...): ... ### Fixed - fix(...): ...
The full file is dumped as the GitHub Release body, so keep it readable. - Commit and tag:
git add python/pyproject.toml python/release-notes.md git commit -m "chore: release X.Y.Z" git tag vX.Y.Z git push origin master git push origin vX.Y.Z
- Approve the publish step — if you enabled the reviewer gate on
the
pypienvironment, the workflow will pause before pushing to PyPI until you approve it in the Actions UI.
Watch progress at https://github.com/HubbleNetwork/hubble-tldm/actions.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyhubbledemo-0.1.1.tar.gz.
File metadata
- Download URL: pyhubbledemo-0.1.1.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
706c7c825f56e6da8d418816dabb5395d223f08396fffdac42d0658f908f90c4
|
|
| MD5 |
f164e53b12945a3d72d9a21a32d258c4
|
|
| BLAKE2b-256 |
844723559afb28448831a94473bc8e830348268ae6c7e2c6f4ce7b478d4cecb3
|
File details
Details for the file pyhubbledemo-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pyhubbledemo-0.1.1-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d388e649e362eb1857c455defad8d43e7edc403ff83464a9c9803233a45232b
|
|
| MD5 |
f7aa0e60f0c4b326d222e7d2eaa19824
|
|
| BLAKE2b-256 |
6ee55afdab9f8261957bbce06224e3f05b5601feef04cbc0ab3739b833cf11d8
|