Skip to content

Add best practices section#102

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

Add best practices section#102
reniejoshi wants to merge 12 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

steps:
- name: Checkout code
uses: actions/checkout@v4

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.

See above

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.

Action version

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 on lines +40 to +41
- To merge: `git fetch` then `git merge origin/main`
- To rebase: `git fetch` then `git rebase origin/main`

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.

Whats a merge? Whats a rebase?

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.

My bad for not saying it earlier, but information on when each type of update is appropriate might be useful.

@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

steps:
- name: Checkout code
uses: actions/checkout@v4

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.

Action version

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 on lines +40 to +41
- To merge: `git fetch` then `git merge origin/main`
- To rebase: `git fetch` then `git rebase origin/main`

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.

My bad for not saying it earlier, but information on when each type of update is appropriate might be useful.

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
@reniejoshi
reniejoshi requested a review from samfreund July 22, 2026 05:59
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

4 participants