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

(pass): Add tomb plugin #29307

Merged
merged 2 commits into from Mar 3, 2018
Merged

(pass): Add tomb plugin #29307

merged 2 commits into from Mar 3, 2018

Conversation

mickours
Copy link
Contributor

Motivation for this change

Add the pass-tomb plugin to pass.

Things done

Import tomb and add the tomb plugin

  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@mention-bot
Copy link

@mickours, thanks for your PR! By analyzing the history of the files in this pull request, we identified @fpletz, @lovek323 and @the-kenny to be potential reviewers.

{ name = "update";
rev = "cf576c9036fd18efb9ed29e0e9f811207b556fde"; sha256 = "1hhbrg6a2walrvla6q4cd3pgrqbcrf9brzjkb748735shxfn52hd"; }
{ name = "tomb";
rev = "3368134898a42c1b758fabac625ec240e125c6be"; sha256 = "0qqmxfg4w3r088qhlkhs44036mya82vjflsjjhw2hk8y0wd2i6ds"; }
Copy link
Member

@Mic92 Mic92 Sep 13, 2017

Choose a reason for hiding this comment

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

Do all you users want these plugins? cc @fpletz

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree that all those plugins will probably not be used by everyone but, as there is already 2 plugins in the package, I thought that adding a third one will not hurt. Also, correct me if I am wrong, but it seems that it is not possible to add plugin afterwards, so it has to be in the pass package.

Maybe we can add an option to the package for the the user to selected the wanted plugins?

Copy link
Member

Choose a reason for hiding this comment

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

I think they were just added by default for simplicity. But now as we get plugins with additional dependencies, it starts to make sense to rework this part.

Copy link
Member

Choose a reason for hiding this comment

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

The proper way to do this is to add a wrapper (like vim) that then pulls in all the required runtimes.

@mickours
Copy link
Contributor Author

mickours commented Dec 6, 2017

I made the tomb plugin optional using tombPluginSupport option.
Can be enabled using: pass.override { tombPluginSupport = true; }

@Mic92
Copy link
Member

Mic92 commented Mar 3, 2018

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants