You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bazel implements a remote caching through
a HTTP protocol that is simple enough to be used with many different
backends.
The protocol is basically a
content-addressed blob store, accessed with GET/PUT requests.
cabal-install could use the same protocol to support a remotely-cached cabal
store. This could be very useful in CI setups.
I am perfectly aware that there are impurities in the hash key used in the
store, especially with respect to external dependencies. I don't think this
invalidates the utility of this feature.
After a first look, the most invasive change would be to generalise StoreDirLayout
to be able to perform network IO, perhaps separating it from CabalDirLayout.
The store logic itself seems to require minor changes, the most notable one
being replacing getStoreEntries
because we will not be able to traverse the remote cache.
The text was updated successfully, but these errors were encountered:
Describe the feature request
Bazel implements a remote caching through
a HTTP protocol that is simple enough to be used with many different
backends.
The protocol is basically a
content-addressed blob store, accessed with GET/PUT requests.
cabal-install could use the same protocol to support a remotely-cached cabal
store. This could be very useful in CI setups.
I am perfectly aware that there are impurities in the hash key used in the
store, especially with respect to external dependencies. I don't think this
invalidates the utility of this feature.
After a first look, the most invasive change would be to generalise
StoreDirLayout
to be able to perform network IO, perhaps separating it from
CabalDirLayout
.The store logic itself seems to require minor changes, the most notable one
being replacing
getStoreEntries
because we will not be able to traverse the remote cache.
The text was updated successfully, but these errors were encountered: