Fork of Gitea with patches to allow easier interoperation with other Lavender services
 
 
 
 
 
 
Go to file
Dennis Menschel 9c0a374f3f Fix integer constant overflows in tests (#4616)
* Use integer limit value [1] instead of hard-coded magic constant for
  NonexistentID.

* Explicitly use int64 in order to avoid the following errors on 32 bit
  architectures:

  # code.gitea.io/gitea/integrations
  ./api_admin_test.go:50:34: constant 9223372036854775807 overflows int
  ./api_token_test.go:47:34: constant 9223372036854775807 overflows int
  [...]
  # code.gitea.io/gitea/models
  ./action_test.go:179:15: constant 9223372036854775807 overflows int

[1] https://golang.org/pkg/math/#pkg-constants

Signed-off-by: Dennis Menschel <menschel-d@posteo.de>
2018-08-06 14:52:53 +03:00
.github Comment help text for issues (#2281) 2017-08-09 12:13:33 +08:00
assets Add task to generate images from SVG and change to new logo (#2194) 2017-07-28 13:51:20 +08:00
cmd Add config path as an optional flag when changing pass via CLI (#4184) 2018-06-09 18:35:14 -04:00
contrib Add a basic SMF manifest for SunOS platforms (#4238) 2018-06-25 00:24:00 +03:00
custom/conf Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
docker Add missing path in the Docker app.ini template (#2181) 2018-07-03 20:44:46 -04:00
docs Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
integrations Add ability to delete a token (#4235) 2018-07-06 21:54:30 -04:00
models Fix integer constant overflows in tests (#4616) 2018-08-06 14:52:53 +03:00
modules Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
options [skip ci] Updated translations via Crowdin 2018-08-06 04:44:17 +00:00
public Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
routers Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
scripts Updating generate-licenses.go to fetch licenses from maintained repository. (#3484) 2018-02-12 20:20:30 +02:00
snap snap-packaging for gitea (#2568) 2018-05-09 22:52:51 +08:00
templates Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
vendor Update xorm to latest version and fix correct `user` table referencing in sql (#4473) 2018-07-20 10:10:17 +08:00
.changelog.yml Add changelog config file for generate changelog (#2461) 2017-09-04 13:07:57 +03:00
.drone.yml Use correct site id for netlify (#4427) 2018-07-11 23:45:03 +02:00
.editorconfig switch gitter to discord for drone. (#1971) 2017-06-15 10:47:42 +08:00
.gitattributes ignore static files statstics for linguist 2016-12-27 16:49:25 +01:00
.gitignore snap-packaging for gitea (#2568) 2018-05-09 22:52:51 +08:00
.lgtm refactor: ignore LGTM from author of pull request. (#3283) 2018-01-02 06:13:49 -06:00
BSDmakefile Add BSDmakefile to prevent errors when `make` is called under FreeBSD (#4446) 2018-07-16 20:45:51 +02:00
CHANGELOG.md Update changelog 2018-07-03 23:24:48 +03:00
CONTRIBUTING.md Add security advice to contrib guide (#4187) 2018-06-09 12:03:23 -04:00
DCO follow the advisor: add DCO and some improvements 2016-11-04 16:43:41 +08:00
Dockerfile Fix docker build (#4358) 2018-07-04 12:27:30 +03:00
Gopkg.lock Update xorm to latest version and fix correct `user` table referencing in sql (#4473) 2018-07-20 10:10:17 +08:00
Gopkg.toml Update xorm to latest version and fix correct `user` table referencing in sql (#4473) 2018-07-20 10:10:17 +08:00
LICENSE Fix typo 2016-11-08 08:42:05 +01:00
MAINTAINERS Add myself as a maintainer (#4345) 2018-07-01 09:02:18 +03:00
Makefile Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00
README.md Added question for Gitea hosted Gitea (#4397) 2018-07-08 22:41:31 +02:00
README_ZH.md Fix release tag on README (#3945) 2018-05-10 23:38:57 +03:00
main.go Add csv file render support defaultly (#4105) 2018-07-21 00:08:15 +03:00
package-lock.json Update npm dependencies, regenerate CSS (#4415) 2018-07-11 10:54:28 -04:00
package.json Update npm dependencies, regenerate CSS (#4415) 2018-07-11 10:54:28 -04:00

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:

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