stackage-server/templates
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
..
all-snapshots.hamlet Snapshot list 2015-05-14 17:02:05 +03:00
all-snapshots.lucius Restyle snapshots page 2014-11-13 15:53:18 +01:00
blog-post.hamlet Style changes for the blog 2018-01-29 13:36:21 +02:00
blog-post.lucius Style changes for the blog 2018-01-29 13:36:21 +02:00
default-layout-wrapper.hamlet Stackage blog 2018-01-28 14:28:41 +02:00
default-layout.hamlet Navbar link to blog 2018-07-02 07:26:29 +03:00
default-layout.lucius Fix footer alignment on mobile #74 2015-03-18 09:58:09 -07:00
doc-list.hamlet Integration with Pantry and usage of new stackage-snapshots: 2019-04-30 17:10:33 +03:00
download-stack-list.hamlet Add missing files 2015-10-15 04:29:50 +00:00
home.hamlet Integration with Pantry and usage of new stackage-snapshots: 2019-04-30 17:10:33 +03:00
home.lucius Update homepage to show Snapshots 2016-10-27 13:35:21 +01:00
hoogle-form.hamlet Add Hoogle search to package page 2016-11-21 07:30:46 +02:00
hoogle-form.lucius Tweak hoogle style and behavior #47 2014-12-27 20:12:06 -08:00
hoogle.hamlet Integration with Pantry and usage of new stackage-snapshots: 2019-04-30 17:10:33 +03:00
hoogle.julius Put the cursor at the end of the hoogle search box #47 2014-12-27 23:36:56 -08:00
hoogle.lucius Tweak hoogle style and behavior #47 2014-12-27 20:12:06 -08:00
package-list.hamlet Integration with Pantry and usage of new stackage-snapshots: 2019-04-30 17:10:33 +03:00
package-list.lucius Slight tweak to styling for #247 2017-12-20 06:44:44 +02:00
package-snapshots.hamlet Integration with Pantry and usage of new stackage-snapshots: 2019-04-30 17:10:33 +03:00
package.hamlet Integration with Pantry and usage of new stackage-snapshots: 2019-04-30 17:10:33 +03:00
package.julius Fix expanding/collapsing README/ChangeLog 2015-10-06 06:58:00 +03:00
package.lucius templates/package: move latest version to a Hackage line below Stackage versions 2016-02-19 20:00:56 +09:00
snapshots-nav.hamlet Snapshot list pagination now correctly uses row count to determine whether the last page has been reached. 2015-03-17 11:20:09 -07:00
spam-package.hamlet Integration with Pantry and usage of new stackage-snapshots: 2019-04-30 17:10:33 +03:00
stackage-diff.hamlet Introduces highlighting package version differences 2017-12-20 01:22:53 +03:00
stackage-diff.lucius Slight tweak to styling for #247 2017-12-20 06:44:44 +02:00
stackage-home.hamlet Integration with Pantry and usage of new stackage-snapshots: 2019-04-30 17:10:33 +03:00
stackage-home.lucius Give stack instructions (fixes #113) 2015-08-13 12:09:08 +03:00