-
Notifications
You must be signed in to change notification settings - Fork 267
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
Windows installation throws error when it tries to run post install hook #55
Comments
I get a different error during the post-install:
(yes, the "\t" appears to have been escaped before printing) Predictably followed by this when I go to run
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
go away stale bot |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
go away stale bot |
The issue stil exists
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
go away stale bot |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
go away stale bot |
Hey! Honestly I don't know how I can test this myself because I don't own a windows pc. But anyway, @Tzrlk's issue and @rgembalik's second issue seems to be caused by this line https://github.com/databus23/helm-diff/blob/master/plugin.yaml#L8 as @rgembalik has described. If we changed it to I'm now wondering how helm itself is supposed to support plugins on Windows? 🤔 |
So the community direction seems like we should instruct users to use it on WSL. |
The upstream issue to add support for plugin installation on Windows is helm/helm#7117 |
Yeah, I love how helm seems to have completely different plugin storage
mechanisms for each OS.
…On Mon., 17 Aug. 2020, 11:45 am Yusuke Kuoka, ***@***.***> wrote:
Hey! Honestly I don't know how I can test this myself because I don't own
a windows pc.
But anyway, @Tzrlk <https://github.com/Tzrlk>'s issue and @rgembalik
<https://github.com/rgembalik>'s second issue seems to be caused by this
line https://github.com/databus23/helm-diff/blob/master/plugin.yaml#L8 as
@rgembalik <https://github.com/rgembalik> has described. If we changed it
to command: "$HELM_PLUGIN_DIR\bin\diff" it would indeed work for Windows,
but not on *nix.
I'm now wondering how helm itself is supposed to support plugins on
Windows? 🤔
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#55 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABJNQ6FWAEC7CXSRWMIG6DSBBVRLANCNFSM4FCL3L6Q>
.
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
go away stale bot |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
go away stale |
On windows, when I try to install the plugin it tries to run
.sh
file (I presume fromhooks.install
), which throws an error (since windows doesn't natively runsh
files, nor there is aninstall-binary.sh
in the releasetgz
). When I manually download the release and paste it into.helm/plugins
, then it looks for.helm\\plugins\\diff/bin/diff
which is incorrect since thetgz
file containsexe
in the main directory.It all runs well if I download
tgz
release, paste it manually, createbin
folder for it, and throw.exe
file in thebin
folder.The text was updated successfully, but these errors were encountered: