mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-26 10:06:24 +00:00
update description about vendoring in CONTRIBUTING.md
follow #18277 Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
parent
84145e45c5
commit
dc9a3dfa85
|
@ -91,13 +91,12 @@ Here's how to run the test suite:
|
||||||
|
|
||||||
## Vendoring
|
## Vendoring
|
||||||
|
|
||||||
We keep a cached copy of dependencies within the `vendor/` directory,
|
We managing updates via [Modules](https://golang.org/cmd/go/#hdr-Module_maintenance).
|
||||||
managing updates via [Modules](https://golang.org/cmd/go/#hdr-Module_maintenance).
|
|
||||||
|
|
||||||
Pull requests should only include `vendor/` updates if they are part of
|
Pull requests should only include `go.mod`, `go.sum` updates if they are part of
|
||||||
the same change, be it a bugfix or a feature addition.
|
the same change, be it a bugfix or a feature addition.
|
||||||
|
|
||||||
The `vendor/` update needs to be justified as part of the PR description,
|
The `go.mod`, `go.sum` update needs to be justified as part of the PR description,
|
||||||
and must be verified by the reviewers and/or merger to always reference
|
and must be verified by the reviewers and/or merger to always reference
|
||||||
an existing upstream commit.
|
an existing upstream commit.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue