-
Notifications
You must be signed in to change notification settings - Fork 404
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
v0.8.0 tarball sha256 change? #315
Comments
That's very strange to me, and I'm not sure what would cause that. I don't think anyone has modified the releases or pushed over this tag. It seems to be the same The only thing I can imagine is that updating the goreleaser to support mips (#309) might have modified the release, but not the source tarball, which seems to be the problem. Is there anything I can do to help? E.g. tagging a v0.8.1 release? |
@jonjohnsonjr any chance any maintainer deleted the release and re-rereleased to fix a bug? or worse any chance a maintainer had their github creds stolen? While we can release a v0.8.1 I'd be curious what happened and why it changed. It looks like #309 happened after the previous release was cut so that should not have caused the issue. |
@jonjohnsonjr one of the maintainers @chenrui333 had a pretty plausible guess. Do you remember when the branch default was switched from master to main? |
Dug into this a little bit comparing it to my local copy, found this distinction:
Looking at this file:
This is the only difference I can tell between what's at that commit on my local filesystem and what's been downloaded from the GitHub release. Looking at what's in the release:
|
Wed, Feb 3, around noon PST. @imjasonh |
Not to my knowledge. I'm usually the one to cut these releases, and we generally just bump a minor version.
Of course possible, but unlikely given that we all use 2FA. |
@jonjohnsonjr when you say your local copy, did you mean your copy of the source code of the original v0.8.0 or your copy of the code at the HEAD of the repo as is now? |
I did
I compared that to the downloaded release from GitHub, as described in #315 (comment) That commit is present in a branch that is covered by branch protection (if we trust GitHub), and presumably in @imjasonh 's local branches as well (can you check?), which would rule out the commit being modified via compromise unless that attacker somehow compromised both our machines. |
Here too
|
Looking at all the metadata github can give us, I see this:
The Another interested thing is the the
{
"url": "https://api.github.com/repos/google/ko/releases/37263023",
"assets_url": "https://api.github.com/repos/google/ko/releases/37263023/assets",
"upload_url": "https://uploads.github.com/repos/google/ko/releases/37263023/assets{?name,label}",
"html_url": "https://github.com/google/ko/releases/tag/v0.8.0",
"id": 37263023,
"author": {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"site_admin": false
},
"node_id": "MDc6UmVsZWFzZTM3MjYzMDIz",
"tag_name": "v0.8.0",
"target_commitish": "main",
"name": "v0.8.0",
"draft": false,
"prerelease": false,
"created_at": "2021-01-21T18:30:14Z",
"published_at": "2021-02-02T21:38:44Z",
"assets": [
{
"url": "https://api.github.com/repos/google/ko/releases/assets/31550843",
"id": 31550843,
"node_id": "MDEyOlJlbGVhc2VBc3NldDMxNTUwODQz",
"name": "checksums.txt",
"label": "",
"uploader": {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"site_admin": false
},
"content_type": "text/plain; charset=utf-8",
"state": "uploaded",
"size": 472,
"download_count": 8,
"created_at": "2021-02-02T21:38:44Z",
"updated_at": "2021-02-02T21:38:44Z",
"browser_download_url": "https://github.com/google/ko/releases/download/v0.8.0/checksums.txt"
},
{
"url": "https://api.github.com/repos/google/ko/releases/assets/31550845",
"id": 31550845,
"node_id": "MDEyOlJlbGVhc2VBc3NldDMxNTUwODQ1",
"name": "ko_0.8.0_Darwin_x86_64.tar.gz",
"label": "",
"uploader": {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"site_admin": false
},
"content_type": "application/gzip",
"state": "uploaded",
"size": 12333526,
"download_count": 44,
"created_at": "2021-02-02T21:38:46Z",
"updated_at": "2021-02-02T21:38:47Z",
"browser_download_url": "https://github.com/google/ko/releases/download/v0.8.0/ko_0.8.0_Darwin_x86_64.tar.gz"
},
{
"url": "https://api.github.com/repos/google/ko/releases/assets/31550846",
"id": 31550846,
"node_id": "MDEyOlJlbGVhc2VBc3NldDMxNTUwODQ2",
"name": "ko_0.8.0_Linux_arm64.tar.gz",
"label": "",
"uploader": {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"site_admin": false
},
"content_type": "application/gzip",
"state": "uploaded",
"size": 10661570,
"download_count": 1,
"created_at": "2021-02-02T21:38:46Z",
"updated_at": "2021-02-02T21:38:48Z",
"browser_download_url": "https://github.com/google/ko/releases/download/v0.8.0/ko_0.8.0_Linux_arm64.tar.gz"
},
{
"url": "https://api.github.com/repos/google/ko/releases/assets/31550844",
"id": 31550844,
"node_id": "MDEyOlJlbGVhc2VBc3NldDMxNTUwODQ0",
"name": "ko_0.8.0_Linux_i386.tar.gz",
"label": "",
"uploader": {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"site_admin": false
},
"content_type": "application/gzip",
"state": "uploaded",
"size": 11547398,
"download_count": 1,
"created_at": "2021-02-02T21:38:45Z",
"updated_at": "2021-02-02T21:38:46Z",
"browser_download_url": "https://github.com/google/ko/releases/download/v0.8.0/ko_0.8.0_Linux_i386.tar.gz"
},
{
"url": "https://api.github.com/repos/google/ko/releases/assets/31550842",
"id": 31550842,
"node_id": "MDEyOlJlbGVhc2VBc3NldDMxNTUwODQy",
"name": "ko_0.8.0_Linux_s390x.tar.gz",
"label": "",
"uploader": {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"site_admin": false
},
"content_type": "application/gzip",
"state": "uploaded",
"size": 11347379,
"download_count": 3,
"created_at": "2021-02-02T21:38:44Z",
"updated_at": "2021-02-02T21:38:45Z",
"browser_download_url": "https://github.com/google/ko/releases/download/v0.8.0/ko_0.8.0_Linux_s390x.tar.gz"
},
{
"url": "https://api.github.com/repos/google/ko/releases/assets/31550848",
"id": 31550848,
"node_id": "MDEyOlJlbGVhc2VBc3NldDMxNTUwODQ4",
"name": "ko_0.8.0_Linux_x86_64.tar.gz",
"label": "",
"uploader": {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"site_admin": false
},
"content_type": "application/gzip",
"state": "uploaded",
"size": 11757716,
"download_count": 491,
"created_at": "2021-02-02T21:38:47Z",
"updated_at": "2021-02-02T21:38:49Z",
"browser_download_url": "https://github.com/google/ko/releases/download/v0.8.0/ko_0.8.0_Linux_x86_64.tar.gz"
}
],
"tarball_url": "https://api.github.com/repos/google/ko/tarball/v0.8.0",
"zipball_url": "https://api.github.com/repos/google/ko/zipball/v0.8.0",
"body": "## Changelog\n\naf7fb47 Add s390x architecture to ko binary releases (#300)\n6586a72 Always use \"strict\" mode\ne521d76 Bump ggcr to v0.4.0\nfa39374 Document GOFLAGS\nd4fb288 Fix .goreleaser.yml (#285)\n82cabb4 Fix GOROOT mismatch issues (#303)\n0801316 Fix ko login (#298)\nd39f171 Fix the link to releases (#291)\nb6ed60a Format markdown\nc1c21e7 Format markdown\n0bfb6b0 Format markdown (#282)\n78b7bed Merge pull request #280 from jonjohnsonjr/document-goflags\nb898b77 Merge pull request #281 from jonjohnsonjr/strict-always\n5b7eaf7 Merge pull request #283 from knative-automation/auto-updates/common-actions\n4372e2a Merge pull request #284 from knative-automation/auto-updates/common-actions\nbd91eab Merge pull request #290 from knative-automation/auto-updates/format-markdown\ndfe3d51 Merge pull request #293 from jonjohnsonjr/bump-ggcr\n3c21033 Merge pull request #302 from knative-automation/auto-updates/format-markdown\n4f05ece Update common github actions\n77a7a50 Update common github actions\n34568ca Use remote.WithUserAgent where possible (#294)\n0d0ed4d doc: add homebrew install (#301)\n2f3c49e point to releases for installation (#289)\n\n"
} |
definitely seems to be related to the branch name switch over. One easy way to check might be to simply set up a repo and change the main branch and see what happens :P |
I should probably cut v0.8.1 anyway to get the mips stuff out... I can do that and record the digest in this thread to see if this happens in the future? |
{
"url": "https://api.github.com/repos/google/ko/releases/38452069",
"assets_url": "https://api.github.com/repos/google/ko/releases/38452069/assets",
"upload_url": "https://uploads.github.com/repos/google/ko/releases/38452069/assets{?name,label}",
"html_url": "https://github.com/google/ko/releases/tag/v0.8.1",
"id": 38452069,
"author": {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"site_admin": false
},
"node_id": "MDc6UmVsZWFzZTM4NDUyMDY5",
"tag_name": "v0.8.1",
"target_commitish": "main",
"name": "v0.8.1",
"draft": false,
"prerelease": false,
"created_at": "2021-02-19T17:22:26Z",
"published_at": "2021-02-22T21:52:52Z",
"assets": [
{
"url": "https://api.github.com/repos/google/ko/releases/assets/32442558",
"id": 32442558,
"node_id": "MDEyOlJlbGVhc2VBc3NldDMyNDQyNTU4",
"name": "checksums.txt",
"label": "",
"uploader": {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"site_admin": false
},
"content_type": "text/plain; charset=utf-8",
"state": "uploaded",
"size": 472,
"download_count": 0,
"created_at": "2021-02-22T21:52:52Z",
"updated_at": "2021-02-22T21:52:53Z",
"browser_download_url": "https://github.com/google/ko/releases/download/v0.8.1/checksums.txt"
},
{
"url": "https://api.github.com/repos/google/ko/releases/assets/32442564",
"id": 32442564,
"node_id": "MDEyOlJlbGVhc2VBc3NldDMyNDQyNTY0",
"name": "ko_0.8.1_Darwin_x86_64.tar.gz",
"label": "",
"uploader": {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"site_admin": false
},
"content_type": "application/gzip",
"state": "uploaded",
"size": 12333522,
"download_count": 0,
"created_at": "2021-02-22T21:52:54Z",
"updated_at": "2021-02-22T21:52:54Z",
"browser_download_url": "https://github.com/google/ko/releases/download/v0.8.1/ko_0.8.1_Darwin_x86_64.tar.gz"
},
{
"url": "https://api.github.com/repos/google/ko/releases/assets/32442557",
"id": 32442557,
"node_id": "MDEyOlJlbGVhc2VBc3NldDMyNDQyNTU3",
"name": "ko_0.8.1_Linux_arm64.tar.gz",
"label": "",
"uploader": {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"site_admin": false
},
"content_type": "application/gzip",
"state": "uploaded",
"size": 10661566,
"download_count": 0,
"created_at": "2021-02-22T21:52:52Z",
"updated_at": "2021-02-22T21:52:53Z",
"browser_download_url": "https://github.com/google/ko/releases/download/v0.8.1/ko_0.8.1_Linux_arm64.tar.gz"
},
{
"url": "https://api.github.com/repos/google/ko/releases/assets/32442565",
"id": 32442565,
"node_id": "MDEyOlJlbGVhc2VBc3NldDMyNDQyNTY1",
"name": "ko_0.8.1_Linux_i386.tar.gz",
"label": "",
"uploader": {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"site_admin": false
},
"content_type": "application/gzip",
"state": "uploaded",
"size": 11547375,
"download_count": 0,
"created_at": "2021-02-22T21:52:54Z",
"updated_at": "2021-02-22T21:52:55Z",
"browser_download_url": "https://github.com/google/ko/releases/download/v0.8.1/ko_0.8.1_Linux_i386.tar.gz"
},
{
"url": "https://api.github.com/repos/google/ko/releases/assets/32442563",
"id": 32442563,
"node_id": "MDEyOlJlbGVhc2VBc3NldDMyNDQyNTYz",
"name": "ko_0.8.1_Linux_s390x.tar.gz",
"label": "",
"uploader": {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"site_admin": false
},
"content_type": "application/gzip",
"state": "uploaded",
"size": 11347340,
"download_count": 0,
"created_at": "2021-02-22T21:52:53Z",
"updated_at": "2021-02-22T21:52:54Z",
"browser_download_url": "https://github.com/google/ko/releases/download/v0.8.1/ko_0.8.1_Linux_s390x.tar.gz"
},
{
"url": "https://api.github.com/repos/google/ko/releases/assets/32442559",
"id": 32442559,
"node_id": "MDEyOlJlbGVhc2VBc3NldDMyNDQyNTU5",
"name": "ko_0.8.1_Linux_x86_64.tar.gz",
"label": "",
"uploader": {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"site_admin": false
},
"content_type": "application/gzip",
"state": "uploaded",
"size": 11757727,
"download_count": 0,
"created_at": "2021-02-22T21:52:53Z",
"updated_at": "2021-02-22T21:52:53Z",
"browser_download_url": "https://github.com/google/ko/releases/download/v0.8.1/ko_0.8.1_Linux_x86_64.tar.gz"
}
],
"tarball_url": "https://api.github.com/repos/google/ko/tarball/v0.8.1",
"zipball_url": "https://api.github.com/repos/google/ko/zipball/v0.8.1",
"body": "## Changelog\n\n4ad3f11 Merge pull request #306 from ImJasonH/rename\nf25feec Merge pull request #308 from knative-automation/auto-updates/common-actions\nb8162cf Merge pull request #310 from knative-automation/auto-updates/common-actions\n12bbd4c Update common github actions\ndab4c5e Update common github actions\n8e1aaa1 Update common github actions (#311)\n746ec90 Update travis link to main branch\na6442e6 support goarch mips64le architecture. (#309)\n\n"
} |
Interestingly, that doesn't include the mips binary, which was intended. 🤷 |
Ah
The length of the shorthand commit hash is not constant. It varies depending on the number of commits in the repo - it lengthens as necessary to avoid hash conflicts. When you download GitHub achives, these values are filled. In fact,
But because the length of the shorthand hash can change over time, then as such so can the hash contained in the archive. This has caused problems for many projects over the years. Ideally |
Let's try: https://github.com/kubernetes/client-go/issues/934 |
I think we can close this, since we understand (I think) the underlying cause of the sha256 mismatch, and kubernetes/kubernetes#99376 should fix this (we think) for future releases. Please reopen if you see this again, and thanks for the report. 👍 |
The length of the shorthand commit hash is not constant. It varies depending on the number of commits in the repo and it lengthens as necessary to avoid hash conflicts. When you download GitHub achives, these values are filled. See also: * containerd/containerd#6382 * ko-build/ko#315 (comment) Signed-off-by: Mathieu Tortuyaux <[email protected]>
The length of the shorthand commit hash is not constant. It varies depending on the number of commits in the repo and it lengthens as necessary to avoid hash conflicts. When you download GitHub achives, these values are filled. See also: * containerd/containerd#6382 * ko-build/ko#315 (comment) Signed-off-by: Mathieu Tortuyaux <[email protected]>
The length of the shorthand commit hash is not constant. It varies depending on the number of commits in the repo and it lengthens as necessary to avoid hash conflicts. When you download GitHub achives, these values are filled. See also: * containerd/containerd#6382 * ko-build/ko#315 (comment) Signed-off-by: Mathieu Tortuyaux <[email protected]>
The length of the shorthand commit hash is not constant. It varies depending on the number of commits in the repo and it lengthens as necessary to avoid hash conflicts. When you download GitHub achives, these values are filled. See also: * containerd/containerd#6382 * ko-build/ko#315 (comment) Signed-off-by: Mathieu Tortuyaux <[email protected]>
The length of the shorthand commit hash is not constant. It varies depending on the number of commits in the repo and it lengthens as necessary to avoid hash conflicts. When you download GitHub achives, these values are filled. See also: * containerd/containerd#6382 * ko-build/ko#315 (comment) Signed-off-by: Mathieu Tortuyaux <[email protected]>
I'm attempting to update Homebrew's version of Go (Homebrew/homebrew-core#71289).
While testing the new version, CI produced the following error:
I can update the sha256 associated with ko, but CI will come back to me with the following error:
ko:
Could someone help understand why the tarball sha might have changed?
The text was updated successfully, but these errors were encountered: