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/filesystem_path_collision #138

Merged
merged 1 commit into from Jun 6, 2022

Conversation

NeonJarbas
Copy link

@NeonJarbas NeonJarbas commented Jun 6, 2022

self.file_system was using the XDG skills path, causing a reload of skill everytime it was used.

this commit moves it to a subfolder to avoid this collision

this is an instance of 2 bugs cancelling each other out, since filesystem was wrongly using XDG_CONFIG this bug was hidden during the migration of skills to the xdg spec and only surfaced after #133

self.file_system was using the XDG skills path, causing a reload of skill everytime it was used.

this commit moves it to a subfolder to avoid this collision

this is an instance of 2 bugs cancelling each other out, since filesystem was wrongly using XDG_CONFIG this bug was hidden during the migration of skills to the xdg spec and only surfaced after that being fixed
@JarbasAl JarbasAl added bug Something isn't working bug-ovos bug introdues in ovos-core, not present in mycroft-core labels Jun 6, 2022
@JarbasAl JarbasAl requested review from AIIX and NeonDaniel June 6, 2022 07:24
@codecov
Copy link

codecov bot commented Jun 6, 2022

Codecov Report

Merging #138 (9b7fff4) into dev (6ceb058) will increase coverage by 2.46%.
The diff coverage is 41.61%.

@@            Coverage Diff             @@
##              dev     #138      +/-   ##
==========================================
+ Coverage   50.35%   52.81%   +2.46%     
==========================================
  Files         119      150      +31     
  Lines       10077     9603     -474     
==========================================
- Hits         5074     5072       -2     
+ Misses       5003     4531     -472     
Impacted Files Coverage Δ
mycroft/audio/__main__.py 0.00% <0.00%> (ø)
mycroft/client/enclosure/__main__.py 0.00% <0.00%> (ø)
mycroft/client/enclosure/mark1/arduino.py 0.00% <0.00%> (ø)
mycroft/client/enclosure/mark1/eyes.py 0.00% <0.00%> (ø)
mycroft/client/enclosure/mark1/mouth.py 0.00% <0.00%> (ø)
mycroft/client/speech/__main__.py 0.00% <0.00%> (ø)
mycroft/client/speech/hotword_factory.py 0.00% <0.00%> (-88.89%) ⬇️
mycroft/client/speech/service.py 0.00% <0.00%> (ø)
mycroft/client/speech/silence.py 0.00% <0.00%> (-42.86%) ⬇️
mycroft/client/text/__init__.py 0.00% <0.00%> (ø)
... and 116 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2439216...9b7fff4. Read the comment docs.

@JarbasAl JarbasAl merged commit 79f789d into OpenVoiceOS:dev Jun 6, 2022
4 of 5 checks passed
@NeonJarbas NeonJarbas deleted the fix/filesystem_path_collision branch June 8, 2022 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working bug-ovos bug introdues in ovos-core, not present in mycroft-core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants