Commit Graph

18 Commits

Author SHA1 Message Date
Bryan Richter
1a4328b7d9
Default rtsopts tweaks
-T as a default is odd -- let's do that at runtime.
-O2 is usually not what you want.
2025-11-20 19:16:01 +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
Michael Snoyman
bfb01a7a92
yesod devel leverages SQLite for simplicity 2020-10-19 13:58:48 +03:00
Sibi Prabakaran
e16fb64620 Benchmark stackage queries 2020-07-09 16:10:05 +05:30
Michael Snoyman
b80a7f9a52
No HashMaps needed 2020-04-19 20:10:54 +03:00
Michael Snoyman
bd40aeddd9
Retry downloading the deprecated.json file 2020-03-13 12:21:58 +02: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
Sibi Prabakaran
62944018d8
Add dev flags to both the executables 2018-08-25 22:12:31 +05:30
Michael Snoyman
760b356c0c
Use yesod-gitrev and githash 2018-06-25 12:35:42 +03:00
Michael Snoyman
96e9a53a17
Remove system-file(path/io) 2018-06-21 19:30:48 +03:00
Michael Snoyman
014114855b
Switch to cmark-gfm 2018-06-21 19:19:41 +03:00
Michael Snoyman
77b0b3b396
Drop dependency on stackage-curator 2018-06-21 18:52:45 +03:00
Michael Snoyman
856ac728b4
Fix warnings 2018-06-21 17:51:47 +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
f732899303
Upgrade to GHC 8.2/Cabal 2.2
Inlines stackage-metadata as well
2018-03-12 11:26:40 +02:00
Michael Snoyman
77e345b6f2
Convert to hpack 2017-12-11 19:05:53 +02:00