summaryrefslogtreecommitdiffstats
path: root/script/git-daemon
Commit message (Collapse)AuthorAgeFilesLines
* Add a cmd-line flag to git-daemon to disable GeoIP based loggingJohan Sørensen2009-09-161-8/+15
|
* chdir to the rails root when daemonizing the git-daemonJohan Sørensen2009-06-301-0/+1
| | | | | Otherwise the Logger module can get confused about the whereabouts of its FDs on some platforms
* Monkeypatch GeoIP so we can close its file handlesJohan Sørensen2009-06-031-0/+7
| | | | | The GeoIP currently doesn't offer a #close method or a block form of opening the database file, hence it leaves behind an open filehandle whenever it's used
* Print a friendly error message from the git-daemon if someone tries to push ↵Johan Sørensen2009-06-031-3/+13
| | | | to it
* Make sure the --pidfile argument to the git-daemon actually works and chdir toJohan Sørensen2009-05-151-3/+6
| | | | the repository root
* Verify connections whenever we want to talk to AR from the ruby git-daemonJohan Sørensen2009-05-091-0/+1
|
* Don't log invalid requests in the ruby git-daemonJohan Sørensen2009-04-221-1/+1
|
* Adding protocol attribute to Cloner:Marius Mathiesen2009-04-221-1/+1
| | | | | | | - The git daemon sets this as 'git' - The http cloning metal sets it as 'http' The migration includes setting all previous clones to 'git'
* Handle invalid header data gracefully in the git-daemonJohan Sørensen2009-04-221-4/+10
|
* Set SO_REUSEADDR in the git-daemon on by defaultJohan Sørensen2009-04-221-2/+7
|
* Make sure the path is expanded in the git-daemonJohan Sørensen2009-04-221-1/+1
|
* Read the git:// protocol header correctly.Johan Sørensen2009-04-221-14/+25
| | | | Or rather; even more correctly according to the protocol
* Added missing write_into_sideband() contentsJohan Sørensen2009-04-221-1/+2
|
* Write a friendly error message when the repository couldn't be found in the ↵Johan Sørensen2009-04-221-0/+14
| | | | git-daemon
* Use non-blocking sockets on 1.9 in the git-daemonJohan Sørensen2009-04-221-2/+34
|
* decrease the chance of brainfarts on the path checking logicJohan Sørensen2009-04-221-1/+1
|
* Make sure we only record the actual clone in git-daemon if all the path stuffJohan Sørensen2009-04-221-32/+11
| | | | is ok.
* Teach Repository.find_by_path to understand user and group repositories andJohan Sørensen2009-04-221-5/+32
| | | | update the git-daemon to use in order to resolve the real pathname
* Make sure we make ActiveRecord reconnect on daemonizationJohan Sørensen2009-02-041-0/+1
|
* Moved the connection to Repository outside the fork in git-daemonJohan Sørensen2009-02-041-23/+20
|
* git-daemon reopen stderr/in/out after we've checked the GeoIPJohan Sørensen2009-01-161-6/+5
|
* Don't leak sockets when we fork in the ruby git-daemonJohan Sørensen2009-01-091-5/+10
|
* Apply the same PATH fixup as in a67761b38 to some other scriptsSimon Hausmann2008-11-281-0/+2
|
* beware of the geoip io stream when forkingJohan Sørensen2008-04-191-4/+4
|
* back out of non-blocking Socket#acceptJohan Sørensen2008-04-191-13/+8
|
* actually do the accept nonblockinglyJohan Sørensen2008-04-191-1/+1
|
* accept nonblockingJohan Sørensen2008-04-191-8/+13
|
* Fixed git-daemon optparsingJohan Sørensen2008-04-191-6/+11
|
* Log how long it takes to defer a request to git-upload-packJohan Sørensen2008-04-191-0/+2
|
* Write a PID file if daemonizedJohan Sørensen2008-04-191-0/+8
|
* only allow git-upload-pack the the commandJohan Sørensen2008-04-191-6/+6
|
* added method to handle the incoming connectionDavid A. Cuadrado2008-04-171-63/+66
| | | | Signed-off-by: David A. Cuadrado <krawek@gmail.com>
* Avoid zombie processes, catch exception if cannot fork, use 0.0.0.0 instead ↵David A. Cuadrado2008-04-151-13/+22
| | | | | | of localhost Signed-off-by: David A. Cuadrado <krawek@gmail.com>
* made the ruby git-daemon support options and moved things around a bit on ↵Johan Sørensen2008-04-161-85/+141
| | | | the class
* decrease children count on invalid data as wellJohan Sørensen2008-04-151-0/+2
|
* Timestamp logentriesJohan Sørensen2008-04-151-1/+1
|
* decrease the active children count when closing sockets before the fork,Johan Sørensen2008-04-151-8/+13
| | | | and some de-tabification
* Further path sanity checkingJohan Sørensen2008-04-151-5/+5
|
* support IPv6 clientsJohan Sørensen2008-04-151-3/+7
|
* check max connectionsDavid A. Cuadrado2008-04-141-0/+14
| | | | Signed-off-by: David A. Cuadrado <krawek@gmail.com>
* count how many times a repository has been cloned from ip/countryDavid A. Cuadrado2008-04-141-4/+29
| | | | Signed-off-by: David A. Cuadrado <krawek@gmail.com>
* Added git-daemon (written in ruby)David A. Cuadrado2008-04-131-0/+81