Commit Graph

112 Commits

Author SHA1 Message Date
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
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
ef6343be35
Core: use relude as Prelude 2021-08-06 17:55:32 +03:00
Anton-Latukha
eb550bd615
Remote: tests: NixDaemon: refactor 2021-08-06 17:43:23 +03:00
Anton-Latukha
9f459aca05
Remote: treewide refactor 2021-08-06 17:43:23 +03:00
Anton-Latukha
b816f41170
treewide: clean-up language extensions 2021-08-06 17:43:23 +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
5a0171daa3 Remote: ChangeLog: prepare to 0.5 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
b4203b2e4d
treewide: "@ '" -> "@'"
Should fix builds for GHC 9.0.
2021-03-15 22:06:58 +02:00
Anton Latukha
c582d0a015
Core, Remote: m fx to ChangeLogs (#139) 2021-03-12 20:17:11 +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
e2378e0eea
Core, Remote: map -> fmap
Allow not only lists.
This for example should allow NonEmpty lists at least.

Also do not think I do this things on a whim.
I did some research on: is there a reason to use map over fmap, and are the
performance reasons?
In short - there is 0 infornamation on why some people use `map` over `fmap`, there
are no reports of performance reasons.

Well, I know that there is a possibility of a minor type class interface
compilation & runtime use cost. But I think GHC is good enough to infer zero
cost for the concrete list type for which `map` gets used.

And overall we not did thorough profiling/perfommans walkthrough so far. I am
sure that use of standard fmap for code flexibility is not a bottleneck in the
design, I've seen some performance problems design has.

And we not even did the profiling to do inlining and specialize work yet. It is
more effective to keep using `fmap`, and supply specialization, which allows to
keep the code polymorhic, portable to write for and effective in performance.
2021-02-03 13:47:00 +02:00
Anton-Latukha
f86235758a
Core, Remote: (++) -> (<>)
*afaik* (++) does not even work with OverloadedStrings with Text or ByteString.

Lets allow ourselves to switch from [] & Strings in Haskell in any part of the code.
2021-02-03 13:02:03 +02:00
Anton-Latukha
c49eb9b6d7
Core, Remote: return -> pure
I wonder why type system needs to infer Monad constraint where Applicative would
suffice.
2021-02-03 12:52:48 +02:00
Anton Latukha
792c76b0af
Core, Remote: handcrafted code clean-up (#134)
`brittany` was used.

Then all changes passed through manual supervision.

Then handcrafted code cleanup was done.

All changes are pure lambda code refactoring,
there should be no changes to the functionality.
2021-02-03 12:44:58 +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
Richard Marko
be3ab4f548 Next changelog sections 2021-01-16 10:24:59 +01:00
Richard Marko
0ab60a0d6b Release 0.4.1
Closes #111.
2021-01-16 09:57:26 +01: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