summaryrefslogtreecommitdiffstats
path: root/script
Commit message (Collapse)AuthorAgeFilesLines
* Remove graphing and gruff, RMagick no longer requiredMarius Mathiesen2009-11-031-66/+0
| | | | | | | | | | | The graphs are no longer in use. Therefore removing: - the graph generator script - the gruff plugin - the inclusion of graphs in the helpers - the tests of the above Paperclip talks directly to Imagemagick, so RMagick is not required, which should make it ... easier to get started with Gitorious hacking
* Add a cmd-line flag to git-daemon to disable GeoIP based loggingJohan Sørensen2009-09-161-8/+15
|
* Give more progress information during repo_housekeeping, if we're verboseJohan Sørensen2009-09-141-5/+9
|
* Implement a more conservative way of running git-gcJohan Sørensen2009-09-141-8/+12
| | | | | | Add a Repository#last_gc_at timestamp and only run on recently pushed to repositories. Also resurrect script/repo_housekeeping to be used again
* fixed typoJohan Sørensen2009-07-211-1/+1
|
* Be able to turn on denying of delete-refs and non-fast-forwardsJohan Sørensen2009-07-101-0/+1
| | | | | This adds a deny_force_pushing? to Repository and makes the pre-receive hook acts accordingly to that setting
* 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
* Restructure the front page boxes a bit, only show active projects from the ↵Johan Sørensen2009-06-301-0/+4
| | | | last few days
* Handle ECONNREFUSED gracefully when querying for push permissionsJohan Sørensen2009-06-291-0/+4
|
* Log what's happening from the PreReceiveGuardJohan Sørensen2009-06-291-0/+1
|
* Print out more easily identifyable error messages if pushing failsJohan Sørensen2009-06-291-6/+15
|
* Make sure to pass the username from the gitorious scriptMarius Mathiesen2009-06-241-1/+1
|
* Ensuring the pre-receive hook exists and is executable before accepting pushes.Marius Mathiesen2009-06-241-1/+6
|
* Moved the authentication logic from SSH Client to pre-receive:Marius Mathiesen2009-06-241-9/+9
| | | | | | | | | | - script/gitorious only checks whether the repo exists, and sets an environment var for the URL for auth checking - hooks/pre-receive performs the access control, as before Currently, users should be allowed to push normally, like before. In addition to that, owners of merge requests are allowed to push to the special ref for the merge request in the target repository
* 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
* Do some brute-force encoding conversation in the PushEventProcessor if we don'tJohan Sørensen2009-05-291-0/+9
| | | | end up with a valid encoding after the first pass
* Updated the script/create_admin to include acceptanceMarius Mathiesen2009-05-271-1/+1
| | | | of terms of use.
* Removing all traces of the now obsolete Task model.Marius Mathiesen2009-05-201-47/+0
|
* Log more details from script/gitoriousJohan Sørensen2009-05-191-0/+7
|
* Use RAILS_ROOT/tmp/pids as the temp dir for the pollerJohan Sørensen2009-05-151-1/+1
|
* Don't start the poller_monitor script, since there's better infrastructure forJohan Sørensen2009-05-151-1/+1
| | | | that sort of thing, such as monit
* 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
|
* Allow script/gitorious to be run under a custom Rails environmentTor Arne Vestbø2009-04-221-1/+3
|
* 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
|
* No need for rubygems on 1.9 in script/pollerJohan Sørensen2009-04-221-1/+1
|
* The gitorious script defaults to using production as RAILS_ENVMarius Mathiesen2009-04-221-1/+1
|
* A few ruby 1.9 tweaks, Array#to_s is the same as Array#inspect nowJohan Sørensen2009-04-221-0/+1
|
* Adding missing template for MergeRequests#editMarius Mathiesen2009-04-221-0/+1
|
* Update to Rails 2.3RC1Johan Sørensen2009-04-221-1/+2
|
* 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
* Adding ActiveMessaging for async handling of tasks:Marius Mathiesen2009-04-221-0/+21
| | | | | | - Changed Repository's task creation to post to ActiveMQ - Added processors for creation/cloning and deletion of repositories - Added Refresh header when showing a repo that isn't ready yet
* Partition the on-disk repository directories by Repository#hashed_path ↵Johan Sørensen2009-04-221-0/+48
| | | | | | | | | | | | | | [migration] Use script/shard_git_repositories_by_hash to migrate the existing directory structure The main reasons for this change is two-fold: a) speed up directory access when there's loads of clones b) make it easier to find a repository on disk from either a User, Group or Project Instead of using Repository#gitdir to find the on-disk repo, you'd now need to use either #real_gitdir or #full_repository_path
* 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
|
* Tweaks to script/create_wikisJohan Sørensen2009-01-151-17/+26
|
* Crude script to create Home wiki pages on a README-ish file in the mainline repoJohan Sørensen2009-01-131-0/+45
|
* Merge commit 'akita/master'Johan Sørensen2009-01-091-0/+24
|\ | | | | | | | | | | | | * commit 'akita/master': Implemented Private Mode - now you can have a locked down Gitorious. Also an option to create a super user and an User Administration interface to control user registration Committers now can request merges requests and review merge requests Committers now can review merge requests
| * Implemented Private Mode - now you can have a locked down Gitorious. Also an ↵Fabio Akita2009-01-091-0/+24
| | | | | | | | option to create a super user and an User Administration interface to control user registration
* | Don't leak sockets when we fork in the ruby git-daemonJohan Sørensen2009-01-091-5/+10
|/
* Merge commit 'davvid/master'Johan Sørensen2009-01-071-2/+2
|\ | | | | | | | | | | | | * commit 'davvid/master': data/hooks: use the dashless form of git commands for 1.6.x lib/git_backend.rb: use the dashless form of git commands for git 1.6.x. script/repo_housecleaning: use the dashless form of 'git gc'
| * script/repo_housecleaning: use the dashless form of 'git gc'David Aguilar2008-12-291-2/+2
| | | | | | | | Signed-off-by: David Aguilar <davvid@gmail.com>
* | Updating from Rails 2.1.0 to 2.2.2Fabio Akita2009-01-074-1/+10
|/ | | | | | | | | | - minimal requirement: all current Rspec tests pass - re-freezing Rails - configure environment.rb to explicitly declare gem dependency Why update: to prepare the ground for localization TODO: are there any new specs necessary to add because of 2.2.2?
* Apply the same PATH fixup as in a67761b38 to some other scriptsSimon Hausmann2008-11-283-0/+6
|
* Updated to latest rspecJohan Sørensen2008-06-011-3/+17
|
* Prefer String#constantize over evalJohan Sørensen2008-05-041-1/+1
|
* Added script to destroy invalid eventsDavid A. Cuadrado2008-05-031-0/+16
| | | | Signed-off-by: David A. Cuadrado <krawek@gmail.com>
* output less from rebuild_eventsJohan Sørensen2008-04-291-6/+7
|
* added "all" argument to rebuild_events scriptJohan Sørensen2008-04-281-8/+33
|
* script/rebuild_events rebuilds all events for a projectJohan Sørensen2008-04-271-116/+145
|
* Fixed, improved and optimized script/rebuild_eventsDavid A. Cuadrado2008-04-261-12/+30
| | | | Signed-off-by: David A. Cuadrado <krawek@gmail.com>
* Make events display pretty on the project overview pageJohan Sørensen2008-04-261-5/+12
|
* Added sidebar, start on repository tree and add a rebuild_events scriptJohan Sørensen2008-04-251-0/+125
|
* Merge commit 'krawek/events' into project-eventsJohan Sørensen2008-04-191-0/+50
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'krawek/events': Fixed spec Removed actions from the database refactoring to use polymorphic associations (USER does ACTION on X) warn if the email does not match Renamed migrates: actions and events optimizations Performance improvements hooks: enable post-updateand added pre-receive Handle create and delete tag Fixed event: delete branch Script to setup the hooks Added avatar to events Implemented user event system Clone projects using gitorious hooks Load rails environment Create projects using gitorious hooks Added git template for new repositories Conflicts: app/models/project.rb app/models/repository.rb config/routes.rb
| * Merge branch 'master' into eventsDavid A. Cuadrado2008-04-042-2/+33
| |\ | | | | | | | | | | | | | | | | | | Conflicts: app/controllers/merge_requests_controller.rb app/controllers/users_controller.rb
| * | Script to setup the hooksDavid A. Cuadrado2008-03-201-0/+50
| | | | | | | | | | | | Check and fix symlinks
* | | 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
| | |
* | | Clean tmp/graph_generator/ each 5 daysDavid A. Cuadrado2008-04-111-2/+18
| | |
* | | lockfile for script/graph_generatorDavid A. Cuadrado2008-04-111-1/+14
| | |
* | | Check if the graph needs to be regenerated (using the commit count)David A. Cuadrado2008-04-111-0/+7
| |/ |/|
* | Log a little more from the graph generatorJohan Sørensen2008-03-301-0/+2
| |
* | Generate graphs locally using gruff and ./script/graph_generatorJohan Sørensen2008-03-301-0/+26
| |
* | gravatar frame (style copied from patcito's repository)David A. Cuadrado2008-03-251-2/+5
|/
* Check if the tasklock file exists before to load rails environmentDavid A. Cuadrado2008-02-261-4/+11
|
* git-gc housekeeping scriptJohan Sørensen2008-02-231-0/+12
|
* Log gitorious auth client usageJohan Sørensen2008-01-261-4/+13
|
* only log info level events when performing a taskJohan Sørensen2008-01-211-0/+1
|
* added PATH to task_performer environment as wellJohan Sørensen2008-01-072-1/+3
|
* easy on the paths there cowboyJohan Sørensen2008-01-061-2/+2
|
* fixed gitorious.yml path fidning issues with symlinksJohan Sørensen2008-01-061-2/+4
|