Go to file
Giteabot af0cab23ea
Fix wrong last modify time (#32102) (#32104)
Backport #32102 by @lunny

Fix #31930 and more places which use `http.TimeFormat` wrongly.
`http.TimeFormat` requires a UTC time. refer to
https://pkg.go.dev/net/http#TimeFormat

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2024-09-22 19:12:57 +00:00
.devcontainer
.gitea Update demo site location from try.gitea.io -> demo.gitea.com (#31054) (#31146) 2024-05-29 01:05:07 +00:00
.github Fix mssql ci with a new mssql version on ci (#32094) 2024-09-23 01:32:26 +08:00
assets Upgrade bleve to 2.4.2 (#31894) 2024-08-21 05:13:59 +00:00
build Add `interface{}` to `any` replacement to `make fmt`, exclude `*.pb.go` (#30461) 2024-04-13 17:32:15 +00:00
cmd Prevent update pull refs manually and will not affect other refs update (#31931) (#31955) 2024-09-02 18:28:00 +08:00
contrib
custom/conf Sync up deleted branches & action assets related cleanup documentation (#31022) (#31049) 2024-05-22 11:02:34 -04:00
docker
docs Fix URL In Gitea Actions Badge Docs (#31191) (#31198) 2024-05-31 21:08:04 +08:00
models Fix nuget/conan/container packages upload bugs (#31967) (#31982) 2024-09-05 07:34:41 +00:00
modules Fix wrong last modify time (#32102) (#32104) 2024-09-22 19:12:57 +00:00
options Refactor CSRF protector (#32057) (#32069) 2024-09-18 17:02:45 +00:00
public
routers Fix wrong last modify time (#32102) (#32104) 2024-09-22 19:12:57 +00:00
services Fix: database not update release when using `git push --tags --force` (#32040) (#32074) 2024-09-19 07:57:28 +08:00
snap
templates Use forum.gitea.com instead of old URL (#31989) (#31992) 2024-09-07 03:47:23 +08:00
tests Add bin to Composer Metadata (#32099) (#32106) 2024-09-22 18:42:02 +00:00
tools Update misspell to 0.5.1 and add `misspellings.csv` (#30573) 2024-04-27 08:03:49 +00:00
web_src Replace v-html with v-text in search inputbox (#31966) (#31973) (#31975) 2024-09-05 01:59:57 +00:00
.air.toml Reduce `air` verbosity (#31417) (#31425) 2024-06-20 04:57:28 +08:00
.changelog.yml
.dockerignore
.editorconfig
.envrc Enable direnv (#31672) (#31679) 2024-07-23 11:35:28 -04:00
.eslintrc.yaml Enable jquery-related eslint rules that have no violations (#30632) 2024-04-22 14:24:47 +00:00
.gitattributes Add `interface{}` to `any` replacement to `make fmt`, exclude `*.pb.go` (#30461) 2024-04-13 17:32:15 +00:00
.gitignore Enable direnv (#31672) (#31679) 2024-07-23 11:35:28 -04:00
.gitpod.yml
.golangci.yml Enable more `revive` linter rules (#30608) 2024-04-22 11:48:42 +00:00
.ignore
.markdownlint.yaml
.npmrc
.spectral.yaml
.yamllint.yaml
BSDmakefile
CHANGELOG-archived.md Fix changelog (main) (#30582) 2024-04-19 06:08:30 +00:00
CHANGELOG.md Add changelog for 1.22.2 (#31935) 2024-09-06 00:16:54 +08:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md Update demo site location from try.gitea.io -> demo.gitea.com (#31054) (#31146) 2024-05-29 01:05:07 +00:00
DCO
Dockerfile Fix deprecated Dockerfile ENV format (#31450) (#31452) 2024-06-24 00:53:37 +00:00
Dockerfile.rootless Fix deprecated Dockerfile ENV format (#31450) (#31452) 2024-06-24 00:53:37 +00:00
LICENSE
MAINTAINERS
Makefile Add `TAGS` to `TEST_TAGS` and fix bugs found with gogit (#31791) (#31795) 2024-08-07 15:58:09 +00:00
README.md Update demo site location from try.gitea.io -> demo.gitea.com (#31054) (#31146) 2024-05-29 01:05:07 +00:00
README_ZH.md Update demo site location from try.gitea.io -> demo.gitea.com (#31054) (#31146) 2024-05-29 01:05:07 +00:00
SECURITY.md
build.go
crowdin.yml
flake.lock Add nix flake for dev shell (#30967) (#31310) 2024-06-11 09:50:13 +08:00
flake.nix Add nix flake for dev shell (#30967) (#31310) 2024-06-11 09:50:13 +08:00
go.mod Upgrade cache to v0.2.1 (#32003) (#32009) 2024-09-07 21:44:28 +00:00
go.sum Upgrade cache to v0.2.1 (#32003) (#32009) 2024-09-07 21:44:28 +00:00
main.go Add some tests to clarify the "must-change-password" behavior (#30693) 2024-04-27 12:23:37 +00:00
package-lock.json Upgrade micromatch to 4.0.8 (#31944) 2024-08-30 10:36:49 +08:00
package.json Update webpack to 5.94.0 (#31941) 2024-08-29 16:10:25 +00:00
playwright.config.js
poetry.lock Upgrade `tqdm` dependency (#30996) (#31000) 2024-05-17 02:39:39 +02:00
poetry.toml
pyproject.toml
stylelint.config.js Update JS dependencies (#30713) 2024-04-27 11:28:28 +00:00
tailwind.config.js Change `--border-radius-circle` to `--border-radius-full` (#30936) (#31078) 2024-05-26 13:16:13 +00:00
updates.config.js Update JS and PY deps, lock eslint and related plugins (#30452) 2024-04-13 08:54:36 +00:00
vitest.config.js
webpack.config.js

README.md

Gitea

Contribute with Gitpod

View this document in Chinese

Purpose

The goal of this project is to make the easiest, fastest, and most painless way of setting up a self-hosted Git service.

As Gitea is written in Go, it works across all the platforms and architectures that are supported by Go, including Linux, macOS, and Windows on x86, amd64, ARM and PowerPC architectures. This project has been forked from Gogs since November of 2016, but a lot has changed.

For online demonstrations, you can visit demo.gitea.com.

For accessing free Gitea service (with a limited number of repositories), you can visit gitea.com.

To quickly deploy your own dedicated Gitea instance on Gitea Cloud, you can start a free trial at cloud.gitea.com.

Building

From the root of the source tree, run:

TAGS="bindata" make build

or if SQLite support is required:

TAGS="bindata sqlite sqlite_unlock_notify" make build

The build target is split into two sub-targets:

  • make backend which requires Go Stable, the required version is defined in go.mod.
  • make frontend which requires Node.js LTS or greater.

Internet connectivity is required to download the go and npm modules. When building from the official source tarballs which include pre-built frontend files, the frontend target will not be triggered, making it possible to build without Node.js.

More info: https://docs.gitea.com/installation/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

[!NOTE]

  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!

Translating

Translations are done through Crowdin. If you want to translate to a new language ask one of the managers in the Crowdin project to add a new language there.

You can also just create an issue for adding a language or ask on discord on the #translation channel. If you need context or find some translation issues, you can leave a comment on the string or ask on Discord. For general translation questions there is a section in the docs. Currently a bit empty but we hope to fill it as questions pop up.

https://docs.gitea.com/contributing/localization

Crowdin

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 create a post in the discourse forum.

We maintain a list of Gitea-related projects at gitea/awesome-gitea.

The official Gitea CLI is developed at gitea/tea.

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 User Profile Global Issues
Branches Web Editor Activity
New Migration Migrating Pull Request View
Pull Request Dark Diff Review Dark Diff Dark