GithubHelp home page GithubHelp logo

gogs / gogs Goto Github PK

View Code? Open in Web Editor NEW
44.1K 44.1K 4.8K 201.11 MB

Gogs is a painless self-hosted Git service

Home Page: https://gogs.io

License: MIT License

Go 91.71% Shell 1.60% JavaScript 2.90% Batchfile 0.06% Dockerfile 0.05% Less 3.68% Procfile 0.01%
docker git go gogs mysql postgresql raspberry-pi scip-enabled self-hosted sqlite3

gogs's Introduction

gogs-brand

GitHub Workflow Status Discord Sourcegraph

简体中文

🔮 Vision

The Gogs (/gɑgz/) project aims to build a simple, stable and extensible self-hosted Git service that can be set up in the most painless way. With Go, this can be done with an independent binary distribution across all platforms that Go supports, including Linux, macOS, Windows and ARM-based systems.

📡 Overview

💌 Features

  • User dashboard, user profile and activity timeline.
  • Access repositories via SSH, HTTP and HTTPS protocols.
  • User, organization and repository management.
  • Repository and organization webhooks, including Slack, Discord and Dingtalk.
  • Repository Git hooks, deploy keys and Git LFS.
  • Repository issues, pull requests, wiki, protected branches and collaboration.
  • Migrate and mirror repositories with wiki from other code hosts.
  • Web editor for quick editing repository files and wiki.
  • Jupyter Notebook and PDF rendering.
  • Authentication via SMTP, LDAP, reverse proxy, GitHub.com and GitHub Enterprise with 2FA.
  • Customize HTML templates, static files and many others.
  • Rich database backend, including PostgreSQL, MySQL, SQLite3 and TiDB.
  • Have localization over 31 languages.

💾 Hardware requirements

  • A Raspberry Pi or $5 Digital Ocean Droplet is more than enough to get you started. Some even use 64MB RAM Docker CaaS.
  • 2 CPU cores and 512MB RAM would be the baseline for teamwork.
  • Increase CPU cores when your team size gets significantly larger, memory footprint remains low.

💻 Browser support

  • Please see Semantic UI for specific versions of supported browsers.
  • The smallest resolution officially supported is 1024*768, however the UI may still look right in smaller resolutions, but no promises or fixes.

📜 Installation

Make sure you install the prerequisites first.

There are 6 ways to install Gogs:

Deploy to cloud

Tutorials

📦 Software, service and product support

🙇‍♂️ Acknowledgments

This project is proundly supported by:

Other acknowledgments:

  • Thanks Egon Elbre for designing the original version of the logo.
  • Thanks Crowdin for sponsoring open source translation plan.
  • Thanks MonoVM for sponsoring VPS services.
  • Thanks Buildkite for sponsoring open source CI/CD plan.

👋 Contributors

⚖️ License

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

gogs's People

Contributors

0rax avatar 0xbaadf00d avatar acusti avatar andreynering avatar bkcsoft avatar chriswatt avatar codeskyblue avatar compressed avatar crohr avatar crystaldust avatar deepsource-autofix[bot] avatar dependabot-preview[bot] avatar dependabot[bot] avatar fanningert avatar fnkr avatar fuxiaohei avatar genedna avatar lstahlman avatar lunny avatar makhov avatar manfer avatar nanoant avatar nussjustin avatar nussjustin-hmmh avatar odinuge avatar psmit avatar sapk avatar slene avatar strk avatar unknwon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gogs's Issues

Multi-language support

Gogs has prepared for i18n feature support in some sense, but we think it's too early to do it without implementing most of main-route features. We may release this feature in v0.5.0.

Allow shorter usernames

When I try to sign up using the username "sqs", I see: "Username must contain at least 5 characters."

GitHub allows one-letter usernames (e.g., https://github.com/q), and I have a 3-letter username on most sites. Would you consider allowing shorter usernames?

Ability to mirror Github repository

Hello,

would be nice if gogs could have ability to mirror/backup existing Github repository.
Including issues and pull requests (and maybe wiki pages).

With option to set how often it should be updated.

Best regards

git push 501 Not Implemented

When attempting to push for the first time, I receive the following:

[martini] Started GET /matt/test.git/info/refs
[martini] Completed 200 OK in 39.570422ms
[martini] Started GET /matt/test.git/HEAD
[martini] Completed 200 OK in 11.681542ms
[martini] Started PROPFIND /matt/test.git/
[martini] Completed 207  in 11.378867ms
[martini] Started HEAD /matt/test.git/info/refs
[martini] Completed 200 OK in 12.217012ms
[martini] Started HEAD /matt/test.git/objects/info/packs
[martini] Completed 200 OK in 11.366741ms
[martini] Started MKCOL /matt/test.git/info/
[martini] Completed 201 Created in 10.434681ms
[martini] Started LOCK /matt/test.git/info/refs
[martini] Completed 501 Not Implemented in 12.017181ms

Repository viewer

  • List directories and file
  • Branch list
  • Commit list
  • View single file
  • Auto-render README
  • One-click copy for SSH clone URL
  • Show latest commit message and commit person

安装页面bug

1.,如果选择sqlite3,因为没有database password而无法提交;
2,如果选择sqlite3,会提示没有import,且此时web server会挂掉;

Repository name contains illegal characters

I'm getting the error "Repository name contains illegal characters" when trying to sign up a user after building and configuring gogs.

Whatever the solution, maybe it should be added to the troubleshooting page.

mysql initialization error

with the package: linux-amd64( gogs.zip)

take an error in initialization database with mysql:
Database setting is not correct: Error 1071: Specified key was too long; max key length is 1000 bytes

mysql version: 5.1.73

Installation instructions: the first set of commands isn't explicit about the git2go commit ID requirement

I first tried following the first set of instructions at https://github.com/gogits/gogs/wiki/Install-from-source:

# Download main program and dependencies
$ go get -u -d github.com/gogits/gogs

# Install dependencies and build main program
$ cd $GOPATH/src/github.com/gogits/gogs
$ gopm build -v

But I got this error:

$ gopm build -v
gopm INFO Indicated GOPATH: /home/sqs
gopm TRAC Loading gopmfile...
gopm INFO Target name: github.com/gogits/gogs
gopm INFO Linking github.com/gogits/gogs
gopm TRAC Building...
gopm INFO Changing work directory to /home/sqs/src/github.com/gogits/gogs/.vendor/src/github.com/gogits/gogs
gopm INFO Setting GOPATH to /home/sqs/src/github.com/gogits/gogs/.vendor
gopm INFO ===== application outputs start =====

# github.com/libgit2/git2go
38: error: 'git_checkout_options' undeclared (first use in this function)
38: error: 'git_checkout_init_opts' undeclared (first use in this function)
gopm INFO ====== application outputs end ======
gopm INFO Setting GOPATH back to /home/sqs:/home/sqs/.gvm/pkgsets/go1.2/global
gopm INFO Changing work directory back to /home/sqs/src/github.com/gogits/gogs
gopm ERR! build fail to build program:
gopm ERR!   exit status 2

Does the first set of instructions only work for people who have already checked out the 054268 commit of git2go? If so, maybe just remove them altogether.

Not a big issue...I figured it out in like 15-20 seconds, but it might trip other people up.

apache couchdb 1.5.0 is starting as process in my linux system

Dear sir.
i am installed couchdb 1.5.0 . when i started coucdb as couchdb user.. It is running as
user@kumar ~ $ sudo su - couchdb
[sudo] password for kumar:
couchdb@kumar ~ $ couchdb
Apache CouchDB is running as process 1570, time to relax.
couchdb@kumar ~ $
how can i start correctly. please help me to solve.

thanks and regards
kumar

problem start gogs in crontab

Could run /opt/gogs/start.sh as user git successfully in terminal. But failed as cron job.

edit crontab as user git:

# m h  dom mon dow   command
@reboot /opt/gogs/start.sh

After reboot, gogs cannot be started:

From [email protected] Sun Apr 6 18:56:25 2014
Return-Path: [email protected]
X-Original-To: git
Delivered-To: [email protected]
From: [email protected] (Cron Daemon)
To: [email protected]
Subject: Cron git@intense /opt/gogs/start.sh
Content-Type: text/plain; charset=ANSI_X3.4-1968
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/home/git>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=git>
Date: Sun, 6 Apr 2014 18:56:17 +1200 (NZST)
Status: RO

Server is running...
Expect user(git) but current user is:

Add a "Quickstart" to the README

It would be great if the README had a quickstart: the 4-5 commands you need to run, plus the config you need to change (if necessary...would be great to have a starter config that didn't require changing).

Or a Dockerfile or Vagrantfile.

binary tries to use OS X path on Linux

I'm running Fedora 20 x86_64 as user jschroeder

models.init(fail to create RepoRootPath(/Users/jschroeder/git/gogs-repositories)): mkdir /Users: permission denied

support cznic/ql backend

It would be nice to have a pure-Go backend alternative to sqlite. cznic/ql might fit that role. This depends on ql support by the ORM you are using though.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.