aboutsummaryrefslogtreecommitdiff
path: root/src/libfetchers/meson.build
diff options
context:
space:
mode:
authorLunaphied <lunaphied@lunaphied.me>2024-04-03 20:45:47 -0600
committerjade <lix@jade.fyi>2024-05-31 12:18:24 +0000
commitd4b7e6baca5b036cb624eec3a7cbb863349ceda3 (patch)
treee77ca1c1c91e33f5616472c4860a66e6e14e5f44 /src/libfetchers/meson.build
parent0c6cb34de6033d0ceab5de8cbfc37465afeefaa4 (diff)
build-remote: truncate+hash store URI used in lockfile paths
Fixes: https://git.lix.systems/lix-project/lix/issues/157 Fixes: https://git.lix.systems/lix-project/lix/issues/221 Previously the entire escaped store URI was included. This would cause build failures if a very long or deeply nested path was being used in the store. Now, we use the first 48 characters of the URL (escaped), then 16 bytes of hash of the entire URL. This should never collide and limits the length of the file name to a bit over 64, which is fine. Change-Id: Ic1ba690a94e83749567c2c29460b8d1bcf2ac413
Diffstat (limited to 'src/libfetchers/meson.build')
0 files changed, 0 insertions, 0 deletions