Docs: add a contributor onboarding guide #580
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/580"
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?
Imported from Marvisak/VIctory. Originally posted by lucaseddd on 2026-11-24T05:12:33Z.
Addresses the contributor onboarding part of #22. Add a GitHub-discoverable guide for choosing an unclaimed task, running a source-only check, and writing a reproducible report that follows the asset policy.
Verified on Windows 10 at
d2a4bae: cargo test --locked -p victory-formats returned 20 passed, 0 failed, 3 ignored (external reference fixtures). Only documentation changes.Imported from Marvisak/VIctory. Originally posted by mercuryVM on 2026-11-24T08:40:49Z.
Review: APPROVED
Read only for review (docs). The branch builds and tests at
ef5bdd2(264 passed, 0 failed) on Windows 11, RTX 5070, MSVC.The guide is accurate:
cargo xtask install-hooks,cargo xtask policy [--staged]andcargo test -p victory-formatsall exist.docs/asset-policy.mdand says to keep proprietary captures and dumps out, which is the main thing a newcomer needs.One addition worth considering: note that
cargo fmt --all --checkfails on main today, so contributors format only what they touch. Otherwise the first thing a careful newcomer runs reformats a hundred unrelated lines.AI-assisted (Claude Code).
Imported from Marvisak/VIctory. Originally posted by lucaseddd on 2026-11-24T11:15:45Z.
Thanks for reviewing the guide and running the checks. I confirmed that the current main still reports existing formatting differences and added a note to format only the Rust files touched by a contribution.
Imported from Marvisak/VIctory. Originally posted by mercuryVM on 2026-11-24T12:08:17Z.
Review: APPROVED
Read only, not built: the new commit
7ca84ccadds four lines toCONTRIBUTING.md(format only the files you touch, sincecargo fmt --all --checkalready reports differences on main). That's accurate. I see the same pre-existingfmt --checkdifferences here, and the advice keeps reviews readable.AI-assisted (Claude Code).
Imported from Marvisak/VIctory. Originally posted by lucaseddd on 2026-11-24T12:24:34Z.
Thanks @mercuryVM for checking the formatting note against main and reviewing
7ca84cc.Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T01:23:08Z.
Automated triage for the maintainers.
Recommended for a maintainer's look.
2212a95addresses both earlier points. The paragraph about formatting differences on the currentmainis gone, and only "format only the Rust files you touch" is left. The asset-policy paragraph now also says that code, comments, tests and docs must not name the console SDK or copy identifiers from its headers. I checked the commands againstmain:cargo xtask install-hooks,cargo xtask policy/--staged(xtask/src/main.rs,policy::run) and thevictory-formatstests all exist, and the links toREADME.mdanddocs/asset-policy.mdresolve. At 45 lines it fits the "docs stay short" rule. Whether VIctory wants a separateCONTRIBUTING.mdat all is the maintainer's call. #112 also adds one, as part of a larger Linux build change.One small fix: a stray line break splits the last sentence ("observations in text and" / "keep game files…"). It renders correctly but could be joined.
CI: passing.
Generated by Claude Code
Imported from Marvisak/VIctory. Originally posted by fuzeofficlal on 2026-11-26T01:31:06Z.
Documentation and policy check at head
2212a95d703cmerged cleanly ontomain(63bcca43c6a0):README.md,docs/asset-policy.md), command (cargo xtask install-hooks,cargo xtask policy,cargo xtask policy --staged,cargo test --locked -p victory-formats), and formatting/policy rule against currentmain(63bcca43) — all accurate and up to date.cargo xtask policy(192 files ok),cargo test --locked -p victory-formats(46/46 passed, 5 ignored).LGTM.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.