Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Remote store #13

Merged
merged 7 commits into from
Aug 4, 2018
Merged

WIP: Remote store #13

merged 7 commits into from
Aug 4, 2018

Conversation

sorki
Copy link
Member

@sorki sorki commented Jul 16, 2018

Prototype of remote store access via worker protocol. Most of the API is implemented, tho I'm struggling a bit with path hash computation/extraction. Few methods are still left undefined as they require some special care.

I'm not quite sure how to fit this onto API in System.Nix.Store as well as it differentiates between rootedPath and validPath - not sure how are these related to Path and ValidPathInfo (also ValidPathInfo needs separate file due to clashing record field names).

Related to #12 and haskell-nix/hnix#173

@sorki
Copy link
Member Author

sorki commented Jul 16, 2018

I will also add ErrorT handling as per notes but wanted to get this out as it's a lot of code already.

@shlevy
Copy link
Member

shlevy commented Jul 16, 2018

Thanks! @imalsogreg are you able to give this a first-pass review?

Copy link
Collaborator

@imalsogreg imalsogreg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will add some more style comments, but overall this is fantastic and I'd like to merge it sooner than later, since we would like to make use of the derivation type and the store functions in other active hnix tickets.

, network
, mtl
, cryptonite
, unordered-containers
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Ord a => Ord (HashSet a) instance that you use later requires unordered-containers >= 0.2.9

@imalsogreg imalsogreg merged commit 7ecef66 into haskell-nix:master Aug 4, 2018
Ericson2314 pushed a commit to obsidiansystems/hnix-store that referenced this pull request Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants