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
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
4920668265
remote: re-export System.Nix.Store.Remote.Types from Remote
2021-01-14 14:47:17 +01:00
Richard Marko
779844eeb8
remote: fix all warnings
2021-01-14 14:47:17 +01:00
Anton-Latukha
5eac46f6d5
cabal: rm cryptohash-sha512 override
...
https://github.com/haskell-hvr/cryptohash-sha512/pull/5#issuecomment-757068529
2021-01-09 21:14:15 +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
862e01b0c3
Next changelog sections
2020-12-30 14:46:26 +01:00
Richard Marko
3e043dc99d
README tweaks and pruning
2020-12-30 14:46:26 +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
Anton Latukha
43313d0870
hnix-store-{core,remote}: allow also base16-bytestring < 1.0
( #100 )
2020-12-30 01:54:31 +02:00
Anton-Latukha
ba91603cb0
remote: tmp-override-cryptohash-sha512
...
cryptohash-sha512 unmaintained, PR adds support of base 4.14 (GHC 8.10).
A hnix-store-remote/cabal.project
2020-12-22 21:04:53 +02:00
Anton Latukha
1a4aa98514
remote: cosmetic
...
Co-authored-by: Richard Marko <srk@48.io>
2020-12-17 13:06:26 +02:00
Anton Latukha
181f5fc0a8
remote: cosmetic
...
Co-authored-by: Richard Marko <srk@48.io>
2020-12-17 13:05:58 +02:00
Anton-Latukha
5d160cd5c5
core & remote: cosmetics
2020-12-17 00:58:07 +02:00
Anton-Latukha
54ec4855ba
core & remote: refactor (Digest <-> BaseNN) encodeInBase & decodeBase
...
also rename functions `encodeIn` `decode` to `encodeInBase` `decodeBase`
2020-12-17 00:56:00 +02:00
Richard Marko
353ac1511c
ChangeLog(s): release 0.3.0.0
2020-11-29 15:14:26 +01:00
Richard Marko
914f16fcb1
remote: fix contentAddressableAddressBuilder to work with SomeDigest
2020-11-16 11:56:31 +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
ccc8d9c1ee
remote: mention removal of addToStoreNar in ChangeLog
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
Richard Marko
2497d37d35
Merge pull request #75 from layus/fix-build
...
[Quickfixes] Fix tests and build of hnix-store-remote
2020-11-13 23:36:12 +01:00
Guillaume Maudoux
272cc6f09d
Fix tests for queryPathInfoUncached
2020-11-11 23:29:06 +01:00
Guillaume Maudoux
b3cffef050
Propagate Nar streaming to the remote store
2020-11-11 23:29:06 +01:00
Guillaume Maudoux
ffc0cc4519
Fix text encoding to utf8
2020-11-11 22:57:49 +01:00