1
0
Fork 0
Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD https://github.com/go-gitea/gitea
Go to file
Allen Wild 2186a99c76 cmd/serv: actually exit after fatal errors (#7458)
Regression in 356854fc5f, where
a log.Fatal call was removed. log.Fatal calls os.Exit(1) as intended,
but without it the fail() function returns normally and execution
continues past the fatal error, causing a panic.

This is visible as a go panic log and stack trace returned to the SSH
client, which is not only ugly, it leaks server and build system
information.

Fix by removing the stray return statement so that the fail() function
always calls os.Exit(1).

Fixes: https://github.com/go-gitea/gitea/issues/7457
Signed-off-by: Allen Wild <allenwild93@gmail.com>
2019-07-13 21:38:18 +01:00
.github
assets
cmd cmd/serv: actually exit after fatal errors (#7458) 2019-07-13 21:38:18 +01:00
contrib
custom/conf Support setting cookie domain (#6288) 2019-07-12 09:57:31 -04:00
docker
docs Support setting cookie domain (#6288) 2019-07-12 09:57:31 -04:00
integrations
models
modules Support setting cookie domain (#6288) 2019-07-12 09:57:31 -04:00
options [skip ci] Updated translations via Crowdin 2019-07-09 06:30:32 +00:00
public Fix an issue with some pages throwing 'not defined' js exceptions (#7450) 2019-07-13 09:09:50 +01:00
routers Support setting cookie domain (#6288) 2019-07-12 09:57:31 -04:00
scripts
snap
templates create class for inlie positioned lists (#7393) 2019-07-12 18:44:28 +01:00
vendor Support setting cookie domain (#6288) 2019-07-12 09:57:31 -04:00
.changelog.yml
.drone.yml Fetch refs for successful testing for tag (#7388) 2019-07-09 03:24:52 +01:00
.editorconfig
.eslintrc
.gitattributes
.gitignore
.golangci.yml
.lgtm
.npmrc
.revive.toml
.stylelintrc
BSDmakefile
CHANGELOG.md
CONTRIBUTING.md
DCO
Dockerfile
LICENSE
MAINTAINERS
Makefile
README.md
README_ZH.md
go.mod Support setting cookie domain (#6288) 2019-07-12 09:57:31 -04:00
go.sum Support setting cookie domain (#6288) 2019-07-12 09:57:31 -04:00
main.go
package-lock.json
package.json

README.md

简体中文

Gitea - Git with a cup of tea

Build Status Join the Discord chat at https://discord.gg/NsatcWJ codecov Go Report Card GoDoc GitHub release Help Contribute to Open Source Become a backer/sponsor of gitea

Purpose

The goal of this project is to make the easiest, fastest, and most painless way of setting up a self-hosted Git service. Using Go, this can be done with an independent binary distribution across all platforms which Go supports, including Linux, macOS, and Windows on x86, amd64, ARM and PowerPC architectures. Want to try it before doing anything else? Do it with the online demo! This project has been forked from Gogs since 2016.11 but changed a lot.

Building

From the root of the source tree, run:

TAGS="bindata" make generate all

More info: https://docs.gitea.io/en-us/install-from-source/

Using

./gitea web

NOTE: If you're interested in using our APIs, we have experimental support with documentation.

Contributing

Expected workflow is: Fork -> Patch -> Push -> Pull Request

NOTES:

  1. YOU MUST READ THE CONTRIBUTORS GUIDE BEFORE STARTING TO WORK ON A PULL REQUEST.
  2. If you have found a vulnerability in the project, please write privately to security@gitea.io. Thanks!

Further information

For more information and instructions about how to install Gitea, please look at our documentation. If you have questions that are not covered by the documentation, you can get in contact with us on our Discord server, or forum!

Authors

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

FAQ

How do you pronounce Gitea?

Gitea is pronounced /ɡɪti:/ as in "gi-tea" with a hard g.

Why is this not hosted on a Gitea instance?

We're working on it.

License

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

Screenshots

Looking for an overview of the interface? Check it out!

Dashboard Repository Commits History
Branches Issues Pull Request View
Releases Activity Wiki
Diff Organization Profile