Commit Graph

48 Commits

Author SHA1 Message Date
Janus Troelsen
4d28255e8e Add failing test for case folding issue 2023-06-25 22:28:27 +02:00
Jens Petersen
2f8e8ba95a update to lts-18
- Cabal 3.2 PackageDescription uses ShortText
- esqueleto module changes
- silence a few warnings
2023-06-25 15:40:17 +08:00
Jens Petersen
ffe944ae74 stack: bump to final lts-16 2021-03-26 12:04:07 +08:00
Jens Petersen
7bd8968c2b hoogle-5.0.18 2020-10-31 21:28:03 +08:00
Jens Petersen
7bc469c5f3 homepage layout changes and more [wip draft]
- enable navbar for homepage
- more navbar entries
- lts-16
- drop /?page
- [q] can hoogle be updated to 5.0.18?
- improve /snapshots "buttons"
- improve snapshot top matter
- [q] better to use haskellstack.org ?
2020-10-31 20:04:08 +08:00
Michael Snoyman
26d4a2312e
Cache latest version 2020-08-27 10:25:06 +03:00
Michael Snoyman
0823066401
Configurable poolsize, longer timeout 2020-07-07 13:58:55 +03:00
Michael Snoyman
dcc4ec7213
Base build 2020-04-05 15:29:33 +03:00
Michael Snoyman
227d8a9bc9
Use GHC-shipped Cabal 2020-02-13 10:41:19 +02:00
Alexey Kuleshevich
bdcdd1887a
Store fallback cabal files into pantry. And few follow up improvements:
* Fix atomic durable writing, since issue in RIO was fixed

* Log information about falling back onto the core-cabal-files repo

* Convert conduit pipe to Maybe fishes.

* Make sure module names, package name and version are added for fallback
  cabal files
2020-02-12 19:44:34 +03:00
Alexey Kuleshevich
8e247dde03
Update to ghc-8.8, pantry-0.2 and Cabal-3.0 2020-02-12 02:10:14 +03:00
Alexey Kuleshevich
f5e147ab97
Integration with Pantry and usage of new stackage-snapshots:
* Moved all extensions into modules that are using them, rather than globally,
  since they mess up ghci session and introduce conflicts among
  packages. Removed those from `.ghci` file as well
* Redesigned the schema to use Pantry and moved it into it's own module
* Switched all of the db and cron related stuff to RIO. Yesod part is
  still on classy-prelude
* Got pantry to update stackage-server database from hackage
* Got import of stackage-snapshots implemented
* Moved some logic from all-cabal-tool
* Switched everything to `PackageNameP`, `VersionP`, etc. from a la Text.
* Fixed haddock, so it now does proper redirects and pipes the docs
  correctly. Also implemented piping of json files from S3 bucket,
  so index-doc.json is also served by stackage-server thus making
  Ctrl+S feature work properly on haddock. Fix for commercialhaskell/stackage#4301
* Import of modules is done through cabal file parsing, which slows
  down the initial import process drastically, but incremental update
  is not a problem.
* Just as with modules, dependencies are also imported from cabal file.
* In general improved type safety by introducing a few data types:
  eg. `ModuleNameP`, `HackageCabalInfo`, and many more.
* Implemented pulling of deprecation map from hackages and storing it in db
* Implementation of forward/backward dependencies within a snapshot only.
* Drastically improved performance of cron import job, by checking which
  snapshots are not up to date
* Implemented pulling haddock list from S3 bucket. Modules that have
  documentation are marked from the availability of actual haddock. This
  process happens concurrently with snapshots loading.
* Rearranged modules a bit:
  * github related functions went into it's own module
  * cron related functions where moved from Database to Cron module
  * Split up some functions to reduce individual complexity
* Parallelized package loading in cron job
* Implemented parsed cabal file caching.
* All queries where reqritten with esqueleto
* Syntactic improvements:
  * Added stylish-haskell config
  * Formatted all imports and extensions with stylish-haskell.
  * Fixed inconsistent indentation across all modules
* Many improvements to the package page as well as few others.
* Reimplemented hoogledb creation.
* Dropped dependency on tar in favor of tar-conduit
* Added cli for stackage-server-cron
* Add cabal sha and size to the package page
* Fixed links in hoogle searches. Improved type safety for a hoogle handler
* satckage-server-cron is customizable with cli arguments

Final adjustments for the new stackage server release:

* Upgrade to lts-13.16.
* Stackage server related code has been merged to pantry. Made the code
  compatible with the newer version pantry
* Added cli '--snapshots-repo'
* Add readme to package page
* Adjust snapshots expected format:
  * Added `publish-time`
  * Removed name `field`
  * `compiler` field is now in the `resolver` field with fallback to
    the root
2019-04-30 17:10:33 +03:00
Dan Burton
809ca83b0a
Bump to lts-13.9 2019-02-25 20:29:58 -05:00
Michael Snoyman
fcca891217
Newer githash/yesod-gitrev 2018-06-25 18:49:10 +03:00
Michael Snoyman
760b356c0c
Use yesod-gitrev and githash 2018-06-25 12:35:42 +03:00
Michael Snoyman
77b0b3b396
Drop dependency on stackage-curator 2018-06-21 18:52:45 +03:00
Michael Snoyman
fe20a6d825
Remove unneeded deps 2018-06-21 17:32:59 +03:00
Michael Snoyman
cf14304ee3
Upgrade snapshots 2018-06-21 17:26:58 +03:00
Michael Snoyman
6f9cb33224
Add happy to extra-deps 2018-03-12 12:11:23 +02:00
Michael Snoyman
f732899303
Upgrade to GHC 8.2/Cabal 2.2
Inlines stackage-metadata as well
2018-03-12 11:26:40 +02:00
Michael Snoyman
f7b836b836
Use a patched version of gitrev 2017-12-08 10:19:33 +02:00
Yghor Kerscher
296c284ccb Update Stackage snapshot 2017-11-17 18:45:06 +01:00
Michael Snoyman
13663c2ce9
Upgrade to lts-8.12 2017-06-20 15:18:32 +03:00
Michael Snoyman
f224e1da1c
Better yesod devel instructions (fixes #224) 2017-04-06 11:35:20 +03:00
Michael Snoyman
8547b84f6e Use bugfix version of persistent-sqlite 2017-02-21 16:53:40 +02:00
Michael Snoyman
3c35b792f1 Bump to Hoogle 5.0.6 #214 2016-11-30 16:04:47 +02:00
Michael Snoyman
3821f9a7bd Bump Hoogle version #214 2016-11-26 17:40:26 +02:00
Michael Snoyman
0c664efe34 LTS bump 2016-09-20 08:01:37 +03:00
Chris Done
0f4a77872b Add tagstream-conduit fixed 2016-09-13 16:34:02 +02:00
Emanuel Borsboom
dce37cd726 etc: update for new Jenkins setup 2016-07-14 23:37:02 -07:00
Michael Snoyman
0ae6ca4b3c Switch to lts-5 runtime image
We just discovered that ubuntu:16.04 removes /etc/protocol, which is
needed by getProtocolByName
2016-06-16 17:08:01 +03:00
Chris Done
1a36376a6c Merge branch 'master' into hoogle5 2016-06-13 14:07:50 +02:00
Tim Dysinger
6f5857fda3
Add a counter & duration timer for every route 2016-06-10 16:28:42 -07:00
Michael Snoyman
6eae9fb419 Include patch to Hoogle to avoid dependency on data files https://github.com/ndmitchell/hoogle/pull/169 2016-06-08 15:44:25 +00:00
Michael Snoyman
c1e16d8e1a Get Hoogle 5 working 2016-06-08 14:21:14 +02:00
Michael Snoyman
e54b3f80a6 Include Hoogle 5 via Git repo (does not compile) 2016-06-08 14:21:13 +02:00
Michael Snoyman
a030ba4afb LTS bump 2016-05-02 14:16:11 +03:00
Emanuel Borsboom
46b185766d Script deploy to multi-AZ Kube from CI 2016-02-18 07:49:57 -08:00
Konstantin Zudov
26af5d29ed Upgrade to lts-5 2016-02-02 05:21:39 +02:00
Michael Snoyman
c21841f3af stack.yaml: build Docker images 2015-10-23 07:19:22 +00:00
Konstantin Zudov
22a1df30e0 Bump the resolver 2015-10-17 16:26:35 +03:00
Konstantin Zudov
b798ac8236 Badges 2015-10-16 17:27:37 +03:00
Konstantin Zudov
fabb3979d4 Implemented snapshot diffing 2015-10-08 21:55:40 +03:00
Michael Snoyman
0eb69c8198 Latest lts-3 2015-10-06 07:26:24 +03:00
Konstantin Zudov
a6217c50bc Bump stack.yaml, relax dependencies 2015-10-05 04:30:42 +03:00
Michael Snoyman
1e54d46414 Resolver 2.17 2015-08-13 11:33:47 +03:00
Michael Snoyman
ebe470fe68 Fix stack.yaml 2015-06-19 08:45:55 +03:00
Chris Done
7f62b5b8f6 Add stack.yaml and ignore .stack-work 2015-06-17 17:20:17 +02:00