gruntwork-io / gruntwork-io/fetch

Support tag and commit ID verification.

Open
#35 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
624
Forks
92
PR merge metrics
No merged PRs in 30d

Description

In #34, we added the ability to validate a release asset by its checksum. But what to do about files downloaded straight from the repo? It seems the best we can do here is to validate the commit itself versus individual files, so one possibility is that fetch could be updated so that you can pass in both `--tag` and `--commit-id` and if the two don't match, fetch will fail. This will inoculate users against git tags whose associated git commit has been changed.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.