Commit Graph

216 Commits

Author SHA1 Message Date
Michael Snoyman
6eb463f20c
Remove dropdowns on diff page 2020-08-20 05:58:50 +03:00
Michael Snoyman
220a57da4c
TEMP: gut out expensive queries 2020-07-07 22:07:13 +03:00
Alexey Kuleshevich
fe25b2fa2f
Record available hoogle db files per snapshot + hoogle version combination:
* Make sure hoogle db is marked as available, when there is a copy on S3

* Create db even with `--do-no-upload` flag (useful for testing)

* Make sure home page uses latest lts with hoogle db available
2020-02-14 22:19:16 +03:00
Michael Snoyman
806385c25f
Disable Disqus due to spam 2020-01-12 10:11:04 +02:00
Andrei Dziahel
b89c4195ef Improve the snapshot diff view
Replaced "package-name-1.2.3.4 package-2.3.4.5" representation with
"package-name 1.2.3.4 → 2.3.4.5", since package name is always the same.
2019-12-10 17:30:27 +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
e5ab3e263c
haskell-lang -> haskell.fpcomplete 2019-02-25 21:17:17 -05:00
Niklas Hambüchen
a18d182bf9 homepage: Add more details about Stackage.
In particular, highlight that Stackage is a community project,
explain how it relates to Hackage,
set expectations on how it's maintained and moves forward,
and add credits for development and maintenance sponsorship.
2019-02-11 16:01:17 +01:00
Michael Snoyman
64c1f9519e
Navbar link to blog 2018-07-02 07:26:29 +03:00
Jens Petersen
e032263580
Add link to blog 2018-07-02 00:37:42 +09:00
Michael Snoyman
c8c8b971ce Remove the doc bundle (no longer being generated) 2018-06-05 11:57:23 -06:00
Michael Snoyman
75ad28ab56
Add missing template file 2018-04-29 10:46:03 +03:00
Michael Snoyman
a331d3e714
Style changes for the blog 2018-01-29 13:36:21 +02:00
Michael Snoyman
115feaa219
Stackage blog 2018-01-28 14:28:41 +02:00
Michael Snoyman
354374b0db
Link to the snapshot listing 2017-12-24 15:51:37 +02:00
Michael Snoyman
4d974136da
Slight tweak to styling for #247 2017-12-20 06:44:44 +02:00
Andrei Dziahel
cfb9ed248f Introduces highlighting package version differences 2017-12-20 01:22:53 +03:00
Michael Snoyman
298d1d5b52
Limit number of deps/revdeps shown 2017-12-11 20:05:31 +02: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
cc1dc6ffe5 Link to FAQ; give age of LTS snapshots 2017-01-28 19:30:08 +02:00
Michael Snoyman
6dd5604444 Remove some unneeded templates 2016-12-02 08:09:39 +02:00
Michael Snoyman
8e32667f17 Fix missing link 2016-12-02 06:46:23 +02:00
Michael Snoyman
ce3fffcb6e Add Hoogle search to package page 2016-11-21 07:30:46 +02:00
Michael Snoyman
a765bc95f3 Fix whitespace error 2016-11-17 08:48:30 +02:00
Moritz Angermann
b2d5aff410 Adds a link to the adding-a-package section.
This adds a link to the MAINTAINERS.md file, so that new maintains can find this information right from the stackage.org website.
2016-11-17 13:53:52 +08:00
Michael Snoyman
58c4e6c163 Include latest LTS by GHC version (fixes #210) 2016-11-07 07:26:07 +02:00
Chris Done
ef8171bb94 Tweak 2016-10-31 09:00:51 +00:00
Chris Done
25f2a3c1da Update homepage to show Snapshots 2016-10-27 13:35:21 +01:00
Malvin Gattinger
3f460f6a44 fix link to "Add your package" 2016-10-19 17:00:29 +02:00
Michael Snoyman
9b299e870e Avoid double-escaping docs 2016-06-08 14:21:14 +02:00
Michael Snoyman
c1e16d8e1a Get Hoogle 5 working 2016-06-08 14:21:14 +02: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
Michael Snoyman
b81ff2a59d Properly display latest vs current package version #177 2016-05-17 19:44:34 +03:00
Charles Cooper
2f6a05a844 Link to package changes in snapshot diff 2016-04-20 09:08:10 -04: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
Jens Petersen
07e6121773 package.hamlet: use a table and prettyNameShort to render the versions 2016-02-22 11:33:44 +09:00
Jens Petersen
053c2e0631 add renderNoPackages to handle plural, and append colon 2016-02-19 20:38:15 +09:00
Jens Petersen
df90a48756 templates/package: move latest version to a Hackage line below Stackage versions 2016-02-19 20:00:56 +09:00
Jens Petersen
0af19eed1c package.hamlet: revert space change since no link anymore 2016-02-19 18:25:05 +09:00
Jens Petersen
89c8cdb1be package.hamlet: list LTS and Nightly versions on separate lines 2016-02-17 18:37:05 +09:00
Jens Petersen
30896f3663 package.hamlet: link to hackage, license/author markup, number of revdeps 2016-02-17 17:59:23 +09:00
Michael Snoyman
7cb7870d75 Include package count on snapshot page 2015-10-19 11:33:26 +00:00
Konstantin Zudov
1e1e875bd0 Refactor snapshot diffs
- do not leak the HashMap out
- use existing types (Version, PackageName)
2015-10-17 17:20:41 +03:00
Michael Snoyman
b98bcfcf4a Add missing files 2015-10-15 04:29:50 +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
240b0316bb Sort packages in snapshot diff 2015-10-11 14:41:41 +03:00
Konstantin Zudov
734e3b60b3 Group snapshot list using <optgroup> 2015-10-11 01:59:01 +03:00