You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and is synced regularly to Crowdin. Once a translation has reached
112
112
A SATISFACTORY PERCENTAGE it will be synced back into this repo and
@@ -157,7 +157,7 @@ import (
157
157
158
158
## Design guideline
159
159
160
-
To maintain understandable code and avoid circular dependencies it is important to have a good structure of the code. The gitea code is divided into the following parts:
160
+
To maintain understandable code and avoid circular dependencies it is important to have a good structure of the code. The Gitea code is divided into the following parts:
161
161
162
162
-**integration:** Integrations tests
163
163
-**models:** Contains the data structures used by xorm to construct database tables. It also contains supporting functions to query and update the database. Dependencies to other code in Gitea should be avoided although some modules might be needed (for example for logging).
@@ -223,7 +223,7 @@ Additionally you could add a line at the end of your commit message.
Gitea has the `master` branch as a tip branch and has version branches
329
+
Gitea has the `main` branch as a tip branch and has version branches
330
330
such as `release/v0.9`. `release/v0.9` is a release branch and we will
331
331
tag `v0.9.0` for binary download. If `v0.9.0` has bugs, we will accept
332
332
pull requests on the `release/v0.9` branch and publish a `v0.9.1` tag,
333
-
after bringing the bug fix also to the master branch.
333
+
after bringing the bug fix also to the main branch.
334
334
335
-
Since the `master` branch is a tip version, if you wish to use Gitea
335
+
Since the `main` branch is a tip version, if you wish to use Gitea
336
336
in production, please download the latest release tag version. All the
337
337
branches will be protected via GitHub, all the PRs to every branch must
338
338
be reviewed by two maintainers and must pass the automatic tests.
339
339
340
340
## Releasing Gitea
341
341
342
342
* Let $vmaj, $vmin and $vpat be Major, Minor and Patch version numbers, $vpat should be rc1, rc2, 0, 1, ...... $vmaj.$vmin will be kept the same as milestones on github or gitea in future.
343
-
* Before releasing, confirm all the version's milestone issues or PRs has been resolved. Then discuss the release on discord channel #maintainers and get agreed with almost all the owners and mergers. Or you can declare the version and if nobody against in about serval hours.
344
-
* If this is a big version first you have to create PR for changelog on branch `master` with PRs with label `changelog` and after it has been merged do following steps:
343
+
* Before releasing, confirm all the version's milestone issues or PRs has been resolved. Then discuss the release on Discord channel #maintainers and get agreed with almost all the owners and mergers. Or you can declare the version and if nobody against in about serval hours.
344
+
* If this is a big version first you have to create PR for changelog on branch `main` with PRs with label `changelog` and after it has been merged do following steps:
345
345
* Create `-dev` tag as `git tag -s -F release.notes v$vmaj.$vmin.0-dev` and push the tag as `git push origin v$vmaj.$vmin.0-dev`.
346
346
* When CI has finished building tag then you have to create a new branch named `release/v$vmaj.$vmin`
347
347
* If it is bugfix version create PR for changelog on branch `release/v$vmaj.$vmin` and wait till it is reviewed and merged.
348
348
* Add a tag as `git tag -s -F release.notes v$vmaj.$vmin.$`, release.notes file could be a temporary file to only include the changelog this version which you added to `CHANGELOG.md`.
349
-
* And then push the tag as `git push origin v$vmaj.$vmin.$`. Drone CI will automatically created a release and upload all the compiled binary. (But currently it didn't add the release notes automatically. Maybe we should fix that.)
350
-
* If needed send PR for changelog on branch `master`.
349
+
* And then push the tag as `git push origin v$vmaj.$vmin.$`. Drone CI will automatically create a release and upload all the compiled binary. (But currently it doesn't add the release notes automatically. Maybe we should fix that.)
350
+
* If needed send PR for changelog on branch `main`.
351
351
* Send PR to [blog repository](https://gitea.com/gitea/blog) announcing the release.
0 commit comments