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
Submit skill #373
Submit skill #373
Conversation
|
Hi @dmwilsonkc I saw that there had been some more recent work on this than is included in this PR. Not to mention people actively using it which is awesome! I'm wondering if you think it's in a state where it could get added to the Marketplace? |
|
run test |
|
@krisgesling There is still some minor code clean up that needs to be done I believe. I have not had a chance to work on this skill for several months. I need to do some testing (trying to break the skill and error handling). I can look at it this weekend maybe. I've been super busy at work. The only issue with adding to the marketplace that I can see is the MagicMirror installation must be up and running with the appropriate modules for the skill to work. If the skill cannot connect to the mirror it throws an error. See this post: |
|
No worries at all. At a very quick glance it looks like you're handling those exceptions and prompting the user to check the IP. Is that what you are referring to, or are these not catching everything? When you feel like it's ready for review, let me know and we'll have someone check it out. |
|
@krisgesling Well, I had a chance to identify and correct a number of sections of code that were causing errors. So at this point I believe the magic-mirror-voice-control-skill should be ready for the marketplace. |
|
Hey @dmwilsonkc if we're ready for the marketplace I will close this PR so you can generate a fresh one on the 19.02 branch. Just use |
|
Can you provide me a link with instructions? Or do I just do it from the cli? Path to my skill I assume is my github repository? |
|
Yeah, from your terminal, not inside the Mycroft CLI. So would look something like: I also just realised you have "Skill" in the title of the README. We are trying to be more consistent with not having the word "skill" in skill titles. It looks better in the Marketplace, and means if we are referring to skills anywhere we don't end up with "the 'Random Skill' skill". How would you feel about removing that before you hit submit? |
|
No problem removing the word “skill” from the readme, but I am unclear on how to submit. This project was developed on a windows machine using atom. I’d really prefer instructions to make sure I do this properly the first time. I’m new at this, barely familiar with github so and documentation would be fantastic. |
|
Ah right, the documentation for Mycroft Skills Kit is here, but I need to update it as we've recently added the 'submit' command. It's also only ever been tested on Linux. The reason we use MSK is because we utilise Git Submodules for this Mycroft-Skills repo. So instead of pulling all the code from everyone's skills into a single repo, a submodule is created and points to your repo at a specific commit. You can manually setup the submodule and create a PR but it's a bit convoluted and easy to stuff up. If you have the skill running on a Picroft it would probably be easier to submit from there either using a keyboard and screen directly on the device or by SSHing into it. I'm guessing you've done this before in order to manually install the skill on the Picroft? If so then from your Picroft you probably want to run: That's my guess at the directory name for your skill at the moment. If anything isn't clear, hit me up on Chat and we can go through it in more real time. I'll only be around for another hour or so today though. |
|
I’ll take a stab at it tomorrow. Does the word “skill” also need to be removed from the name of the skill,or just the readme? As removing from the skill name would require a new repo. |
|
Awesome, I might be around tomorrow but depends on what the two cyclones near me are doing... o_O Just the readme should be fine too :) |
|
So, one other thing. I don't currently have Mycroft or the MagicMirror running because of an SD card failure. Can I complete the submission using a linux shell on a windows machine? |
|
I do that all the time! Just install mycroft-core (normal |
Description:
Control a MagicMirror with Mycroft voice commands via MMM-Remote-Control module
You can use this skill to hide or show modules, update the mirror or individual modules, refresh or restart the mirror, list installed modules, install modules by name. It requires a working MagicMirror on a Raspberry Pi, MMM-Remote-Control module installed and working properly, and Mycroft must be installed on the same Raspberry Pi
Checklist: