Commit Graph

312 Commits (master)

Author SHA1 Message Date
Riyad Preukschas 7591718ef2 Consistently use sudo -u foo -H 2012-12-05 18:21:28 +01:00
Riyad Preukschas 78d3611eba Remove redundant packages and move database specific ones to the db setup
* build-essential requires make, gcc
* remove libmysql++-dev: the mysql2 gem only requires libmysqlclient-dev
* remove postgresql-server-dev-9.1: the pg gem only requires libpq-dev
* replace python-dev, python-pip with python2.7: the pygments.rb gem only requires python2.7
2012-12-05 18:18:09 +01:00
Riyad Preukschas 95ffe08674 Update database setup instructions to be more consistent 2012-12-05 17:53:24 +01:00
Johannes Schleifenbaum fddc0c29aa add help page for gitlab specific rake tasks 2012-12-03 17:19:33 +01:00
Nihad Abbasov 270a43370a API: get a single wall note 2012-12-01 02:20:45 -08:00
Nihad Abbasov b17e94c37b update contents of API README 2012-12-01 02:07:57 -08:00
Nihad Abbasov ee6187bd55 API: ability to create a wall note 2012-11-29 15:52:56 -08:00
Nihad Abbasov 2a98a060ca API: don't expose 'updated_at' for notes 2012-11-29 14:41:24 -08:00
Nihad Abbasov 658f260e98 add docs for notes API 2012-11-29 12:32:05 -08:00
Riyad Preukschas 0fbd9ac748 Remove SQLite support 2012-11-27 21:36:09 +01:00
Greg Barendt 8a2b136948 Update doc/development.md
Fixed a typo.
2012-11-14 13:33:22 -05:00
David Barri 93f0a8c9b3 Merge remote-tracking branch 'gitlabhq/master' into git_commit_fix
Conflicts:
	doc/install/installation.md
2012-11-11 21:27:55 +11:00
Dmitriy Zaporozhets f0712f39fb charlock_holmes up to 0.6.9 for travis and setup docs 2012-11-09 15:24:28 +02:00
Sytse Sijbrandij 993d6338b8 Add pointer about alternative platforms 2012-11-08 15:43:01 +01:00
David Barri 6f25967c47 Fixed issue with git commit silently failing.
Also updated status task and installation instuctions.
2012-11-08 10:47:11 +11:00
Dmitriy Zaporozhets d52f06f380 Remove gitlab-cli and Proc.prod. Use foreman for development and unicorn for production. 2012-11-07 14:01:23 +02:00
Valeriy Sizov d6a5e3dad7 Merge pull request #1735 from NARKOZ/api
API fixes
2012-11-07 03:50:42 -08:00
Mike TUMS 1d15586fee Update doc/install/databases.md
Update docs for PostgreSQL installation
2012-10-30 15:58:10 +04:00
Aiden Scandella d2c7a75970 Fix PostgreSQL setup instructions
The config skeleton for postgres is called `database.yml.postgresql`,
not `database.yml.postgres`.
2012-10-26 14:05:20 -07:00
Dmitriy Zaporozhets f73e46eece Remove gitolite config sed because our gitolite fork already has it in sources 2012-10-26 17:13:24 +03:00
Dmitriy Zaporozhets d005242d23 Merge pull request #1803 from gitlabhq/api_merge_request
Api for merge request
2012-10-25 03:49:31 -07:00
Valeriy Sizov e6cdfb607a API: tests for merge_requests 2012-10-25 13:13:01 +03:00
Dmitriy Zaporozhets fe6d122d23 Merge pull request #1785 from dosire/update-developer-documentation
Refer developers to the vagrant vm and remove out of date documentation.
2012-10-25 02:36:54 -07:00
Dmitriy Zaporozhets 1ea0dd0ffc App docs 2012-10-25 11:59:41 +03:00
Dmitriy Zaporozhets 03f43291cd Remove easy script cause its should be improved 2012-10-25 11:57:23 +03:00
Dmitriy Zaporozhets f9def67981 move installation docs under separate dir 2012-10-25 11:57:23 +03:00
randx fd86bf4ae9 Decouple requirements and install 2012-10-25 11:57:23 +03:00
randx 5ff6fadcc1 refactor installation doc 2012-10-25 11:57:23 +03:00
randx c8fe07ed32 version 2 2012-10-25 11:57:23 +03:00
randx 8f3adf9f03 Improved installation manual 2012-10-25 11:57:23 +03:00
Sytse Sijbrandij bcd001f295 Refer developers to the vagrant vm and remove out of date documentation. 2012-10-24 16:45:18 +02:00
Saito e09bff082e Update doc/installation.md
Git Smart HTTP protocol runs on `gitlab:gitlab`.
2012-10-24 16:28:32 +08:00
Valeriy Sizov 77bc110107 API: help page and comment 2012-10-22 23:09:21 +03:00
Nihad Abbasov cf70439e0a update API docs 2012-10-19 03:39:02 -07:00
Saito 51ef5b9297 add shared repository doc. 2012-10-18 18:00:43 +08:00
Valeriy Sizov db3d90cbcb fix install manual after merge #1666 2012-10-12 20:12:35 +03:00
jozefvaclavik d0000e5c18 Update doc/api/projects.md for hooks API
Added documentation for getting project hook and editing project hook.
2012-10-12 10:38:15 +03:00
Valeriy Sizov 9168cd6a00 Fix starting gitlab after reboot server 2012-10-11 16:55:11 +03:00
Dmitriy Zaporozhets 2b7fd29b1a hardware requirements 2012-10-10 17:17:23 +03:00
Dmitriy Zaporozhets b2f5740993 Updated installation docs with better db origanisation 2012-10-10 15:45:19 +03:00
Andrey Kumanyaev 92ac42a27c update doc 2012-10-10 13:48:14 +04:00
Nihad Abbasov 61f12da3a5 API: add project snippets listing 2012-10-08 02:13:53 -07:00
Danillo Nunes ed5754624e Doc fix: Nginx init script requires sudo 2012-10-06 21:36:20 -03:00
Valeriy Sizov dc53a4f732 API: fix documentation 2012-10-02 18:52:19 +03:00
Valeriy Sizov d104df49e7 fix TYPO 2012-10-02 16:34:20 +03:00
Valeriy Sizov 705e9f402e #1585 Api for user creation: create help 2012-10-02 12:52:13 +03:00
Valeriy Sizov 433387be35 remove unnecessary step from install guide 2012-10-01 15:33:25 +03:00
Nihad Abbasov bbdb2c3fef fix links in API README 2012-09-21 05:06:36 -07:00
Nihad Abbasov 4162566e11 separate project repositories API docs 2012-09-21 05:03:50 -07:00
Nihad Abbasov b62445813d API: SSH keys belong to user entity 2012-09-21 04:49:28 -07:00
Nihad Abbasov 4a072be2d7 API: commits belong to project repository 2012-09-21 04:34:07 -07:00
Dmitriy Zaporozhets 131553627d Merge pull request #1521 from NARKOZ/api
API for project team members
2012-09-21 04:19:16 -07:00
Nihad Abbasov 25b745271a add API for project team members 2012-09-21 03:23:17 -07:00
Dmitriy Zaporozhets 10d3a30b25 APi for commits. Better api docs 2012-09-21 13:22:30 +03:00
Dmitriy Zaporozhets 9aafe77e70 I want be able to get token via api. Used for mobile applications 2012-09-20 17:45:07 +03:00
Nihad Abbasov 4e1f1e1422 API docs minor formatting fix
[ci-skip]
2012-09-20 18:34:07 +06:00
Robert Speicher 259ca982da Add docs for customizing Redis, add example file 2012-09-18 21:53:27 -04:00
Alex Denisov 9c0f6e8714 Small fixes added 2012-09-17 20:18:49 +03:00
Alex Denisov 87d40fd276 Docs added 2012-09-16 18:21:59 +03:00
randx caef9ed112 Update installation doc with branch names 2012-09-16 13:39:49 +03:00
Dmitriy Zaporozhets dcb17ead95 Merge pull request #1471 from PragTob/renameUnicorn.rb
Rename: unicorn.rb.orig --> unicorn.rb.example
2012-09-16 00:35:09 -07:00
Tobias Pfeiffer 9c117f2636 The project doesn't use cucumber(anymore?), it uses spinach 2012-09-15 21:53:45 +02:00
Tobias Pfeiffer 296e322bfc the rake was missing in fron of the gitlab:test task 2012-09-15 21:52:01 +02:00
Tobias Pfeiffer fa529c789c added the name change to the installation.md - thanks and nice catch to @NARKOZ 2012-09-15 21:23:41 +02:00
miks 2e34a6d3c4 Merge branch 'master' into project_hooks_api 2012-09-10 16:47:31 +03:00
miks 3b5a90bdf6 Projects hooks API implemented 2012-09-08 20:51:12 +03:00
miks 4226458faf Merge branch 'master' into project_users_api 2012-09-08 10:50:24 +03:00
Dmitriy Zaporozhets 7c0a1068bf Merge pull request #1363 from AlexDenisov/api_create_project_fixes
API create project fixes
2012-09-06 23:00:04 -07:00
miks 909c8c345d Make project users API more RESTful 2012-09-06 23:49:29 +03:00
miks 3d3c6674fb Typo fixed 2012-09-06 16:32:26 +03:00
Alex Denisov 09a86bd4d6 Capitlization of /gitlab/i normalized. #1367 2012-09-06 11:21:35 +03:00
miks 8f7360f390 API on adding users to project implemented 2012-09-05 23:01:03 +03:00
randx 42032956bd Cleaner install section for nginx, unicorn 2012-09-04 20:50:00 +03:00
randx d59d2a197e cleanup gitlab from setup scripts 2012-09-04 20:29:20 +03:00
randx 874a86f820 update install to use recipes 2012-09-04 19:44:17 +03:00
Robert Speicher fc7ac316a0 Clean up doc/installation.md
Closes #939
2012-09-04 05:33:18 -04:00
Rob Taylor 4cb03183ac Text changes to API documentation 2012-09-04 09:48:33 +01:00
Alex Denisov e078a173d6 Create project via API: fixes added 2012-09-03 18:00:24 +03:00
Nihad Abbasov 76e4d94d43 add pagination to API 2012-09-03 04:46:29 -07:00
Dmitriy Zaporozhets cc03600b22 Merge pull request #1347 from AlexDenisov/api_project_creation
API for new project creation
2012-09-03 01:48:51 -07:00
Sytse Sijbrandij cc137bba79 Update the references to the script and refer to it from the installation manual.
Update the references to the script and refer to it from the installation manual.

Indent the code block.
2012-09-02 22:44:11 +02:00
Dmitriy Zaporozhets 734a5b7d02 Merge pull request #1327 from logiblocs/master
Trivial fix to docs/installation.md
2012-09-02 12:21:00 -07:00
Sytse Sijbrandij b80dd3d242 Non-interactive AWS install by running a single script.
Merge branch 'master' into non-interactive-aws-install

Conflicts:
	doc/installation.md

Fix merge mess in installation.md
2012-09-02 18:39:50 +02:00
Sytse Sijbrandij eae41ad1df Non-interactive AWS install by running a single script.
Non-interactive AWS install by running a single script.

Complete non-interactive AWS install with one line.

Squash of 28 commits:

Initial commit of complete install script.

Must be sudo.

Non interactive prostgres.

Install mysql with unique password.

Service file.

Add init file.

Nginx config.

Script contains aws specific settings.

Update references after rename.

Prevent localhost ssh prompt.

Postfix with policyd.

Typo in localhost. Postfix package has other name. sudo -l session needs oneliners.

More sudo commands to prevent permission problems.

Change in existing file.

Change in existing file must be referenced.

Switch order.

Postfix comment.

Old way to generate password, less sudo.

todo login

Must use private ip and login instructions.

Starting up.

Fixed and checked various todos.

Use service. Set host name. Go to default dir.

Only works on next login.

Only replace first host.

Cleaned up the comments.

Link to nginx config.

Move to aws dir.

Update links to aws for interactive install.

Existing script stays at the same location.

Change directory. Use the new init scripts for gitlab service and nginx. Use the branch for file downloads. Update with newest changes to installation.md.

Correct reference.

Use master branch since we need the nginx condfig and use absolute paths.

Need to copy with sudo.
2012-09-02 18:29:46 +02:00
Alex Denisov 9811e64d71 Typo and mistakes fixed 2012-08-31 11:11:12 +03:00
Alex Denisov acac1547a0 JSON for new project removed from API docs 2012-08-31 10:28:38 +03:00
Alex Denisov b6a0407e7a Docs changed for Create Project API 2012-08-31 10:27:45 +03:00
Alex Denisov 985ecf0f04 Docs added for Create Project API 2012-08-31 10:25:36 +03:00
randx 4a6596af27 Fixed bunch of js bugs with comments. Also added development tips 2012-08-30 21:31:55 +03:00
Marvin Monge 491f63794b nginx vhost standard 2012-08-29 19:11:22 -06:00
logiblocs b99372b756 Fixed one letter in doc/installation.md 2012-08-29 13:04:37 +02:00
Robert Speicher 8a49cdc3b4 Add milestone API docs to doc/README and views/help/api
Also removes `closed` attribute option from create action.
2012-08-29 08:45:00 -04:00
Nihad Abbasov 2458060120 add docs for Milestones API 2012-08-29 05:31:00 -07:00
randx ad3a88cfd3 Prepared for gitolite v3 2012-08-29 02:03:04 +03:00
Dmitriy Zaporozhets aa708ed961 Simplify setup for nginx, initd with already predefined files 2012-08-28 13:47:13 +03:00
randx fee26c58e2 Move snippets api doc to separate file 2012-08-25 19:21:11 +03:00
randx d1daeba173 Updated app:status & docs with hooks. Removed write_hooks from app:setup 2012-08-21 22:45:14 +03:00
randx 05c86fb0fc Specify charlock holmes version in installation docs 2012-08-19 10:20:42 +03:00
Dmitriy Zaporozhets 5867a5c21d Merge pull request #1166 from three18ti/master
Updated MySQL docs and Ubuntu auto-install script
2012-08-11 12:22:03 -07:00
Dmitriy Zaporozhets 35b45da63e Merge pull request #984 from abevoelker/fix-init.d-resque
Fix resque worker becoming paused on restarts
2012-08-10 06:26:04 -07:00
randx c120457a6f Add admin credentials to installation docs 2012-08-02 15:30:22 +03:00
three18ti 6b77d92602 changed install script and docs to use postfix instead of sendmail 2012-07-30 15:42:40 -06:00
three18ti 4b18f4c485 updated ./resque.sh instruction to use sudo 2012-07-29 19:49:43 -06:00
three18ti da77cd2247 added mysql configuration instructions 2012-07-29 19:47:28 -06:00
three18ti 2cc31a380e updated ubuntu install script to include sendmail 2012-07-29 19:43:07 -06:00
Jeremy Anderson ce837f3d1b fixed typo 2012-07-31 07:34:06 -07:00
Jeremy Anderson 69c4cea65a updating project api to include raw blob contents and single branch 2012-07-31 07:32:44 -07:00
randx 18f83016b1 Fixed persmission issue in doc. Added validation of hooks in gitlab:app:status 2012-07-26 16:14:34 +03:00
Nihad Abbasov f7dd067490 API: expose issues project id 2012-07-25 04:22:21 -07:00
Nihad Abbasov 949b1df930 API: update docs 2012-07-25 02:35:41 -07:00
Nihad Abbasov eca823c1c7 Merge branch 'master' into api 2012-07-24 05:46:36 -07:00
Nihad Abbasov 024e034890 update API docs 2012-07-24 05:25:01 -07:00
Valeriy Sizov 244a1cad62 Merge pull request #1045 from tobert/patch-1
The gitlab.pub file probably shouldn't be world readable, but let's star...
2012-07-16 02:29:02 -07:00
Valeriy Sizov 5265a88d75 Merge pull request #1090 from rjmooney/patch-1
Clarify the nginx configuration.
2012-07-16 02:18:05 -07:00
Valeriy Sizov e184df9ce7 Merge pull request #1091 from asfaltboy/patch-1
Add step to make sure tmp directory exists in /home/gitlab/gitlab/
2012-07-16 02:15:38 -07:00
Hans Fase f003abf729 libreadline-gplv2-dev >> libreadline6-dev 2012-07-15 17:17:46 -03:00
Pavel Savchenko f2da12e960 Add step to make sure tmp directory exists in /home/gitlab/gitlab/ (since the step Setup DB fails if it doesn't. see issue #1038 for more detials. 2012-07-14 10:09:26 +03:00
rjmooney 491d674a96 Clarify the nginx configuration. 2012-07-13 10:26:52 -07:00
Valeriy Sizov b58326afc6 Merge pull request #1069 from drt24/patch-1
Should append to .profile rather than overwriting it as it might have ex...
2012-07-10 06:16:42 -07:00
Daniel Thomas 4a21f09029 Should append to .profile rather than overwriting it as it might have existing contents 2012-07-10 12:47:30 +02:00
Al Tobey 7359133798 The gitlab.pub file probably shouldn't be world readable, but let's start with just making it read-only and not executable. 2012-07-05 15:25:53 -07:00
Nihad Abbasov 4083cfa4de fix typo 2012-07-05 21:20:01 +06:00
Nihad Abbasov f086676b7c add docs for existing API 2012-07-05 06:57:45 -07:00
Abe Voelker 9a7cce2fa9 Fix resque worker becoming paused on restarts 2012-06-26 11:38:35 -05:00
Valeriy Sizov 1548baa17c update doc 2012-06-23 13:16:21 +03:00
Valeriy Sizov 65717f7040 Update master 2012-06-23 13:09:06 +03:00
Miha Vrhovnik 9e2ec7ee28 Add missing libyaml-dev 2012-06-11 10:43:57 +03:00
Vladimir Krylov cfa1b4c7f6 new rubby version and fix of https://github.com/gitlabhq/gitlabhq/issues/326 issue 2012-06-06 12:46:55 +03:00
Valeriy Sizov f12ac71bf8 use stable branch as default. 2012-06-04 17:38:08 +03:00
Valeriy Sizov 6b042b1699 Merge pull request #884 from amferraz/patch-1
Compatibilizing with a fresh install of ubuntu 12.04 LTS i386 (virtualized)
2012-06-03 02:49:15 -07:00
cacovsky 7b6f51efc8 Compatibilizing with a fresh install of ubuntu 12.04 LTS i386 (virtualized). 2012-06-02 20:19:36 -03:00
Hans Fase 74d62957b6 Updated; libreadline-dev libreadline-gplv2-dev
;) Have fun!
2012-05-26 02:35:50 -03:00
Troy Murray db048f1f8f Corrected line for running gl-system-install 2012-05-23 15:45:02 -03:00
bgondy 6e3db9a501 Adding sudo before sudo rm -rf /tmp/gitolite-admin (root privileges needed) 2012-05-12 01:42:16 +03:00
張旭 8272354288 in /etc/init.d/gitlab, I add "-l" option in sh command 2012-05-09 17:46:42 +08:00
Valeriy Sizov 35e602f19c small fix installation`s guide. 2012-04-29 10:39:15 +03:00
Tiago Ribeiro 4e97ac2e3b Fixed typo 2012-04-18 02:49:02 +02:00
Ariejan de Vroom a1d59d8053 Merged arthurschreiber:patch-1 2012-04-13 09:28:11 +02:00
Arthur Schreiber 34b6241474 Add libyaml-dev to the apt-get install string.
If libyaml headers are not installed, YAML will not be correctly compiled (either not at all, or using Syck instead of Psych).
2012-04-12 19:05:19 +03:00
Abe Voelker a6c1201c90 Fix install instructions' echo missing -e flag
Needed to expand the \n into a newline. My bad.
2012-04-06 11:35:48 -05:00
Dmitriy Zaporozhets e3845529c9 Merge pull request #634 from abevoelker/update-init-script
Add redis-server init.d dependency - fixes #598
2012-04-04 03:41:20 -07:00
Dmitriy Zaporozhets 43f5df21a3 gitlab rake tasks refactored 2012-04-04 01:02:54 +03:00
Abe Voelker 5d7954b532 Add redis-server init.d dependency 2012-04-01 18:59:56 -05:00
Abe Voelker 6aabf1157a Move Unicorn unix socket out of /tmp 2012-04-01 14:44:12 -05:00
Valeriy Sizov a8768ffb9d Merge pull request #629 from abevoelker/patch-1
Fix gl-setup PATH warning when executing gl-system-install.
2012-04-01 11:16:38 -07:00
Abe Voelker 76ebdd051f Fix gl-setup PATH warning when executing gl-system-install.
My git user uses bash (so .bash_profile), but I think it should work the same for sh shell.

Full warning message:

                ***** WARNING *****
gl-setup is not in your $PATH.

Since gl-setup MUST be run from the PATH (and not as src/gl-setup or such),
you must fix this before running gl-setup.  The simplest way is to add

    PATH=/home/git/bin:$PATH

to the end of your bashrc or similar file.  You can even simply run that
command manually each time you log in and want to run a gitolite command.

Run /home/git/gitolite/src/gl-system-install -h for a detailed usage message.
2012-04-01 13:15:18 -05:00
Jens-André Koch c8f2b9cfeb added nginx access_log; error_log directives for easier debugging vhost errors
added proxy_set_header directives to prevent "ssl_error_rx_record_too_long"
added subdomain "gitlab.YOUR_SUBDOMAIN.com" to server_name directive
added "YOUR_SERVER_IP" to listen directive
2012-03-30 15:12:28 +03:00
Ariejan de Vroom d706805c00 Added info on MySQL; Fixed formatting and language. 2012-03-28 10:07:24 +03:00
Valery Sizov 671424a8e7 installation guide: change link to script of auto-install 2012-03-27 23:15:09 +03:00
Valery Sizov cfe8676594 added script for auto install 2012-03-27 23:11:14 +03:00
Paul Armstrong fd1e7e2b21 Fix instructions for running gitlab_status
When running `rake gitlab_status` to check if it's safe to continue on installation in step 4, you need to use `RAILS_ENV=production` or else you will receive an error about "permission denied for user root@localhost..."
2012-03-24 16:07:21 -07:00
Tom Van Looy 51ab128337 See https://github.com/gitlabhq/gitlabhq/issues/572 2012-03-24 08:38:32 +01:00
Olexandr Skrypnyk e6153beda8 replace if statement with try_files in nginx.conf
http://wiki.nginx.org/IfIsEvil
2012-03-22 15:34:16 +02:00
Tom Van Looy 2adbb3b345 $ wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz
--2012-03-21 13:52:34--  http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz
Resolving ftp.ruby-lang.org... 221.186.184.68
Connecting to ftp.ruby-lang.org|221.186.184.68|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-tar]
Saving to: `ruby-1.9.2-p290.tar.gz'

    [               <=>                     ] 54,691,840  3.37M/s   in 18s     

2012-03-21 13:52:53 (2.85 MB/s) - `ruby-1.9.2-p290.tar.gz' saved [54691840]

[tom.vanlooy@itr232l ~/Desktop]
$ file ruby-1.9.2-p290.tar.gz 
ruby-1.9.2-p290.tar.gz: POSIX tar archive (GNU)
2012-03-21 13:53:38 +01:00
Valeriy Sizov f4646f970e fix install guide 2012-03-16 14:58:49 +02:00
Dmitriy Zaporozhets cf68adda4b fixed service docs 2012-03-15 20:06:26 +02:00
Dmitriy Zaporozhets 5fdcbedab4 add resque to gitlab service 2012-03-15 19:49:36 +02:00
sylis 5ba2f01cec Added needed new line for code in markdown 2012-03-13 23:07:13 +01:00
Dmitriy Zaporozhets 4b4dc9e483 en version 2012-03-13 20:19:03 +02:00
Valery Sizov 23bf72dc48 manual: fixed 2012-03-12 14:51:21 +02:00
Valery Sizov 7a6b7a5c50 added new manual 2012-03-12 14:47:57 +02:00
gitlabhq 9ba1224867 init commit 2011-10-09 00:36:38 +03:00