Skip to content

Conversation

@JarbasAl
Copy link
Member

@JarbasAl JarbasAl commented Jun 12, 2025

Summary by CodeRabbit

  • New Features

    • Added support for an optional Galician language skill set, including the "Word of the Day" skill.
  • Chores

    • Updated minimum required versions for two intent transformer plugins to improve compatibility.
    • Enhanced dependency management for optional language skills.

@github-actions github-actions bot added the fix label Jun 12, 2025
@coderabbitai
Copy link

coderabbitai bot commented Jun 12, 2025

Walkthrough

The changes update plugin version constraints in the plugins requirements file, add a new Galician skills requirements file, and register this file as an optional dependency group in the setup configuration. Additionally, a redundant variable initialization is removed from the version retrieval function in the setup script.

Changes

Files / Group Change Summary
requirements/plugins.txt Raised minimum version for keyword-template-matcher and ahocorasick-ner plugins to 0.1.1.
requirements/skills-gl.txt Added new file specifying ovos-skill-word-of-the-day>=0.2.0 for Galician language support.
setup.py Removed redundant version = None; added 'skills-gl' optional dependency group referencing new requirements file.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant SetupScript
    participant RequirementsFile

    User->>SetupScript: Install with extras 'skills-gl'
    SetupScript->>RequirementsFile: Read requirements/skills-gl.txt
    RequirementsFile-->>SetupScript: Return list of Galician skills dependencies
    SetupScript-->>User: Install ovos-skill-word-of-the-day>=0.2.0
Loading

Possibly related PRs

  • OpenVoiceOS/ovos-core#662: Adds Catalan, Portuguese, and English skills requirements files and links them in setup.py, following the same pattern for language-specific skill support.

Suggested labels

feature

Poem

A Galician breeze on the digital plain,
With skills for words—let learning remain!
Plugins updated, dependencies anew,
Rabbits rejoice in tasks they now do.
With every hop, more languages bloom,
In the garden of code, there’s always more room!
🐇✨

✨ Finishing Touches
  • 📝 Generate Docstrings

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions github-actions bot added fix and removed fix labels Jun 12, 2025
@github-actions
Copy link

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  ovos_core
  transformers.py
Project Total  

This report was generated by python-coverage-comment-action

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
setup.py (1)

89-89: Ensure documentation reflects the new extras group.
The skills-gl extras entry is wired correctly. Please update the README or relevant docs to show how to install it (e.g., pip install ovos-core[skills-gl]).

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3c39846 and a3dcad0.

📒 Files selected for processing (3)
  • requirements/plugins.txt (1 hunks)
  • requirements/skills-gl.txt (1 hunks)
  • setup.py (1 hunks)
🧰 Additional context used
🪛 LanguageTool
requirements/plugins.txt

[locale-violation] ~18-~18: “template” é um estrangeirismo. É preferível dizer “modelo”.
Context: ...0 # intent transformer plugins keyword-template-matcher>=0.1.1,<1.0.0 ahocorasick-ner>=...

(PT_BARBARISMS_REPLACE_TEMPLATE)

⏰ Context from checks skipped due to timeout of 90000ms (1)
  • GitHub Check: unit_tests
🔇 Additional comments (2)
requirements/skills-gl.txt (1)

1-2: Confirm dependency correctness and version constraint.
Verify that ovos-skill-word-of-the-day>=0.2.0 is the intended package name and minimum version for Galician skills.

requirements/plugins.txt (1)

18-19: Verify plugin version bump compatibility.
Raising the minimum versions for keyword-template-matcher and ahocorasick-ner to >=0.1.1 could introduce breaking changes for users on older releases. Confirm that versions 0.1.x maintain backward compatibility and run end-to-end tests on the intent pipeline.

🧰 Tools
🪛 LanguageTool

[locale-violation] ~18-~18: “template” é um estrangeirismo. É preferível dizer “modelo”.
Context: ...0 # intent transformer plugins keyword-template-matcher>=0.1.1,<1.0.0 ahocorasick-ner>=...

(PT_BARBARISMS_REPLACE_TEMPLATE)

@JarbasAl JarbasAl merged commit 1eef060 into dev Jun 12, 2025
6 of 7 checks passed
@JarbasAl JarbasAl deleted the requirements branch June 12, 2025 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants