Commit Graph

239 Commits

Author SHA1 Message Date
Jens Petersen
070cbc6bf2 Home: only show News if post is from the last ~6 months 2021-03-26 12:22:49 +08:00
Michael Snoyman
b707b5a0d7
Caveat about latest Hoogles 2021-01-26 21:01:41 +02:00
Jens Petersen
5b8b19f846
stackage-home snapshot: be clearer about --resolver
addresses commercialhaskell/stackage#5794
2020-12-24 13:20:05 +08:00
Jens Petersen
6b910d77a5 package: layout tweaks
- put project url on a newline
- put pinning above Module docs
- move deps to before Readme & Changelog
2020-11-03 11:16:31 +08:00
Jens Petersen
d16fca78f3 stackage-home: simplify the snapshot resolver text 2020-11-03 11:16:31 +08:00
Jens Petersen
cf4c4cc150 default to 16px everywhere
14px seems really quite small

drop old .date and .cabal classes
2020-11-03 11:16:31 +08:00
Jens Petersen
f91b964d8e home: fix typo in About 2020-11-03 11:16:31 +08:00
Jens Petersen
a726444afd home: move recent snapshots from News to Releases/ghc section
(rendering untested)
2020-11-02 18:23:15 +08:00
Jens Petersen
a9933fe093 navbar: move Snapshots to the left 2020-11-02 18:22:42 +08:00
Jens Petersen
03dd30cc59 snapshots: remove the \ quote for > 2020-11-02 18:21:49 +08:00
Jens Petersen
9d1dfc6ff3 fix mobile navbar menu
(I feel it kicks in too early (wide))
2020-10-31 21:37:43 +08:00
Jens Petersen
7dbb9bf6da home summary: mention stack last 2020-10-31 21:37:43 +08:00
Jens Petersen
17ec30eacc home: header class redundant 2020-10-31 21:37:43 +08:00
Jens Petersen
71793e0b72 News tweaks
tested with placeholder text
2020-10-31 21:37:43 +08:00
Jens Petersen
e086b058f6 put latest nightly and lts in News: drop rows and Recent Snapshots 2020-10-31 21:37:43 +08:00
Jens Petersen
809ab9bcef summary bullet points and more home improvements
- call blog "News" (also on navbar)
- span5 for .header
- <p> before hoogle
- change hoogle placeholder
- remove brws-pkgs span (wasn't rendering anyway?)
- add bullet points summary of Stackage
- move News to right of it
- add link to other blog news posts
2020-10-31 21:28:03 +08:00
Jens Petersen
1baa9295cd add faq to navbar 2020-10-31 21:28:03 +08:00
Jens Petersen
5a8de6a11b navbar: about -> About
Co-authored-by: Michael Snoyman <michael@snoyman.com>
2020-10-31 21:28:03 +08:00
Jens Petersen
ad484ca048 remove text-shadow 2020-10-31 21:27:56 +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
14c4924281
Post title on homepage 2020-10-19 09:48:18 +03:00
Michael Snoyman
c361328767
Updated Analytics script 2020-10-08 04:09:44 +03:00
Michael Snoyman
fbbf169e58
Revert "TEMP: gut out expensive queries"
This reverts commit 220a57da4c.

I just tested this against the live database, and everything seems to
work now.
2020-08-20 07:22:54 +03:00
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