Commit Graph

55 Commits

Author SHA1 Message Date
Jens Petersen
d16fca78f3 stackage-home: simplify the snapshot resolver text 2020-11-03 11:16:31 +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
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
Michael Snoyman
c8c8b971ce Remove the doc bundle (no longer being generated) 2018-06-05 11:57:23 -06:00
Michael Snoyman
4320af064c
Some spacing 2017-10-16 07:49:04 +03:00
Matthew Leon
4a09d4bc4a Provide a link to offline snapshot doc archive 2017-08-22 19:17:37 +01:00
Michael Snoyman
7cf7ed1e99 Remove link to Hoogle database fpco/stackage#1221 2016-06-07 18:54:37 +03:00
Chris Done
e0f8755f95 Remove Cabal references from snapshot page 2016-06-01 18:41:11 +02:00
Charles Cooper
dccb89523e Add package urls to snapshot diff 2016-04-20 08:45:24 -04:00
Jens Petersen
b44d2cc052 stackage-home.hamlet: update stack doc url 2016-03-07 11:28:14 +09:00
Michael Snoyman
7cb7870d75 Include package count on snapshot page 2015-10-19 11:33:26 +00:00
Konstantin Zudov
0e9164e5d6 Query database to get the preceding SnapName
That's much better than what I did before
2015-10-13 17:58:03 +03:00
Konstantin Zudov
1ab01273bc Provide a link to snapshot's changes 2015-10-10 10:58:15 +03:00
Michael Snoyman
c0b3ea9302 Give stack instructions (fixes #113) 2015-08-13 12:09:08 +03:00
Michael Snoyman
78ac5c4456 Remove experimental (closes #110) 2015-08-13 11:41:16 +03:00
Michael Snoyman
69d65594a5 Snapshot list 2015-05-14 17:02:05 +03:00
Michael Snoyman
f08978fadf StackageHome mostly working 2015-05-12 08:37:29 +03:00
Dan Burton
bfbe634e5f Add download link for hoogle database 2015-04-03 15:00:12 -07:00
Michael Snoyman
6cf5be6ff1 Remove bundle links in preparation of much larger v2 bundles 2015-03-16 13:34:10 +02:00
Michael Snoyman
4e4362f19b Remove unnecessary if hasBundle 2015-03-15 19:05:56 +02:00
Michael Snoyman
3c718a38ba Mark Hoogle as experimental 2015-01-04 12:06:17 +02:00
Michael Snoyman
2f107a2423 Merge remote-tracking branch 'origin/master' into 47-hoogle 2015-01-04 12:04:58 +02:00
Michael Snoyman
6d709c2e82 Add link to module documentation 2014-12-29 13:00:25 +02:00
Michael Sloan
f635977b02 Tweak hoogle style and behavior #47 2014-12-27 20:12:06 -08:00
Michael Snoyman
7ac0fd8dbc Package pages per snapshot
This allows us to replace the Haddock-generate contents pages with our
snapshot/package pages.
2014-12-24 08:44:52 +02:00
Michael Snoyman
9b3425d3e3 Back-fill core packages for homebrew users #68 2014-12-23 10:41:24 +02:00
Michael Snoyman
f0a8848456 Global configuration instructions #67 2014-12-23 10:36:51 +02:00
Chris Done
b4578da0ba Add note for homebrew users #66 2014-12-21 20:30:02 +01:00
Michael Snoyman
d8925a9fed Clip package list to 5000 to avoid memory exhaustion 2014-12-19 10:12:55 +02:00
Michael Snoyman
bc147c85e2 Clicking doesn't expand (pinging @chrisdone, right?) 2014-12-18 08:14:50 +02:00
Michael Snoyman
4ab560e0c0 Snapshot page fixes 2014-12-15 11:45:42 +02:00
Chris Done
246f114bcd Fix space breaking 2014-12-14 22:23:06 +01:00
Chris Done
6ac9623aba Update the setup guide 2014-12-14 22:19:00 +01:00
Chris Done
08598f152c Remove inclusive/exclusive stuff 2014-12-14 21:59:03 +01:00
Chris Done
41307c3343 List packages in snapshot page 2014-12-14 21:53:00 +01:00
Michael Snoyman
522d2228a9 Package page per snapshot #36 #49
This is not yet live. We'll have a link for all packages in each
snapshot, which includes the version number, doc link if available, and
synopsis.
2014-12-10 12:06:55 +02:00
Michael Snoyman
529f9483cd /lts and /nightly routes are set up 2014-12-09 17:17:41 +02:00
Michael Snoyman
d111115b9c Fix upload-haddock to work with old-style PackageSetIdents 2014-11-25 10:36:12 +02:00
Michael Snoyman
a8911dbb3b Better URLs #37
URLs now look like /snapshot/2014-11-23-7.8hp-exc and similar.
2014-11-23 14:26:03 +02:00
Michael Snoyman
bba43cb2f2 More complete remote-repo name #28 2014-11-14 08:29:12 +02:00
Michael Snoyman
5e4dcc090e Haddock uploading/display 2014-10-24 13:50:59 +03:00
Michael Snoyman
11f0d37904 cabal.config link 2014-10-24 13:50:59 +03:00
Chris Done
e6213fc2b8 Fix expand/collapse error on inclusive/exclusive #12 2014-08-26 14:27:11 +02:00
Michael Snoyman
ab62479cc7 Minor typo correction 2014-08-25 14:05:36 +03:00
Chris Done
c43d5d54ca Remove inclusive string
@snoyberg
2014-08-25 13:00:14 +02:00
Chris Done
b041979b64 Include inclusive/exclusive as part of guide
@snoyberg Hopefully this'll ensure nobody "misses" the difference
2014-08-25 10:10:25 +02:00
Michael Snoyman
2b731f15fc Links for inclusive/exclusive Wiki page #3
Pinging @chrisdone
2014-08-25 10:10:22 +03:00
Chris Done
ff4e3457eb Simplify snapshot page 2014-08-24 11:49:56 +02:00
Chris Done
a8ffbe9c60 Add link to FAQ in stackage page 2014-08-12 09:57:28 +02:00
Michael Snoyman
92042ed193 Download bundles and metadata 2014-07-30 16:57:52 +03:00