Git with a cup of tea! Painless self-hosted all-in-one software development service, includes Git hosting, code review, team collaboration, package registry and CI/CD
Go to file
Peter Smit 455fad0fbd Fix that owners also see actions on their repositories
This is a balance between speed and nice code, where speed has won. To prevent a repository query for each action the ownername is match with the current user.

It would be "cleaner" or "better" if we fetch the repository each time. Another option is to add the RepoOwnerID to action
2015-02-16 13:16:24 +02:00
cmd code fix #941 caution: undertest 2015-02-13 00:58:46 -05:00
conf better naming on #891 2015-02-11 12:04:01 -05:00
docker Set user.name & user.email in Dockerfile 2014-12-27 19:10:33 -08:00
etc update the supervisor script and conf 2014-10-13 14:23:55 +08:00
models Fix access for team mode update 2015-02-13 23:12:33 +02:00
modules fix mirror issues uncaught #941 2015-02-13 02:14:57 -05:00
packager Make postinstall work for CentOS/RHEL packages as well. 2014-11-19 21:43:12 +00:00
public Changes to repo-header-download-drop, different repo-clone-url input behaviour 2015-02-11 07:28:51 +01:00
routers Fix that owners also see actions on their repositories 2015-02-16 13:16:24 +02:00
scripts scripts: remove confuse scripts 2015-02-03 12:42:34 -05:00
templates fix mirror issues uncaught #941 2015-02-13 02:14:57 -05:00
.bra.toml fix #622 2014-11-13 05:27:01 -05:00
.gitignore Changes to repo-header-download-drop, different repo-clone-url input behaviour 2015-02-11 07:28:51 +01:00
.gobuild.yml fix gobuild 2014-11-04 07:56:07 -05:00
.gopmfile update gopmfile and README 2015-02-09 13:32:22 -05:00
.pkgr.yml Fix .pkgr.yml 2014-11-19 19:18:44 +00:00
.travis.yml update travis.yml and add badge 2015-02-01 12:44:10 -05:00
CONTRIBUTING.md update README notice and CONTRIBUTING.md 2015-02-07 11:09:17 -05:00
LICENSE Work on #5 fork and fix #608 2014-11-05 23:30:04 -05:00
README.md update gopmfile and README 2015-02-09 13:32:22 -05:00
README_ZH.md update gopmfile and README 2015-02-09 13:32:22 -05:00
gogs.go fix mirror issues uncaught #941 2015-02-13 02:14:57 -05:00
wercker.yml Finish delete user 2014-03-11 11:40:47 -04:00

README.md

Gogs - Go Git Service Build Status

Gitter

Gogs(Go Git Service) is a painless self-hosted Git Service written in Go.

Demo

Current version: 0.5.13 Beta

NOTICES

  • Due to testing purpose, data of try.gogs.io has been reset in Jan 28, 2015 and will reset multiple times after. Please do NOT put your important data on the site.
  • Demo site try.gogs.io is running under dev branch.
  • You MUST read CONTRIBUTING.md before you start filing a issue or making a Pull Request.
  • If you think there are vulnerabilities in the project, please talk private to u@gogs.io, thanks!

Other language version

Purpose

The goal of this project is to make the easiest, fastest and most painless way to set up a self-hosted Git service. With Go, this can be done in independent binary distribution across ALL platforms that Go supports, including Linux, Mac OS X, and Windows.

Overview

  • Please see Documentation for project design, known issues, and change log.
  • See Trello Board to follow the develop team.
  • Try it before anything? Do it online or go down to Installation -> Install from binary section!
  • Having troubles? Get help from Troubleshooting.
  • Want to help on localization? Check out Crowdin!

Features

  • Activity timeline
  • SSH/HTTP(S) protocol support
  • SMTP/LDAP/reverse proxy authentication support
  • Reverse proxy suburl support
  • Register/delete/rename account
  • Create/manage/delete organization with team management
  • Create/fork/migrate/mirror/delete/watch/rename/transfer public/private repository
  • Repository viewer/release/issue tracker
  • Repository and Organization level webhooks
  • Repository Git hooks
  • Add/remove repository collaborators
  • Gravatar and cache support
  • Mail service(register, issue)
  • Administration panel
  • Slack webhook integration
  • Drone CI integration
  • Supports MySQL, PostgreSQL and SQLite3
  • Social account login(GitHub, Google, QQ, Weibo)
  • Multi-language support(10 languages)

System Requirements

  • A cheap Raspberry Pi is powerful enough to match the minimal requirement.
  • 4 CPU Cores and 1GB RAM would be the baseline for teamwork.

Installation

Make sure you install Prerequirements first.

There are 5 ways to install Gogs:

Acknowledgments

  • Router and middleware mechanism of Macaron.
  • Mail Service, modules design is inspired by WeTalk.
  • System Monitor Status is inspired by GoBlog.
  • Thanks lavachen and Rocker for designing Logo.
  • Thanks gobuild.io for providing binary compile and download service.
  • Thanks Crowdin for providing open source translation plan.

Contributors

License

This project is under the MIT License. See the LICENSE file for the full license text.