Commit Graph

51 Commits

Author SHA1 Message Date
Tim Dysinger
6f5857fda3
Add a counter & duration timer for every route 2016-06-10 16:28:42 -07: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
Michael Snoyman
7cb7870d75 Include package count on snapshot page 2015-10-19 11:33:26 +00: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
e66813be9f Use StackageBranch in Stackage.Database 2015-10-16 09:46:28 +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
Michael Snoyman
fcc36a3a81 Show snapshot diff on feed 2015-10-12 14:03:43 +00:00
Konstantin Zudov
a192dcf1d2 Wildcarded unused names 2015-10-11 03:36:23 +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
cbe72be4ee Improved wording
See:
http://www.reddit.com/r/haskell/comments/3ab7ok/help_installing_packages_with_cabal/
2015-06-19 08:45:24 +03:00
Dan Burton
47506d9ecd Quick fix to allow old versions of stackage-sandbox to continue working 2015-06-01 16:26:19 -07:00
Michael Snoyman
ff6a3c6877 Clean up warnings in Handler.StackageHome 2015-05-14 16:48:21 +03:00
Michael Snoyman
d77b87b6c2 Package pages 2015-05-13 14:08:58 +03:00
Michael Snoyman
50ff9efead Module listing page 2015-05-13 12:26:02 +03:00
Michael Snoyman
e71b8c036b cabal.config added back 2015-05-13 11:47:10 +03:00
Michael Snoyman
7758078625 GetStackageDatabase typeclass 2015-05-12 11:42:19 +03:00
Michael Snoyman
f08978fadf StackageHome mostly working 2015-05-12 08:37:29 +03:00
Michael Snoyman
c04686aad0 Initial Stackge.Database 2015-05-11 20:23:09 +03:00
Michael Snoyman
d956b074c0 Delete a whole bunch of stuff, nothing works 2015-05-11 17:46:07 +03:00
Michael Snoyman
ec57908a63 Fix a build failure
Pinging @DanBurton @chrisdone
2015-03-19 13:45:32 +02:00
Dan Burton
5c3e4adf10 cabal.config links should always be http; cabal doesn't support https. #83 2015-03-18 14:28:18 -07:00
Michael Snoyman
70a59af6c1 Stop tracking upload times from Hackage 2015-03-16 14:33:57 +02:00
Michael Snoyman
3c4e132774 Remove some dead code 2015-03-16 13:36:31 +02:00
Michael Sloan
f635977b02 Tweak hoogle style and behavior #47 2014-12-27 20:12:06 -08:00
Michael Snoyman
cb36a196ba Module listing 2014-12-25 15:01:14 +02:00
Michael Snoyman
af2ea0952a Use a nullable column to speed up migration 2014-12-23 11:30:55 +02:00
Michael Snoyman
f0a8848456 Global configuration instructions #67 2014-12-23 10:36:51 +02:00
Michael Snoyman
9d745c9c42 Support for "installed" core packages #68 2014-12-22 23:04:13 +02:00
Michael Snoyman
d8925a9fed Clip package list to 5000 to avoid memory exhaustion 2014-12-19 10:12:55 +02:00
Michael Snoyman
e4937fca5d Include overwrite packages in cabal.config #65 2014-12-17 07:32:54 +02:00
Michael Snoyman
002192aed7 Add newline at end of cabal.config #63 2014-12-16 14:39:36 +02:00
Chris Done
2499b7b390 Fix compiler warnings 2014-12-16 12:03:25 +01:00
Michael Snoyman
4ab560e0c0 Snapshot page fixes 2014-12-15 11:45:42 +02:00
Chris Done
41307c3343 List packages in snapshot page 2014-12-14 21:53:00 +01:00
Michael Snoyman
cab4e08fcc ?download=true on cabal.config 2014-12-11 12:19:00 +02:00
Michael Snoyman
861ca55fc8 More informative cabal.config 2014-12-11 07:42:10 +02:00
Michael Snoyman
522d2228a9 Package page per snapshot #36 #49
This is not yet live. We'll have a link for all packages in each
snapshot, which includes the version number, doc link if available, and
synopsis.
2014-12-10 12:06:55 +02:00
Michael Snoyman
6f4e9eb4fd Track whether an individual package has documentation #49 2014-12-10 11:12:53 +02:00
Michael Snoyman
a8911dbb3b Better URLs #37
URLs now look like /snapshot/2014-11-23-7.8hp-exc and similar.
2014-11-23 14:26:03 +02:00
Chris Done
e6fb29c9ee Fix stylesheet on all pages 2014-11-13 22:50:01 +01:00
Chris Done
0ac31b045f Add non-custom version of bootstrap for rest of pages 2014-11-03 12:33:59 +01:00
Michael Snoyman
5e4dcc090e Haddock uploading/display 2014-10-24 13:50:59 +03:00
Michael Snoyman
11f0d37904 cabal.config link 2014-10-24 13:50:59 +03:00
Chris Done
b041979b64 Include inclusive/exclusive as part of guide
@snoyberg Hopefully this'll ensure nobody "misses" the difference
2014-08-25 10:10:25 +02:00
Michael Snoyman
2b731f15fc Links for inclusive/exclusive Wiki page #3
Pinging @chrisdone
2014-08-25 10:10:22 +03:00
Chris Done
ff4e3457eb Simplify snapshot page 2014-08-24 11:49:56 +02:00
Michael Snoyman
92042ed193 Download bundles and metadata 2014-07-30 16:57:52 +03:00