Skip to content

chore(gitignore): adopt shared rust template from phenotype-tooling#50

Merged
KooshaPari merged 1 commit into
mainfrom
chore/gitignore-adopt-rust-2026-06-11
Jun 12, 2026
Merged

chore(gitignore): adopt shared rust template from phenotype-tooling#50
KooshaPari merged 1 commit into
mainfrom
chore/gitignore-adopt-rust-2026-06-11

Conversation

@KooshaPari

@KooshaPari KooshaPari commented Jun 12, 2026

Copy link
Copy Markdown
Owner

Summary

Adopts the canonical Rust .gitignore template from phenotype-tooling (PR #115).

Why

531+ .gitignore files in the org cluster into ~7 stack-specific patterns. The 'Generated by Cargo' / /target/ pattern is the largest cluster, repeated nearly verbatim across 20+ Rust repos. Centralizing it here means future Rust-template updates (e.g. add a new build artifact) ship from one place.

Diff

Test

CI script scripts/check-gitignore-template.sh will return exit 0 (adopted) after this PR merges.

Refs: FLEET_100TASK_DAG_V4.md §85 (V14-T3-1e wave 1)


Note

Low Risk
Documentation-only ignore rules with no runtime or security impact; prior patterns are retained (with some overlap).

Overview
Replaces the ad hoc Cargo .gitignore with the org phenotype-tooling Rust template, including a pointer to the canonical source URL.

The template adds grouped ignores for build artifacts (/target/, Cargo.lock.bak), editors (.idea/, .vscode/, *.swp), OS junk, and logs, while keeping prior repo-specific entries (debug, target, *.pdb, **/mutants.out*/) in a dedicated section at the bottom.

Reviewed by Cursor Bugbot for commit 082d60e. Bugbot is set up for automated code reviews on this repo. Configure here.

Replaces the repo's .gitignore with the canonical Rust template from
https://github.com/KooshaPari/phenotype-tooling/blob/main/templates/gitignore-rust
(see PR KooshaPari/phenotype-tooling#115).

This centralizes the standard 'Generated by Cargo' / target/ pattern across
the org so future Rust-template updates can ship from one place.

Repo-specific lines from the prior .gitignore are preserved below the
template body. See https://github.com/KooshaPari/phenotype-tooling/blob/main/docs/gitignore-adoption.md

Refs: FLEET_100TASK_DAG_V4.md §85 (V14-T3-1e wave 1)
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@codeant-ai

codeant-ai Bot commented Jun 12, 2026

Copy link
Copy Markdown

CodeAnt AI is reviewing your PR.


Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@sonarqubecloud

Copy link
Copy Markdown

@codeant-ai

codeant-ai Bot commented Jun 12, 2026

Copy link
Copy Markdown

CodeAnt AI finished reviewing your PR.

@KooshaPari KooshaPari merged commit b5af6ec into main Jun 12, 2026
11 of 15 checks passed
@KooshaPari KooshaPari deleted the chore/gitignore-adopt-rust-2026-06-11 branch June 12, 2026 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant