Closed Neumann-A closed 1 month ago
Maybe a usage issue. It works with:
https://ralgarim.jfrog.io/artifactory/vcpkg-general/{name}/{version}/{sha}
but
https://ralgarim.jfrog.io/artifactory/vcpkg-general/
does not work. Maybe it should be mentioned in the docs that the URL template is mandatory. (or at least it should error early.)
What configuration did you use?
'plain HTTP' needing extra funny configuration is expected because there is no standard protocol being followed
What configuration did you use?
I used http,https://cache.example.com/,readwrite,Authorization: Bearer <BearerTokenValue>
and I expected it to behave like the file backend which would be equivalent to http,https://cache.example.com/{sha}.zip,readwrite,Authorization: Bearer BearerTokenValue
however I got http,https://cache.example.com/{name}_{triplet}.zip,readwrite,Authorization: Bearer BearerTokenValue
+ a broken lookup. So using http,https://cache.example.com/{name}_{triplet}.zip,readwrite,Authorization: Bearer BearerTokenValue` directly would make the binary caching maybe work?
'plain HTTP' needing extra funny configuration is expected because there is no standard protocol being followed
No template is given I expect it to behave like the normal file backend. However that is not the case, storing works however restoring does not.
[DEBUG] 1007: CreateProcessW(curl --create-dirs -L -w "5ec47b8e-6776-4d70-b9b3-ac2a57bc0a1c%{http_code}\n" -H "Authorization: Bearer <token>" https://ralgarim.jfrog.io/artifactory/vcpkg-general/ -o "E:\vcpkg_folders\various\buildtrees\zlib\x64-windows-release.zip")
https://ralgarim.jfrog.io/artifactory/vcpkg-general/
should behttps://ralgarim.jfrog.io/artifactory/vcpkg-general/<binary_package>
CreateProcessW(curl -X PUT -H "Authorization: Bearer <token>" -w "\n9a1db05f-a65d-419b-aa72-037fb4d0672e%{http_code}" https://ralgarim.jfrog.io/artifactory/vcpkg-general/ -T "E:\vcpkg_folders\various\packages\zlib_x64-windows-release.zip")
zlib_x64-windows-release.zip
should maybe be "E:\vcpkg_folders\various\packages\zlib\cc @ras0219-msft @BillyONeal @JavierMatosD