-
Notifications
You must be signed in to change notification settings - Fork 471
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
Add Windows support. #13
base: master
Are you sure you want to change the base?
Conversation
Can you build windows version file and upload to your github? |
Hello, The binary is already in the github repo (https://github.com/ccleaud/git-crypt). Please have a look to git-crypt.exe, this is the file you want. Note that I’m working on this Windows version to improve it. From: Viet Dzung [mailto:notifications@github.com] Can you build windows version file and upload to your github? — |
Thanks @ccleaud for the build. :) |
I just pushed Windows support to the 'windows' branch. The build system needs work, but it does compile with mingw-w64. The branch is based on the 'revamp' branch which contains GPG support and which the next release will be based on. I've tested GPG support with gpg4win and it works. The revamp branch is still subject to change, so you should not use the windows branch for anything serious yet. Thanks @bySabi and @ccleaud for the patches, but since much changed with the revamp branch it ended up being simpler to write the Windows support from scratch. |
I don't see a |
Hi @yoavram, Windows support has since been merged into the revamp branch. |
OK, I checked out the
Any clue? |
You need to build OpenSSL library first. This will produce 2 files. You also have to put those files in you lib path in order to allow ld linking against it. Currently only “libcrypto” is required to build git-crypt. |
OK, I installed OpenSSL from http://gnuwin32.sourceforge.net/packages/openssl.htm.
then ran make. Failed with an error, to which I found the solution here: I had to add |
hey, how is it going? here's what I got:
|
@vorou You need to install OpenSSL under MinGW in order to compile git-crypt. I know very little about development environments on Windows so I don't know how you do that, but there is certain to be documentation online. It's actually pretty easy for me to cross-compile Windows binaries from Linux. Here's a Windows binary, compiled from the current HEAD: https://www.cloudmutt.com/git-crypt-3104508/git-crypt.exe I'll probably start building official Windows binaries like this. |
@AGWA works as magic, thanks! It would be nice if you could automate the build, so you don't have to build manually on each commit. |
I've created a chocolatey (apt-get for Windows) package for the binary, would you mind if I upload it to the public repository? It downloads the .exe by your link and puts it into bin folder. It is ten times more convenient to type Also, am I right there is no requirement to have OpenSSL installed? I though it's required, but it looks like it's working fine w/o it on a virtual box. |
@vorou a chocolatey package sounds great - thanks! However, don't upload it quite yet - I need to move the .exe to a more permanent URL - the current one is very temporary. I'll let you know when it's ready. |
Roger that! |
Any word on when this becomes official? |
+1 |
Any movement on a Windows exe? Would love to use it. |
Found out that the link is broken, so here's a mirror. I guess it's pretty old now, but we haven't had any problems with this version. |
Thanks! I actually had managed to create a Windows build with mingw after some painful pathing issues and I have put it to use. It's existence is much appreciated, thank you. |
👍 |
Any updates on this? |
I have a Windows build. I can send or post somewhere. It works really well
except when it doesn't. Merges tend to hammer encrypted files and it can be
a bit painful undoing that. I try to merge with no-commit so there is less
damage to rewind when things go haywire. I have to resort to "re-unlocking"
and running git-crypt fix fairly frequently.
|
+1 |
+1 |
I have created a fork which builds the windows version using appveyor and pushes the result back to github automatically: https://github.com/LykkeCity/git-crypt/releases . There are a few changes/additions, which could be tracked from commits tab. |
Review status: 0 of 9 files reviewed at latest revision, all discussions resolved, some commit checks failed. Comments from Reviewable |
😴 💤 💤 |
Any update on this? |
Main branch works fine for me, just install the deps and build as described in INSTALL.md |
Anyway to help out on this branch? |
Tested with mingw and msysgit.