Skip to content

chore: clean up .gitignore redundant patterns and organization#2583

Merged
crivetimihai merged 1 commit intoIBM:mainfrom
settler-av:chore/2337-gitignore-cleanup
Jan 30, 2026
Merged

chore: clean up .gitignore redundant patterns and organization#2583
crivetimihai merged 1 commit intoIBM:mainfrom
settler-av:chore/2337-gitignore-cleanup

Conversation

@settler-av
Copy link
Copy Markdown
Contributor

@settler-av settler-av commented Jan 30, 2026

🔗 Related Issue

Closes #2337


📝 Summary

Clean up .gitignore redundant patterns and improve organization as requested in issue #2337.

Changes:

  • Add .envrc for direnv support
  • Remove 14+ duplicate/redundant patterns (.aider*, .scannerwork, *.bak, certs/, *.log, public/, build/, .env, downloads/, etc.)
  • Reorganize file into 20 logical sections with clear header comments
  • Add missing patterns (.ica.env, pip-log.txt, pip-delete-this-directory.txt)
  • Add safety patterns without trailing slashes (.venv, .vscode, htmlcov, tmp) to match both files and directories

All original patterns remain covered.


🏷️ Type of Change

  • Bug fix
  • Feature / Enhancement
  • Documentation
  • Refactor
  • Chore (deps, CI, tooling)
  • Other (describe below)

🧪 Verification

Check Command Status
Lint suite make lint N/A (no code changes)
Unit tests make test N/A (no code changes)
Coverage ≥ 90% make coverage N/A (no code changes)

✅ Checklist

  • Code formatted (make black isort pre-commit)
  • Tests added/updated for changes (No code changes)
  • Documentation updated (if applicable)
  • No secrets or credentials committed

📓 Notes (optional)

Verification performed: (Manually)

@crivetimihai crivetimihai self-assigned this Jan 30, 2026
- Add .envrc for direnv support
- Remove 14+ duplicate/redundant patterns
- Reorganize with clear section comments
- Add missing patterns (.ica.env, pip-log.txt, pip-delete-this-directory.txt)

Signed-off-by: Adnan Vahora <adnanvahora114@gmail.com>
@crivetimihai crivetimihai force-pushed the chore/2337-gitignore-cleanup branch from 9ece955 to 2b107b0 Compare January 30, 2026 11:07
@crivetimihai
Copy link
Copy Markdown
Member

Thanks for the cleanup @settler-av!

I've rebased the branch onto main and made a few minor adjustments:

  • Added .venv and htmlcov patterns without trailing slashes (to match both files and directories, as mentioned in the PR description)
  • Removed ./ prefixes from depsort*, depupdate*, snakefood.png, snakefood.svg
  • Changed ./playground to playground/

Verified that all original patterns are still covered by the reorganized file and no tracked files would be affected.

@crivetimihai crivetimihai merged commit 98fe8df into IBM:main Jan 30, 2026
39 of 40 checks passed
@crivetimihai crivetimihai added this to the Release 1.0.0-RC1 milestone Jan 31, 2026
hughhennelly pushed a commit to hughhennelly/mcp-context-forge that referenced this pull request Feb 8, 2026
)

- Add .envrc for direnv support
- Remove 14+ duplicate/redundant patterns
- Reorganize with clear section comments
- Add missing patterns (.ica.env, pip-log.txt, pip-delete-this-directory.txt)

Signed-off-by: Adnan Vahora <adnanvahora114@gmail.com>
Signed-off-by: hughhennnelly <hughhennelly06@gmail.com>
kcostell06 pushed a commit to kcostell06/mcp-context-forge that referenced this pull request Feb 24, 2026
)

- Add .envrc for direnv support
- Remove 14+ duplicate/redundant patterns
- Reorganize with clear section comments
- Add missing patterns (.ica.env, pip-log.txt, pip-delete-this-directory.txt)

Signed-off-by: Adnan Vahora <adnanvahora114@gmail.com>
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.

[CHORE]: Clean up .gitignore redundant patterns and organization

2 participants