Commit Graph
31 Commits
Author SHA1 Message Date
Josef Schlehofer 9c7f2f0429 CONTRIBUTING: document what a patch has to look like
Three things are expected of a patch under <package>/patches/ and none of
them were written down for contributors.

The header has to be git am compatible, with the From/From:/Date:/Subject:
lines, which the formality check enforces. The body has to say where the
change stands with respect to upstream, so a later maintainer can tell a
backport that a version bump makes redundant from a cross-compile fix that
has to stay. And the diff has to come from the buildroot's refresh target,
which invokes quilt with -p ab --no-index --no-timestamps and
QUILT_DIFF_OPTS=-p; a git diff carries index lines and timestamps and lacks
the function name in the hunk headers, so it gets sent back even when it
applies.

Write all three down, and say what each quilt option is for rather than
just naming the command, so the reason survives the next time someone
wonders whether the timestamps matter.

llm-review-rules.md already tells the review bot about the refresh target
and the upstream reference. That file is the bot's instructions and it
points contributors here, so this is where the requirement belongs.

Signed-off-by: Josef Schlehofer <pepe@bloodkings.eu>
2026-09-17 10:03:50 +02:00
Daniel F. Dickinson 19021e460b CONTRIBUTING.md: add pointers to LLM review prompts
If you have questions about what is expected of a pull request, and there is
no specific documentation for your case, or the comments from a reviewer seem
at odds with the documentation you have found, it can be useful to refer to the
prompts given to the automated LLM reviewer. Therefore add those pointers to the
CONTRIBUTING.md document

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
2026-08-31 18:06:41 +03:00
Josef Schlehofer e71eb22bdd contributing: update CI section with current test infrastructure
Update the Continuous Integration section to reflect the current state:

- Update the list of runtime-tested architectures (add i386_pentium-mmx
  and mips_24kc, remove outdated i386_pentium4)
- Document the generic test suite (executable, version, hardcoded path,
  strip, linked library, and SONAME checks)
- Add documentation for test-version.sh (version check override) and
  pre-test.sh (pre-test setup) scripts alongside the existing test.sh
- Document available environment variables (PKG_NAME, PKG_VERSION,
  CI_HELPERS) for test scripts

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-07-03 15:25:09 +02:00
Wesley Gimenes 0934d86240 CONTRIBUTING.md: accept only real names in the SoB
Follow the rule from the Submission Guidelines:
https://openwrt.org/submitting-patches#submission_guidelines

And the shared formal check:
https://github.com/openwrt/actions-shared-workflows/blob/ba03db3b5ae747ed9f38df6c96eb4a37a9f7f7c5/.github/workflows/formal.yml#L37-L43

And this commit 07c1218009

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-08-05 21:08:01 +02:00
Wesley Gimenes cacb8b683e CONTRIBUTING.md: fix commit subject example format
Update the commit subject example in CONTRIBUTING.md
to match the documented guidelines, ensuring it uses lowercase
after the package prefix.

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-07-27 07:48:32 +02:00
Sander Schutten 1292d304ce wiki: openwrt naming fixes and contribution improvement
Signed-off-by: Sander Schutten <schutten@hotmail.com>
2025-05-11 21:22:01 +03:00
Wesley Gimenes 4ea384f02b CONTRIBUTING.md: remove incorrect info about PKG_VERSION
The documentation stated that `PKG_VERSION` is the OpenWrt version
and therefore includes the `PKG_RELEASE`, but this statement
was incorrect and has been removed to avoid confusion.

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2024-10-03 16:59:00 +08:00
Timothy Ace ce3a64b353 CONTRIBUTING.md: clarify pull request commit requirements
Corrects the commit subject being referred to as a "description"
and links the official OpenWrt patch submission standards for
commit messages. Adds additional notes about real names and
emails being required. Also fixes the capitalization of GitHub
and SourceForge.

Signed-off-by: Timothy Ace <openwrt@timothyace.com>
2024-02-04 16:33:58 -08:00
Yegor Yefremov 074a8ab220 CONTRIBUTING.md: fix typos
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2023-12-01 15:13:42 -08:00
Paul Spooren 85b7750327 CONTRIBUTING: add CI information
Describe briefly the details on the new runtime CI.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-09-30 10:47:12 -10:00
Paul Spooren fe19272b38 CONTRIBUTING: format Markdown and fix some typos
Also surround binaries and variable names with ticks so it's clearer
what they are.

