commit ghc-pantry for openSUSE:Factory

2019-12-27 Thread root
Hello community,

here is the log from the commit of package ghc-pantry for openSUSE:Factory 
checked in at 2019-12-27 13:55:51

Comparing /work/SRC/openSUSE:Factory/ghc-pantry (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-pantry.new.6675 (New)


Package is "ghc-pantry"

Fri Dec 27 13:55:51 2019 rev:5 rq:759466 version:0.2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pantry/ghc-pantry.changes2019-10-18 
14:34:31.512068795 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-pantry.new.6675/ghc-pantry.changes  
2019-12-27 13:55:59.372734293 +0100
@@ -1,0 +2,5 @@
+Fri Nov  8 16:14:22 UTC 2019 - Peter Simons 
+
+- Drop obsolete group attributes.
+
+---



Other differences:
--
++ ghc-pantry.spec ++
--- /var/tmp/diff_new_pack.6g99en/_old  2019-12-27 13:56:00.300734741 +0100
+++ /var/tmp/diff_new_pack.6g99en/_new  2019-12-27 13:56:00.304734743 +0100
@@ -23,7 +23,6 @@
 Release:0
 Summary:Content addressable Haskell package management
 License:BSD-3-Clause
-Group:  Development/Libraries/Haskell
 URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
@@ -101,7 +100,6 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}




commit ghc-pantry for openSUSE:Factory

2019-10-18 Thread root
Hello community,

here is the log from the commit of package ghc-pantry for openSUSE:Factory 
checked in at 2019-10-18 14:34:29

