G'day
Since we're currently changing the way we manage locks in the Gradle cache,
it would be great if we could separate the 'filestore' part of the cache
(that hasn't changed in structure since 1.0) from the binary metadata part
(which changes quite frequently).

What this means is that we'd have these in separate directories:
~/.gradle/caches/metadata-1
~/.gradle/caches/filestore-1

The 'filestore' would simply contain the content that is currently in
caches/artifacts-n/filestore.

The benefit of this change is that the actual downloaded files would not
need to be copied into a new location every time we change the metadata
file format.

The only complication I see is that we'd need a separate (cross-version)
lock for the filestore since it would be shared by different Gradle
versions. We'd need to bump the filestore version whenever the locking
mechanism changes, rather than every time the metadata store format changes.

I think this would be a nice thing to add for just a little work.
Daz

Reply via email to