buildkite / terminal-to-html

Converts arbitrary shell output (with ANSI) into beautifully rendered HTML
http://buildkite.github.io/terminal-to-html
MIT License
649 stars 45 forks source link

Renaming of project has caused code archive SHAs to change #54

Closed EdSchouten closed 3 years ago

EdSchouten commented 5 years ago

Up until recently, the tarball https://github.com/buildkite/terminal/archive/v3.1.0.tar.gz had SHA-256 sum ba8e7566a7fe5c62089fa56191c80bf15b121ae369d0c17f6f80669d3bbbb23f. All files contained were prefixed with terminal-3.1.0/.

As of recently, the link above redirects to https://github.com/buildkite/terminal-to-html/archive/v3.1.0.tar.gz. The checksum is now 5d0203bb4dd007ad607df7d0eecbe50ff4bdaa0e56e1ad2ea1eb331ff2ae5be6 and the prefix of files contained within has also changed: terminal-to-html-3.1.0/.

I'm not saying the repository should be renamed back; just wanted to give you guys a heads-up about this.

toolmantim commented 5 years ago

For a moment I thought you were reporting that the archive's we published in v3.1.0 had been changed because of the rename. But then I noticed the URL you've reported is GitHub’s URL for downloading a tgz of the repo contents for a given tag, not the actual v3.1.0 release.

Is there some standard tooling that's broken, that uses that URL?

EdSchouten commented 5 years ago

For a moment I thought you were reporting that the archive's we published in v3.1.0 had been changed because of the rename. But then I noticed the URL you've reported is GitHub’s URL for downloading a tgz of the repo contents for a given tag, not the actual v3.1.0 release.

The links that I pasted above do correspond with the 'Source code (tar.gz)' links on the release page, right?

Is there some standard tooling that's broken, that uses that URL?

Nothing standard per se; I bumped into this because Bazel Buildbarn uses the URL to the tarball in its workspace. I've updated the workspace file in the meantime.

toolmantim commented 5 years ago

Ah interesting! It does correspond to the source code, but I think that top level directory is automatically added by GitHub and is probably the cause of the SHA change 😢 I'm not sure it's possible to rename a project in GitHub and not break the SHAs for those "Source Code" links in the releases.

ticky commented 3 years ago

I don't think there's a way we can fix this, at least with the capabilities GitHub provides, so I'm going to close this. Sorry!