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

Save versions cache file in plugin's state location by default #1212

Closed

Conversation

altrisi
Copy link

@altrisi altrisi commented Nov 26, 2022

Fixes #1178.

This PR changes the folder where the versions cache is stored to be inside buildship's state location. It keeps the xdgcache thing though and will use it if it's set.

Context

In my case, the .cache folder where it was being saved previously was only used for this one file, and I doubt I'm the only one. Not only that, I think it makes sense for buildship's files to be in buildship's folder, according to this Eclipse wiki page it's the folder that should be used for "cached information".

Only testing I ran was from the set up Github Actions. Weirdly the default build failed because Gradle was unable to find dependencies for the buildSrc project. I changed the repos (in another branch) just for the purposes of running the build, and it then passed.

@altrisi
Copy link
Author

altrisi commented Nov 26, 2022

Do I really need to give my address for this tiny change?

Here's the action run btw: https://github.com/altrisi/buildship/actions/runs/3553609398/jobs/5969212032

@altrisi
Copy link
Author

altrisi commented Feb 1, 2023

Any input on this? It's been over 2 months without response.

@donat
Copy link
Contributor

donat commented Jun 8, 2023

Hi! Sorry for the late response. I'm fine with the changes. The only thing blocking this PR is that you need to sign the Eclipse Contributor Agreement: eclipse.org/projects/handbook/#resources-github

@donat donat force-pushed the master branch 5 times, most recently from 7e55112 to 7040f04 Compare September 13, 2023 08:59
@donat
Copy link
Contributor

donat commented Jul 30, 2024

I got no response so I assume the PR is abandoned. I still think there's value here, so I implemented my variant.

Superseded by #1312

@donat donat closed this Jul 30, 2024
@altrisi
Copy link
Author

altrisi commented Aug 23, 2024

Completely missed that comment sorry, but thanks for considering and implementing the change!

@altrisi altrisi deleted the cache-in-eclipse-folder branch August 23, 2024 11:50
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.

Move .cache\tooling\gradle\versions.json to a folder in Gradle's or Eclipse's
2 participants