docs(contributing): code quality rules for pull requests #484
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem!484
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-484"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Luxuride on GitHub · 2026-12-04 17:41 UTC · original
Luxuride:docs/contributing→main· +133 −0 · 1 files · 1 commits · merged 2026-12-05 17:25 UTCWhat this does
Adds
CONTRIBUTING.mdat the root — where GitHub links it from the pull-request and new-issue pages — with the quality rules reviews apply here, so contributors meet them before opening a PR. Short by design: presentation rules, six quality checks, and how to verify locally.feat(scope):,fix(scope):,perf(scope):, …), marked as a preference rather than something CI enforces, with examples of the crates and areas in the workspace.main(no PRs against someone else's branch or fork), stays a draft until every item under## Needs merged firstis merged, branches frommainwhenever files do not depend on the dependency's commits, and strips any locally stacked commits (git rebase --onto main <their-branch>) before marking ready.docs/SETTINGS.md,docs/DIAGNOSTICS.md,run.conf.default), no unrelated cleanup or whole-tree formatting, a test that fails before the change, checking the PR queue, andcargo xtask policy/ nothing fork-only.- [x]/- N/A:/- [ ]):- [ ]signifies an open TODO (unfinished PR),- [x]marks done, and inapplicable checks are replaced with- N/A: <reason>or removed.victory-core,victory-pe,victory-formats,victory-pipeline,victory-game,victory-shaderwithouthost,xtask) and MSVC-target crates (victory,victory-loader,victory-hle,victory-gpu,victory-shader --features host) built via./build.sh(PKG=<crate> ./build.sh test,PROFILE=diagfordiagnostics-gated modules/tests).The six checks are also written into
.github/pull_request_template.md(#485, draft until this lands) in the exact same wording and order so the two stay in sync.Checks
VICTORY_*switch added or changedCONTRIBUTING.mdonlyVICTORY_*names appear inCONTRIBUTING.md(forxtask'sswitchescheck) and that all six checks match #485 verbatimCONTRIBUTING*file; #371 adds.github/ISSUE_TEMPLATE/*and #322 addsAGENTS.md(independent)cargo xtask policypasses (asset policy: 359 files ok)Verified
cargo xtask policyondocs/contributing→asset policy: 359 files okcargo test -p victory-shader→294 passed; 0 failed; 2 ignored(confirming Linux-native shader unit tests run withouthost)cargo check -p victory-loader --target x86_64-pc-windows-msvc→ succeeded without SDK;cargo check -p victory-hle --target x86_64-pc-windows-msvcandcargo check --workspace --target x86_64-pc-windows-msvcfail withoutclang-cl/llvm-libon C deps (lib.exenot found), matching the wording in "Checking it locally"VICTORY_*strings inCONTRIBUTING.md(133lines) and identical normalized text across all 6 checks against.github/pull_request_template.md(#485)Cost
None: documentation only, no code, no build, no switch, no frame time.
7290d85f99tobcba4a3d32bcba4a3d32to0460311bebfeat(docs): a CONTRIBUTING.md that asks for one subject per pull requestto docs: a CONTRIBUTING.md with the rules this project reviews againstdocs: a CONTRIBUTING.md with the rules this project reviews againstto docs(contributing): code quality rules for pull requests0460311bebtoe6b92798f6e6b92798f6tod33a93ec2fd33a93ec2ftoca9268976cca9268976cto3264dd23fb