Skip to main content

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

  1. 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
  2. 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.

  1. Bump the version in python/pyproject.toml (project.version). The git tag must exactly match this string with a v prefix.
  2. 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.
  3. 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
    
  4. Approve the publish step — if you enabled the reviewer gate on the pypi environment, 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyhubbledemo-0.1.1.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyhubbledemo-0.1.1-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

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

Hashes for pyhubbledemo-0.1.1.tar.gz
Algorithm Hash digest
SHA256 706c7c825f56e6da8d418816dabb5395d223f08396fffdac42d0658f908f90c4
MD5 f164e53b12945a3d72d9a21a32d258c4
BLAKE2b-256 844723559afb28448831a94473bc8e830348268ae6c7e2c6f4ce7b478d4cecb3

See more details on using hashes here.

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

Hashes for pyhubbledemo-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2d388e649e362eb1857c455defad8d43e7edc403ff83464a9c9803233a45232b
MD5 f7aa0e60f0c4b326d222e7d2eaa19824
BLAKE2b-256 6ee55afdab9f8261957bbce06224e3f05b5601feef04cbc0ab3739b833cf11d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page