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
Richard Marko
8b8e675039
fix nar test lookup for src directory
...
Now also looks in `hnix-store-core/src` as well and won't fail
even if either of them doesn't exist (which is not a big deal
in this case).
2020-03-05 12:06:15 +01:00
Richard Marko
d82ba9f3a7
Base16/Base32 decoding, props/tests
2020-03-04 10:41:04 +01:00
Richard Marko
04cea994f1
default.nix: ghc844 -> ghc865
2020-03-04 09:26:28 +01:00
Shea Levy
188bafb399
Merge pull request #55 from hackworthltd/master
...
regex-tdfa 1.3.1.0 replaces regex-tdfa-text.
2020-01-27 05:39:12 -05:00
Drew Hess
516af6f95f
regex-tdfa 1.3.1.0 replaces regex-tdfa-text.
...
See https://github.com/haskell-hvr/regex-tdfa/issues/4
2020-01-26 18:54:34 +00:00
Brian McKenna
c02177dd7e
Only use source fixed output path if SHA256 algorithm
2019-06-25 22:11:57 +05:30
Shea Levy
671d3c58dd
Derive Ord for StorePath
2019-04-05 05:45:22 -04:00
Shea Levy
b6e9680437
StorePath: Derive Eq to make StorePathSet usable.
2019-04-03 06:50:52 -04:00
Shea Levy
c86c4f766f
Merge pull request #45 from 4z3/patch-1
...
hnix-store-remote README: fix example
2019-03-29 11:31:40 -04:00
tv
3a24d3423b
hnix-store-remote README: fix example
2019-03-28 21:32:31 +01:00
Brian McKenna
21d3eaf84c
Add makeFixedOutputPath
2019-03-28 08:45:19 +05:30
Shea Levy
6e4b72f021
Add type for metadata about StorePaths.
...
This is a stronger-typed version of ValidPathInfo, so this fixes #43 .
2019-03-27 12:04:56 -04:00
Shea Levy
61a536504d
makeStorePath: Generalize toall named hash algorithms.
2019-03-24 16:50:02 -04:00
Shea Levy
f2beabb10f
Remove as-yet unused System.Nix.Build
2019-03-23 10:52:00 -04:00
Shea Levy
67f1f0b1fa
Migrate System.Nix.Path to System.Nix.StorePath
2019-03-23 10:49:29 -04:00
Shea Levy
2ad76d2b8b
Fix build on GHC 8.4
2019-03-22 10:00:08 -04:00
Shea Levy
a9312d91d3
Remove now-unused System.Nix.Path
2019-03-22 09:45:19 -04:00
Shea Levy
5a270eff70
NarFormat test: Remove dependency on System.Nix.Path.
2019-03-22 09:43:12 -04:00
Shea Levy
8dd4805936
Hash test: Depend on new StorePath module.
2019-03-22 09:42:33 -04:00
Shea Levy
194261bffa
KnownStoreDir: Note pathiness requirement in haddocks.
2019-03-22 09:40:16 -04:00
Shea Levy
8fa011942e
ReadonlyStore: Update to use new StorePath module.
2019-03-22 09:21:30 -04:00