Comparing /work/SRC/openSUSE:Factory/ghc-pantry (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-pantry.new.2352 (New)


Package is "ghc-pantry"

Fri Oct 18 14:34:29 2019 rev:4 rq:737208 version:0.2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pantry/ghc-pantry.changes2019-08-29 
17:24:10.107300993 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-pantry.new.2352/ghc-pantry.changes  
2019-10-18 14:34:31.512068795 +0200
@@ -1,0 +2,13 @@
+Thu Oct 10 10:02:31 UTC 2019 - psim...@suse.com
+
+- Update pantry to version 0.2.0.0.
+  ## v0.2.0.0
+
+  Bug fixes:
+
+  * Don't compare the hashes of cabal files.
+Addresses bugs such as [Stack
+#5045](https://github.com/commercialhaskell/stack/issues/5045).
+Data type changes: removed the `pmCabal` and `rpmCabal` fields.
+
+---

Old:

  pantry-0.1.1.2.tar.gz

New:

  pantry-0.2.0.0.tar.gz



Other differences:
--
++ ghc-pantry.spec ++
--- /var/tmp/diff_new_pack.wE9vwJ/_old  2019-10-18 14:34:32.084067305 +0200
+++ /var/tmp/diff_new_pack.wE9vwJ/_new  2019-10-18 14:34:32.088067295 +0200
@@ -19,7 +19,7 @@
 %global pkg_name pantry
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.1.1.2
+Version:0.2.0.0
 Release:0
 Summary:Content addressable Haskell package management
 License:BSD-3-Clause

++ pantry-0.1.1.2.tar.gz -> pantry-0.2.0.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pantry-0.1.1.2/ChangeLog.md 
new/pantry-0.2.0.0/ChangeLog.md
--- old/pantry-0.1.1.2/ChangeLog.md 2019-08-27 09:54:10.0 +0200
+++ new/pantry-0.2.0.0/ChangeLog.md 2019-10-06 06:21:38.0 +0200
@@ -1,5 +1,14 @@
 # Changelog for pantry
 
+## v0.2.0.0
+
+Bug fixes:
+
+* Don't compare the hashes of cabal files.
+  Addresses bugs such as [Stack
+  #5045](https://github.com/commercialhaskell/stack/issues/5045).
+  Data type changes: removed the `pmCabal` and `rpmCabal` fields.
+
 ## v0.1.1.2
 
 Bug fixes:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pantry-0.1.1.2/pantry.cabal 
new/pantry-0.2.0.0/pantry.cabal
--- old/pantry-0.1.1.2/pantry.cabal 2019-08-27 09:54:10.0 +0200
+++ new/pantry-0.2.0.0/pantry.cabal 2019-10-06 06:21:38.0 +0200
@@ -4,10 +4,10 @@
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: e338943a1a53aa6c588e00a1b9eb2d38801ab6382e7ea4c33b31bd9eea0fb994
+-- hash: abfcc422864de256ba0ef8b533df725b381cffd7791dca94f17303a16e69a2a3
 
 name:   pantry
-version:0.1.1.2
+version:0.2.0.0
 synopsis:   Content addressable Haskell package management
 description:Please see the README on Github at 

 category:   Development
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pantry-0.1.1.2/src/Pantry/Archive.hs 
new/pantry-0.2.0.0/src/Pantry/Archive.hs
--- old/pantry-0.1.1.2/src/Pantry/Archive.hs2019-08-25 08:35:58.0 
+0200
+++ new/pantry-0.2.0.0/src/Pantry/Archive.hs2019-10-06 06:21:38.0 
+0200
@@ -51,12 +51,7 @@
   -> RIO env ()
 fetchArchives pairs =
   -- TODO be more efficient, group together shared archives
-  fetchArchivesRaw [
-let PackageIdentifier nm ver = pmIdent pm
-rpm = RawPackageMetadata (Just nm) (Just ver) (Just $ pmTreeKey pm) 
(Just $ pmCabal pm)
-ra = RawArchive (archiveLocation a) (Just $ archiveHash a) (Just $ 
archiveSize a) (archiveSubdir a)
-in (ra, rpm)
-   | (a, pm) <- pairs]
+  fetchArchivesRaw [(toRawArchive a, toRawPM pm) | (a, pm) <- pairs]
 
 getArchiveKey
   :: forall env. (HasPantryConfig env, HasLogFunc env, HasProcessContext env)
@@ -172,15 +167,13 @@
   -> Either PantryException Package
 checkPackageMetadata pl pm pa = do
   let
-  pkgCabal = case packageCabalEntry pa of
-   PCCabalFile tentry -> tentry
-   PCHpack phpack -> phGenerated phpack
   err = MismatchedPackageMetadata
   pl
   pm
   (Just (packageTreeKey pa))
-  (teBlob pkgCabal)
   (packageIdent pa)
+
+  test :: Eq a => Maybe a -> a -> Bool
   test (Just x) y = x == y
   test Nothing _ = True
 
@@ -188,7 +181,6 @@
 [ test (rpmTreeKey pm) (packageTreeKey pa)
 , test (rpmName pm) (pkgName $ packageIdent pa)
 , test (rpmVersion pm) (pkgVersion $ packageIdent pa)
-, test (rpmCabal pm) (teBlob pkgCabal)
 ]
 
in if 

commit ghc-pantry for openSUSE:Factory

2019-08-29 Thread root
Hello community,

here is the log from the commit of package ghc-pantry for openSUSE:Factory 
checked in at 2019-08-29 17:24:08

Comparing /work/SRC/openSUSE:Factory/ghc-pantry (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-pantry.new.7948 (New)


Package is "ghc-pantry"

Thu Aug 29 17:24:08 2019 rev:3 rq:726821 version:0.1.1.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pantry/ghc-pantry.changes2019-08-13 
13:15:07.189507705 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-pantry.new.7948/ghc-pantry.changes  
2019-08-29 17:24:10.107300993 +0200
@@ -1,0 +2,9 @@
+Wed Aug 28 02:02:36 UTC 2019 - psim...@suse.com
+
+- Update pantry to version 0.1.1.2.
+  * "enable-undecidable-instances-extension.patch" is obsolete.
+  * Module mapping insertions into the database are now atomic.
+Previously, if you SIGTERMed at the wrong time while running a
+script, you could end up with an inconsistent database state.
+
+---

Old:

  enable-undecidable-instances-extension.patch
  pantry-0.1.1.1.tar.gz

New:

  pantry-0.1.1.2.tar.gz



Other differences:
--
++ ghc-pantry.spec ++
--- /var/tmp/diff_new_pack.Y5OQlU/_old  2019-08-29 17:24:10.915300858 +0200
+++ /var/tmp/diff_new_pack.Y5OQlU/_new  2019-08-29 17:24:10.919300858 +0200
@@ -19,14 +19,13 @@
 %global pkg_name pantry
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.1.1.1
+Version:0.1.1.2
 Release:0
 Summary:Content addressable Haskell package management
 License:BSD-3-Clause
 Group:  Development/Libraries/Haskell
 URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-Patch01:enable-undecidable-instances-extension.patch
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-aeson-devel
 BuildRequires:  ghc-ansi-terminal-devel
@@ -115,7 +114,6 @@
 %setup -q -n %{pkg_name}-%{version}
 echo > Setup.hs 'import Distribution.Simple'
 echo >>Setup.hs 'main = defaultMain'
-%patch01 -p5
 
 %build
 %ghc_lib_build

++ pantry-0.1.1.1.tar.gz -> pantry-0.1.1.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pantry-0.1.1.1/ChangeLog.md 
new/pantry-0.1.1.2/ChangeLog.md
--- old/pantry-0.1.1.1/ChangeLog.md 2019-07-16 21:19:03.0 +0200
+++ new/pantry-0.1.1.2/ChangeLog.md 2019-08-27 09:54:10.0 +0200
@@ -1,5 +1,12 @@
 # Changelog for pantry
 
+## v0.1.1.2
+
+Bug fixes:
+
+* Module mapping insertions into the database are now atomic. Previously, if
+  you SIGTERMed at the wrong time while running a script, you could end up with
+  an inconsistent database state.
 
 ## v0.1.1.1
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pantry-0.1.1.1/pantry.cabal 
new/pantry-0.1.1.2/pantry.cabal
--- old/pantry-0.1.1.1/pantry.cabal 2019-07-16 21:29:56.0 +0200
+++ new/pantry-0.1.1.2/pantry.cabal 2019-08-27 09:54:10.0 +0200
@@ -1,18 +1,24 @@
 cabal-version: 1.12
-name: pantry
-version: 0.1.1.1
-license: BSD3
-license-file: LICENSE
-copyright: 2018-2019 FP Complete
-maintainer: mich...@snoyman.com
-author: Michael Snoyman
-homepage: https://github.com/commercialhaskell/stack#readme
-bug-reports: https://github.com/commercialhaskell/stack/issues
-synopsis: Content addressable Haskell package management
-description:
-Please see the README on Github at 

-category: Development
-build-type: Simple
+
+-- This file has been generated from package.yaml by hpack version 0.31.2.
+--
+-- see: https://github.com/sol/hpack
+--
+-- hash: e338943a1a53aa6c588e00a1b9eb2d38801ab6382e7ea4c33b31bd9eea0fb994
+
+name:   pantry
+version:0.1.1.2
+synopsis:   Content addressable Haskell package management
+description:Please see the README on Github at 

+category:   Development
+homepage:   https://github.com/commercialhaskell/pantry#readme
+bug-reports:https://github.com/commercialhaskell/pantry/issues
+author: Michael Snoyman
+maintainer: mich...@snoyman.com
+copyright:  2018-2019 FP Complete
+license:BSD3
+license-file:   LICENSE
+build-type: Simple
 extra-source-files:
 README.md
 ChangeLog.md
@@ -21,195 +27,198 @@
 attic/symlink-to-dir.tar.gz
 
 source-repository head
-type: git
-location: https://github.com/commercialhaskell/stack
+  type: git
+  location: https://github.com/commercialhaskell/pantry
 
 library
-exposed-modules:
-Pantry
- 

commit ghc-pantry for openSUSE:Factory

2019-08-13 Thread root
Hello community,

here is the log from the commit of package ghc-pantry for openSUSE:Factory 
checked in at 2019-08-13 13:15:04

Comparing /work/SRC/openSUSE:Factory/ghc-pantry (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-pantry.new.9556 (New)


Package is "ghc-pantry"

Tue Aug 13 13:15:04 2019 rev:2 rq:721031 version:0.1.1.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-pantry/ghc-pantry.changes2019-07-29 
17:25:48.906315010 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-pantry.new.9556/ghc-pantry.changes  
2019-08-13 13:15:07.189507705 +0200
@@ -1,0 +2,10 @@
+Thu Jul 18 08:17:33 UTC 2019 - psim...@suse.com
+
+- Update pantry to version 0.1.1.1.
+  ## v0.1.1.1
+
+  Other changes:
+
+  * Support building with persistent-template-2.7
+
+---

Old:

  pantry-0.1.1.0.tar.gz
  pantry.cabal

New:

  pantry-0.1.1.1.tar.gz



Other differences:
--
++ ghc-pantry.spec ++
--- /var/tmp/diff_new_pack.zYxsoJ/_old  2019-08-13 13:15:09.181507244 +0200
+++ /var/tmp/diff_new_pack.zYxsoJ/_new  2019-08-13 13:15:09.185507243 +0200
@@ -19,14 +19,13 @@
 %global pkg_name pantry
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.1.1.0
+Version:0.1.1.1
 Release:0
 Summary:Content addressable Haskell package management
 License:BSD-3-Clause
 Group:  Development/Libraries/Haskell
 URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
 Patch01:enable-undecidable-instances-extension.patch
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-aeson-devel
@@ -114,7 +113,6 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 echo > Setup.hs 'import Distribution.Simple'
 echo >>Setup.hs 'main = defaultMain'
 %patch01 -p5

++ pantry-0.1.1.0.tar.gz -> pantry-0.1.1.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pantry-0.1.1.0/ChangeLog.md 
new/pantry-0.1.1.1/ChangeLog.md
--- old/pantry-0.1.1.0/ChangeLog.md 2019-07-11 20:57:51.0 +0200
+++ new/pantry-0.1.1.1/ChangeLog.md 2019-07-16 21:19:03.0 +0200
@@ -1,6 +1,13 @@
 # Changelog for pantry
 
 
+## v0.1.1.1
+
+Other changes:
+
+* Support building with persistent-template-2.7
+
+
 ## v0.1.1.0
 
 **Changes since 0.1.0.0**
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pantry-0.1.1.0/pantry.cabal 
new/pantry-0.1.1.1/pantry.cabal
--- old/pantry-0.1.1.0/pantry.cabal 2019-07-11 22:01:05.0 +0200
+++ new/pantry-0.1.1.1/pantry.cabal 2019-07-16 21:29:56.0 +0200
@@ -1,24 +1,18 @@
 cabal-version: 1.12
-
--- This file has been generated from package.yaml by hpack version 0.31.2.
---
--- see: https://github.com/sol/hpack
---
--- hash: 09f5f6cbd6fef7c61407c5d1f828315ec41ec73d457183290183b50fa361bd56
-
-name:   pantry
-version:0.1.1.0
-synopsis:   Content addressable Haskell package management
-description:Please see the README on Github at 

-category:   Development
-homepage:   https://github.com/commercialhaskell/stack#readme
-bug-reports:https://github.com/commercialhaskell/stack/issues
-author: Michael Snoyman
-maintainer: mich...@snoyman.com
-copyright:  2018-2019 FP Complete
-license:BSD3
-license-file:   LICENSE
-build-type: Simple
+name: pantry
+version: 0.1.1.1
+license: BSD3
+license-file: LICENSE
+copyright: 2018-2019 FP Complete
+maintainer: mich...@snoyman.com
+author: Michael Snoyman
+homepage: https://github.com/commercialhaskell/stack#readme
+bug-reports: https://github.com/commercialhaskell/stack/issues
+synopsis: Content addressable Haskell package management
+description:
+Please see the README on Github at 

+category: Development
+build-type: Simple
 extra-source-files:
 README.md
 ChangeLog.md
@@ -27,198 +21,195 @@
 attic/symlink-to-dir.tar.gz
 
 source-repository head
-  type: git
-  location: https://github.com/commercialhaskell/stack
+type: git
+location: https://github.com/commercialhaskell/stack
 
 library
-  exposed-modules:
-  Pantry
-  Pantry.SHA256
-  Pantry.Internal
-  Pantry.Internal.StaticBytes
-  Pantry.Internal.Stackage
-  Pantry.Internal.Companion
-  Pantry.Internal.AesonExtended
-  other-modules:
-