chore(gitignore): adopt shared rust template from phenotype-tooling#50
Merged
Merged
Conversation
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)
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
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 · |
|
|
CodeAnt AI finished reviewing your PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



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
.gitignorewith the canonical Rust template.gitignorebelow the template bodyTest
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
.gitignorewith 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.