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

finish removing neon #3

Closed
wants to merge 2 commits into from
Closed

finish removing neon #3

wants to merge 2 commits into from

Conversation

builderjer
Copy link
Member

No description provided.

@builderjer
Copy link
Member Author

not sure why the tests fail. I have tried, but this was my first look at the tests. The skill loads and works on raspbian-ovos

@builderjer builderjer requested a review from JarbasAl August 14, 2023 13:02
@JarbasAl
Copy link
Member

This was meant as a PR for neon official skill, not intended to be a maintained fork, but seems it may take a while to drop the NeonSkill class so I think we can do this for now since the old Mycroft skill forks were archived

@builderjer
Copy link
Member Author

Then can I merge?

@JarbasAl JarbasAl force-pushed the noneon branch 8 times, most recently from e47d067 to a448b1d Compare August 14, 2023 22:41
@emphasize
Copy link
Member

emphasize commented Aug 16, 2023

The first thing i see - that is probably consequetial - is that a test_fs should hold the files wrote to disk.
I don't know how Neon and OVOS skill classes diverge, but with the given alerts code you can't simply do
https://github.com/OpenVoiceOS/skill-alerts/blob/83c9a717d6829492b9c95485de6ff0acc76ab962/test/test_skill.py#L74-L75
(those are already initialized at that point)

If now the test_fs files are resetted in the process, this has no effect to the alerts.json that actually hold the informations
(which sits in ~/.local/share/mycroft/filesystem/skills/...)

As much as i like the extensive test approach, it is a fn nightmare to debug!
(No way without extensive knowledge or debug stepping through the code)

@emphasize
Copy link
Member

also, watch out for timezones and testing locally. Sometimes utc is used, removing an alert instantly

leave timezone refactor for next PR

leave timezone refactor for next PR

proper imports

refactor init

Update skill.json

README

fixing some tests....

fixing some tests....

no quiethours, conflicts with naptime skill

no quiethours, conflicts with naptime skill

lf utils

lf utils

alert_id

sync with neon skill + continue unneonification
@emphasize
Copy link
Member

Just a heads up for everyone involved.
I'll do a sprint on my DAV skill-alerts to get another (potential) starting off point.

@builderjer builderjer requested a review from a team October 13, 2023 12:36
@JarbasAl
Copy link
Member

replaced by #4

@JarbasAl JarbasAl closed this Oct 31, 2023
@builderjer builderjer deleted the noneon branch November 1, 2023 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants