Skip to content

[WIP] New repository structure #111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 42 commits into from
Aug 22, 2013
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
75bcb79
Initial commit of new structure
axilleas Jul 31, 2013
50e3129
Add initial readme for Gentoo/Archlinux
axilleas Jul 31, 2013
86f65b5
Update general readme with instructions on Pull Requests
axilleas Aug 1, 2013
e6f6f31
Add readme for install guidelines
axilleas Aug 1, 2013
f9bf3d1
Better wording
axilleas Aug 1, 2013
a918217
Add opensuse
axilleas Aug 2, 2013
91eafbb
Fix table
axilleas Aug 2, 2013
25e7fd2
Replace maintainer with contributor, add init in example
axilleas Aug 2, 2013
d38bd03
Clean up readme
axilleas Aug 2, 2013
c139f0e
Add dummy readme files
axilleas Aug 2, 2013
2e80483
Refine install guidelines
axilleas Aug 4, 2013
a480d06
Add database info
axilleas Aug 4, 2013
04eb186
Add alternative CentOS nginx setup. Implement #31
axilleas Aug 5, 2013
fabeb6a
Enhance existing apache config. Implement #50 and #79
axilleas Aug 5, 2013
2afea0d
Refine nginx config for ssl connections. Implements #67 and #92
axilleas Aug 5, 2013
be95bd4
Enhance existing apache config. Implement #50, #79, #93. Fix #10
axilleas Aug 5, 2013
7e3bdeb
Refine nginx config for ssl connections. Implements #67 and #92
axilleas Aug 5, 2013
21bfab7
Merge branch 'test' into new_structure
axilleas Aug 5, 2013
9eabc93
Implement #58 #96 #99
axilleas Aug 5, 2013
c8cd324
New init url. Fix #109
axilleas Aug 5, 2013
2b552fb
First rewrite attempt of CentOS guide
axilleas Aug 9, 2013
433fac4
Move guidelines to main README, add info for epel repo in CentOS guide
axilleas Aug 17, 2013
9d4aaa9
Cleanup guide, add instructions of git update. Implement #102, Fix #62
axilleas Aug 17, 2013
8856901
Rewrite info about nginx on CentOS
axilleas Aug 18, 2013
d874d1c
Add sysvinit configs for puma and unicorn
axilleas Aug 18, 2013
9833fc5
Use unicorn by default. Add info for puma use, implement #87
axilleas Aug 18, 2013
9b750ab
Finish CentOS installation guide
axilleas Aug 18, 2013
a474bb1
Minor fixes
axilleas Aug 18, 2013
2f555a5
Fix code block
axilleas Aug 18, 2013
471ee56
Add first draft of systemd services. Fix #14 Implement #43
axilleas Aug 18, 2013
a334104
Add SELinux link
axilleas Aug 19, 2013
fcd87ac
Add puma relevant files
axilleas Aug 19, 2013
5581ab8
Fix readme
axilleas Aug 20, 2013
2c31ba6
Split line
axilleas Aug 20, 2013
3eee346
Move contributing guidelines to separate file
axilleas Aug 20, 2013
44eee6b
Use plural
axilleas Aug 20, 2013
6881f2b
Add contributors info, reference download links
axilleas Aug 20, 2013
b96f664
Move puma to own namespace
axilleas Aug 20, 2013
1a480d6
Add README file in each main dir
axilleas Aug 20, 2013
a80428e
Uppercase
axilleas Aug 21, 2013
9a7bcd8
Add newline to quote
axilleas Aug 22, 2013
b614352
Fix the link pointing to CONTRIBUTING.md
axilleas Aug 22, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 18 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@
gitlab-recipes
==============

GitLab recipes for setup on different platforms, update etc...
GitLab recipes for setup on different platforms, update etc.

### Every file should have section with maintainer name & gitlab version:
## Guidelines on community contributions

# GITLAB
# Maintainer: @randx
# App Version: 5.0
Here you will find installation guides or automation scripts provided by the community,
for systems other than the officially supported (Debian/Ubuntu).

Bare in mind that this repository is co-maintained by volunteers/contributors like you.

### Accepting Pull Requests

In each parent directory (install, init, web-server, etc.) you will find some conventions
you need to follow in order for your Pull Request to be accepted.

Please stick as close as possible to the guidelines. That way we ensure quality guides
and easy to merge requests.

Your Pull Request will be reviewed by one of our volunteers and you will be
asked to reformat it if needed. We don't bite and we will try to be as flexible
as possible, so don't get intimidated by the extent of the quidelines :)
File renamed without changes.
File renamed without changes.
44 changes: 44 additions & 0 deletions install/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
## Naming guidelines

- consists? >= 2 files:

archlinux-gitlab

## General information

If you have an installation guide to provide, fill in the template and place it on top
of your guide or include it in your installation script (commented), again on top.

### Template

```
Distribution :
GitLab version :
Web Server :
Init system :
Contributor :
Additional Notes :
```

### Explanation

| Label | Explanation |
| ---------------- | ------------------------- |
| Distribution | The official name and version of the platform/distribution, case sensitive. |
| GitLab version | GitLab version on which the guide/script was tested. |
| Web Server | The web server used to serve GitLab. May be two-fold, eg. apache with mod_passenger. |
| Init system | (Optional but recommended) The init system used by the platform if any. Examples: **sysvinit**, **systemd**, **upstart**, **openrc**, etc |
| Contributor | Your github username (recommended in order to track you and give credits) or your real name or both. Example of the latter: **thedude (Jeffrey Lebowski)** |
| Additional Notes | Anything else you want to add. Any deviations form the official guide can be reported here. Eg. using different user than `git`, storing in different locations, etc.|


### Example

```
Distribution : Fedora 19
GitLab version : 5.4
Web Server : apache with mod_passenger
Init system : systemd
Contributor : thedude
Additional Notes : the script installs `postgres` instead of `mysql` and user is `gitlab` instead of `git`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using user gitlab instead of git is generally not a good idea. Perhaps it would be better not to use such a scenario as an example?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, I'll change it.

```
14 changes: 14 additions & 0 deletions install/archlinux/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Welcome to the Archlinux GitLab recipes. Here you will find installation scripts,
guides, how-tos and some useful links that will help you install GitLab on Archlinux.


## Useful links

* [GitLab Wiki][]
* [GitLab PKGBUILD][]
* [gitlab-shell PKGBUILD][]


[GitLab Wiki]: https://wiki.archlinux.org/index.php/Gitlab
[GitLab PKGBUILD]: https://github.com/mtorromeo/archlinux-packages/tree/master/gitlab
[gitlab-shell PKGBUILD]: https://github.com/mtorromeo/archlinux-packages/tree/master/gitlab-shell
File renamed without changes.
Empty file added install/debian/README.md
Empty file.
Empty file added install/fedora/README.md
Empty file.
5 changes: 5 additions & 0 deletions install/gentoo/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Links

* http://wiki.gentoo.org/wiki/GitLab
* https://gist.github.com/int128/2360407
* https://github.com/cvut/gentoo-overlay/tree/master/www-apps/gitlabhq
Empty file added install/opensuse/README.md
Empty file.
File renamed without changes.
File renamed without changes.
9 changes: 0 additions & 9 deletions nginx/ReadMe-CentOS.md

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 10 additions & 0 deletions web-server/nginx/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# CentOS related Nginx notes

* If nginx is installed through the package manager, adjust sites in conf.d instead of sites-enabled.

* Replace the default `nginx` user with `gitlab` in group `root`.

In `/etc/nginx/nginx.conf`:

#user nginx;
user gitlab root;
File renamed without changes.