Commit Graph

334 Commits

Author SHA1 Message Date
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
Richard Marko
cb164907da overlay.nix: add nix and which pkgs to remote buildInputs 2020-12-30 14:12:17 +01:00
Anton Latukha
9826ddbce3
Merge #102: allowBroken cryptohash; base16-bytestring dep epochs support 2020-12-30 13:53:05 +02:00
Anton-Latukha
ffeaabbd30
overlay.nix: allow broken cryptohash-sha512 for nix-build 2020-12-30 13:47:28 +02:00
Anton-Latukha
3ece3b4e50
hnix-store-{core,remote}: support both base16-bytestring epochs 2020-12-30 13:47:28 +02: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
61e963d102
CI: GitHub: nix-build: fx target closure (#98)
Nix builds were building Nixpkgs packages, and in the case of the Remote - the Nixpkgs that used local Core override.

Now they use the local build, and fall because of the `cryptohash-sha512` state, which already treated for Cabal with `cabal.project`, but looks like `cabal2Nix does not support those, so the builds fall.
2020-12-22 21:58:58 +02:00
Anton Latukha
40a54cd6d0
CI: GitHub: Tmp allow broken/try to build broken Nix closures (#97)
SInce projects are broken quite frequently - introducing tmp `allowBroken` fix.
Works towards #67.
2020-12-22 21:32:42 +02:00
Anton Latukha
b61f40ad2e
Merge #94: Tmp override fix of cryptohash-sha512
`cryptohash-sha512` unmaintained, PR adds support of `base` 4.14 (GHC 8.10) through `cabal.project`

Remote fails because of wrong bounds on the Hackage HNix-Core, since it allows but does not support `base16-bytestring >= 1`.

Recently I migrated Core to `base16-bytestring >= 1` - but that is in `master` - Core release would fix the Remote Core dependency build.

Closes #90.
2020-12-22 21:21:07 +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
10bb0aefab
core: tmp-override-cryptohash-sha512
cryptohash-sha512 unmaintained, PR adds support of base 4.14 (GHC 8.10).

The fork got version restriction and several tests removed.

A  hnix-store-core/cabal.project
2020-12-22 21:04:53 +02:00
Anton Latukha
69174725ac
CI: GitHub: add Optional-Nix-dev-env-main: add mvp nix-build (#95)
Work towards having enough CI testing #67.

I currently can not create the Cachix binary cache current for the project, details in #96.

So for the time being added the simple GH cache to them.
2020-12-22 21:02:19 +02:00
Anton Latukha
72eaf6c01d
readme: sync doc links to source
Closes #49
2020-12-19 13:47:40 +02:00
Richard Marko
ba166a5abb
Merge pull request #87 from Anton-Latukha/2020-12-14-uni-encode-decode
Unify hash Base encoding/decoding funcitons
2020-12-17 12:11:00 +01: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
Richard Marko
ee42448154
core: qualified Base32 in Hash test
Related to #87.
2020-12-17 00:56:58 +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
Anton-Latukha
3e33dc2f5e
core:System/Nix/Internal/Hash: unify decodeBase* fun under decode 2020-12-17 00:42:31 +02:00
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