Go to file
Dennis Chen dfab54d5a2 Diff patch (#3345)
* Add support for .diff and .patch

Add the ability to get text-diff and format-patch by adding .diff or
.patch in the end of a commit url. Issue #2641

* models: git_diff: various fixes

* Renames commitId to commitID.
* Writes stderr to a bytes.Buffer and displays proper error message on
command failure.
* Various style changes.

Signed-off-by: Dennis Chen <barracks510@gmail.com>
2016-07-30 23:02:22 +08:00
.github Minor fix for pull request template [CI SKIP] 2016-07-28 10:54:52 +08:00
cmd #1601 support delete issue comment 2016-07-26 02:48:17 +08:00
conf Update locales 2016-07-30 22:28:23 +08:00
docker Update Docker README 2016-07-15 14:32:42 +08:00
models Diff patch (#3345) 2016-07-30 23:02:22 +08:00
modules Update locales 2016-07-30 22:28:23 +08:00
packager Fix postinstall to use GOGS_CUSTOM instead of symlinking 2015-12-10 09:02:58 +00:00
public models/ssh_key: code cleaning 2016-07-26 10:47:25 +08:00
routers Diff patch (#3345) 2016-07-30 23:02:22 +08:00
scripts Add an OpenBSD daemon control script (#3060) 2016-07-01 22:24:41 +08:00
templates Fix of template error in "/:owner/:repo/pulls" (#3343) 2016-07-29 22:59:38 +08:00
.bra.toml Some minor changes 2016-03-06 16:40:04 -05:00
.dockerignore Update docker/build.sh script to use glide & make (#3079) 2016-05-11 13:11:59 -04:00
.editorconfig Added .editorconfig 2015-03-13 21:20:08 -06:00
.gitattributes Fix GitHub wrong repo language detection 2016-07-21 18:20:03 +08:00
.gitignore Use glide 2016-03-11 12:18:27 -05:00
.gopmfile Bump version 2016-07-22 21:52:39 +08:00
.pkgr.yml Fix postinstall to use GOGS_CUSTOM instead of symlinking 2015-12-10 09:02:58 +00:00
.travis.yml Update TRANSLATORS and remove tip for CI 2016-03-02 16:43:32 -05:00
Dockerfile docker: Support timezones (#3262) 2016-07-15 10:55:05 +08:00
Dockerfile.rpi docker: Support timezones (#3262) 2016-07-15 10:55:05 +08:00
LICENSE Work on #5 fork and fix #608 2014-11-05 23:30:04 -05:00
Makefile #1601 support delete issue comment 2016-07-26 02:48:17 +08:00
README.md #3327 fix wrong table name in Join 2016-07-26 18:40:20 +08:00
README_ZH.md Update README [CI SKIP] 2016-07-23 19:22:43 +08:00
glide.lock Update glide.lock 2016-07-28 11:00:14 +08:00
glide.yaml #2958 Update dep version 2016-06-12 17:54:22 +08:00
gogs.go #3327 fix wrong table name in Join 2016-07-26 18:40:20 +08:00

README.md

Gogs - Go Git Service Build Status Crowdin Gitter

Current tip version: 0.9.58 (see Releases for binary versions)
Web UI Preview
Dashboard Repository Commits History
Profile Admin Dashboard Diff
Issues Releases Organization

Important Notes

  1. YOU MUST READ Contributing Code BEFORE STARTING TO WORK ON A PULL REQUEST.
  2. Due to testing purpose, data of try.gogs.io was reset in Jan 28, 2015 and will reset multiple times after. Please do NOT put your important data on the site.
  3. The demo site try.gogs.io is running under develop branch.
  4. If you think there are vulnerabilities in the project, please talk privately to u@gogs.io. Thanks!
  5. If you're interested in using APIs, we have experimental support with documentation.
  6. If your team/company is using Gogs and would like to put your logo on our website, contact us by any means.

简体中文

Purpose

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

Overview

Features

  • Activity timeline
  • SSH and HTTP/HTTPS protocols
  • SMTP/LDAP/Reverse proxy authentication
  • Reverse proxy with sub-path
  • Account/Organization/Repository management
  • Repository/Organization webhooks (including Slack)
  • Repository Git hooks/deploy keys
  • Repository issues, pull requests and wiki
  • Add/Remove repository collaborators
  • Gravatar and custom source
  • Mail service
  • Administration panel
  • Supports MySQL, PostgreSQL, SQLite3 and TiDB (experimental)
  • Multi-language support (18 languages)

System Requirements

  • A cheap Raspberry Pi is powerful enough for basic functionality.
  • 2 CPU cores and 1GB RAM would be the baseline for teamwork.

Browser Support

  • Please see Semantic UI for specific versions of supported browsers.
  • The official support minimal size is 1024*768, UI may still looks right in smaller size but no promises and fixes.

Installation

Make sure you install the prerequisites first.

There are 5 ways to install Gogs:

Tutorials

Screencasts

Deploy to Cloud

Software and Service Support

Product Support

Acknowledgments

  • Router and middleware mechanism of Macaron.
  • System Monitor Status is inspired by GoBlog.
  • Thanks lavachen and Rocker for designing Logo.
  • Thanks Crowdin for providing open source translation plan.
  • Thanks DigitalOcean for hosting home and demo sites.
  • Thanks KeyCDN and QiNiu for providing CDN service.

Contributors

License

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