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
The checksum of the source archive keeps changing #4820
Comments
Today the checksum is different again. As compared to yesterday, same URL. diff -ur cri-o-1.20.2.orig/vendor/k8s.io/client-go/pkg/version/base.go cri-o-1.20.2/vendor/k8s.io/client-go/pkg/version/base.go
--- cri-o-1.20.2.orig/vendor/k8s.io/client-go/pkg/version/base.go 2021-03-24 03:33:41.000000000 +0100
+++ cri-o-1.20.2/vendor/k8s.io/client-go/pkg/version/base.go 2021-03-24 03:33:41.000000000 +0100
@@ -55,7 +55,7 @@
// NOTE: The $Format strings are replaced during 'git archive' thanks to the
// companion .gitattributes file containing 'export-subst' in this same
// directory. See also https://git-scm.com/docs/gitattributes
- gitVersion string = "v0.0.0-master+d5a999ad0a"
+ gitVersion string = "v0.0.0-master+d5a999ad0a3"
gitCommit string = "d5a999ad0a35d895ded554e1e18c142075501a98" // sha1 from git, output of $(git rev-parse HEAD)
gitTreeState string = "" // state of git tree, either "clean" or "dirty"
diff -ur cri-o-1.20.2.orig/vendor/k8s.io/component-base/version/base.go cri-o-1.20.2/vendor/k8s.io/component-base/version/base.go
--- cri-o-1.20.2.orig/vendor/k8s.io/component-base/version/base.go 2021-03-24 03:33:41.000000000 +0100
+++ cri-o-1.20.2/vendor/k8s.io/component-base/version/base.go 2021-03-24 03:33:41.000000000 +0100
@@ -55,7 +55,7 @@
// NOTE: The $Format strings are replaced during 'git archive' thanks to the
// companion .gitattributes file containing 'export-subst' in this same
// directory. See also https://git-scm.com/docs/gitattributes
- gitVersion = "v0.0.0-master+d5a999ad0a"
+ gitVersion = "v0.0.0-master+d5a999ad0a3"
gitCommit = "d5a999ad0a35d895ded554e1e18c142075501a98" // sha1 from git, output of $(git rev-parse HEAD)
gitTreeState = "" // state of git tree, either "clean" or "dirty" So now it doesn't work anymore in for instance Fedora, which also checksums:
https://src.fedoraproject.org/rpms/cri-o/blob/1.20/f/sources |
Fix is incoming in #4824 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The source code .tar.gz is using git attributes, which means that the contents changes when the short commit does.
This makes it fail packaging checks, because the checksum of the tarball doesn't match (for the same git commit)
The short format is the root cause, but the whole information is quite useless.
Since it doesn't state the kubernetes version (like intended), but the cri-o git...
Would it be possible to remove these files ? (with
export-subst
)Downstream bugs:
change crio-bin checksum since it changed upstream kubernetes/minikube#10975 v1.20.0
(https://github.com/cri-o/cri-o/archive/v1.20.0.tar.gz)
change crio-bin checksum since it changed upstream kubernetes/minikube#11221 v1.20.2
(https://github.com/cri-o/cri-o/archive/v1.20.2.tar.gz)
Similar problem:
The text was updated successfully, but these errors were encountered: