0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-12 00:13:04 +01:00
Go to file
Zettat123 06f1065636
Add a transaction to pickTask (#33543)
In the old `pickTask`, when getting secrets or variables failed, the
task could get stuck in the `running` status (task status is `running`
but the runner did not fetch the task). To fix this issue, these steps
should be in one transaction.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-02-12 00:09:43 +08:00
.devcontainer
.gitea
.github Run yamllint with strict mode, fix issue (#33551) 2025-02-10 22:33:40 +00:00
assets Use ProtonMail/go-crypto to replace keybase/go-crypto (#33402) 2025-01-27 09:14:08 +08:00
build
cmd Add a option "--user-type bot" to admin user create, improve role display (#27885) 2025-02-07 08:41:55 +00:00
contrib Remove outdated code about fixture generation (#32708) 2024-12-04 07:59:28 +00:00
custom/conf Add missing POPULATE_SQUASH_COMMENT_WITH_COMMIT_MESSAGES in app.example.ini (#33363) 2025-01-23 18:26:39 +00:00
docker Use updated path to s6-svscan after alpine upgrade (#33185) 2025-01-10 10:16:37 +08:00
models Enhance routers for the Actions runner operations (#33549) 2025-02-11 01:39:10 +00:00
modules Feature: Support workflow event dispatch via API (#33545) 2025-02-11 03:05:42 +08:00
options [skip ci] Updated translations via Crowdin 2025-02-11 00:32:23 +00:00
public Update feishu icon (#33470) 2025-02-01 14:08:32 +00:00
routers Add a transaction to pickTask (#33543) 2025-02-12 00:09:43 +08:00
services Add a transaction to pickTask (#33543) 2025-02-12 00:09:43 +08:00
snap Bump CI,Flake and Snap to Node 22 (#32487) 2024-11-13 21:39:55 +00:00
templates enhancement: add additional command hints for PowerShell & CMD (#33548) 2025-02-11 04:14:37 +08:00
tests Enhance routers for the Actions runner operations (#33549) 2025-02-11 01:39:10 +00:00
tools Switch to eslint-plugin-import-x (#32790) 2024-12-12 02:07:32 +00:00
web_src Optimize the dashboard (#32990) 2025-02-11 01:24:34 +08:00
.air.toml
.changelog.yml Update .changelog file to add performance label group (#33472) 2025-02-02 06:40:39 +00:00
.dockerignore
.editorconfig
.envrc
.eslintrc.cjs Update JS and PY dependencies (#33249) 2025-01-16 09:56:41 +00:00
.gitattributes
.gitignore Add .run to gitignore (#33175) 2025-01-09 18:11:35 +00:00
.gitpod.yml
.golangci.yml Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
.ignore
.markdownlint.yaml
.npmrc
.spectral.yaml
.yamllint.yaml
BSDmakefile
build.go
CHANGELOG-archived.md
CHANGELOG.md Update changelog to add missed changelog (#32734) 2024-12-06 17:31:43 +00:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md Update README.md (#33149) 2025-01-10 16:03:07 +08:00
crowdin.yml
DCO
Dockerfile Fix #32954 (#32955) 2024-12-23 02:31:53 +08:00
Dockerfile.rootless Use Alpine 3.21 for the docker images (#32924) 2024-12-22 15:44:50 +00:00
flake.lock Add golang back to nix dev environment and pin v1.23 (#33275) 2025-01-17 12:25:33 -05:00
flake.nix Add golang back to nix dev environment and pin v1.23 (#33275) 2025-01-17 12:25:33 -05:00
go.mod Use ProtonMail/go-crypto to replace keybase/go-crypto (#33402) 2025-01-27 09:14:08 +08:00
go.sum Use ProtonMail/go-crypto to replace keybase/go-crypto (#33402) 2025-01-27 09:14:08 +08:00
LICENSE
main_timezones.go add timetzdata build tag to binary releases (#33463) 2025-02-05 04:17:08 +00:00
main.go
MAINTAINERS Update MAINTAINERS (#33529) 2025-02-07 08:10:49 +08:00
Makefile Run yamllint with strict mode, fix issue (#33551) 2025-02-10 22:33:40 +00:00
package-lock.json Update @github/text-expander-element, adapt type imports (#33449) 2025-01-31 02:50:18 +00:00
package.json Update @github/text-expander-element, adapt type imports (#33449) 2025-01-31 02:50:18 +00:00
playwright.config.ts
poetry.lock Updates for poetry 2.0 (#33415) 2025-01-27 21:57:14 +00:00
poetry.toml Updates for poetry 2.0 (#33415) 2025-01-27 21:57:14 +00:00
pyproject.toml Update JS and PY dependencies (#33249) 2025-01-16 09:56:41 +00:00
README_ZH.md Update README.md (#33149) 2025-01-10 16:03:07 +08:00
README.md Update README.md (#33149) 2025-01-10 16:03:07 +08:00
SECURITY.md
stylelint.config.js Update stylelint config (#33419) 2025-01-28 02:34:01 +00:00
tailwind.config.js
tsconfig.json Enable two more strict options in tsconfig (#33438) 2025-01-30 05:15:35 +00:00
updates.config.js Update JS and PY dependencies (#33249) 2025-01-16 09:56:41 +00:00
vitest.config.ts
webpack.config.js Add webpack EnvironmentPlugin (#32661) 2024-11-28 01:50:54 +00:00

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.

Documentation

You can find comprehensive documentation on our official documentation website.

It includes installation, administration, usage, development, contributing guides, and more to help you get started and explore all features effectively.

If you have any suggestions or would like to contribute to it, you can visit the documentation repository

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

After building, a binary file named gitea will be generated in the root of the source tree by default. To run it, use:

./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

Crowdin

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.

Get more information from documentation.

Official and Third-Party Projects

We provide an official go-sdk, a CLI tool called tea and an action runner for Gitea Action.

We maintain a list of Gitea-related projects at gitea/awesome-gitea, where you can discover more third-party projects, including SDKs, plugins, themes, and more.

Communication

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.

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.

Where can I find the security patches?

In the release log or the change log, search for the keyword SECURITY to find the security patches.

License

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

Further information

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