-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Add check to keep releases.json in sync with the firmware binaries #90
Conversation
80d4088
to
3cd5d16
Compare
3cd5d16
to
c551820
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The shellcheck addition could have been a separate commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding shellcheck validation should be a separate commit and please fix one small nitpick.
c551820
to
40773fe
Compare
40773fe
to
b800070
Compare
I have also just found that we have https://github.com/trezor/data/blob/master/check_releases.py It seems to be checking the existence of binaries for latest release + also checking presence of an However it checks only |
Yes, we have such a script, but that is not true. It is checking t1b1, t2t1, and t2b1. t3t1 is missing from there. I'm not sure how you would make it work automagically, but if you have an idea, go for it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather see this integrated with check_releases.py
, but now that it is done like this, let's use it. @vdovhanych, can you approve?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i guess its fine like this for now
b6c74aa
5da6cb6
to
b6c74aa
Compare
8a17862
to
860126b
Compare
34d7e4c
to
ca042c9
Compare
…account, this allows a cross-directory links fix: binary missing in 2 directory + fix inconsistend url in releases.json fix: rework the algorithm so it takes the from releases.json into an account, this allows a cross-directory links
ca042c9
to
1c90f9d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
This PR adds check to validate presence of the binaries as declared in the
releases.json
If some binary is missing:
If there is binary but is missing from
releases.json
It also adds a
shellcheck