Richard Marko
e484ee77d2
remove cabal.project from subdirs
2023-11-17 10:18:05 +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
e6740b5704
add storePathHashPartToText
2023-11-16 13:18:01 +01:00
Richard Marko
e6f016d72f
Convert StorePathMetadata into Metadata a
...
Also derive bunch of common instances.
Closes #147
2023-11-16 07:22:45 +01:00
Richard Marko
3608451559
add Serialize for Derivation, add getPathOrFail
2023-11-15 18:36:28 +01:00
Richard Marko
c53c10721b
add Serialize for BuildResult
2023-11-15 18:36:28 +01:00
Richard Marko
7f4aeae935
add BuildStatus ResolvesToAlreadyValid and NoSubstituters
2023-11-15 18:36:28 +01:00
Richard Marko
99e6217cf9
Switch BuildResult builtTimes from Integer to Int
2023-11-15 18:36:28 +01:00
Richard Marko
ddc914bcb4
remote: add Serialize instances for BuildMode, BuildStatus, Text + tests
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
40838bd6dd
Introduce InvalidPathError
2023-11-15 10:24:59 +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
e81932aa77
remote: CHANGELOG cleanup
2023-11-15 08:49:38 +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
fe33fba30b
Drop StorePathSet type alias
2023-11-15 08:29:49 +01:00
Richard Marko
6f21bb30ef
remote: add Recursive newtype for addToStore
2023-11-15 08:29:49 +01:00
Richard Marko
3b3752d758
core: don't (re)export StorePathHashPart constructor
2023-11-15 08:29:49 +01:00
Richard Marko
c095d12427
remote: move flags to Types, wrap in newtype
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
ffc254c105
remote: fix Wincomplete-uni-patterns warnings
2023-11-12 14:45:33 +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
Richard Marko
bdaa7c526c
Add ChangeLog entries for Store dir like Nix
2023-10-30 14:22:02 +01:00
John Ericson
5727827dcb
Store dir like nix
2023-06-16 11:27:39 -04:00
Richard Marko
aabe589f53
remote: fix changelog URLs
2022-06-06 12:24:49 +02: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
soulomoon
3e0ee222ba
replace the filepath argument in addToStore with a more common type NarSource (The remote part)
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
Richard Marko
dfa55dc8ba
remote: set HOME for tests
2022-03-07 12:12:23 +01:00
Anton-Latukha
a432ee295d
remote: test: NixDaemon: fx Text use
2022-02-21 14:31:01 +01:00
Anton-Latukha
aecfd03ecd
dep: Core,Remote: relude >= 1.0
2022-02-21 14:31:01 +01:00
thomasjm
71b8a9478b
Tweak and respond to review
2021-11-25 14:17:51 +02:00
thomasjm
dc43a716a8
Be able to connect to store with arbitrary socket settings
2021-11-25 14:17:51 +02:00
Anton-Latukha
04333808af
Remote: tests: NixDaemon: mockedEnv: refactor
2021-08-06 19:29:03 +03:00
Anton-Latukha
bc000b4c6b
Remote: clean-up imports
2021-08-06 19:29:03 +03:00
Anton-Latukha
75c810423a
treewide: hlint refactor
2021-08-06 19:29:02 +03:00
Anton-Latukha
2b58d3e510
treewide: use lift
2021-08-06 19:29:02 +03:00
Anton-Latukha
c1d54c8886
treewide: use toLText
2021-08-06 19:29:01 +03:00
Anton-Latukha
5d22b9450a
treewide: use pass
2021-08-06 19:29:01 +03:00
Anton-Latukha
c00dedcd3a
treewide: use toText
2021-08-06 19:29:01 +03:00
Anton-Latukha
c4183d22d2
treewide: (LANGUAGE -> language)
2021-08-06 19:29:01 +03:00