Markdown formating via `remark-cli`.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-09-30 10:47:12 -10:00
Florian Eckert da183bdb3d CONTRIBUTING.md: update branch info
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-09 11:07:27 +02:00
Josef Schlehofer 4eb01b3a84 CONTRIBUTING.md: update Identifier for Licenses
Use HTTPS in URL for spdx.org

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-04-18 12:07:48 +02:00
Alex Tomlins c51e847bd9 CONTRIBUTING: Fix "Sign your work" link
This was linking to a non-existent page in the wiki.

Signed-off-by: Alex Tomlins <alex@tomlins.org.uk>
2019-04-03 21:56:20 +01:00
Ted Hess c77c962de4 CONTRIBUTING.md: Update documentation links
Signed-off-by: Ted Hess <thess@kitschensync.net>
2018-09-29 11:04:34 -04:00
Ted Hess 4227736d63 CONTRIBUTING.md: Revise and clarify Copyright and PKG_MAINTANER fields.
Add description of preferred archive formats and download methods.
Encourage multiple maintainers.

Signed-off-by: Ted Hess <thess@kitschensync.net>
2018-09-29 10:40:26 -04:00
Stijn Tintel f82287cf5c treewide: use name in define and eval lines
For consistency, use full name instead of $(PKG_NAME) in define and eval
lines for all packages.

I've seen reviews that asked to do this before, and I am asking the same
during reviews now. To avoid this in the future, fix this treewide so
when people use existing packages as example, we will not have to
request this change anymore.

This makes all packages consistent with both LEDE and OpenWrt base
repositories.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2017-03-08 21:15:20 +01:00
Hannu Nyman df35777400 CONTRIBUTING.md: Add advice about pull requests
Add "best practices" advice about working with pull requests.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-11-20 16:32:52 +02:00
Ted Hess 45c7267ba5 CONTRIBUTING: Add paragraph about the use of PKG_RELEASE tag.
Signed-off-by: Ted Hess <thess@kitschensync.net>
2015-02-04 15:45:08 -05:00
Steven Barth 7925faa27e Update CONTRIBUTING.md
Add guideline to avoid rolling sources.
Some minor cleanups and clarifications.
2014-12-15 08:56:37 +01:00
Ian Leonard 526cd2f6b5 CONTRIBUTING.md: typo in PKG_LICENSE_FILES
Per r33861, it should be PKG_LICENSE and PKG_LICENSE_FILES used for licensing information.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-11-24 23:43:37 -08:00
Luiz Angelo Daros de Luca 174db06156 Fix a typo in CONTRIBUTING.md text
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2014-08-19 02:11:20 -03:00
Steven Barth c8d2524266 CONTRIBUTING: update gaining commit access
Signed-off-by: Steven Barth <steven@midlink.org>
2014-08-12 15:24:46 +02:00
Steven Barth 159a8d9d71 CONTRIBUTING: readd example for PKG_LICENSE_FILE
Signed-off-by: Steven Barth <steven@midlink.org>
2014-08-12 15:21:01 +02:00
Steven Barth 84f643cb31 CONTRIBUTING: simplify PKG_LICENSE and PKG_LICENSE_FILE notes
I found them too hard to understand ;)

Signed-off-by: Steven Barth <steven@midlink.org>
2014-08-12 15:19:15 +02:00
Steven Barth 9a55543536 CONTRIBUTING: add paragraph about gaining commit access
Signed-off-by: Steven Barth <steven@midlink.org>
2014-08-12 15:08:14 +02:00
Ted Hess 401bc214f5 CONTRIBUTING - an update with some addtions and clarifications
Pass 3, add back SPDX and examples. Change copyright reqs.

Signed-off-by: Ted Hess <thess@kitschensync.net>
2014-08-09 11:55:14 -04:00
sbyx 4530eed5b4 Update contributers statement
Signed-off-by: Steven Barth <cyrus@openwrt.org>
2014-07-31 11:44:54 +02:00
Steven Barth 1456916399 Update contributing statement 2014-07-29 22:39:33 +02:00
Etienne CHAMPETIER 740c9836e3 Improve CONTRIBUTING.md
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2014-07-29 22:15:18 +02:00
Etienne CHAMPETIER 4569203e84 Split README in README.md and CONTRIBUTING.md
see https://github.com/blog/1184-contributing-guidelines

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2014-07-23 00:57:08 +02:00