Questions tagged [smart-http]

A Git transfer protocol layered over HTTP that is more efficient than the plain HTTP transport.

21 questions
10
votes
1 answer

GitSmartHTTP for gitolite repositories over Apache does not allow me to push

I am setting up a git-http-backend CGI script to handle my git.domain subdomain. The server is behind an ELB (elastic load balancer) on AWS cloud. My server config is as follows (my git hosting is handled by gitolite):
hjpotter92
  • 78,589
  • 36
  • 144
  • 183
6
votes
2 answers

What does the Git Smart HTTP(S) protocol fully look like in all its glory?

I'm trying to implement a webserver that simulates a Git remote. Users should be able to clone or pull from my server, edit files, commit, and push (with authentication)—normal things to do with Git. However, on the server side is not a bare Git…
AbyxDev
  • 1,363
  • 16
  • 30
5
votes
3 answers

Using GIT Smart HTTP via IIS

I recently read Scott Chacon's post "Smart HTTP Transport", and I was hoping that it might have become possible via IIS (windows 7) since that post was written. I haven't been able to find anything showing how it can be done, and Apache is not an…
Andrew Matthews
  • 3,006
  • 2
  • 29
  • 42
4
votes
2 answers

Insufficient Permission Pushing to Git Shared Repo over Smart HTTP

I'm trying to evaluate git for our team and one of the requirements is to use HTTPS as the transport method. I've been trying to follow the git-http-backend documentation as well as some sparse blogs on setting this up using the new Smart HTTP…
bfos
  • 363
  • 2
  • 9
4
votes
0 answers

Has anyone had any luck running Git on Windows using the "Smart HTTP" and Active Directory authentication?

I have read that git now has a "Smart HTTP" server. I am interested in using this with IIS on a Windows machine. I would prefer to use the msysgit version of Git rather than the Cygwin. Additionally, I would prefer to use Active Directory…
Pat O
  • 1,344
  • 3
  • 12
  • 27
3
votes
2 answers

Git, Debian, Apache and Smart HTTP

I am trying to set up git on my Debian server. However, I'm going crazy about this Smart HTTP stuff, as I want to use the Egit plug-in for eclipse and it requires Smart HTTP. And for this reason I'm unable to push my local branch to the remote…
thobens
  • 1,729
  • 1
  • 15
  • 34
3
votes
1 answer

Git + Eclipse: 401 Unauthorized Error

I have a git repo on my rasperry pi, with Apache. I use git + smart http: from a Linux client, using a Terminal, all work fine. For example I can clone a repo using the command: git clone http://address:8080/git/repo_name After the insertion of…
PenguinEngineer
  • 295
  • 1
  • 8
  • 30
3
votes
1 answer

What details difference between server side and client of GIT smart HTTP protocol

I hope someone will have answered the details difference between server side and client side of GIT smart HTTP protocol. Best way is provide some references book & code for advance. Some people said, libgit2 already exposes a packbuilder. However,…
Aimeast
  • 1,609
  • 14
  • 29
2
votes
1 answer

Git + Smart Http(s): 403 Error

Although i have read many posts, I was not able to solve this problem. I want to use Git + Smart Http, using a remote repository on my rasperry pi. I'm running on Arch Linux. First, let's consider an Http configuration (and not https), for…
PenguinEngineer
  • 295
  • 1
  • 8
  • 30
1
vote
2 answers

git, apache, smart-http, ubuntu, convert from SSH access, does not ask for user, password

In the process of converting a ubuntu private git repo from ssh access to smart http via apache. Currently client .git/config contains: url = https://some-domain/git/my-project.git When assessed via: git remote -v show origin The server…
Gary Aitken
  • 233
  • 2
  • 12
1
vote
1 answer

convert git server from ssh to smart-http; ubuntu, apache; "Not a git repository " error

I'm trying to convert a git repo from ssh access to smart-http access. I've found all sorts of old, contradictory advice; the most recent being here. My client .git/config had the following URL originally: url =…
Gary Aitken
  • 233
  • 2
  • 12
1
vote
2 answers

Unable to push a directory over smart-http

I've been going a this for two days in a row now, and I'm giving up on finding the solution all by myself. I am trying to set up Redmine on a server - that part went well. I am also trying to install a git repository, but although I've been able to…
executifs
  • 1,138
  • 1
  • 9
  • 23
1
vote
2 answers

redmine with smart http and redmine_git_hosting does not allow pushing to repository

Redmine version: 3.4.4.stable redmine_git_hosting plugin version: 1.2.3 gitolite v.3 HTTPS only access to repositories. I can clone OK but when pushing I get the following error: fatal: Authentication failed for '' On the server side in…
1
vote
2 answers

Git Smart HTTP - User Authentication for certain repositories

I was wondering how you authenticate between git repos for smart http. For example, I have all my repositories in /repos/, however, I would like to assign "John Doe" to only two of them. The other I want "Jane Doe" to access; however, I don't…
drewrockshard
  • 2,043
  • 10
  • 35
  • 47
1
vote
2 answers

Installing GIT server on CentOS 6.7

We have a private server where our code will reside on. We want to use GIT as our source code management. We don't want to host our code on GITHub and that's why we would like to have a private GIT server running. Our problem is not with installing…
Brams
  • 309
  • 1
  • 5
  • 20
1
2