Skip to content

Conversation

@jabrena
Copy link
Owner

@jabrena jabrena commented Sep 29, 2025

Rationale for this change

Mark the repository as a Java project

What changes are included in this PR?

adding .gitattributes

Are these changes tested?

Pending PR

Are there any user-facing changes?

No

Summary by CodeRabbit

  • Chores
    • Updated repository metadata to improve language detection and classification, resulting in more accurate language stats and clearer attribution across the codebase. No changes to runtime behavior or UI.
  • Documentation
    • Enhanced discoverability by classifying documentation-focused files and directories appropriately on hosting platforms, making docs and examples easier to browse and find.

@coderabbitai
Copy link

coderabbitai bot commented Sep 29, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Introduces a .gitattributes file configuring GitHub Linguist: disables detection for shell scripts, classifies Markdown and docs paths as documentation, enforces Java language for .java and certain XML/XSL files, and adjusts detection for system-prompts-generator paths.

Changes

Cohort / File(s) Summary
Repository metadata (Linguist config)
\.gitattributes
- Disable language detection: *.sh, *.bash
- Mark docs as documentation: *.md, docs/*, docs/*/*, ...
- Force Java: *.java, examples/**/*.java
- Enable detection via system-prompts-generator/**; classify system-prompts-generator/**/*.xml as Java
- Treat *.xsl and *.xslt as Java

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

I twitch my ears at stats so neat,
New tags sort code with tidy feet.
Shells go quiet, docs line up,
Java shines in every cup.
XML joins the carrot crew—
Hop, hop! The repo’s counted true. 🥕

✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/gitattributes

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f2b2f01 and 90b65be.

⛔ Files ignored due to path filters (1)
  • site-generator/assets/images/0.11.0-github-stats.png is excluded by !**/*.png
📒 Files selected for processing (1)
  • .gitattributes (1 hunks)

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@jabrena jabrena merged commit c540baa into main Sep 29, 2025
10 of 11 checks passed
@jabrena jabrena deleted the feature/gitattributes branch September 29, 2025 17:06
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.

2 participants