Anton-Latukha
24435f0b87
core:System/Nix/Internal/Hash: unify encodeBase*
fun under encodeIn
2020-12-17 00:42:19 +02:00
Anton-Latukha
901f23ee88
core:System/Nix/Internal/Hash: sort encode*/decode* functions
2020-12-17 00:28:01 +02:00
Anton Latukha
d8db986a3e
Merge request #88 add CI Cabal build functionality
2020-12-15 14:02:31 +02:00
Anton-Latukha
ac92f1d44c
CI: GitHub: *Cabal-Linux: add Nix installation for Remote
2020-12-15 13:51:55 +02:00
Anton-Latukha
0d130d5334
CI: GitHub: *Cabal-Linux: enable test suite for Store-remote
2020-12-15 13:15:12 +02:00
Anton-Latukha
8a5f8161eb
CI: GitHub: add On-Release-Cabal-Linux
2020-12-15 13:14:51 +02:00
Anton-Latukha
a3688cf0d0
CI: GitHub: add Cabal-Linux
2020-12-15 13:11:53 +02:00
Anton Latukha
4a1c1a2697
Merge request #86 : use base16-bytestring >= 1, & updating according tests
2020-12-14 11:47:06 +02:00
Richard Marko
9126129372
core: fix tests due to B16.decode changing type
2020-12-14 10:15:25 +01:00
Anton-Latukha
7a81be7ae1
hnix-store-core.cabal: use base16-bytestring >= 1
2020-12-14 10:52:36 +02:00
Richard Marko
bb2a91c09e
core: Add derivation test samples to extra-source-files
2020-12-14 10:43:39 +02:00
Anton Latukha
ab190513af
System/Nix/Internal/Hash: fx decodeBase16, unify decodeBase{16,32,64} functions ( #84 )
...
Yes. One just needed to look at the previous decode* set of functions to understand why they got unified.
Now they can be unified into one function and get Left handled predictably & uniformly.
2020-12-13 16:00:44 +02:00
Greg Hale
04444ce5e1
Merge pull request #79 from haskell-nix/bump-0.3.0.1
...
version bump
2020-11-29 09:26:14 -05:00
Greg Hale
e602dc927a
version bump
2020-11-29 09:23:00 -05:00
Greg Hale
38a705e3b0
Merge pull request #78 from sorki/release0.3
...
ChangeLog(s): release 0.3.0.0
2020-11-29 09:21:44 -05:00
Richard Marko
353ac1511c
ChangeLog(s): release 0.3.0.0
2020-11-29 15:14:26 +01:00
Greg Hale
bc10465de2
Merge pull request #77 from sorki/next
...
ChangeLog updates, remote version bump
2020-11-29 08:54:39 -05:00
Richard Marko
69f9af2c00
core: update ChangeLog (base64, SHA512, NAR streaming)
2020-11-16 11:56:31 +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
Richard Marko
31e700e714
Merge pull request #74 from layus/fix-encoding
...
Fix text encoding to utf8
2020-11-13 23:33:42 +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
Richard Marko
474725b3de
Merge pull request #73 from layus/sha512
...
Sha512 and base64 support
2020-11-09 12:34:34 +01:00
Greg Hale
0adc9d56f5
Merge pull request #61 from haskell-nix/vigorous-io
...
Stream to and from NAR format
2020-11-07 17:10:51 -05:00
Guillaume Maudoux
f0d0d12f83
Add support for base64 and sha512
...
cryptohash-sha512 is not yet updated to work with ghc 8.10.
Some jailbreaking is required.
2020-11-03 22:40:56 +01:00
Guillaume Maudoux
a139b6ff12
Do not break everyone's code
...
Force named hashes to be valid. After all, what would be the point of
naming an invalid hash ?
This avoids propagating manually the ValidAlgo requirement everywhere.
2020-10-28 10:15:11 +01:00
Greg Hale
3de47a36e7
Use constant-space encoding and decoding for NARs
2020-08-05 21:00:52 -04:00
Guillaume Maudoux
5b91fcae07
Fix parsing of cas path adresses
2020-07-24 22:25:52 +02:00
Guillaume Maudoux
4fc581ad08
Fix hash computation in makeFixedOutputPath
2020-07-24 12:44:09 +02:00
Guillaume Maudoux
68f85696db
Add mkNamedDigest
to parse text digests
2020-07-24 12:44:09 +02:00
Richard Marko
59e08d49ef
Merge pull request #59 from sorki/storepath
...
Remote store
2020-07-24 08:51:48 +02:00
Richard Marko
dff752750d
remote: Put tests behind io-testsuite flag
...
Disabled by default since it requires `nix-daemon` binary
and Linux namespaces support.
For development this can be enabled by
```
cabal configure --flag=io-testsuite
```
or by adding
```
flags: +io-testsuite
```
to `cabal.project.local`
Enabled by `callCabal2nixWithOptions` in `overlay.nix` so
it is tested by `nix-build` and `nix-shell` brings all
test dependencies.
This is fine on NixOS where `build-tool-depends: nix:nix-daemon` works
and we have namespaces supported.
2020-07-14 13:27:24 +02:00
Richard Marko
850bafdb84
remote: Add ChangeLog.md
2020-07-14 13:27:24 +02:00
Richard Marko
84cbca23e3
core: Update ChangeLog
2020-07-14 13:27:24 +02:00
Richard Marko
4ddea5b1e9
core: derive Ord for StorePathTrust
2020-07-14 13:27:24 +02:00
Richard Marko
5f33d9755b
remote: add buildDerivation and test
...
Closes #20 .
2020-07-14 13:27:24 +02:00
Richard Marko
1076926515
core: add System.Nix.Derivation and tests
2020-07-14 13:27:24 +02:00
Richard Marko
11277253c0
switch hackage category from System to Nix
2020-07-14 13:27:24 +02:00
Richard Marko
1f862114c6
simple store path root, remote store rework
...
Closes #15 , #16 , #21 , #22 , #62 .
2020-07-14 13:27:24 +02:00
Richard Marko
cbe0c49083
Merge pull request #60 from haskell-nix/gh-tmp-changelog
...
hnix-store-core changelog for 0.2.0.0
2020-06-28 10:41:08 +02:00
John Ericson
46cf3fc58f
Merge pull request #36 from puffnfresh/makeFixedOutputPath
...
Add makeFixedOutputPath
2020-03-28 09:58:14 -04:00
Greg Hale
7e61a7ca22
Merge pull request #57 from sorki/b32
...
Base16/Base32 decoding, props/tests
2020-03-22 11:17:17 -04:00
Greg Hale
e0997b4472
Merge pull request #58 from sorki/narfmtfix
...
fix nar test lookup for src directory
2020-03-22 10:56:02 -04:00
Greg Hale
fe87726b02
hnix-store-core changelog for 0.2.0.0
2020-03-12 09:50:07 -04:00