Ben Franksen <[email protected]> added the comment:

Updated bundle with three more patches pulled from reviewed: the two
fixes/improvements for check/repair, and one patch for the CI, so that I
could verify that the full matrix suceeds.

9 patches for repository https://darcs.net/releases/branch-2.18:

patch 8da98f5de14034aa79a2860212fa34e99585e188
Author: Ben Franksen <[email protected]>
Date:   Thu Nov  7 09:08:31 CET 2024
  * raise upper bound on tls, data-default-class -> data-default

  This allows building against current stackage nightly and restores building
  with ghc-9.8 which broke due to PVP violating updates of these packages.

patch 486faf023c29c06a7ddd3fef72d8dd28f6c91885
Author: Ben Franksen <[email protected]>
Date:   Sat Nov 30 12:18:02 CET 2024
  * exclude system-fileio-0.3.16.5 which fails to build on Windows

patch d50e7aa8f075c545512a4bcfe539bfdaf80993ae
Author: Ben Franksen <[email protected]>
Date:   Wed Nov 27 17:35:43 CET 2024
  * restrict upper limit on attoparsec from <0.15 to <14.4 for ghc versions 
<8.10

  Otherwise we get errors when building the attoparsec dependency.

patch 3be4b4e5cba2942359272bb8b590c0ccda17eec1
Author: Ben Franksen <[email protected]>
Date:   Thu Jan  9 10:40:34 CET 2025
  * bump version to 2.18.5

patch ba6a1163a3b4d663960ef47c3531d81c350c6387
Author: Ben Franksen <[email protected]>
Date:   Thu Nov 28 14:24:32 CET 2024
  * check/repair: display patch info of repaired patches

patch 3d731103a39de5dff58a61db93cc1e6bac0ead02
Author: Ben Franksen <[email protected]>
Date:   Thu Nov 28 14:26:55 CET 2024
  * check/repair: avoid newlines in progress messages

  It doesn't make sense to output the complete patch info in a progress
  message and our progress machinery can't properly handle that anyway.

patch d7bcc77eeacfefd62640350ce86683393e2dcb8e
Author: Ganesh Sittampalam <[email protected]>
Date:   Fri Jun  7 00:35:21 CEST 2024
  * only aim to be warnings clean on one version of GHC

  For now this is GHC 9.8

patch 573e03b043f7ac1624d79a4c3c2f9486a75a319b
Author: Ben Franksen <[email protected]>
Date:   Thu Jan  9 10:39:27 CET 2025
  * release notes for darcs-2.18.5

patch 3f3cd36f5d0226de7f39008f2abc846d9aa4d132
Author: Ben Franksen <[email protected]>
Date:   Thu Jan  9 12:12:44 CET 2025
  tagged 2.18.5

----------
title: raise upper bound on tls, data-default-c... (and 5 more) -> new release 
2.18.5

__________________________________
Darcs bug tracker <[email protected]>
<https://bugs.darcs.net/patch2451>
__________________________________
[raise upper bound on tls, data-default-class -> data-default
Ben Franksen <[email protected]>**20241107080831
 Ignore-this: e1af6546320196398b9801d9b21983783bf8751cb8ff57085e6b5970580866165db46223f5c83291
 
 This allows building against current stackage nightly and restores building
 with ghc-9.8 which broke due to PVP violating updates of these packages.
] hunk ./darcs.cabal 467
-                      data-default-class >= 0.1.2.0 && < 0.1.3,
+                      data-default      >= 0.7.1.3 && < 0.9,
hunk ./darcs.cabal 469
-                      tls               >= 2.0.6 && < 2.1
+                      tls               >= 2.0.6 && < 2.2
hunk ./src/Darcs/Util/HTTP.hs 49
-import Data.Default.Class ( def )
+import Data.Default ( def )

[exclude system-fileio-0.3.16.5 which fails to build on Windows
Ben Franksen <[email protected]>**20241130111802
 Ignore-this: 13aef8e0eb295e383c8020fac8ecec3cd1cd7915b78d68e6d5169736e3fd080eb1f76207768235d2
] hunk ./darcs.cabal 607
-                    system-fileio              < 0.4,
+                    -- exclude 0.3.16.5 which fails to build on Windows
+                    system-fileio              < 0.3.16.5 || > 0.3.16.5 && < 0.4,

[restrict upper limit on attoparsec from <0.15 to <14.4 for ghc versions <8.10
Ben Franksen <[email protected]>**20241127163543
 Ignore-this: 1b481a11e4f5a2b081651647dc27c15e715d86ea656c30aad893fd6d47379ae7841d1e81161eaa68
 
 Otherwise we get errors when building the attoparsec dependency.
] hunk ./darcs.cabal 440
-                      data-ordlist      == 0.4.*,
-                      attoparsec        >= 0.13.0.1 && < 0.15,
-                      zip-archive       >= 0.3 && < 0.5,
+                      data-ordlist      == 0.4.*
+
+    if impl(ghc < 8.10)
+      build-depends:  attoparsec        >= 0.13.0.1 && < 0.14.4
+    else
+      build-depends:  attoparsec        >= 0.14.4 && < 0.15
+
+    build-depends:    zip-archive       >= 0.3 && < 0.5,

[bump version to 2.18.5
Ben Franksen <[email protected]>**20250109094034
 Ignore-this: 421303e3241843236ed8643c7c1eaa9d745f2a52b424c1bac3e4552077ac06d72b64b37b68282fd4
] hunk ./darcs.cabal 3
-version:        2.18.4
+version:        2.18.5

[check/repair: display patch info of repaired patches
Ben Franksen <[email protected]>**20241128132432
 Ignore-this: 63b1df0f1639942c81a294439898d999e775f105e75a439f1918be1ba0c71806d2f0b2d6ef914872
] hunk ./src/Darcs/Repository/Repair.hs 57
-import Darcs.Util.Printer ( putDocLn, text, renderString )
+import Darcs.Util.Printer ( putDocLn, text, renderString, ($$) )
hunk ./src/Darcs/Repository/Repair.hs 102
-            putStrLn e
+            putStrLn $ renderString $ (displayPatchInfo $ info p) $$ text e

[check/repair: avoid newlines in progress messages
Ben Franksen <[email protected]>**20241128132655
 Ignore-this: 9518036436c726e6d948444ec7f363d4d1efb9e73db1c88f576628127950acd7427330c6dbaaf488
 
 It doesn't make sense to output the complete patch info in a progress
 message and our progress machinery can't properly handle that anyway.
] hunk ./src/Darcs/Repository/Repair.hs 31
-import Darcs.Patch.Info ( displayPatchInfo )
+import Darcs.Patch.Info ( displayPatchInfo, makePatchname )
hunk ./src/Darcs/Repository/Repair.hs 96
-      liftIO $ finishedOneIO k $ renderString $ displayPatchInfo $ info p
+      liftIO $ finishedOneIO k $ show $ makePatchname $ info p

[only aim to be warnings clean on one version of GHC
Ganesh Sittampalam <[email protected]>**20240606223521
 Ignore-this: baa0a229b2cf58978c3d04518ae0640aa270c191ab20a60650bbc69a8e3d4579afb96fa3b17a3b09
 
 For now this is GHC 9.8
] hunk ./.github/workflows/build-and-test.yml 35
+      warnaserror: ${{ matrix.ghc == '9.8.2'}}
hunk ./.github/workflows/build-and-test.yml 57
-    - name: Configure
+    - name: Configure (warnings as errors)
+      if: env.warnaserror == 'true'
hunk ./.github/workflows/build-and-test.yml 61
+    - name: Configure (warnings allowed)
+      if: env.warnaserror != 'true'
+      run: cabal configure --enable-tests
+

