Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch
tinycbor
download to use git
with a stable tag and commit …
…hash vs. the unstable compressed release hash (#809) CI keeps breaking due GitHub changing the compression on release tarballs, which results in different checksum hashes, which we use for integrity checks for the `tinycbor` dependency. This has happened twice in the last day now (first fixed with #808, which just updated the hash). Since it keeps happening (and who knows how many more times), I think it's better to switch to this approach (which I had implemented a while ago but never merged), which uses `cmake`'s `git` support to clone the `tinycbor` `git` repository at a certain release tag and also provide a commit hash for integrity checks. This has the benefits of: - using a source-based (commit) hash rather than a binary-based (`.tar.gz`) hash - this is really the main benefit, as it should be completely stable - using SHA-1 instead of MD5 - being a bit easier to upgrade versions, since we just change the tag and its commit hash This also requires adding `git` as a dependency in the Docker containers. It's already a dependency in the `apt`-based ones, so this also adds it for the others. This is also incidentally useful for local testing, where having `git` is useful. This needs a Docker push, so I'll do that once this is approved.
- Loading branch information