Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release manifests #91

Merged
merged 8 commits into from
Nov 11, 2024
Merged

Release manifests #91

merged 8 commits into from
Nov 11, 2024

Conversation

puddly
Copy link
Collaborator

@puddly puddly commented Nov 11, 2024

Currently, GitHub releases do not include any information about the actual firmware files beyond the filename.

A new manifest.json file will be included in the release to describe the firmwares and allow for programmatic access to the information in the GBL files:

{
  "metadata": {
    "created_at": "2024-11-11T18:28:51.450197+00:00"
  },
  "firmwares": [
    {
      "filename": "bootloader-uart-xmodem-chip.gbl",
      "checksum": "sha3-256:237c8c1c6971172bf7565270edfbf5e82c251d6b3a78efa4b5f7733d64bcc4e3",
      "size": 11244,
      "metadata": {
        "baudrate": 115200,
        "fw_type": "gecko-bootloader",
        "gecko_bootloader_version": "2.4.2",
        "metadata_version": 1,
        "sdk_version": "4.4.2"
      },
      "release_notes": null
    },
    {
      "filename": "skyconnect_zigbee_ncp_7.4.4.0.gbl",
      "checksum": "sha3-256:46e6d7d16060e666a8e57941c7a575dcdcf9d01e9819fd46150f9f7c2798c631",
      "size": 240492,
      "metadata": {
        "baudrate": 115200,
        "ezsp_version": "7.4.4.0",
        "fw_type": "zigbee_ncp",
        "fw_variant": null,
        "metadata_version": 2,
        "sdk_version": "4.4.4"
      },
      "release_notes": null
    }
  ]
}

@puddly puddly marked this pull request as ready for review November 11, 2024 21:42
@puddly
Copy link
Collaborator Author

puddly commented Nov 11, 2024

Sample for the current run:

{
  "metadata": {
    "created_at": "2024-11-11T19:01:21.429088+00:00"
  },
  "firmwares": [
    {
      "filename": "skyconnect_bootloader_2.4.2.gbl",
      "checksum": "sha3-256:cca812ed7134a158da652ca856936323ded2a51851157a29d9a0080c91a29a32",
      "size": 11264,
      "metadata": {
        "baudrate": 115200,
        "fw_type": "gecko-bootloader",
        "fw_variant": null,
        "gecko_bootloader_version": "2.4.2",
        "metadata_version": 2,
        "sdk_version": "4.4.4"
      },
      "release_notes": null
    },
    {
      "filename": "skyconnect_openthread_rcp_2.4.4.0_GitHub-7074a43e4_gsdk_4.4.4.gbl",
      "checksum": "sha3-256:2c5b56591a73ddaafbe3c59d1e3b0dd06417d3c823a60148a4a600d402b2ef42",
      "size": 107908,
      "metadata": {
        "baudrate": 460800,
        "fw_type": "openthread_rcp",
        "fw_variant": null,
        "metadata_version": 2,
        "ot_rcp_version": "SL-OPENTHREAD/2.4.4.0_GitHub-7074a43e4",
        "sdk_version": "4.4.4"
      },
      "release_notes": null
    },
    {
      "filename": "yellow_zigbee_ncp_7.4.4.0.gbl",
      "checksum": "sha3-256:94a297165528211addcadd8dc69f5172fc682d6009c9e7e35cd93945218538a8",
      "size": 241480,
      "metadata": {
        "baudrate": 115200,
        "ezsp_version": "7.4.4.0",
        "fw_type": "zigbee_ncp",
        "fw_variant": null,
        "metadata_version": 2,
        "sdk_version": "4.4.4"
      },
      "release_notes": null
    },
    {
      "filename": "skyconnect_zigbee_ncp_7.4.4.0.gbl",
      "checksum": "sha3-256:2547620a7836319849d85aa1f54b4b87e6c6de5c1567eae6327cbb634fbc4336",
      "size": 240312,
      "metadata": {
        "baudrate": 115200,
        "ezsp_version": "7.4.4.0",
        "fw_type": "zigbee_ncp",
        "fw_variant": null,
        "metadata_version": 2,
        "sdk_version": "4.4.4"
      },
      "release_notes": null
    },
    {
      "filename": "zwave_stick_7.22.2.0.gbl",
      "checksum": "sha3-256:7d53b3bebc21f272cfb74f0fda2e106384a5564ab8d6041d6320a389fbdf5ed4",
      "size": 188376,
      "metadata": null,
      "release_notes": null
    },
    {
      "filename": "yellow_bootloader_2.4.2.gbl",
      "checksum": "sha3-256:cd68f72fcb5cbc4bd5f3b69a4b234616bba869f1dc307ec5851654a90642cd8d",
      "size": 11392,
      "metadata": {
        "baudrate": 115200,
        "fw_type": "gecko-bootloader",
        "fw_variant": null,
        "gecko_bootloader_version": "2.4.2",
        "metadata_version": 2,
        "sdk_version": "4.4.4"
      },
      "release_notes": null
    },
    {
      "filename": "yellow_openthread_rcp_2.4.4.0_GitHub-7074a43e4_gsdk_4.4.4.gbl",
      "checksum": "sha3-256:ae6a948923f4d990c4e70b617a64a31f8d6e6820a8f393dc1738d96a28580226",
      "size": 109048,
      "metadata": {
        "baudrate": 460800,
        "fw_type": "openthread_rcp",
        "fw_variant": null,
        "metadata_version": 2,
        "ot_rcp_version": "SL-OPENTHREAD/2.4.4.0_GitHub-7074a43e4",
        "sdk_version": "4.4.4"
      },
      "release_notes": null
    }
  ]
}

@puddly puddly merged commit ca31f7f into NabuCasa:main Nov 11, 2024
12 checks passed
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