Bonobo-Git-Server
Bonobo-Git-Server copied to clipboard
Bonobo Git Server with Git 2.26
Hi,all
I try to make a Bonobo Git Server (IIS+ASP.NET) with git 2.26. I success full for installl (run on browser, login account admin and create new repositorie, one account. After that i use git clone with command below: git clone http://192.168.100.254/newgit/Test.git or git clone https://mydomain/newgit/Test.git (ssl is configed OK).
C:\Users\Blood Tear>git clone http://192.168.100.254/newgit/Test.git Cloning into 'Test'... Username for 'http://192.168.100.254': test Password for 'http://[email protected]': fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. C:\Users\Blood Tear>
Error on https C:\Users\Blood Tear>git clone https://mydomaint/newgit/Test.git Cloning into 'Test'... Username for 'https:/mydomaintt': test Password for 'https://test@mydomaint': fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. C:\Users\Blood Tear>
Some information:
Git Server: https://bonobogitserver.com/ (default Git use for server is D:\GitServer\App_Data\Git>git --version git version 1.9.5.msysgit.1 D:\GitServer\App_Data\Git> I try to make a new Git folder with git was installed from (https://git-scm.com/download/win) (bin folder) C:\Program Files\Git\bin>dir Volume in drive C is Volume Serial Number is Directory of C:\Program Files\Git\bin 03/23/2020 02:23 PM <DIR> . 03/23/2020 02:23 PM <DIR> .. 02/19/2020 03:25 PM 43,592 bash.exe 02/19/2020 03:25 PM 43,072 git.exe 02/19/2020 03:25 PM 43,592 sh.exe 3 File(s) 130,256 bytes 2 Dir(s) 53,795,102,720 bytes free C:\Program Files\Git\bin> Please help me for solved this problem
I met the same problem, I reinstalled the Bonobo Git Server to fix it
@willdean Do you know if anything has been done at all regarding upgrading the version of Git in App_Data
then?
I'm not that experienced with ASP.NET itself but if it's just fixing stuff that breaks after dropping in a new version I might be able to have a look.
I think there are two separate parts to upgrading Git in Bonobo:
- Upgrading the Git tools in app_data, which is probably mostly just a matter of replacing the files with up-to-date versions.
- Upgrading LibGit2Sharp
I think you could do '1' on its own, make it work, and then Git would work OK as a Git server, but you might (I don't know) find that the very old version of LibGit2Sharp we're using would have incompatibilities with stuff the new version of the tools did.
I am not sure how much work is involved in upgrading LibGit2Sharp (it wouldn't be very difficult to just upgrade the Nuget packages and see what happened...)
@willdean It's been a while :weary:
I did take a look at this last night just to see whether I could get something working - I did notice though that msysgit is obsolete. The contents of App_Data\Git
is flat, whereas as far as I can tell, the Git for Windows download has relative dirs baked in the executable.
I don't mind copying the whole thing in.. however it does feel somewhat messy, especially as I reckon there's probably quite a lot of extra programs that aren't really necessary (the current Git install contains antiword.exe
which probably is never used?)
Maybe I will have to play around to see how much stuff is actually needed from Git for Windows once it works?