Skip to content

Conversation

@karliatto
Copy link
Member

@karliatto karliatto commented Jun 26, 2025

Updating releases JSONs for all the FWs in legacy releases.json for all the models.

Also updating the scripts so they check the revisions in the old files as well as in the new ones.

Related trezor/trezor-suite#19763

Copy link
Contributor

@obrusvit obrusvit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe we can merge it as it but two points to discuss:

  • the only field missing is "translations". Maybe we can add it later.
  • the names of the binaries in trezor/data follow slightly different naming convention by dropping the first 8 chars of the commit hash. Should we follow the established naming convention (without the commit has part) also in the new repository?

@karliatto karliatto force-pushed the chore/move-releases.json-to-new-format branch from 1847c3f to 74db1e3 Compare July 25, 2025 11:53
@karliatto karliatto requested a review from obrusvit July 28, 2025 10:59
@karliatto
Copy link
Member Author

karliatto commented Jul 28, 2025

I believe we can merge it as it but two points to discuss:

* the only field missing is `"translations"`. Maybe we can add it later.

* the names of the binaries in `trezor/data` follow slightly different naming convention by dropping the first 8 chars of the commit hash. Should we follow the established naming convention (without the commit has part) also in the new repository?

Sure, I updated it to contain the "translations" as we agreed. Regarding the naming convention for the binaries I do noth have strong opinions, here I am just following the same we have right now.

I also updated the script to check the new format for releases JSON.

@karliatto karliatto changed the title WIP: chore: move releases.json to new format chore: move releases.json to new format Jul 28, 2025
Copy link
Contributor

@obrusvit obrusvit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one thing at this point:

  • translations field is not necessary for t1b1 (legacy) as Model One doesn't support translations. We should either remove it or keep the field empty object.

@karliatto
Copy link
Member Author

Just one thing at this point:

* `translations` field is not necessary for `t1b1` (legacy) as Model One doesn't support translations. We should either remove it or keep the field empty object.

Sure that makes a lot of sense, thanks for catching it. I added fixup commit changing transalations in t1b1 to {}.

a60e080

@karliatto karliatto requested review from obrusvit July 28, 2025 18:14
obrusvit
obrusvit previously approved these changes Jul 28, 2025
@karliatto karliatto force-pushed the chore/move-releases.json-to-new-format branch from a60e080 to f931bcd Compare July 29, 2025 07:05
@karliatto karliatto force-pushed the chore/move-releases.json-to-new-format branch from f931bcd to 739bdbe Compare July 29, 2025 07:12
@vdovhanych vdovhanych merged commit e51806a into master Jul 29, 2025
4 checks passed
@vdovhanych vdovhanych deleted the chore/move-releases.json-to-new-format branch July 29, 2025 08:23
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.

4 participants