Skip to content

Conversation

@chrarnoldus
Copy link
Contributor

@chrarnoldus chrarnoldus commented May 27, 2025

Hello Roo Team! We received this contribution on the Kilo side (thanks @PeterDaveHello!) and thought it might be useful to you!

Description

This change improves consistency in the pre-push script and improves compatibility with different types of shells.

Original pull request: Kilo-Org/kilocode#515

Type of Change

  • 🐛 Bug Fix: Non-breaking change that fixes an issue.
  • New Feature: Non-breaking change that adds functionality.
  • 💥 Breaking Change: Fix or feature that would cause existing functionality to not work as expected.
  • ♻️ Refactor: Code change that neither fixes a bug nor adds a feature.
  • 💅 Style: Changes that do not affect the meaning of the code (white-space, formatting, etc.).
  • 📚 Documentation: Updates to documentation files.
  • ⚙️ Build/CI: Changes to the build process or CI configuration.
  • 🧹 Chore: Other changes that don't modify src or test files.

Important

Fix string comparison operator in .husky/pre-push for better POSIX shell compatibility.

  • Bug Fix:
    • Change string comparison operator from == to = in .husky/pre-push to improve POSIX shell compatibility.
  • Style:
    • Enhances shell compatibility without affecting functionality.

This description was created by Ellipsis for 1d5ff8e21c06b92b2e2000715deaf8fc4c941bdf. You can customize this summary. It will automatically update as commits are pushed.

@chrarnoldus chrarnoldus requested review from cte and mrubens as code owners May 27, 2025 18:13
@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label May 27, 2025
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label May 28, 2025
Copy link
Contributor

@PeterDaveHello PeterDaveHello left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't I be the git commit author then? The bot can be committer.

Hello Roo Team! We received this contribution on the Kilo side and thought it might be useful to you!

This change improves consistency in the pre-push script and improves compatibility with different types of shells.

Original pull request: Kilo-Org/kilocode#515
@chrarnoldus chrarnoldus force-pushed the christiaan/improve-sh-compat branch from 1d5ff8e to 1201ed5 Compare May 28, 2025 18:20
@chrarnoldus
Copy link
Contributor Author

@PeterDaveHello you're right, I adjusted the author field. Sorry for the inconvenience.

@daniel-lxs
Copy link
Member

LGTM! Since using = instead of == is the POSIX-compliant way for string comparison in single bracket tests, I think we should have this as well. Thanks for the fix!

@daniel-lxs daniel-lxs moved this from Triage to PR [Needs Review] in Roo Code Roadmap May 28, 2025
@daniel-lxs daniel-lxs added PR - Needs Review and removed Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. labels May 28, 2025
@chrarnoldus chrarnoldus deleted the christiaan/improve-sh-compat branch May 28, 2025 21:19
@github-project-automation github-project-automation bot moved this from PR [Needs Review] to Done in Roo Code Roadmap May 28, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap May 28, 2025
@chrarnoldus chrarnoldus restored the christiaan/improve-sh-compat branch May 28, 2025 21:20
@chrarnoldus chrarnoldus reopened this May 28, 2025
@github-project-automation github-project-automation bot moved this from Done to Triage in Roo Code Roadmap May 28, 2025
@github-project-automation github-project-automation bot moved this from Done to New in Roo Code Roadmap May 28, 2025
@daniel-lxs daniel-lxs moved this from Triage to PR [Needs Review] in Roo Code Roadmap May 28, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label May 28, 2025
@cte cte merged commit b7f606d into RooCodeInc:main May 28, 2025
26 checks passed
@github-project-automation github-project-automation bot moved this from PR [Needs Review] to Done in Roo Code Roadmap May 28, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap May 28, 2025
@chrarnoldus chrarnoldus deleted the christiaan/improve-sh-compat branch May 28, 2025 21:49
SmartManoj pushed a commit to SmartManoj/Raa-Code that referenced this pull request Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer PR - Needs Review size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants