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

Remove wrapper zip after unzipping #3605

Closed
brillenheini opened this issue Nov 24, 2017 · 4 comments · Fixed by #19495
Closed

Remove wrapper zip after unzipping #3605

brillenheini opened this issue Nov 24, 2017 · 4 comments · Fixed by #19495
Assignees
Labels
a:feature A new functionality in:wrapper
Milestone

Comments

@brillenheini
Copy link

Expected Behavior

To save space, it would be nice, if the wrapper would remove the downloaded zip file after it has been unzipped.

Current Behavior

Unused zip files are consuming disk space in ~/.gradle/wrapper/dists, e.g.:

gradle-4.1/
gradle-4.1-bin.zip
gradle-4.1-bin.zip.lck
gradle-4.1-bin.zip.ok
@stale
Copy link

stale bot commented Jul 13, 2020

This issue has been automatically marked as stale because it has not had recent activity. Given the limited bandwidth of the team, it will be automatically closed if no further activity occurs. If you're interested in how we try to keep the backlog in a healthy state, please read our blog post on how we refine our backlog. If you feel this is something you could contribute, please have a look at our Contributor Guide. Thank you for your contribution.

@stale stale bot added the stale label Jul 13, 2020
@SUPERCILEX
Copy link
Contributor

Still a great feature request.

@stale stale bot removed the stale label Jul 13, 2020
@vlsi
Copy link
Contributor

vlsi commented Aug 19, 2020

It would be nice if the zips were removed, especially for CI agents where users don't know zip is never really re-used.

@donat donat self-assigned this Jan 24, 2022
bigdaz added a commit to gradle/gradle-build-action that referenced this issue Apr 5, 2022
To save space, future versions of Gradle are likely to delete the downloaded distribution
after extracting it. See gradle/gradle#3605 and gradle/gradle#19495.
To cater for this we will now save/restore the extracted distribution rather than the
downloaded zip file.
bigdaz added a commit to gradle/gradle-build-action that referenced this issue Apr 5, 2022
To save space, future versions of Gradle are likely to delete the downloaded distribution
after extracting it. See gradle/gradle#3605 and gradle/gradle#19495.
To cater for this we will now save/restore the extracted distribution rather than the
downloaded zip file.
@bot-gradle bot-gradle added this to the 7.6 RC1 milestone Apr 27, 2022
@consp1racy
Copy link

I've been caching the zip file in CI:

  • it's quicker to cache than the exploded archive
  • I don't have to download it from Gradle
    Not a fan of this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:feature A new functionality in:wrapper
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants