git-lfs 1.2.4 → 1.2.5
raw patch · 3 files changed
+11/−5 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Network.GitLFS: mkEndpoint :: URI -> Maybe Endpoint
Files
- CHANGELOG +6/−0
- Network/GitLFS.hs +4/−4
- git-lfs.cabal +1/−1
CHANGELOG view
@@ -1,3 +1,9 @@+haskell-git-lfs (1.2.5) unstable; urgency=medium++ * Export mkEndpoint.++ -- Joey Hess <id@joeyh.name> Tue, 18 Feb 2025 13:31:48 -0400+ haskell-git-lfs (1.2.4) unstable; urgency=medium * In guessEndpoint, when converting a http URL with a nonstandard
Network/GitLFS.hs view
@@ -51,6 +51,7 @@ -- * Endpoint discovery Endpoint, guessEndpoint,+ mkEndpoint, modifyEndpointRequest, sshDiscoverEndpointCommand, parseSshDiscoverEndpointResponse,@@ -306,12 +307,11 @@ RequestUpload -> "upload" ] --- Internal smart constructor for an Endpoint.--- --- Since this uses the LFS batch API, it adds /objects/batch--- to the endpoint url. It also adds the necessary headers to use JSON.+-- | Smart constructor for an Endpoint, given the API URL. mkEndpoint :: URI.URI -> Maybe Endpoint mkEndpoint uri = do+ -- Since this uses the LFS batch API, it adds /objects/batch+ -- to the endpoint url. It also adds the necessary headers to use JSON. r <- requestFromURI uri let r' = addLfsJsonHeaders $ r { path = path r <> "/objects/batch" } return (Endpoint r')
git-lfs.cabal view
@@ -1,5 +1,5 @@ Name: git-lfs-Version: 1.2.4+Version: 1.2.5 Cabal-Version: >= 1.10 License: AGPL-3 Maintainer: Joey Hess <id@joeyh.name>