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.0.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.0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file pyhubbledemo-0.1.0.tar.gz.

File metadata

  • Download URL: pyhubbledemo-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 081138f68fab41a0443637373ae659a88c0d353df77a23fefb8deea6e6a19700
MD5 4dffa13c0928dbe9c6eb4c8df1caa953
BLAKE2b-256 e5a3361609395715adb9da145eb722ad8c4f07005f6f8c16516eef9815694bbe

See more details on using hashes here.

File details

Details for the file pyhubbledemo-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyhubbledemo-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f38aa7bd4209482932e7cdd972b8a8772adf00eceb7ad2f074b9bb6616354f34
MD5 3221ebb32fa78343f119070f9f8b482d
BLAKE2b-256 0737eb5f86d080a38058d30ebcc6eb995018fb4d22c65c9607a28fa2ad19ce5e

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