Remove inner metadata index.json (metadata/<groupId>/<artifactId>/<version>/index.json) from the repository (Part #1) #857
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
In this PR we remove the unnecessary inner, version-based, metadata
index.jsonfile. This file was only used to verify the contents of the specific version directory (to verify that all files listed in theindex.jsonare present in the directory, and no additional files are present). This file seems redundant, as theMetadataFilesCheckerTaskalready checks if all the files listed in the inner directory are specific metadata files (so checking if the files match the files listed inindex.jsonseems unnecessary).The removal of this file is important for the 1.0.0 release of GraalVM Reachability metadata, as we aim to simplify the addition of new metadata to the repository, as well as remove the extra overhead we got from the additional JSON files.
As this PR aims to modify all existing metadata directories, it has to be split into two PRs to avoid reaching the GitHub Actions job limit.
Fixes: #846