Commit Graph

66 Commits

Author SHA1 Message Date
Richard Marko
2dccf433be remote: drop conditional -Wunused-packages 2023-11-18 09:22:34 +01:00
Richard Marko
a3d2b20afd remote: prune extensions 2023-11-18 09:22:34 +01:00
Richard Marko
0b2f3d3cbc remote: drop global OverloadedStrings 2023-11-18 09:22:34 +01:00
Richard Marko
39cff26d59 remote: drop build-depends from common stanza 2023-11-18 09:22:34 +01:00
Richard Marko
9e11428824 remote: actually use build-remote flag, disable by default, enable via cabal.project 2023-11-17 10:17:56 +01:00
Richard Marko
2e1cab22b3 move ContentAddressableAddress builder and parser to core, add roundtrip prop 2023-11-17 08:03:40 +01:00
Richard Marko
b80ee47f6a Add Default StoreDir instance 2023-11-16 13:25:20 +01:00
Richard Marko
3608451559 add Serialize for Derivation, add getPathOrFail 2023-11-15 18:36:28 +01:00
Richard Marko
319fd00b91 remote: drop relude
I prefer explicit imports vs magic and this causes
an unused packages warning to pop (with no workaround or fix in sight).
2023-11-15 18:36:28 +01:00
Richard Marko
445f59df6d remote: start transitioning from binary to cereal
Strict by default, with round trip props.

Nix-like serialization primitives for now
via System.Nix.Store.Remote.Serialize.Prim
2023-11-15 09:46:48 +01:00
Richard Marko
82fc838af0 ChangeLog.md -> CHANGELOG.md, add README.lhs for remote 2023-11-15 08:42:56 +01:00
Richard Marko
2a6fd965f6 remote: common - add RecordWildCards, ScopedTypeVariables 2023-11-15 08:29:49 +01:00
Richard Marko
b98fb44d7f remote: rename testsuite to remote-io, move to tests-io 2023-11-15 08:29:49 +01:00
Richard Marko
e7622b3269 remote: move default-extensions into common stanza 2023-11-15 08:29:49 +01:00
Richard Marko
3b44930603
Merge pull request #228 from sorki/srk/release/core07
Release core `0.7`
2023-11-15 08:19:25 +01:00
Richard Marko
5bad6836c5 remote: build README.md via cabal
Added as `remote-readme` executable.

Closes #47.
2023-11-14 09:45:29 +01:00
Richard Marko
12732e62e3 remote: bump core bounds to require 0.7
Related to #227
2023-11-14 09:31:19 +01:00
Richard Marko
f60a78d1e9 remote: set "-with-rtsopts -V0" for testsuite
See also https://github.com/redneb/hs-linux-namespaces/issues/3

Related to #222
2023-11-12 13:54:25 +01:00
Richard Marko
39bf386be7 remote: make (io-)testsuite not buildable on os(darwin)
Related to #222
2023-11-11 19:00:21 +01:00
John Ericson
5727827dcb Store dir like nix 2023-06-16 11:27:39 -04:00
Richard Marko
4f80b535f2 Relase remote 0.6 2022-06-06 11:37:10 +02:00
Richard Marko
de176877f9 remote: drop unused deps in testsuite 2022-06-06 11:37:10 +02:00
Richard Marko
b43d6f598f remote: adapt bounds for core-0.6 2022-06-06 11:32:50 +02:00
Richard Marko
082cad8756 remote: drop derivation test
This was a hack to test serialization/protocol
but the fake derivation won't pass validation
with Nix 2.6. This needs to be tested in combination
with hnix with valid derivation.

