From ce606df2c454828a06da8043261256358af2d514 Mon Sep 17 00:00:00 2001 From: Feng Ruohang Date: Mon, 7 Sep 2026 11:18:19 +0800 Subject: [PATCH] fix: align contribution tooling with SILO AGPL policy Clarify SILO contribution ownership and preserve prior copyright notices. Consolidate issue templates and route the legacy credits command through the maintained generator. Validation: make rebrand-guard; bash -n update-credits.sh; regenerated credits match CREDITS; template and link checks. Signed-off-by: Feng Ruohang --- .github/ISSUE_TEMPLATE.md | 54 ------ .github/ISSUE_TEMPLATE/bug_report.md | 8 + .github/ISSUE_TEMPLATE/feature_request.md | 3 + .github/PULL_REQUEST_TEMPLATE.md | 10 +- CONTRIBUTING.md | 22 ++- update-credits.sh | 212 +--------------------- 6 files changed, 35 insertions(+), 274 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index 8ee69c852..000000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: community, triage -assignees: '' - ---- - -## NOTE - -Silo issues are handled by community maintainers on a best-effort basis. There -is no SLA, SLO, or emergency production-support channel. Follow the local -[Code of Conduct](../code_of_conduct.md) when participating. Report suspected -vulnerabilities through the private process in [SECURITY.md](../SECURITY.md), -not in a public issue. - - - -## Expected Behavior - - - -## Current Behavior - - - -## Possible Solution - - - -## Steps to Reproduce (for bugs) - - - - -1. -2. -3. -4. - -## Context - - - -## Regression - - - -## Your Environment - -* Version used (`silo --version`): -* Server setup and configuration: -* Operating System and version (`uname -a`): diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 29c5ae3c9..608a4ae84 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -7,6 +7,14 @@ assignees: '' --- +Report bugs in the PGSTY SILO server (`pgsty/silo`) here. Community maintainers +handle reports on a best-effort basis. There is no SLA, SLO, or emergency +production-support channel. Follow the +[Code of Conduct](https://github.com/pgsty/silo/blob/main/code_of_conduct.md). +Report suspected vulnerabilities privately through +[SECURITY.md](https://github.com/pgsty/silo/blob/main/SECURITY.md). +For patches, see the [contribution guide](https://github.com/pgsty/silo/blob/main/CONTRIBUTING.md). + ## Expected Behavior diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 4a7b218c9..d52c07177 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -7,6 +7,9 @@ assignees: '' --- +Suggest improvements to the PGSTY SILO server (`pgsty/silo`) here. +For patches, see the [contribution guide](https://github.com/pgsty/silo/blob/main/CONTRIBUTING.md). + **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 00ffb2e0d..25fcbf59f 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,10 +1,14 @@ ## Contribution Licensing (no CLA, inbound=outbound, DCO required) -This project does not use a CLA; contributions are accepted inbound=outbound. +This pull request contributes to PGSTY SILO (`pgsty/silo`). Code contributions +are accepted under AGPL-3.0-or-later, the same license as the server. +This project does not use a CLA or require a separate Apache-2.0 license grant. By submitting this pull request I represent that I have the right to contribute -the changes, which are licensed under this repository's +the code changes under this repository's [GNU Affero General Public License v3.0 or later](https://www.gnu.org/licenses/agpl-3.0.html) -and remain my copyright. Every commit must carry a DCO `Signed-off-by` trailer +and retain copyright in my original work. Existing copyright and license +notices remain intact; separately licensed material keeps its applicable terms. +Every commit must carry a DCO `Signed-off-by` trailer (`git commit -s`) certifying the [Developer Certificate of Origin](https://developercertificate.org/) — see [CONTRIBUTING.md](https://github.com/pgsty/silo/blob/main/CONTRIBUTING.md). diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 013f4c743..957fb787c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -79,9 +79,10 @@ documentation is owned by the separate ## Licensing of Contributions -Silo is licensed under the [GNU AGPL v3.0 or later](LICENSE). Its core is -Copyright (c) MinIO, Inc.; the combined work can never be relicensed, and this -fork does not try to. +Code contributions to PGSTY SILO (`pgsty/silo`) are accepted under the +[GNU AGPL v3.0 or later](LICENSE), the same license as the server. Submit issues +and pull requests to this repository's maintainers. No separate Apache-2.0 +license grant to SILO or upstream MinIO maintainers is required. * **No CLA.** We do not ask you to sign a Contributor License Agreement and we do not take your copyright. Contributions are accepted inbound=outbound: you @@ -112,15 +113,20 @@ fork does not try to. `Signed-off-by` trailers) and add your own sign-off as the person passing it along. Never import code from a proprietary distribution. -* **File headers.** Files derived from upstream keep the original MinIO - copyright header unchanged. New files added by this fork use the dual - header, followed by the standard AGPL boilerplate: +* **File headers.** Preserve existing copyright and license notices in inherited + and third-party files. New original files name their actual copyright holders + and use AGPL-3.0-or-later. Use a header such as the following, then append the + standard AGPL boilerplate: ``` - // Copyright (c) 2015-2025 MinIO, Inc. - // Copyright (c) 2025-2026 PGSTY + // Copyright (c) 2026 Your Name ``` +* **Separately licensed material.** Documentation contributions in `docs/` + follow its existing [CC BY 4.0 license](docs/LICENSE). Third-party components + and earlier Apache-2.0 contributions retain their original licenses and + attribution; this policy does not relicense earlier work. + * **Squash merges** must keep the `Signed-off-by:` trailers in the resulting commit message. diff --git a/update-credits.sh b/update-credits.sh index 1460a1d04..6382e7f09 100755 --- a/update-credits.sh +++ b/update-credits.sh @@ -1,212 +1,6 @@ #!/usr/bin/env bash -gocredits . >CREDITS +set -euo pipefail -echo "All community contributions are licensed under the terms of the Apache 2 license." >>CREDITS -echo "----------------------------------------------------------------" >>CREDITS -cat >>CREDITS <>CREDITS +# Keep the historical entry point aligned with make credits. +exec bash "$(dirname "${BASH_SOURCE[0]}")/buildscripts/gen-credits.sh" "$@"