Commit Graph

284 Commits

Author SHA1 Message Date
Michael Snoyman
7e342157f9 Fix full-module Hoogle link results #215 2016-12-05 09:27:19 -05:00
Michael Snoyman
ce3fffcb6e Add Hoogle search to package page 2016-11-21 07:30:46 +02:00
Michael Snoyman
aa0fe190ac Install page redirects to haskell-lang get-started 2016-11-20 12:19:49 +02:00
Michael Snoyman
c3e132970e Remove Dreamhost from mirror list 2016-11-17 08:44:46 +02:00
Michael Snoyman
6d4f9e03fa Haddock redirect for incomplete snapshot names #212 2016-11-13 08:40:07 +02:00
Michael Snoyman
58c4e6c163 Include latest LTS by GHC version (fixes #210) 2016-11-07 07:26:07 +02:00
Chris Done
25f2a3c1da Update homepage to show Snapshots 2016-10-27 13:35:21 +01:00
Michael Snoyman
37d7a52b15 Switch to Control.SingleRun 2016-10-21 10:39:04 +03:00
Michael Snoyman
d2f2e1537f Introduce HoogleLocker #206
This is intended to ensure only one thread is creating a Hoogle file
at a time.
2016-10-15 20:57:38 +03:00
Michael Snoyman
ccefcd3445 Only update every 10 minutes 2016-09-26 08:54:46 +03:00
Michael Snoyman
7db1e96d9c Add @hvr's mirror 2016-09-22 10:10:54 +03:00
Michael Snoyman
e53b6f50b2 Better Hackage revision delaying 2016-09-20 12:50:50 +03:00
Michael Snoyman
9c90dd1f7d Add a /status/mirror route 2016-09-20 12:40:42 +03:00
Chris Done
c104a9caa2 Use older style with new colours 2016-08-23 17:41:33 +02:00
Chris Done
8db35e2f83 Ignore non-present packages 2016-06-16 15:06:26 +02:00
Chris Done
9c52d4b6aa Put back track call 2016-06-14 16:50:12 +02:00
Chris Done
cb93e54729 Update search results to link to stackage.org 2016-06-14 16:47:17 +02:00
Chris Done
1a36376a6c Merge branch 'master' into hoogle5 2016-06-13 14:07:50 +02:00
Tim Dysinger
6f5857fda3
Add a counter & duration timer for every route 2016-06-10 16:28:42 -07:00
Michael Snoyman
4107980263 More consistency in instances 2016-06-08 14:21:14 +02:00
Michael Snoyman
a708c630ae Add back exact support 2016-06-08 14:21:14 +02:00
Michael Snoyman
c1e16d8e1a Get Hoogle 5 working 2016-06-08 14:21:14 +02:00
Chris Done
77e92dc6ab Style up Haddocks to look like haskell-lang 2016-06-01 18:33:05 +02:00
Michael Snoyman
d49f3f5aaf Fix the Haddock mangling code (fixes #176) 2016-05-25 17:53:38 +03:00
Michael Snoyman
1fbaf13574 Overhaul to match latest Yesod scaffolding 2016-05-17 21:08:18 +03:00
Michael Snoyman
b81ff2a59d Properly display latest vs current package version #177 2016-05-17 19:44:34 +03:00
Michael Snoyman
413aa50450 Workaround for #176 2016-05-17 19:28:26 +03:00
Michael Snoyman
c5f16f2faa Prevent concurrent Hoogle queries #172 2016-05-08 11:39:19 +03:00
Michael Snoyman
4b953f8585 Force less of the Hoogle results #172 2016-05-08 11:33:53 +03:00
Michael Snoyman
dd0c4e3f4c Clean up warnings 2016-05-02 15:07:09 +03:00
Michael Snoyman
267f488bca Switch to secure Haddock URLs 2016-05-02 14:22:14 +03:00
Michael Snoyman
60af396f9c Add Haddock style.css and script.js 2016-05-02 14:18:27 +03:00
Michael Snoyman
a030ba4afb LTS bump 2016-05-02 14:16:11 +03:00
Jens Petersen
053c2e0631 add renderNoPackages to handle plural, and append colon 2016-02-19 20:38:15 +09:00
Jens Petersen
60dcfba8de Handler.Package: fix the empty warning correctly (thanks zudov) 2016-02-17 19:29:41 +09:00
Jens Petersen
6fcb72889f Handler.Package: hide empty from Import
stackage-server/Handler/Package.hs:170:9: Warning:
    This binding for ‘empty’ shadows the existing binding
      imported from ‘Import’ at Handler/Package.hs:20:1-23
      (and originally defined in ‘GHC.Base’)
2016-02-17 17:56:29 +09:00
Konstantin Zudov
912a0175d4 Provide snapshot content as JSON
```json
$ http --json http://localhost:4000/lts-5.1
{
  "snapshot": {
    "ghc": "7.10.3",
    "created": "2016-01-30",
    "name": "lts-5.1"
  },
  "packages": [
    {
      "isCore": false,
      "name": "abstract-deque",
      "version": "0.3",
      "synopsis": "Abstract, parameterized interface to mutable Deques."
    },
    {
      "isCore": false,
      "name": "abstract-par",
      "version": "0.3.3",
      "synopsis": "Type classes generalizing the functionality of the 'monad-par' library."
    },
    ...
  ]
}

```
2016-02-02 15:50:17 +02:00
Konstantin Zudov
26af5d29ed Upgrade to lts-5 2016-02-02 05:21:39 +02:00
Taylor Fausak
d2caecd432 Allow customizing entire badge label
This fixes #147.
2016-01-31 22:03:03 -06:00
Konstantin Zudov
ad053dc101 Set Cache-Control header on badges
Since github caches external resource we need to indicate that this
badge is supposed to be changing.

https://github.com/github/markup/issues/224
2015-11-16 13:34:59 +02:00
Konstantin Zudov
2decb3516e Allow change badge's label and style 2015-10-31 04:27:05 +02:00
Michael Snoyman
7cb7870d75 Include package count on snapshot page 2015-10-19 11:33:26 +00:00
Konstantin Zudov
492eaf0444 Change "non available" badge color to lightgray
The 'red' badge looks like "Something is wrong or broken", while
the 'lightgray' is pretty neutral.
2015-10-18 17:23:59 +03:00
Konstantin Zudov
b4f2c27017 Provide JSON representation of the diff 2015-10-17 20:29:35 +03: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
Konstantin Zudov
49828b012f Do not use nightlyBefore/ltsBefore 2015-10-17 17:15:36 +03:00
Konstantin Zudov
b798ac8236 Badges 2015-10-16 17:27:37 +03:00
Konstantin Zudov
c2fb5b1fa5 StackageBranch -> SnapshotBranch 2015-10-16 15:01:40 +03:00
Konstantin Zudov
e4a9880fde Remove obsolete TODO 2015-10-16 13:03:45 +03:00
Konstantin Zudov
5133a38006 Use StackageBranch in OldLinks 2015-10-16 10:01:31 +03:00