Skip to content

Commit 6291745

Browse files
committed
Changes for Hackage upload
1 parent b7e3ed4 commit 6291745

File tree

3 files changed

+80
-4
lines changed

3 files changed

+80
-4
lines changed

Diff for: LICENSE

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
3+
Copyright (C) 2014 Tim C. Schroeder
4+
5+
6+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
7+
8+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
9+
10+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
11+

Diff for: README.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
Compare the public API of different versions of a Hackage library. Detect breaking changes before you update or upload a new version.
44

5+
Also available on [Hackage](http://hackage.haskell.org/package/hackage-diff).
6+
57
Sample output for `hackage-diff cereal 0.2 0.3.5.2`:
68

79
```

Diff for: hackage-diff.cabal

+67-4
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,79 @@
44
name: hackage-diff
55
version: 0.1.0.0
66
synopsis: Compare the public API of different versions of a Hackage library
7-
-- description:
7+
description: Please see <https://github.com/blitzcode/hackage-diff github.com/blitzcode/hackage-diff> for a user's manual.
8+
.
9+
Sample output
10+
.
11+
> Downloading Hoogle DBs...
12+
> Parsing Hoogle DBs...
13+
> Comparing Hoogle DBs...
14+
>
15+
> --- Diff for | 0.2 → 0.3.5.2 | ---
16+
>
17+
> + Data.Serialize.IEEE754
18+
> + getFloat32be :: Get Float
19+
> + getFloat32le :: Get Float
20+
> + getFloat64be :: Get Double
21+
> + getFloat64le :: Get Double
22+
> + putFloat32be :: Float -> Put
23+
> + putFloat32le :: Float -> Put
24+
> + putFloat64be :: Double -> Put
25+
> + putFloat64le :: Double -> Put
26+
> × Data.Serialize
27+
> + instance Serialize a => GSerialize (K1 i a)
28+
> + instance GSerialize a => GSerialize (M1 i c a)
29+
> + instance (GSerialize a, GSerialize b) => GSerialize (a :*: b)
30+
> + instance GSerialize U1
31+
> + instance GSerialize a => GetSum (C1 c a)
32+
> + instance (GetSum a, GetSum b, GSerialize a, GSerialize b) => GetSum (a :+: b)
33+
> + instance GSerialize a => PutSum (C1 c a)
34+
> + instance (PutSum a, PutSum b, GSerialize a, GSerialize b) => PutSum (a :+: b)
35+
> + instance SumSize (C1 c a)
36+
> + instance (SumSize a, SumSize b) => SumSize (a :+: b)
37+
> + decodeLazy :: Serialize a => ByteString -> Either String a
38+
> + encodeLazy :: Serialize a => a -> ByteString
39+
> - data Get a
40+
> - type Put = PutM ()
41+
> - type Putter a = a -> Put
42+
> - getWord8 :: Get Word8
43+
> - putWord8 :: Putter Word8
44+
> × Data.Serialize.Get
45+
> + Done :: r -> ByteString -> Result r
46+
> + instance Eq More
47+
> + Fail :: String -> Result r
48+
> + instance Functor Result
49+
> + Partial :: (ByteString -> Result r) -> Result r
50+
> + data Result r
51+
> + instance Show r => Show (Result r)
52+
> + ensure :: Int -> Get ByteString
53+
> + runGetLazy :: Get a -> ByteString -> Either String a
54+
> + runGetLazyState :: Get a -> ByteString -> Either String (a, ByteString)
55+
> + runGetPartial :: Get a -> ByteString -> Result a
56+
> × New: isolate :: Int -> Get a -> Get a
57+
> Old: isolate :: String -> Int -> Get a -> Get a
58+
> × Data.Serialize.Put
59+
> + runPutLazy :: Put -> ByteString
60+
> + runPutMLazy :: PutM a -> (a, ByteString)
61+
> · Data.Serialize.Builder
62+
>
63+
> [+ Added] [- Removed] [× Modified] [· Unmodified]
64+
865
license: MIT
9-
-- license-file: LICENSE
66+
license-file: LICENSE
1067
author: Tim C. Schroeder
1168
maintainer: www.blitzcode.net
12-
-- copyright:
69+
homepage: https://github.com/blitzcode/hackage-diff
70+
bug-reports: https://github.com/blitzcode/hackage-diff/issues
71+
copyright: (C) 2014 Tim C. Schroeder
1372
category: Distribution
1473
build-type: Simple
1574
-- extra-source-files:
16-
cabal-version: >=1.10
75+
cabal-version: >=1.18
76+
77+
source-repository head
78+
type: git
79+
location: [email protected]:blitzcode/hackage-diff.git
1780

1881
executable hackage-diff
1982
main-is: Main.hs

0 commit comments

Comments
 (0)