Commit graph

54 commits

Author SHA1 Message Date
randx 7cdc5b9e04 Use similar interface to access gitolite
Simplified gitolite handle logic
Stubn over monkeypatch
Stub only specific methods in Gitlab:Gitolite
Moved grach auth to lib
added specs for keys observer
removes SshKey role
2012-08-29 00:04:06 +03:00
Dmitriy Zaporozhets aded7056fd Merge pull request #1313 from LeonB/master
Fixed some hardcoded paths based on issue #1272
2012-08-28 07:00:55 -07:00
LeonB ffdda12f66 Line not needed anymore 2012-08-28 14:18:49 +02:00
Tiago Ribeiro 7a16572c0a Fixed typo 2012-08-28 12:09:10 +02:00
LeonB c81d4ab4a9 Fixed some hardcoded paths
New config option: git_hooks_path
2012-08-28 10:57:23 +02:00
randx 867f46076e No need to chown hooks in backup script any mroe 2012-08-26 01:40:01 +03:00
Seif Attar 2d6a3e6b67 Task to assign user developer role to all projects 2012-08-23 10:48:55 +01:00
Seif Attar 22ec463764 rake task to add all users to all projects 2012-08-23 10:48:45 +01:00
randx d1daeba173 Updated app:status & docs with hooks. Removed write_hooks from app:setup 2012-08-21 22:45:14 +03:00
randx c625293b99 Handle post-receive files via gitolite, not gitlab 2012-08-21 20:14:06 +03:00
randx 8e3a2def8a Project /lib cleanup 2012-08-19 11:44:48 +03:00
Dmitriy Zaporozhets 813814f02e Application cleanup 2012-08-17 09:09:11 +03:00
Dmitriy Zaporozhets 463644c882 rspec to capybara-webkit. simplercov now use cucumber 2012-08-13 08:32:10 +03:00
Dmitriy Zaporozhets 9b5441bce7 Merge pull request #1152 from natrim/master
Fix UMASK checking in .gitoliterc
2012-08-03 23:27:31 -07:00
Michael van Rooijen 19f7b038cb Post-receive hook should be owned by gitlab user, not git. 2012-07-27 15:30:36 +02:00
natrim 5cb47b761c fix checking for right gitolite UMASK 2012-07-27 12:03:30 +03:00
Dmitriy Zaporozhets 67ef96ea5f Merge pull request #1129 from meskyanichi/master
Potential solution for current `rake gitlab:app:backup_restore` issues.
2012-07-26 23:11:46 -07:00
Michael van Rooijen ec01cbef94 Modified the repo_dump and repo_restore rake tasks to properly dump and restore repositories based on their path rather than their (project) name. The project name can be uppercase and may contain spaces. This caused the repository to be restored as a different path that it was initially created as, thus, breaking the git remote and the web interface can no longer detect the repository either because it searches by path and not by name. Also, when restoring the permissions are incorrect making it impossible to push new commits to the remote repository. So now on success it'll set the correct permissions (but requires that the gitlab user has sudo privileges, or this task must be executed as root). 2012-07-26 21:30:10 +02:00
randx 18f83016b1 Fixed persmission issue in doc. Added validation of hooks in gitlab:app:status 2012-07-26 16:14:34 +03:00
Michael Richardson 0456ceddb4 Fixing MySQL syntax error 2012-07-18 11:59:32 +01:00
Stefan Morgenthaler 4dae41d5dc Changes done as per feedback 2012-07-10 16:12:19 +02:00
Stefan Morgenthaler 12b34c8115 add: rake task to backup/restore gitlab db and repos 2012-07-10 00:01:05 +02:00
randx 1d543e6430 Finished with configs 2012-07-02 21:59:48 +03:00
Dmitriy Zaporozhets 9b337b8328 Epic: Gitlab configuration with default values 2012-07-02 21:51:48 +03:00
Denis Peplin 4a40f65090 Replace hardcoded '/home/git/repositories/' with GIT_HOST['base_path'] 2012-06-25 08:54:02 +04:00
randx 60db88ad34 Lets change how cucumber run on travis 2012-06-17 18:40:00 +03:00
randx cd3f55a310 Fix travis 2012-06-17 18:33:13 +03:00
randx 67f445afea fixed type 2012-06-16 13:31:21 +03:00
randx 8189082e4c fix ci run 2012-06-16 13:20:17 +03:00
Dmitriy Zaporozhets 5bbf3ccf05 Cucumber:
* Profile
* Browse code
* Sceleton for main features
* Wiki
* Commits
2012-06-15 07:15:28 +03:00
randx 3272620f72 lib/ refactoring. Module Gitlabhq renamed to Gitlab 2012-05-26 13:37:49 +03:00
Valery Sizov e5f8397fd4 fast automerge: done 2012-04-22 16:14:01 +03:00
Valery Sizov dcbb875c46 fast automerge: base implementation 2012-04-22 15:19:09 +03:00
Dmitriy Zaporozhets 7058258a2a Fixed db_schema & reordered rake tasks 2012-04-21 12:45:43 +03:00
Dmitriy Zaporozhets 08994f3f60 Merge remote-tracking branch 'origin/merge_button'
Conflicts:
	app/assets/javascripts/merge_requests.js
	db/schema.rb
2012-04-21 12:22:56 +03:00
Dmitriy Zaporozhets 43f5df21a3 gitlab rake tasks refactored 2012-04-04 01:02:54 +03:00
randx 464cd59dff Rake task to provider full repo access for gitolite-owner.\n Automerge requires gitlab user be able to push to any repo 2012-03-30 08:25:04 +03:00
Dmitriy Zaporozhets d63339ec2f fix update_hooks task 2012-03-11 10:47:30 +02:00
Dmitriy Zaporozhets 9988282e84 Diasgnostic task for gitlab 2012-03-09 20:48:33 +02:00
Dmitriy Zaporozhets cb59aade4e Cleaning and refactoring 2012-03-06 00:26:40 +02:00
Dmitriy Zaporozhets bb164ebf1b Send author to post hook. Display push activity to dashboard 2012-02-29 22:38:24 +02:00
Valery Sizov 66fb3909a5 Merge branch 'web_hooks' of https://github.com/ariejan/gitlabhq into ariejan-web_hooks
Conflicts:
	app/models/project.rb
	config/routes.rb
	db/schema.rb
2011-12-27 23:21:26 +02:00
Dmitriy Zaporozhets f7859ec1ed rake dev_repo: fixed for ubuntu 2011-12-16 01:59:07 -08:00
Dmitriy Zaporozhets ced572c328 Merge pull request #196 from mutewinter/bulk_repo_import
Bulk repo import Rake task
2011-12-16 00:59:07 -08:00
Jeremy Mack 3fd3e1fcdf Added detection and handling of exsiting repos 2011-12-15 16:55:53 -05:00
Dmitriy Zaporozhets d9cfb7985e dev seeds & dev scripts 2011-12-15 23:04:59 +02:00
Jeremy Mack 60fee48eaa Better description for automatically created project 2011-12-13 13:25:01 -05:00
Jeremy Mack 2201ef8020 Add rake task for bulk repo importing
Git repos should be in the import_projects directory in the root of
application. The task is invoked via @rake import_projects@.
2011-12-13 13:20:40 -05:00
Jeremy Mack e38fa32822 Calling update_repository
- Better comment too
2011-12-13 13:17:54 -05:00
Ariejan de Vroom 1c9b9b7a3b Added Resque as a dependency 2011-12-12 23:03:38 +01:00