[GTK][JHBuild] Download tarballs instead of cloning git repositories Relevant bugs: Bug 170426 – [GTK][JHBuild] Fetch libvpx from a release tarball instead of git Bug 106552 – [EFL][jhbuild] Use tarballs for gstreamer instead of git
Created attachment 331379 [details] Patch
Comment on attachment 331379 [details] Patch Patch looks good to me, r+ (informally reviewing).
Comment on attachment 331379 [details] Patch The problem with github.com is that GitHub sometimes changes the way its tarballs are generated. And the tarballs get generated on the fly, so then the hash will no longer match, and the JHBuild will fail. So while yes, this is desirable in theory, in practice it will fail randomly some date in the future. :( You couldn't have known this... it's something we've learned the hard way in GNOME.
(In reply to Michael Catanzaro from comment #3) > Comment on attachment 331379 [details] > Patch > > The problem with github.com is that GitHub sometimes changes the way its > tarballs are generated. And the tarballs get generated on the fly, so then > the hash will no longer match, and the JHBuild will fail. So while yes, this > is desirable in theory, in practice it will fail randomly some date in the > future. :( > > You couldn't have known this... it's something we've learned the hard way in > GNOME. Right.. I confirm this.
(In reply to Michael Catanzaro from comment #3) > Comment on attachment 331379 [details] > Patch > > The problem with github.com is that GitHub sometimes changes the way its > tarballs are generated. And the tarballs get generated on the fly, so then > the hash will no longer match, and the JHBuild will fail. So while yes, this > is desirable in theory, in practice it will fail randomly some date in the > future. :( > > You couldn't have known this... it's something we've learned the hard way in > GNOME. Ouch, that bites! It would then be desirable to mark a tag in GitHub as a “release” _and_ upload source tarballs for that release. Those are to be created by the developers and GitHub will _not_ change them, ever. See: https://help.github.com/articles/creating-releases/ After that's done, we could land an updated version of this patch which links to the files attached to the release (instead of linking to the tarballs which GitHub creates on-the-fly from Git tags).
Flatpak SDK is used nowadays. Closed.