Giter VIP home page Giter VIP logo

Comments (5)

rockwotj avatar rockwotj commented on September 24, 2024

Wait my computer is showing the old one... Huh

from rules_android.

ahumesky avatar ahumesky commented on September 24, 2024

Github made a change that caused the zips to change, they've since rolled it back:
https://twitter.com/tgummerer/status/1488493440103030787

from rules_android.

notnarb avatar notnarb commented on September 24, 2024

I am seeing this exact same issue and I'm able to reproduce locally

[~/Downloads]
bhorsley$ export URL="https://github.com/bazelbuild/rules_android/archive/v0.1.1.zip"
[~/Downloads]
bhorsley$ curl -sL $URL | sha256sum
cd06d15dd8bb59926e4d65f9003bfc20f9da4b2519985c27e190cddc8b7a7806  -
[~/Downloads]
bhorsley@beehorse$ wget -O- $URL 2> /dev/null | sha256sum
7cb2b2e11aafe08b2ccb6eeb11f21f52c45e1ad1cdd0132ddf7bde8462bd9e20  -

both files are valid zip files and diffing the output with xxd I can see that the files are extremely similar but not identical.


I do not see the same issue when using an alternative URL: https://github.com/bazelbuild/rules_android/archive/refs/tags/v0.1.1.zip

from rules_android.

notnarb avatar notnarb commented on September 24, 2024

Github made a change that caused the zips to change, they've since rolled it back:

Good find, thank you @ahumesky

Per that thread:

In general we don't guarantee that the checksums of zip downloads will stay the same, they do for downloads of releases though.

Given this should the README for this repo update the URL in its example to the release url rather than the download URL ?

Download URL: https://github.com/bazelbuild/rules_android/archive/v0.1.1.zip
⬇️
Release URL: https://github.com/bazelbuild/rules_android/archive/refs/tags/v0.1.1.zip

from rules_android.

notnarb avatar notnarb commented on September 24, 2024

Actually there is already an open issue around this: #43 I'll resurface this suggestion there

from rules_android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.