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

Add Refresh Cache (with re-download) context menue to RepoBrowser / BundleRevsion #6435

Merged

Conversation

chrisrueger
Copy link
Contributor

@chrisrueger chrisrueger commented Jan 21, 2025

Closes #6427

In this PR

  • Adds a right-click context menu to a RepoBrowser / RepoBundleVersion "Refresh Cache"
  • which does the same as existing "Clear-Cache" but immediately redownloads the archive from Maven Central.
  • Clear cache actually means removing the version folder from the local maven repository (~/.m2/repository)

image

Hope this solves the problem @pconley-onc is seeing.

If it works, then maybe this could replace the existing "Clear Cache" which currently is buggy when you double click on the Repo Bundle Revision after "Clear Cache" (see #6427 (comment)). The new entry I added "Refresh Cache (and re-download)" does not have this problem.

Adds a right-click context menu to a RepoBrowser / RepoBundleVersion "Refresh Cache" which does the same as existing "Clear-Cache" but immediately redownloads the archive from Maven Central. Clear cache actually means removing the version folder from the local maven repository (~/.m2/repository)

Signed-off-by: Christoph Rueger <[email protected]>
Signed-off-by: Christoph Rueger <[email protected]>
Signed-off-by: Christoph Rueger <[email protected]>
@chrisrueger chrisrueger changed the title Improve mvn refetch after cacheclear A Refresh Cache (with re-download) context menue to RepoBrowser / BundleRevsion Jan 21, 2025
@chrisrueger chrisrueger changed the title A Refresh Cache (with re-download) context menue to RepoBrowser / BundleRevsion Add Refresh Cache (with re-download) context menue to RepoBrowser / BundleRevsion Jan 21, 2025
@chrisrueger chrisrueger merged commit ce3563b into bndtools:master Jan 22, 2025
9 checks passed
@chrisrueger
Copy link
Contributor Author

Based on comment about successful testing in #6427 (comment) I merged.

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.

MavenBndRepository does not download remote updates to snapshot jars
1 participant