Beyond coding. We forge.
Find a file
Alexey Terentyev 46d19c4676 Fix topics addition (Another solution) (#4031) (#4258)
* Added topics validation, fixed repo topics duplication (#4031)

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Added tests

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Fixed fmt

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Added comments to exported functions

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Deleted RemoveDuplicateTopics function

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Fixed messages

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Added migration

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* fmt migration file

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* fixed lint

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Added Copyright

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Added query solution for duplicates

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Fixed migration query

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Changed RegExp. Fixed migration

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* fmt migration file

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Fixed test for changed regexp

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Removed validation log messages

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Renamed migration file

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>

* Renamed validate function

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
2018-06-21 17:09:46 +08: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 More detailed documentation on how to set up from binary (#4121) 2018-06-04 22:02:04 -04:00
custom/conf Fix missing close tags in U2F (#4256) 2018-06-19 11:48:50 +03:00
docker Add Environment Variables to Docker template (#4012) 2018-05-23 23:31:12 +08:00
docs Reorganized feature comparison (#4264) 2018-06-18 13:16:53 -04:00
integrations fix not respecting landing page setting (#4209) 2018-06-15 11:42:46 +08:00
models Fix topics addition (Another solution) (#4031) (#4258) 2018-06-21 17:09:46 +08:00
modules Show second line by using >= 1 instead of > 1 (#4251) 2018-06-15 10:07:48 -04:00
options Fix topics addition (Another solution) (#4031) (#4258) 2018-06-21 17:09:46 +08:00
public Fix topics addition (Another solution) (#4031) (#4258) 2018-06-21 17:09:46 +08:00
routers Fix topics addition (Another solution) (#4031) (#4258) 2018-06-21 17:09:46 +08: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 undo #3142 because processes don't use the util.Timestamp (#4203) 2018-06-10 09:48:45 +08:00
vendor update git vendor (#4059) 2018-05-27 21:47:34 +03:00
.changelog.yml Add changelog config file for generate changelog (#2461) 2017-09-04 13:07:57 +03:00
.drone.yml Updated drone config to use the "next" git plugin (#4281) 2018-06-20 19:03:22 +03: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
CHANGELOG.md 1.4.2 changelog (#4124) 2018-06-05 03:56:29 +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 Docker multi-stage (#2927) 2018-03-12 11:59:13 +02:00
Gopkg.lock update git vendor (#4059) 2018-05-27 21:47:34 +03:00
Gopkg.toml Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
LICENSE Fix typo 2016-11-08 08:42:05 +01:00
main.go Implements generator cli for secrets (#3531) 2018-02-18 20:14:37 +02:00
MAINTAINERS Add myself as a maintainer (#4172) 2018-06-08 09:23:39 +08:00
Makefile Add make command to validate swagger file (#4096) 2018-06-02 14:29:12 +03:00
package-lock.json Update less.js to latest version (#3932) 2018-05-10 13:36:47 +08:00
package.json Update less.js to latest version (#3932) 2018-05-10 13:36:47 +08:00
README.md Move Screenshots to Bottom (#4128) 2018-06-08 20:13:41 -04:00
README_ZH.md Fix release tag on README (#3945) 2018-05-10 23:38:57 +03:00

简体中文

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.

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