Skip to content

Add best practices section#102

Open
reniejoshi wants to merge 22 commits into
frcsoftware:mainfrom
reniejoshi:add-best-practices-page
Open

Add best practices section#102
reniejoshi wants to merge 22 commits into
frcsoftware:mainfrom
reniejoshi:add-best-practices-page

Conversation

@reniejoshi

@reniejoshi reniejoshi commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Description

Add a best practices section that contains an overview page based on the corresponding FRCDesign.org page and guides for Git usage, code formatters, GitHub usage, and CI checks. This section serves to introduce programmers to good software development practices.

Add CI as a glossary term.

Closes #90.

Meta

Merge checklist:

@github-actions

Copy link
Copy Markdown

🌐 Preview URL: https://pr-102.frcsoftware.pages.dev

@reniejoshi
reniejoshi force-pushed the add-best-practices-page branch from d2129f1 to 7bef541 Compare July 19, 2026 19:39
@reniejoshi
reniejoshi force-pushed the add-best-practices-page branch from 7bef541 to 6030eb7 Compare July 19, 2026 19:44
Comment thread src/content/docs/best-practices/git-usage.mdx
Comment thread src/content/docs/best-practices/git-usage.mdx
Comment thread src/content/docs/best-practices/git-usage.mdx
Comment thread src/content/docs/best-practices/git-usage.mdx
Comment thread src/content/docs/best-practices/git-usage.mdx
@reniejoshi
reniejoshi requested a review from Adrianamm July 19, 2026 22:04

@roboteer5291 roboteer5291 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Content is overall great, just needs some tweaks

Comment thread src/content/docs/best-practices/overview.mdx Outdated
Comment thread src/content/docs/best-practices/overview.mdx Outdated
Comment thread src/content/docs/best-practices/git-usage.mdx Outdated
Comment thread src/content/docs/best-practices/git-usage.mdx Outdated
Comment thread src/content/docs/best-practices/code-formatter.mdx Outdated
Comment thread src/content/docs/best-practices/github-usage.mdx
Comment thread src/content/docs/best-practices/github-usage.mdx
Comment thread src/content/docs/best-practices/github-usage.mdx Outdated
Comment thread src/content/docs/best-practices/ci-checks.mdx
Comment thread src/config/sidebarConfig.ts
@reniejoshi
reniejoshi requested a review from roboteer5291 July 20, 2026 21:49
roboteer5291
roboteer5291 previously approved these changes Jul 21, 2026
@roboteer5291
roboteer5291 requested a review from samfreund July 21, 2026 15:26
@samfreund

Copy link
Copy Markdown
Member

Our files should never use CRLF line endings, we should be following the unix standard here. If we need to add linting for the line endings used, pls do that in a separate PR.

@reniejoshi
reniejoshi requested a review from roboteer5291 July 21, 2026 21:22
@samfreund

Copy link
Copy Markdown
Member

So this adds what amounts to reference material. Do we also want to integrate this into the stages and other lessons?

Comment thread examples/best-practices/ci-checks/build.yml Outdated
Comment thread examples/best-practices/ci-checks/build.yml Outdated
Comment thread examples/best-practices/ci-checks/build.yml Outdated
Comment thread examples/best-practices/ci-checks/build.yml Outdated
Comment thread examples/best-practices/ci-checks/code-quality.yml Outdated
Comment thread src/content/docs/best-practices/ci-checks.mdx
Comment thread src/content/docs/best-practices/ci-checks.mdx
Comment thread src/content/docs/best-practices/git-usage.mdx
Comment thread src/content/docs/best-practices/git-usage.mdx Outdated
Comment thread src/content/docs/best-practices/git-usage.mdx
@github-actions github-actions Bot added Curriculum material Curriculum materials, lessons for students, etc examples labels Jul 22, 2026
@reniejoshi
reniejoshi requested a review from samfreund July 22, 2026 04:16

@samfreund samfreund left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looking good! Couple of nitpicks and suggestions but it should be ready to merge soon.

Comment thread examples/best-practices/ci-checks/build.yml Outdated
Comment thread examples/best-practices/ci-checks/code-quality.yml Outdated
Comment thread examples/best-practices/ci-checks/code-quality.yml Outdated
Comment thread examples/best-practices/ci-checks/code-quality.yml Outdated
Comment thread examples/best-practices/ci-checks/code-quality.yml Outdated
Comment thread src/content/docs/best-practices/ci-checks.mdx Outdated
Comment thread src/content/docs/best-practices/git-usage.mdx

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zachwaffle4 thoughts? It's standard from what I've seen, but might be useful. Would like your opinion on the maintenance burden here.

Comment thread src/content/docs/best-practices/github-usage.mdx
Comment thread src/content/docs/best-practices/github-usage.mdx
Comment thread examples/best-practices/ci-checks/build.yml
@reniejoshi
reniejoshi requested a review from samfreund July 22, 2026 16:21
Comment thread examples/stage1/snippets-1b/build/tmp/spotless-register-dependencies Outdated
Comment thread examples/stage1/solutions/ctre/build/tmp/spotless-register-dependencies Outdated
Comment thread examples/stage1/solutions/rev/build/tmp/spotless-register-dependencies Outdated
@samfreund

Copy link
Copy Markdown
Member

maybe gitignore those dirs? otherwise LGTM

@github-actions github-actions Bot removed the stage1 label Jul 22, 2026
@reniejoshi
reniejoshi requested a review from samfreund July 22, 2026 17:32

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we're never actually validating this file, it might be a good idea to have pseduo-versions. So put something that's obviously fake, like VERSION_HERE and then teams would check for latest. Also, the path has changed I think, it's not edu.wpi.first.GradleRIO anymore. See an example for latest

Comment thread src/content/docs/best-practices/ci-checks.mdx
@samfreund
samfreund requested a review from a team as a code owner July 22, 2026 18:09
Comment thread examples/best-practices/ci-checks/static-analysis.gradle Outdated
@reniejoshi
reniejoshi requested a review from samfreund July 22, 2026 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Curriculum material Curriculum materials, lessons for students, etc examples

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add best practices page

5 participants