Skip to content
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

Fix multiple reloads of skills at startup #1002

Merged
merged 1 commit into from
Aug 18, 2017

Conversation

forslund
Copy link
Collaborator

==== Fixed Issues ====
#1001

==== Tech Notes ====
Previously the skills were reloaded a couple of times during startup
since updates of the .pyc file and possible the settings.json file were
made.

This commit adds a bit finer control over which files to check.
Currently all files in skill root except ones ending in .pyc and the
settings.json are checked along with all visible subdirectories

@forslund
Copy link
Collaborator Author

Please test carefully. I didn't find any cases where it failed to reload an updated skill but I may have missed something.

==== Fixed Issues ====
MycroftAI#1001

====  Tech Notes ====
Previously the skills were reloaded a couple of times during startup
since updates of the .pyc file and possible the settings.json file were
made.

This commit adds a bit finer control over which files to check.
Currently all files in skill root except ones ending in .pyc and the
settings.json are checked along with all visible subdirectories
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 38.198% when pulling eb4991a on forslund:bugfix/issue-1001 into 0bd6c40 on MycroftAI:dev.

@forslund forslund added the CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors) label Aug 18, 2017
Copy link
Contributor

@augustnmonteiro augustnmonteiro left a comment

Choose a reason for hiding this comment

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

LGTM

@augustnmonteiro augustnmonteiro merged commit 67ea6f6 into MycroftAI:dev Aug 18, 2017
@forslund forslund deleted the bugfix/issue-1001 branch January 31, 2018 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants