<html><body><div>I'm reporting this as a result of this issue <a href="https://github.com/Homebrew/homebrew-core/issues/5353">https://github.com/Homebrew/homebrew-core/issues/5353</a> which was filed with Homebrew regarding cgit.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>The cgit patch links do not have stable checksums because of the cgit version signature at the bottom of each patch.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>For example, "cgit v1.1-3-g9641"<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>So whenever a cgit server upgrades its version of cgit the checksums of the contents of all patch links changes.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>This compromises the usefulness of cgit patch links for anything other than casual, temporary use.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>As a result of this behavior, Homebrew cannot use cgit patches in our patch blocks since each patch block has a url and a checksum, so every time the checksum changes due to the signature change, the patch block is invalidated, and someone must investigate why it changed and whether the content changed in any way other than the signature, and then update the checksum, and open a pull request, and go through CI, and have someone approve and merge the PR. This is a very wasteful use of the time of volunteers on an open source project.<br></div><div><br data-mce-bogus="1"></div><div>To mitigate this situation, we end up having to vendor all cgit patches in our separate formula-patches repository, which would be entirely unnecessary if the checksums were stable. This is also a very wasteful use of time, but better than morphing checksums of content that's not actually changing.<br></div><div><br data-mce-bogus="1"></div><div>It would be great if going forward the version signatures were removed from cgit patches so that there are persistent checksums for the patch files across cgit versions, and so that a change in the checksum actually means there was a real content change worth looking into.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Thanks!<br data-mce-bogus="1"></div></body></html>