Commit graph

60 commits

Author SHA1 Message Date
Michael Snoyman
a030ba4afb LTS bump 2016-05-02 14:16:11 +03:00
Jens Petersen
b577b75774 prettyprint "(GHC version)" as "(ghc-version)" 2016-02-19 19:57:35 +09:00
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
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
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
Michael Snoyman
7cb7870d75 Include package count on snapshot page 2015-10-19 11:33:26 +00: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
b0ec509d9e Added newestSnapshot 2015-10-16 16:40:08 +03:00
Konstantin Zudov
c2fb5b1fa5 StackageBranch -> SnapshotBranch 2015-10-16 15:01:40 +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
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
5c2e8ecf68 Add /feed/#LtsMajor (e.g /feed/lts-3) 2015-10-13 13:36:37 +03:00
Konstantin Zudov
8c9c916491 Add /feed/lts and /feed/nightly 2015-10-13 13:07:22 +03:00
Michael Snoyman
fcc36a3a81 Show snapshot diff on feed 2015-10-12 14:03:43 +00:00
Konstantin Zudov
c43340d40d Documented VersionChange type 2015-10-11 06:21:02 +03:00
Konstantin Zudov
734e3b60b3 Group snapshot list using <optgroup> 2015-10-11 01:59:01 +03:00
Konstantin Zudov
c538927aba Do not export Version and PackageName type synonyms 2015-10-11 01:30:17 +03:00
Konstantin Zudov
1ab01273bc Provide a link to snapshot's changes 2015-10-10 10:58:15 +03:00
Konstantin Zudov
160f2b02f9 Added UI for snapshot diffs 2015-10-10 10:44:06 +03:00
Konstantin Zudov
fabb3979d4 Implemented snapshot diffing 2015-10-08 21:55:40 +03:00
Michael Snoyman
4cec606fb0 Merge branch 'ghc-7.10' of https://github.com/zudov/stackage-server into zudov-ghc-7.10
Conflicts:
	Stackage/Database/Cron.hs
2015-10-06 07:26:10 +03:00
Michael Snoyman
789443cb71 Allow less downloading during dev 2015-10-06 07:14:29 +03:00
Konstantin Zudov
0f74359d79 Do not use deprecated FilePath related functions 2015-10-06 04:40:37 +03:00
Konstantin Zudov
2f96607735 Quickfix filesystem related stuff by coercing it around 2015-10-05 08:40:27 +03:00
Konstantin Zudov
3a88c8835b Update Stackage.Database.Haddock 2015-10-05 04:32:13 +03:00
Michael Snoyman
2d90945853 Fix snapshots.json uploading 2015-06-23 11:34:26 +03:00
Michael Snoyman
8f20a226fe Upload snapshots.json to S3 (commercialhaskell/stack#380) 2015-06-23 11:01:28 +03:00
Michael Snoyman
b1942934bb Avoid invalid pattern match #108 2015-06-18 07:16:25 +03:00
Michael Snoyman
c7b82f38d0 Fix Hoogle database download 2015-05-22 09:22:44 +03:00
Michael Snoyman
2feecaa88a Implement missing Handler.Download functionality 2015-05-20 12:13:24 +03:00
Michael Snoyman
7490787bbe Do a better job of downloading databases 2015-05-15 12:40:45 +03:00
Michael Snoyman
6728a65b28 Update README 2015-05-15 06:48:42 +03:00
Michael Snoyman
fac5b9c4f4 Hacky to make VACUUM work 2015-05-15 06:13:49 +03:00
Michael Snoyman
7533b9b014 More talkative create, do not duplicate schema, vacuum 2015-05-15 06:08:17 +03:00
Michael Snoyman
5b228f6e45 Proper compression for orig.tar 2015-05-15 05:49:18 +03:00
Michael Snoyman
54b69cb491 Hoogle database generation 2015-05-14 21:21:42 +03:00
Michael Snoyman
d627f63521 Create databases in cron jobs 2015-05-14 18:10:26 +03:00
Michael Snoyman
a923a4e5ff Just need to actually write and run the cron job 2015-05-14 17:35:41 +03:00
Michael Snoyman
69d65594a5 Snapshot list 2015-05-14 17:02:05 +03:00
Michael Snoyman
66559c0d9d Fix warnings in Handler.Package 2015-05-14 16:45:24 +03:00
Michael Snoyman
f67a22da79 PackageList 2015-05-14 16:32:30 +03:00
Michael Snoyman
d35b73d67f Clean up some warnings (not done yet) 2015-05-14 16:05:32 +03:00
Michael Snoyman
a0d2703738 Beginning of stackage-server-cron 2015-05-14 14:51:29 +03:00
Michael Snoyman
fd4e84e14d Appendable databases 2015-05-13 16:24:17 +03:00