Commit graph

585 commits

Author SHA1 Message Date
Jens Petersen
13d12cabf7 Database: prettyName put GHC version in parens
before:  LTS - GHC X.Y
after:   LTS (GHC X.Y)
2016-02-17 18:36:45 +09:00
Jens Petersen
30896f3663 package.hamlet: link to hackage, license/author markup, number of revdeps 2016-02-17 17:59:23 +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
Emanuel Borsboom
eaa816885e Update Kubernetes specs 2016-02-14 16:55:34 -08:00
Michael Snoyman
c50899bd65 Merge pull request #151 from fpco/lts-5
Upgrade to lts-5
2016-02-03 10:43:46 +02:00
Michael Snoyman
5bd4a45913 Merge pull request #152 from fpco/snapshot-json
Provide snapshot content as JSON
2016-02-02 16:49:25 +02: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
9cc7f662b3 Bumped test dependencies 2016-02-02 15:08:15 +02:00
Michael Snoyman
be25e87b69 Force SSL in production (fixes #150) 2016-02-02 07:56:30 +00:00
Konstantin Zudov
26af5d29ed Upgrade to lts-5 2016-02-02 05:21:39 +02:00
Michael Snoyman
0e46ca9964 Merge pull request #149 from tfausak/patch-1
Allow customizing entire badge label
2016-02-01 08:58:12 +02:00
Taylor Fausak
d2caecd432 Allow customizing entire badge label
This fixes #147.
2016-01-31 22:03:03 -06:00
Michael Snoyman
de9e250b4e Prefer highest-value LTS (fixes #144) 2016-01-13 11:07:55 +00:00
Michael Sloan
23fe1adc37 Make package name order case-insensitive 2016-01-03 16:33:20 -08:00
Michael Snoyman
47e4545842 Adding heading IDs for READMEs 2015-12-30 12:29:25 +02:00
Tim Dysinger
c453b0bd34 kuberenetes 1.1.1 chokes on this setting 2015-11-16 15:23:04 -08:00
Michael Snoyman
8955a7a49f Merge pull request #141 from fpco/badges-cache
Set Cache-Control header on badges
2015-11-16 18:38:00 +00: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
Michael Snoyman
0233d07f4c Merge pull request #139 from fpco/badges-opts
Allow change badge's label and style
2015-10-31 20:54:35 -07:00
Konstantin Zudov
2decb3516e Allow change badge's label and style 2015-10-31 04:27:05 +02:00
Michael Snoyman
353ecd9903 Switch to one replica 2015-10-28 14:19:27 +00:00
Michael Snoyman
cfaa662f0e Kubernetes: production, not development 2015-10-24 17:12:29 +00:00
Michael Snoyman
a84b598a71 Remove some unneeded deployment files 2015-10-23 09:48:11 +00:00
Michael Snoyman
362001b558 Kubernetes 2015-10-23 09:47:33 +00:00
Michael Snoyman
c21841f3af stack.yaml: build Docker images 2015-10-23 07:19:22 +00: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
Michael Snoyman
66c420c0ef Merge pull request #134 from fpco/jsonDiff
Provide JSON representation of the snapshot diff
2015-10-18 06:57:31 +03:00
Konstantin Zudov
b4f2c27017 Provide JSON representation of the diff 2015-10-17 20:29:35 +03:00
Konstantin Zudov
62434f29c5 ToJSON for SnapshotDiff 2015-10-17 20:29:14 +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
22a1df30e0 Bump the resolver 2015-10-17 16:26:35 +03:00
Konstantin Zudov
3f8bc821dd Merge pull request #132 from fpco/badges
Badges
2015-10-17 10:50:10 +03:00
Konstantin Zudov
b798ac8236 Badges 2015-10-16 17:27:37 +03:00
Konstantin Zudov
b0ec509d9e Added newestSnapshot 2015-10-16 16:40:08 +03:00
Konstantin Zudov
c3a59798cb Merge pull request #133 from fpco/stackageBranch
SnapshotBranch
2015-10-16 15:03:17 +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
0fc5bbbf43 Removed LtsMajor 2015-10-16 10:56:04 +03:00
Konstantin Zudov
5133a38006 Use StackageBranch in OldLinks 2015-10-16 10:01:31 +03:00
Konstantin Zudov
e66813be9f Use StackageBranch in Stackage.Database 2015-10-16 09:46:28 +03:00
Konstantin Zudov
62c0789ca6 Use StackageBranch for Feed 2015-10-16 07:14:45 +03:00
Konstantin Zudov
be32c1a177 Added StackageBranch 2015-10-16 05:39:13 +03:00
Michael Snoyman
90cc9ea5c1 Fix Haddocks 2015-10-15 18:42:04 +00:00
Michael Snoyman
1e5614ca59 Don't use wildcards 2015-10-15 17:32:59 +00:00
Michael Snoyman
e2f4c0c30a Fix Stack download link 2015-10-15 17:22:43 +00:00
Michael Snoyman
86b4b7b964 Upgrade to stack 0.1.6.0 2015-10-15 17:14:35 +00:00
Michael Snoyman
4b7bfb4e78 Less Haddocks 2015-10-15 16:01:26 +00:00
Michael Snoyman
b98bcfcf4a Add missing files 2015-10-15 04:29:50 +00:00