Commit Graph

29 Commits

Author SHA1 Message Date
Alexey Kuleshevich
b9965e328d set Content Type of the uploaded snapshot.json file to proper 'application/json' 2016-10-05 18:59:26 +03:00
Michael Snoyman
e1f65cc655 Remove some accidentally added debug code (thanks @chrisdone) 2016-06-08 15:54:17 +03:00
Michael Snoyman
c1e16d8e1a Get Hoogle 5 working 2016-06-08 14:21:14 +02:00
Michael Snoyman
a030ba4afb LTS bump 2016-05-02 14:16:11 +03: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
Konstantin Zudov
62434f29c5 ToJSON for SnapshotDiff 2015-10-17 20:29:14 +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
734e3b60b3 Group snapshot list using <optgroup> 2015-10-11 01:59:01 +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
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
c7b82f38d0 Fix Hoogle database download 2015-05-22 09:22:44 +03:00
Michael Snoyman
7490787bbe Do a better job of downloading databases 2015-05-15 12:40:45 +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
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
8c23324d60 Grab data from all-cabal-metadata 2015-05-13 11:38:38 +03:00
Michael Snoyman
f08978fadf StackageHome mostly working 2015-05-12 08:37:29 +03:00