以前要求同一来源只留一条 nvchecker 条目,是因为 bumpbot 按标题搜索 既有 issue 时把源码包和 -bin 混在一起。bumpbot#5 已修,overlay.toml 已全部打开(#13359、#13360)。规则改成所有包都要添加。 acct-*、virtual 那行也改成实际做法:列成注释行,不写理由。 Signed-off-by: Zakk <zakk@gentoozh.org>
106 lines
4.9 KiB
Markdown
106 lines
4.9 KiB
Markdown
<div align="right">
|
|
|
|
English | [简体中文](./README.md) | [正體中文](./README.zh-TW.md) | [廣東話](./README.yue.md)
|
|
|
|
</div>
|
|
|
|
# gentoo-zh
|
|
|
|
Overlay for Gentoo Users.\
|
|
gentoo-zh is an inclusive overlay.
|
|
|
|
> [!NOTE]
|
|
> gentoo-zh overlay has moved to https://github.com/gentoo-zh/overlay. Old GitHub URLs continue to redirect. If you manually configured a remote, update it when convenient.
|
|
> See [MIGRATION.md](./MIGRATION.md) for details.
|
|
|
|
## Community
|
|
|
|
[](https://gentoozh.org/en/)
|
|
[](https://github.com/gentoo-zh/overlay/issues)
|
|
[](mailto:overlay@gentoozh.org)
|
|
[](https://forum.gentoozh.org/)
|
|
[](https://wiki.gentoo.org/wiki/Gentoo-zh)
|
|
[](https://t.me/gentoo_zh)
|
|
[](https://t.me/gentoocn)
|
|
[](https://matrix.to/#/%23gentoo-zh:matrix.gentoozh.org)
|
|
[](https://web.libera.chat/#gentoo-zh)
|
|
|
|
For anything about the overlay, GitHub Issues is preferred.
|
|
|
|
## How to add this overlay to Gentoo Linux
|
|
|
|
```
|
|
eselect repository enable gentoo-zh
|
|
emaint sync
|
|
```
|
|
|
|
Mirrors for mainland China and how to use the overlay: https://gentoozh.org/en/overlay
|
|
|
|
## Distfiles and binary packages
|
|
|
|
Some packages come with distfiles and prebuilt binary packages, built nightly.
|
|
Setup and mirrors: https://distfiles.gentoozh.org
|
|
|
|
## Dependency table
|
|
|
|
https://github.com/gentoo-zh/overlay/blob/deps-table/relation.md
|
|
|
|
## Contributions
|
|
|
|
**DO NOT BREAK PEOPLE'S SYSTEM.**
|
|
|
|
* Everyone is welcome to contribute, but committers should check their work
|
|
carefully before committing.
|
|
* Every commit in a pull request must carry all the changes it needs; do not split a
|
|
change across commits without reason, e.g. an ebuild and its `Manifest` belong in
|
|
the same commit.
|
|
* Every ebuild change must compile before committing.
|
|
* `LICENSE` must match what upstream actually grants. When the license is not in
|
|
`::gentoo`, add its full text under [`licenses/`](./licenses), put it in the matching
|
|
group in [`profiles/license_groups`](./profiles/license_groups), and set `RESTRICT`
|
|
from its redistribution terms.
|
|
* Every package must be added to
|
|
[`.github/workflows/overlay.toml`](./.github/workflows/overlay.toml), inserted in
|
|
alphabetical order by `category/package`. If it can be bumped automatically, see
|
|
[scripts/autobump.md](./scripts/autobump.md).
|
|
* If a package is not suitable for nvchecker to check for new versions, add a comment
|
|
in that position explaining why; `acct-*` and `virtual` packages are commented too.
|
|
* Run `pkgcheck scan --commits --net` locally before you open a pull request.
|
|
* After opening the pull request, fix whatever the pkgcheck report and CI flag, QA
|
|
warnings included.
|
|
* Use `~arch` keywords only, never stable keywords.
|
|
* CI builds on amd64 and arm64. If a problem shows up on an arch you do not have and
|
|
you cannot solve it, remove that keyword.
|
|
* Keep maintaining the packages you add, and use the
|
|
[pull request template](./.github/pull_request_template.md).
|
|
* When you stop maintaining a package, look for a new maintainer in the issues, or
|
|
mask it in [`profiles/package.mask`](./profiles/package.mask) and drop it when the
|
|
mask expires.
|
|
|
|
### Commit messages
|
|
|
|
We recommend generating them with `pkgdev commit`. Version bump:
|
|
|
|
```
|
|
$category/$package: add $new_version, drop $old_version
|
|
```
|
|
|
|
Anything else:
|
|
|
|
```
|
|
$category/$package: one line short description message
|
|
|
|
multiple lines of description about why you change this.
|
|
if you change to fix the bug, and if there is an GitHub
|
|
issue entry for that bug, then point the bug link here.
|
|
```
|
|
|
|
## AI policy
|
|
|
|
Generative AI may assist, but it must follow [AGENTS.md](./AGENTS.md) and the
|
|
contributor is responsible for every commit: ensure the quality of the ebuild and
|
|
verify that it works, smoke-test it before submitting, and keep the pull request
|
|
description short, precise and professional, written from tested results, not
|
|
guesses. The contributor, submitter, and commit author must be a human, not an AI
|
|
tool or model identity.
|