Commit Graph

26 Commits (301b230d2f294e04ab262aca09293fddbdc3fbad)

Author SHA1 Message Date
Åke Forslund bdb98c338f Add .theia to .gitignore 2020-03-31 09:33:40 +02:00
Åke Forslund e6896e1831 Make audio accuracy test runable again
- Move to test directory
- Make runable module
- Add some waiting to give Wakeword engine time to report back
- Disable beep on found wakeword
- Update gitignore directory
2020-02-03 10:00:55 +01:00
ChanceNCounter 70b76f8396 gitignore vscode workspace and html coverage data 2019-09-28 14:00:27 -07:00
Steve Penrod cb9713a37e Ignore the 'skills' symlink
The .gitignore wasn't ignoring the symlink that would be created in
dev_setup.sh to point to /opt/mycroft/skills.  The gitignore treats
what looks like an absolute path "/skills" as relative to the
repo.
2019-03-04 14:42:54 -06:00
ChristopherRogers1991 cf5d7b80c5 Feature/common io t (#2015)
* Add base common_iot_skill

* can_run takes IoTRequest

* Minor cleanup + documentation

* Fix pep8 issues

* Adjust scene and entity registration.

The controller skill is not guaranteed to be alive before
CommonIoTSkills, so we must call for values when it is alive, in
addition to accepting them at any time from other skills.

* Safer parsing

* Address PR feedback

* Add skill_id to register message

* Minor docstring edits
2019-02-28 01:31:03 -06:00
Steve Penrod 065273bf4f New formatters: nice_duration() and join_list() (#1988)
* New formatters:  nice_duration() and join_list()

Adding two new formatting functions:
* nice_duration(duration, lang="en-us", speech=True)
  Accept seconds or duration and produce a nice sounding duration.
  Example:  nice_duration(61) == "one minute one second"
            nice_duration(61, speech=False) == "1:01"
* join_list(items, connector, sep=None, lang="en-us")
  Example:  join_list(["a", "b", "c"], "and") == "a, b and c"

This includes a translation helper that uses text files in the
mycroft/res/text/LANG/ directory, such as "second.word".
2019-02-13 12:52:35 +01:00
Steve Penrod 8fe127bd5d Improve setup and start-mycroft scripts (#1924)
Improved the dev_setup.sh in several ways:
* Add 'wizard' that walks new users through setup
  - Option to put the mycroft-core/bin folder in the path
  - Option to change to 'master' instead of 'dev' branch.  This is
    usually desirable for users who only run Mycroft, not developers.
  - Option to auto-update when running Mycroft
  - Add soft link <mycroft-core>/skills to the /opt/mycroft/skills
    directory

Improve the start-mycroft.sh script
* Unify some duplicated code under init-once() function
* Add support for "auto-update", which attempts a git pull at startup
* Add require-process() function which doesn't restart already
  running services
* Add require-process for messagebus and skills services when running
  the CLI
* Tweak the --help message
2018-12-31 14:05:09 +01:00
Åke Forslund fad890ff39 Clean up setup scripts
- Remove setup scripts for mycroft-skills-sdk since it's not used anymore
- Rename mycroft-base-setup.in/MANIFEST.in to setup.py and MANIFEST.in
- Remove skill-container, since it hasn't been used or kept up to date since 17.08 and the cli commands to remove and activate skills is easier to work with

==== Environment Notes ====
Small update of the packaging script is needed due to this change
2018-07-14 08:36:50 +02:00
Matthew D. Scholefield 65ad7d3bd6 Add pytest cache to .gitignore 2018-05-14 14:27:37 -05:00
Matthew D. Scholefield 3894bc3641 Add .venv/ to .gitignore 2018-04-27 08:57:48 -05:00
Michael Nguyen fbca77d8fc add try catch for failed remote fetch location 2018-04-26 14:39:53 -05:00
Michael Nguyen 9af4b95650 modified identifier, add .mypy_cache to git ignore 2018-01-31 09:42:44 -06:00
Matthew D. Scholefield 255441c204 Add generated json files to gitignore 2017-12-01 18:31:46 -06:00
Matthew D. Scholefield 92cf04aad4 Add update notification 2017-09-05 15:46:24 -05:00
Matthew D. Scholefield ef759ce825 Add sphinx documentation 2017-09-01 12:01:59 -05:00
Matthew D. Scholefield 8e17fe3fd4 Improve mycroft.sh (#835)
* Improve mycroft.sh

 - Refactor to make adding other scripts easier
 - Stop all skills before starting
 - Handle multiple screen instances running at the same time
 - Notify the user by screen name (not as pretty but makes more sense)
 - Clean up code:
   - Change if chain to switch statement
   - use cat to display usage rather than multiple echo statements

* Small mycroft.sh refactor
 - Auto-generate .screen files
 - Add start-mycroft-custom for other executables
 - Use echo instead of cat (originally didn't realize multiline quotes were a thing)
 - Rename variable screen_name to uppercase to be consistent

* Decrease mycroft.sh sleep time to 0.1 seconds
Less time to wait and still seems to work fine on all tested platforms
2017-06-15 17:42:56 -05:00
Åke Forslund ac05fd4fd0 Add coverage with nose2 and coveralls 2017-05-18 16:51:17 -03:00
Ethan Ward efa546836f Update audio accuracy test 2017-05-18 16:49:07 -03:00
Augusto Monteiro 'Sparky 1826a517ed #663 - moving msm 2017-04-14 19:41:00 -05:00
Augusto Monteiro 2b96f2dd19 #527 - Adding msm install script and renaming skill 2017-03-28 11:20:00 -07:00
Ethan Ward 5646a1cbc9 Issue #322 - Fix creation of logs (#323) 2016-08-10 14:28:37 -05:00
Wolfgange3311999 da804d3ead Moved generated dicts to temporary directory 2016-07-14 15:50:58 -05:00
Matthew D. Scholefield a43b7b3ace Add new listener config options- Fixes #260 (#266)
* Added new listener config options

* Fixed audio unit tests
This adds a cleareraudio file for the wakeup test and changesto the new LocalRecognizer constructor

* Added .dict files to .gitignore
This is because they are now auto-generated on startup rather than stored permanently

* Fixed audio accuracy test for new LocalRecognizer constructor

* Added support for spaces in wake word config
In the phonemes a new word is indicated by a period character. The separating of the words actually changes the way pocketsphinx interprets the sound of it and in this case improves it

* Fixed unit test
2016-07-07 18:24:52 -05:00
aatchison 89858d6416 now using wildcard for logs directory 2016-06-20 10:50:39 -05:00
aatchison d90b6fe910 added a logs directory 2016-06-13 20:00:51 -05:00
Jonathan D'Orleans 293baf1362 Adding .gitignore 2016-05-20 15:28:20 -04:00