Working build on Windows (SSH/custom repo)#1936
Open
etinin wants to merge 2 commits intohbons:masterfrom
Open
Conversation
added 2 commits
April 12, 2020 02:26
Owner
|
This is great. Thank you! :) I'm happy to merge this, but I don't want to have binary files in the repo if it can be avoided. Can you adjust the build script to download and verify msysgit from a trusted source? This is what happens in the Mac project as well. |
Author
yes, I think that's the optimal solution! I'll try to get to it as soon as possible |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On VS2019 the packages won't build and, even with the mistakes fixed, without some changes it is not possible to connect through SSH to custom repos. (at least on my machine with git, ssh, etc already installed). So I figured a general solution:
Copy newest Git (used x64 over here) instead of msysgit to msysgit folder and then overwrite the SSH files with portable ones built for windows.
Fixed some minor coding mistakes.
The HOME variable shouldn't be set, else problems will arise.
Instead, a portable version of OpenSSH should be used : https://github.com/PowerShell/openssh-portable
(I guess this could be automated with a script, but I just wanted to get it working and figured out the steps, in case it interests anybody else).
Will build and produce a working "portable" package. Did not attempt to build the installer.
#1909 #1924 #1923 #1781 #1888