Closes #178
2022-03-07 12:42:05 +01:00
Anton-Latukha
aecfd03ecd dep: Core,Remote: relude >= 1.0 2022-02-21 14:31:01 +01:00
Anton-Latukha
f555947627
Remote: use relude as Prelude 2021-08-06 19:28:56 +03:00
Anton-Latukha
3abca41eed
Remote: cabal: declare default-extensions 2021-08-06 17:55:36 +03:00
Anton-Latukha
3f5d9092df
{Code, Remote}: require base >=4.12 (GHC 8.6) 2021-08-06 17:43:22 +03:00
Anton-Latukha
bca4094003 Remote: proclaim 0.5.0.0 2021-06-11 01:42:19 +03:00
Anton Latukha
3b948d112a
Remote: port to Core (0.5) migration to cryptonite (#161)
Core migrated from `cryptohash` to `cryptonite`, interfaces changed, therefore
the update.
2021-06-10 21:09:11 +03:00
Anton Latukha
0eb0e023c9
{Core, Remote}: proclaim 0.4.3.1 (#155) 2021-05-30 21:06:23 +03:00
Anton Latukha
b8c378ee77
Remote: Tasty removed Hspec reexports (#154) 2021-05-30 20:57:29 +03:00
Anton Latukha
b4377c753a
Release 0.4.3 (#153)
* Core: ChangeLog: add 0.4.3.0 section

* Remote: ChangeLog: add 0.4.3.0 section

* {Core, Remote}: cabal: proclaim 0.4.3.0
2021-05-30 18:55:50 +03:00
Anton-Latukha
b36c5857ef
Remote: cabal: move -rtsoptos into testsuite flag 2021-03-16 10:59:04 +02:00
Anton-Latukha
f323ba9289
Remote: cabal: layout 2021-03-16 10:59:04 +02:00
Anton Latukha
3068acd592
Core, Remote: version 0.4.2.0 (Cabal ver & ChangeLogs)
* Core: ChangeLog: add recent changes

* Remote: ChangeLog: add recent changes

* Core, Remote: version `0.4.2.0`
2021-03-12 19:38:54 +02:00
Anton Latukha
5d03ffc43c
Declare tasty-discover a testing build tool (#130)
This properly fixes the use of the tasty-discover,
the report & info were sent upstream to fix it in docs:
https://github.com/haskell-works/tasty-discover/issues/4.
Closes: #129
2021-01-19 13:08:32 +02:00
Anton-Latukha
6d75088835
Remote: prepare 0.4.1.0: cabal ver, ChangeLog 2021-01-16 09:39:26 +02:00
Anton-Latukha
f325cdb7ca Core, Remote: tasty-discover dep: rm from Cabal desc, add to Nix drv
`tasty-discover` is a run-time executable dependency, it does not belong in the
package description.
2021-01-15 02:43:27 +02:00
Anton Latukha
64453c5195
Remote: deps: use directory (#120)
`which` is excessive, it depends on TH & `shelly` which depends on a lot of things and also `directory`.
2021-01-15 02:31:33 +02:00
Anton Latukha
35b8e2c4b8
Core, Remote: deps clean-up (#117)
Closing: #116
#115 allowed to reduce some deps in descriptions.
2021-01-14 22:20:00 +02:00
Richard Marko
9c5a54f604 remote: drop redundant deps 2021-01-06 13:26:58 +01:00
Richard Marko
2779bf9705 treewide: switch to cabal 2.2, add commons stanza with Wall & Wunused-packages 2021-01-06 13:26:32 +01:00
Richard Marko
660cb2f190 treewide: fix cabal file indentation 2021-01-06 13:26:32 +01:00
Richard Marko
e7c1aa7a7b remote: add bounds for hnix-store-core 2020-12-30 14:15:21 +01:00
Richard Marko
3d6487d0e3 Release 0.4 2020-12-30 14:14:57 +01:00
Richard Marko
f9bff5907e remote: add lower bound for hnix-store-core 2020-11-16 11:43:00 +01:00
Richard Marko
df2937eb86 remote: drop build-tool-depends: nix:nix-daemon from cabal file 2020-11-16 11:41:42 +01:00
Richard Marko
313ae0de37 remote: bump version to 0.3.0.0 2020-11-16 11:41:42 +01:00
Guillaume Maudoux
ffc0cc4519 Fix text encoding to utf8 2020-11-11 22:57:49 +01:00