-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat/runtime skill installer #347
Conversation
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## dev #347 +/- ##
==========================================
- Coverage 50.35% 44.16% -6.20%
==========================================
Files 119 13 -106
Lines 10077 1764 -8313
==========================================
- Hits 5074 779 -4295
+ Misses 5003 985 -4018 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments to start with. I'll try to test this later tonight.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with the below JSON using mana send-message-file
. Everything seemed to work just fine except for pip uninstall. Please validate? Also I found an incorrect message type.
{
"msg_type": "ovos.pip.install",
"data": {"packages": ["spongebobify"]},
"context": {}
}
{
"msg_type": "ovos.skills.install",
"data": {"url": "https://github.com/OpenVoiceOS/skill-ovos-parrot"},
"context": {}
}
{
"msg_type": "ovos.pip.uninstall",
"data": {"packages": ["spongebobify"]},
"context": {}
}
{
"msg_type": "ovos.skills.uninstall",
"data": {"url": "https://github.com/OpenVoiceOS/skill-ovos-parrot"},
"context": {}
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still doesn't seem to uninstall:
ovos@mark1-dev:~ $ cat uninstall_pip.json
{
"msg_type": "ovos.pip.uninstall",
"data": {"packages": ["spongebobify"]},
"context": {}
}
ovos@mark1-dev:~ $ mana send-message-file ~/uninstall_pip.json
Message Sent
ovos@mark1-dev:~ $ tail -f ~/.local/state/mycroft/bus.log | grep uninstall
2023-09-19 10:58:44.689 - bus - ovos_messagebus.event_handler:on_message:37 - DEBUG - {"type": "ovos.pip.uninstall", "data": {"packages": ["spongebobify"]}, "context": {"client_name": "mana", "client": "mana", "source": ["mana"]}}
^C
ovos@mark1-dev:~ $ pip list | grep spongebobify
spongebobify 0.1.2
ovos@mark1-dev:~ $ tail -f ~/.local/state/mycroft/bus.log | grep uninstall
^C
ovos@mark1-dev:~ $ pip list | grep spongebobify
spongebobify 0.1.2
Codecov is extremely unhappy! Wow that’s a lot of lines. I just wanna confirm that it is working correctly on this repo, and this PR really does represent a 6.22% coverage decrease. That ain’t great. |
no it's not |
all seems to be working for me
|
I've confirmed at least the happy path for each new bus message works. Only thing missing are some tests. Also, is it deliberate that core doesn't test Python > 3.9? |
allow installing skills via messagebus
does not use OSM, tested with https://github.com/OpenVoiceOS/ovos-audio-transformer-plugin-ggwave