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

Factor out a LogStore interface #6220

Merged
merged 4 commits into from
Mar 14, 2022
Merged

Conversation

Ericson2314
Copy link
Member

Continue progress on #5729.

Just as I hoped, this uncovered an issue: the daemon protocol is missing
a way to query build logs. This doesn't effect unix://, but does
effect ssh://. A FIXME is left for this, so we come back to it later.

@Ericson2314 Ericson2314 requested review from edolstra and thufschmitt and removed request for edolstra March 8, 2022 18:51
@Ericson2314
Copy link
Member Author

Error is mere timeout.

Copy link
Member

@thufschmitt thufschmitt left a comment

Choose a reason for hiding this comment

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

I kinda like the overall idea. A few comments/suggestions

src/libstore/gc-store.cc Outdated Show resolved Hide resolved
src/libstore/ssh-store.cc Outdated Show resolved Hide resolved
I should have done this to begin with. This will be nicer once more
Store sub-interfaces exist too, to illustrate the pattern.
Continue progress on NixOS#5729.

Just as I hoped, this uncovered an issue: the daemon protocol is missing
a way to query build logs. This doesn't effect `unix://`, but does
effect `ssh://`. A FIXME is left for this, so we come back to it later.
@thufschmitt thufschmitt merged commit 0e86ebf into NixOS:master Mar 14, 2022
@Ericson2314 Ericson2314 deleted the log-store branch March 14, 2022 15:05
@Ericson2314
Copy link
Member Author

Thanks!

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