Skip to content
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

upgrade BlurView android dependency to 2.0.4 #626

Merged
merged 2 commits into from
Aug 29, 2024

Conversation

siddarthkay
Copy link
Contributor

@siddarthkay siddarthkay commented Aug 29, 2024

Problem

As you can see below : com.github.Dimezis:BlurView:version-2.0.3 returns different hash randomly so something must be wrong with jitpack and this bothers our setup which uses nix and expects the same sha everytime.

> curl -s https://jitpack.io/com/github/Dimezis/BlurView/version-2.0.3/BlurView-version-2.0.3.pom | md5sum
5fcc0c1ded1f9a2fbdc5bc1cdd497c81  -

> curl -s https://jitpack.io/com/github/Dimezis/BlurView/version-2.0.3/BlurView-version-2.0.3.pom | md5sum
2d9a46f9aa2bd8bddcd591eb5af920c0  -

> curl -s https://jitpack.io/com/github/Dimezis/BlurView/version-2.0.3/BlurView-version-2.0.3.pom | md5sum
5fcc0c1ded1f9a2fbdc5bc1cdd497c81  -

Solution

A simple solution is to just upgrade and use com.github.Dimezis:BlurView:version-2.0.4

> curl -s https://jitpack.io/com/github/Dimezis/BlurView/version-2.0.4/BlurView-version-2.0.4.pom | md5sum
bc6f937d2ba82396257f6fc5f5247c0d  -

> curl -s https://jitpack.io/com/github/Dimezis/BlurView/version-2.0.4/BlurView-version-2.0.4.pom | md5sum
bc6f937d2ba82396257f6fc5f5247c0d  -

> curl -s https://jitpack.io/com/github/Dimezis/BlurView/version-2.0.4/BlurView-version-2.0.4.pom | md5sum
bc6f937d2ba82396257f6fc5f5247c0d  -

> curl -s https://jitpack.io/com/github/Dimezis/BlurView/version-2.0.4/BlurView-version-2.0.4.pom | md5sum
bc6f937d2ba82396257f6fc5f5247c0d  -

> curl -s https://jitpack.io/com/github/Dimezis/BlurView/version-2.0.4/BlurView-version-2.0.4.pom | md5sum
bc6f937d2ba82396257f6fc5f5247c0d  -

> curl -s https://jitpack.io/com/github/Dimezis/BlurView/version-2.0.4/BlurView-version-2.0.4.pom | md5sum
bc6f937d2ba82396257f6fc5f5247c0d  -

> curl -s https://jitpack.io/com/github/Dimezis/BlurView/version-2.0.4/BlurView-version-2.0.4.pom | md5sum
bc6f937d2ba82396257f6fc5f5247c0d  -

This PR updates that dependency and also adds a nice namespace which is needed for AGP 8.

Thanks for the great work with this library.
@Titozzz

Please do not hesitate to reach out if you have any questions.

This is needed because the older version of `com.github.Dimezis:BlurView:version-2.0.3` is returning malformed shas which annoys our nix setup that expects reproducible builds every time.

I noticed that `com.github.Dimezis:BlurView:version-2.0.4` always returns a consistent sha.

Example :

> curl -s https://jitpack.io/com/github/Dimezis/BlurView/version-2.0.4/BlurView-version-2.0.4.pom | md5sum
bc6f937d2ba82396257f6fc5f5247c0d  -

> curl -s https://jitpack.io/com/github/Dimezis/BlurView/version-2.0.4/BlurView-version-2.0.4.pom | md5sum
bc6f937d2ba82396257f6fc5f5247c0d  -

> curl -s https://jitpack.io/com/github/Dimezis/BlurView/version-2.0.4/BlurView-version-2.0.4.pom | md5sum
bc6f937d2ba82396257f6fc5f5247c0d  -

> curl -s https://jitpack.io/com/github/Dimezis/BlurView/version-2.0.4/BlurView-version-2.0.4.pom | md5sum
bc6f937d2ba82396257f6fc5f5247c0d  -

> curl -s https://jitpack.io/com/github/Dimezis/BlurView/version-2.0.4/BlurView-version-2.0.4.pom | md5sum
bc6f937d2ba82396257f6fc5f5247c0d  -

> curl -s https://jitpack.io/com/github/Dimezis/BlurView/version-2.0.4/BlurView-version-2.0.4.pom | md5sum
bc6f937d2ba82396257f6fc5f5247c0d  -

> curl -s https://jitpack.io/com/github/Dimezis/BlurView/version-2.0.4/BlurView-version-2.0.4.pom | md5sum
bc6f937d2ba82396257f6fc5f5247c0d  -
@jakubgs
Copy link

jakubgs commented Aug 29, 2024

And a release too, amazing.

61316170-1C8B-4CC2-9587-D5A7210237C7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants