Commit Graph

254 Commits

Author SHA1 Message Date
Bryan Richter
10c9d8364d
Split JSON API out of /snapshots
Fixes #355
2025-07-10 09:52:25 +03:00
Jens Petersen
ba3aa93423 diff: add links to snapshots
This makes the names of the two snapshots be links to their pages
2025-06-17 15:04:21 +03:00
Jens Petersen
c4c8241fc3 stackage-diff: add a previous diff link
allowing navigating back to earlier consecutive diffs

Arguably we could also navigate name1 and name2 separately

Thanks to @chreekat for reviewing and improving the code (#340)
2025-02-03 23:39:45 +08:00
Jens Petersen
ec5d5e7b92 replace remaining references to github.com/fpco/ 2025-02-02 23:15:31 +08:00
Jens Petersen
866fc23f79 include time in the date of a snapshot
(the time may actually be when the snapshot build started)
2025-02-02 23:15:31 +08:00
Jens Petersen
6539721be1 blog archive: fix tooltip timestamps
should not all be the displayed post's timestamp
2024-12-12 17:45:00 +08:00
Jens Petersen
7c495bb481 package: update add-your-package url 2024-12-12 17:44:13 +08:00
Bryan Richter
22977c3475
Add missing space back 2024-04-17 13:56:19 +03:00
Bryan Richter
09405c186f
Hamlet fixups
Fixes #325
2024-04-17 13:11:40 +03:00
Bryan Richter
c5c0f58a84
Clean up and reword footer 2024-04-12 15:05:43 +03:00
Bryan Richter
0774e445f8
Hamlet fixups
Gets rid of some extraneous closing tags and some overlapping tags.
Perhaps due to Hamlet changes?
2024-04-12 15:05:31 +03:00
Bryan Richter
cd2aff1b5d
Reword footer 2024-04-11 18:31:22 +03:00
Bryan Richter
0dcb101b34
Transfer attribution to Haskell Foundation
By agreement, FP Complete's name and link to their website will remain
indefinitely! :)
2024-03-28 15:04:16 +02:00
Jens Petersen
dfa7f7e669 remove the <h3>Hoogle before the hoogle search box
seems unnecessary
2021-07-05 15:12:09 +08:00
Jens Petersen
ff6a392754 replace snapshot pages' resolver help with direct link to the stack doc
This seems more concise and compact:
newcomers should read the docs to understand anyway.
2021-07-03 12:31:22 +08:00
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