[release notes for darcs-2.18.5
Ben Franksen <[email protected]>**20250109093927
 Ignore-this: ed747eb6e35209ef57f1535ec7307b9e81c6002be2fb5621a7662f018f1c9915a330da5d968a1d2b
] hunk ./CHANGELOG.md 1
+Darcs 2.18.5, 9 Jan 2025
+
+This release is mainly to keep up with (breaking) changes in some of our
+dependencies. A plain `cabal update && cabal install darcs` should now again
+succeed. It also includes a minor fix and an improvement for the
+check/repair commands.
+
+  * restrict upper limit on attoparsec from <0.15 to <14.4 for ghc versions <8.10
+  * exclude system-fileio-0.3.16.5 which fails to build on Windows
+  * raise upper bound on tls, data-default-class -> data-default
+  * ci: only aim to be warnings clean on one version of GHC
+  * check/repair: avoid newlines in progress messages
+  * check/repair: display patch info of repaired patches
+

[TAG 2.18.5
Ben Franksen <[email protected]>**20250109111244
 Ignore-this: 36f2bddc159da3a5f0cfbbba1df3ad0b466282a42d11ed2c643934ebf4710029e639affd3e5aa1b4
] 
<
[release notes for darcs-2.18.5
Ben Franksen <[email protected]>**20250109093927
 Ignore-this: ed747eb6e35209ef57f1535ec7307b9e81c6002be2fb5621a7662f018f1c9915a330da5d968a1d2b
] 
[only aim to be warnings clean on one version of GHC
Ganesh Sittampalam <[email protected]>**20240606223521
 Ignore-this: baa0a229b2cf58978c3d04518ae0640aa270c191ab20a60650bbc69a8e3d4579afb96fa3b17a3b09
 
 For now this is GHC 9.8
] 
[check/repair: avoid newlines in progress messages
Ben Franksen <[email protected]>**20241128132655
 Ignore-this: 9518036436c726e6d948444ec7f363d4d1efb9e73db1c88f576628127950acd7427330c6dbaaf488
 
 It doesn't make sense to output the complete patch info in a progress
 message and our progress machinery can't properly handle that anyway.
] 
[check/repair: display patch info of repaired patches
Ben Franksen <[email protected]>**20241128132432
 Ignore-this: 63b1df0f1639942c81a294439898d999e775f105e75a439f1918be1ba0c71806d2f0b2d6ef914872
] 
[bump version to 2.18.5
Ben Franksen <[email protected]>**20250109094034
 Ignore-this: 421303e3241843236ed8643c7c1eaa9d745f2a52b424c1bac3e4552077ac06d72b64b37b68282fd4
] 
[restrict upper limit on attoparsec from <0.15 to <14.4 for ghc versions <8.10
Ben Franksen <[email protected]>**20241127163543
 Ignore-this: 1b481a11e4f5a2b081651647dc27c15e715d86ea656c30aad893fd6d47379ae7841d1e81161eaa68
 
 Otherwise we get errors when building the attoparsec dependency.
] 
[exclude system-fileio-0.3.16.5 which fails to build on Windows
Ben Franksen <[email protected]>**20241130111802
 Ignore-this: 13aef8e0eb295e383c8020fac8ecec3cd1cd7915b78d68e6d5169736e3fd080eb1f76207768235d2
] 
[raise upper bound on tls, data-default-class -> data-default
Ben Franksen <[email protected]>**20241107080831
 Ignore-this: e1af6546320196398b9801d9b21983783bf8751cb8ff57085e6b5970580866165db46223f5c83291
 
 This allows building against current stackage nightly and restores building
 with ghc-9.8 which broke due to PVP violating updates of these packages.
] 
[TAG 2.18.4
Ben Franksen <[email protected]>**20241026093913
 Ignore-this: ad4cc2fd8d9a9ab11ff36ddfdb8b5de208bfe44568255edfc95bcb92dedbee11e37613fd59d88f95
] 
>

Attachment: raise-upper-bound-on-tls_-data_default_class-__-data_default.dpatch
Description: application/darcs-patch

_______________________________________________
darcs-devel mailing list
[email protected]
https://lists.darcs.net/mailman/listinfo/darcs-devel

Reply via email to