Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
Hoogle
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
haskell
Hoogle
Commits
77291e89
Commit
77291e89
authored
8 months ago
by
Neil Mitchell
Browse files
Options
Downloads
Patches
Plain Diff
#423, require crypton-connection >= 0.4.1 and fix compile errors
Summary: Test Plan:
parent
ee364a4b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGES.txt
+1
-0
1 addition, 0 deletions
CHANGES.txt
hoogle.cabal
+2
-1
2 additions, 1 deletion
hoogle.cabal
src/Input/Download.hs
+3
-1
3 additions, 1 deletion
src/Input/Download.hs
with
6 additions
and
2 deletions
CHANGES.txt
+
1
−
0
View file @
77291e89
Changelog for Hoogle (* = API change, @ = database format change)
Require and support crypton-connection >= 0.4.1
5.0.18.4, released 2024-01-14
Don't test on GHC 9.2 or earlier
Fix up the output of /stats to account for API changes
...
...
This diff is collapsed.
Click to expand it.
hoogle.cabal
+
2
−
1
View file @
77291e89
...
...
@@ -53,7 +53,8 @@ library
conduit >= 1.3.0,
conduit-extra >= 1.2.3.2,
containers >= 0.5,
crypton-connection,
crypton-connection >= 0.4.1,
data-default-class,
deepseq,
directory,
extra >= 1.6.6,
...
...
This diff is collapsed.
Click to expand it.
src/Input/Download.hs
+
3
−
1
View file @
77291e89
...
...
@@ -6,6 +6,7 @@ import System.FilePath
import
Control.Monad.Extra
import
System.Directory
import
Data.Conduit.Binary
(
sinkFile
)
import
Data.Default.Class
import
qualified
Network.HTTP.Conduit
as
C
import
Network.Connection
import
qualified
Data.Conduit
as
C
...
...
@@ -45,7 +46,8 @@ downloadFile insecure file url = do
(
TLSSettingsSimple
{
settingDisableCertificateValidation
=
insecure
,
settingDisableSession
=
False
,
settingUseServerName
=
False
settingUseServerName
=
False
,
settingClientSupported
=
def
})
Nothing
runResourceT
$
do
response
<-
C
.
http
request
manager
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment