Commit 4d6ae5aa authored by Alexandre Delanoë's avatar Alexandre Delanoë

[LIB] arxiv integration to manage its evolutions

parent f3e517cc
...@@ -26,6 +26,7 @@ source-repository head ...@@ -26,6 +26,7 @@ source-repository head
library library
exposed-modules: exposed-modules:
Arxiv Arxiv
Network.Api.Arxiv
other-modules: other-modules:
Paths_crawlerArxiv Paths_crawlerArxiv
hs-source-dirs: hs-source-dirs:
...@@ -33,15 +34,16 @@ library ...@@ -33,15 +34,16 @@ library
default-extensions: default-extensions:
RecordWildCards RecordWildCards
build-depends: build-depends:
arxiv base >=4.7 && <5
, base >=4.7 && <5
, bytestring , bytestring
, conduit , conduit
, http-conduit , http-conduit
, http-types , http-types
, mtl , mtl
, network , network
, parsec
, resourcet , resourcet
, split
, tagsoup , tagsoup
, text , text
default-language: Haskell2010 default-language: Haskell2010
...@@ -56,8 +58,7 @@ executable arxiv-exe ...@@ -56,8 +58,7 @@ executable arxiv-exe
RecordWildCards RecordWildCards
ghc-options: -threaded -rtsopts -with-rtsopts=-N ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends: build-depends:
arxiv base >=4.7 && <5
, base >=4.7 && <5
, bytestring , bytestring
, conduit , conduit
, crawlerArxiv , crawlerArxiv
...@@ -65,7 +66,9 @@ executable arxiv-exe ...@@ -65,7 +66,9 @@ executable arxiv-exe
, http-types , http-types
, mtl , mtl
, network , network
, parsec
, resourcet , resourcet
, split
, tagsoup , tagsoup
, text , text
default-language: Haskell2010 default-language: Haskell2010
...@@ -89,7 +92,9 @@ test-suite arxiv-test ...@@ -89,7 +92,9 @@ test-suite arxiv-test
, http-types , http-types
, mtl , mtl
, network , network
, parsec
, resourcet , resourcet
, split
, tagsoup , tagsoup
, text , text
default-language: Haskell2010 default-language: Haskell2010
...@@ -26,7 +26,6 @@ default-extensions: ...@@ -26,7 +26,6 @@ default-extensions:
- RecordWildCards - RecordWildCards
dependencies: dependencies:
- arxiv
- base >= 4.7 && < 5 - base >= 4.7 && < 5
- bytestring - bytestring
- conduit - conduit
...@@ -37,11 +36,11 @@ dependencies: ...@@ -37,11 +36,11 @@ dependencies:
- resourcet - resourcet
- tagsoup - tagsoup
- text - text
- parsec
- split
library: library:
source-dirs: src source-dirs: src
dependencies:
- arxiv
executables: executables:
arxiv-exe: arxiv-exe:
...@@ -52,7 +51,6 @@ executables: ...@@ -52,7 +51,6 @@ executables:
- -rtsopts - -rtsopts
- -with-rtsopts=-N - -with-rtsopts=-N
dependencies: dependencies:
- arxiv
- crawlerArxiv - crawlerArxiv
tests: tests:
......
...@@ -27,7 +27,7 @@ type Limit = Int ...@@ -27,7 +27,7 @@ type Limit = Int
type Soup = Tag String type Soup = Tag String
batchSize :: Int batchSize :: Int
batchSize = 500 batchSize = 3000
------------------------------------------------------------ ------------------------------------------------------------
......
This diff is collapsed.
...@@ -41,7 +41,6 @@ packages: ...@@ -41,7 +41,6 @@ packages:
# commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a # commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a
# #
extra-deps: extra-deps:
- arxiv-0.0.3@sha256:02de1114091d11f1f3ab401d104d125ad4301260806feb7f63b3dcefc7db88cf,1588
# Override default flag values for local packages and extra-deps # Override default flag values for local packages and extra-deps
# flags: {} # flags: {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment