Skip to content

Commit

Permalink
Merge pull request #103 from commercialhaskell/casa-stackage
Browse files Browse the repository at this point in the history
Update casa urls
  • Loading branch information
mpilgrem authored Aug 17, 2023
2 parents ec11e75 + e3c87ec commit 2bcf70c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## v0.9.2

* `defaultCasaRepoPrefix` references https://casa.stackage.org, instead of
https://casa.fpcomplete.com.
* Depend on `crypton` instead of `cryptonite`.
* Depend on `tar-conduit-0.4.0`, which will tolerate long filenames and
directory names in archives created by `git archive`.
Expand Down
2 changes: 1 addition & 1 deletion int/Pantry/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ data PantryConfig = PantryConfig
, pcConnectionCount :: !Int
-- ^ concurrently open downloads
, pcCasaConfig :: !(Maybe (CasaRepoPrefix, Int))
-- ^ Optionally, the Casa pull URL e.g. @https://casa.fpcomplete.com@ and
-- ^ Optionally, the Casa pull URL e.g. @https://casa.stackage.org@ and
-- the maximum number of Casa keys to pull per request.
, pcSnapshotLocation :: SnapName -> RawSnapshotLocation
-- ^ The location of snapshot synonyms
Expand Down
4 changes: 2 additions & 2 deletions src/Pantry.hs
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ withPantryConfig ::
-> Int
-- ^ Maximum connection count
-> CasaRepoPrefix
-- ^ The casa pull URL e.g. https://casa.fpcomplete.com/v1/pull.
-- ^ The casa pull URL e.g. https://casa.stackage.org/v1/pull.
-> Int
-- ^ Max casa keys to pull per request.
-> (SnapName -> RawSnapshotLocation)
Expand Down Expand Up @@ -344,7 +344,7 @@ withPantryConfig' root pic he count mCasaConfig snapLoc inner = do
--
-- @since 0.1.1.1
defaultCasaRepoPrefix :: CasaRepoPrefix
defaultCasaRepoPrefix = $(thParserCasaRepo "https://casa.fpcomplete.com")
defaultCasaRepoPrefix = $(thParserCasaRepo "https://casa.stackage.org")

-- | Default max keys to pull per request.
--
Expand Down

0 comments on commit 2bcf70c

Please sign in to comment.