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

Create header for LegacySSHStore #9586

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

Ericson2314
Copy link
Member

@Ericson2314 Ericson2314 commented Dec 10, 2023

Motivation

In #6134 (comment), @thuffschmitt proposed exposing LegacySSHStore in Nix for deduplication with Hydra, at least temporarily. I think that is a good idea.

Note that the diff will look bad unless one ignores whitespace! Also try this locally:

git diff --ignore-all-space HEAD^:src/libstore/legacy-ssh-store.cc HEAD:src/libstore/legacy-ssh-store.cc
git diff --ignore-all-space HEAD^:src/libstore/legacy-ssh-store.cc HEAD:src/libstore/legacy-ssh-store.hh

Context

Priorities

Add 👍 to pull requests you find important.

In NixOS#6134 (comment),
@thuffschmitt proposed exposing `LegacySSHStore` in Nix for
deduplication with Hydra, at least temporarily. I think that is a good
idea.

Note that the diff will look bad unless one ignores whitespace! Also try
this locally:

```shell-session
git diff --ignore-all-space HEAD^:src/libstore/legacy-ssh-store.cc HEAD:src/libstore/legacy-ssh-store.cc
git diff --ignore-all-space HEAD^:src/libstore/legacy-ssh-store.cc HEAD:src/libstore/legacy-ssh-store.hh
```
@github-actions github-actions bot added the store Issues and pull requests concerning the Nix store label Dec 10, 2023
Copy link
Member

@roberth roberth left a comment

Choose a reason for hiding this comment

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

Looks good.

{
return std::nullopt;
}


static RegisterStoreImplementation<LegacySSHStore, LegacySSHStoreConfig> regLegacySSHStore;
Copy link
Member

Choose a reason for hiding this comment

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

The most important line is preserved.

@roberth roberth merged commit da58c00 into NixOS:master Dec 11, 2023
11 checks passed
@Ericson2314 Ericson2314 deleted the legacy-ssh-store-header branch December 11, 2023 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
store Issues and pull requests concerning the Nix store
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants