pkg: Add script to check third party package version#20662
pkg: Add script to check third party package version#20662maribu merged 1 commit intoRIOT-OS:masterfrom
Conversation
There was a problem hiding this comment.
Thanks, that seems to be a nice addition!
From a very quick glance at the changes, already some comments:
- could you adapt the script to follow our python coding convention? In particular, provide and use a
mainfunction (also move initialization code there), add a copyright notice and shorten lines longer than 120 chars. - could you move the script under
dist/tools/pkg_version_check(or similar) and provide a (short) README explaining its function?
|
Tried it locally, the python file is missing the executable rights ( 👀 I think it would be nice to provide more concise output, only listing failures and outdated packages. |
|
I've moved the script to |
mguetschow
left a comment
There was a problem hiding this comment.
Thanks, looks mostly good to me. Below just some suggestions and minor nits.
|
Thanks for the suggestions, I've updated the script and the README |
mguetschow
left a comment
There was a problem hiding this comment.
LGTM then! Please squash your commits together into a single one.
90846ae to
3927a4f
Compare
|
Sorry for closing the request, I accidentally rebased. |
0be9c2d to
2c1f413
Compare
|
Should be good now. |
402658b to
0c49709
Compare
Contribution description
This provides a script that will read the Makefile of third party packages in the
pkg/directory and compare thePKG_VERSIONhash with the latest upstream release hash or commit hash and check if the package is outdated or not.The script requires a GitHub API token to run.
Testing procedure
Running the script and inputing a GitHub API token should print out a list of outdated packages.
Issues/PRs references
Fixes #13911