-
Notifications
You must be signed in to change notification settings - Fork 482
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
git not found on windows even though its there #761
Comments
What is
|
Is #567 any help? Otherwise, it would be a bit of a workaround, but could you run Julia in the Windows Linux subsystem? It is strange though.. you do seem to have Some other comments:
Who uses Windows anyway? 😆 Joking aside, as far as I know, none of the current or past active devs really have any good access to Windows, hence the reason why Windows is a bit neglected (same actually applies to macOS, but since it's more similar to Linux, it need less special treatment). Right now, testing on Windows is usually just seeing if the AppVeyor builds pass. All that said, the goal is that Documenter should Just Work (TM) on Windows and the relevant quirks should be documented. For that reason, contributions to the code and docs (but also issues like this) from Windows-based Documenter users are greatly appreciated. |
As a workaround, as long as you have julia> using Compat
shell> ssh-keygen -N "" -f privatekey
julia> read("privatekey", String) |> base64encode |> println # this should become a secure environment variable on Travis called DOCUMENTER_KEY
julia> read("privatekey.pub", String) |> println # this should be added as a Deploy Key on GitHub (https://github.com/$user/$repo/settings/keys) |
Hello!
I don't know what this means to be honest. @mortenpi nope, #567 was not of any help. In fact I followed the suggestions of that issue and was able to generate a key. The problem was that the key was hanging on travis, requesting passphrase (even though there wasn't any). I have now created a deploy key, and it was fairly trivial. All I had to do is tell a friend of mine to run the command Once again: 5 second interaction.
Yes. My suggestion would be to put in the docs: "If you have a friend you can trust, ask them to do it for you". It is by far the easiest. If you know of some other way that is guaranteed to make it work, and it is just as easy, please let me know, and I will tell other windows users that will certainly encounter this problem if they want to use Documenter.jl. However, there is a deeper, fundamental problem here. I am not sure, but in the end of the day the process should be very simple: I should be able to "just generate a private-public key pair", anyway I want, in any OS I want, and upload them to the internet. No? I mean, why is it that only the keys generated with p.s. documenter is amazing I hope my attitude is not making you think otherwise. EDIT: OH WOW!!!! This magic piece of code:
seems to work perfectly fine!!!! |
Closing this in favor of JuliaDocs/DocumenterTools.jl#5 |
I am trying to create deploy keys for documenter. I am on windows and not on linux.
I have to say it is tremendously difficult. I have spend several hours now, and still had very little progress. The documentation is really not helpful for windows users, there is no information whatsoever.
So far I have tried to create keys using
puttygen
but travis hangs, requesting passphrase. Seems like the only way to create working keys is using documenter itself.But that is impossible on windows:
latest julia, latest documenter versions.
As a side note, I really have to express that this also makes me feel very unwelcomed: why would there be not a single sentence of support for someone that doesn't use linux? (in the documentation)
The text was updated successfully, but these errors were encountered: