Make WIP prefixes case insensitive, e.g. allow `Draft` as a WIP prefix (#19780)
The issue was that only the actual title was converted to uppercase, but not the prefix as specified in `WORK_IN_PROGRESS_PREFIXES`. As a result, the following did not work: WORK_IN_PROGRESS_PREFIXES=Draft:,[Draft],WIP:,[WIP] One possible workaround was: WORK_IN_PROGRESS_PREFIXES=DRAFT:,[DRAFT],WIP:,[WIP] Then indeed one could use `Draft` (as well as `DRAFT`) in the title. However, the link `Start the title with DRAFT: to prevent the pull request from being merged accidentally.` showed the suggestion in uppercase; so it is not possible to show it as `Draft`. This PR fixes it, and allows to use `Draft` in `WORK_IN_PROGRESS_PREFIXES`. Fixes #19779. Co-authored-by: zeripath <firstname.lastname@example.org>
|20 hours ago|
|.gitea||8 months ago|
|.github||1 week ago|
|assets||3 days ago|
|build||3 days ago|
|cmd||6 days ago|
|contrib||2 weeks ago|
|custom/conf||20 hours ago|
|docker||2 days ago|
|docs||20 hours ago|
|integrations||6 days ago|
|models||20 hours ago|
|modules||5 days ago|
|options||3 days ago|
|public||6 days ago|
|routers||2 days ago|
|services||6 days ago|
|snap||3 months ago|
|templates||1 day ago|
|tools||3 weeks ago|
|web_src||1 day ago|
|.air.toml||6 months ago|
|.changelog.yml||10 months ago|
|.drone.yml||2 weeks ago|
|.editorconfig||1 year ago|
|.eslintrc||2 weeks ago|
|.gitattributes||3 months ago|
|.gitignore||4 months ago|
|.golangci.yml||2 weeks ago|
|.ignore||4 months ago|
|.lgtm||4 years ago|
|.npmrc||1 year ago|
|.stylelintrc||3 months ago|
|BSDmakefile||3 years ago|
|CHANGELOG.md||1 week ago|
|CONTRIBUTING.md||2 months ago|
|DCO||5 years ago|
|Dockerfile||2 days ago|
|Dockerfile.rootless||2 days ago|
|LICENSE||5 years ago|
|MAINTAINERS||5 days ago|
|Makefile||2 days ago|
|README.md||2 months ago|
|README_ZH.md||4 months ago|
|SECURITY.md||1 year ago|
|build.go||3 weeks ago|
|go.mod||1 week ago|
|go.sum||2 days ago|
|jest.config.js||2 weeks ago|
|main.go||4 months ago|
|package-lock.json||6 days ago|
|package.json||6 days ago|
|webpack.config.js||4 months ago|
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.
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
build target is split into two sub-targets:
make backendwhich requires Go 1.17 or greater.
make frontendwhich requires Node.js LTS or greater and Internet connectivity to download npm dependencies.
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 and Internet connectivity.
make -j <num>) is not supported.
NOTE: If you’re interested in using our APIs, we have experimental support with documentation.
Expected workflow is: Fork -> Patch -> Push -> Pull Request
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 fo fill it as questions pop up.
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.
Thank you to all our backers! 🙏 [Become a backer]
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]
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.
This project is licensed under the MIT License. See the LICENSE file for the full license text.
Looking for an overview of the interface? Check it out!