Commit Graph

62 Commits (2e0a622447181629dd6eafbbcc04b8628ed722d3)

Author SHA1 Message Date
Åke 53919d9ea6
Merge pull request #1406 from Ceda-EI/dev
Update developer setup script for arch, adding proper install of libfann
2018-02-15 09:56:16 +01:00
Ceda EI df5e9c1708 Added --noconfirm to makepkg and pacman. 2018-02-15 13:00:15 +05:30
Matthew D. Scholefield 955ed1810f
Upgrade pip version
This should resolve dependency incompatibilities and from testing still works fine
2018-02-07 12:12:52 -06:00
Ceda EI f760928264 Added installation for libfann on archlinux by building the pkgfile. Firsts checks whether libfann is installed. If libfann is not found, clones the repository, runs makepkg -srci inside and removes it 2018-02-03 18:26:46 +05:30
Matthew D. Scholefield ed00b3d666
Add build essential to Debian dependencies
Fixes #1265
2017-12-14 10:39:20 -06:00
Matthew D. Scholefield ca3874dd30 Add g++ to native dependencies (#1150) 2017-10-26 18:58:12 -04:00
Steve Penrod fef914f771 Read default MSM skills from mycroft-skills repo
Remove the hardcoded DEFAULT_SKILLS list from MSM, instead read it
from the https://github.com/MycroftAI/mycroft-skills/DEFAULT-SKILLS
list.

Additionally, a platform-specific list will also be loaded, allowing
platforms like KDE, etc. to have different defaults.  These are also
loaded from the mycroft-skills repo from a file named like:
DEFAULT-SKILLS.platform

Also began the work to support a custom local skill folder location,
specified in the /etc/mycroft/mycroft.conf.

==== Fixed Issues ====
A failed requirements.sh run would not send an install failure
notification on the messagebus.

====  Documentation Notes ====
NONE - description of a new feature or notes on behavior changes

==== Localization Notes ====
NONE - point to new strings, language specific functions, etc.

==== Environment Notes ====
MSM now uses the 'jq' utility.  This should already be installed on
a Picroft/Mark 1, but I added it to the dev_setup.sh also.
2017-10-26 15:20:42 -07:00
penrods 8f2e5d9498 Change to Apache 2.0 license from GPLv3.0
This commit officially switches the mycroft-core repository from
GPLv3.0 licensing to Apache 2.0.  All dependencies on GPL'ed code
have been removed and we have contacted all previous contributors
with still-existing code in the repository to agree to this change.

Going forward, all contributors will sign a Contributor License
Agreement (CLA) by visiting https://mycroft.ai/cla, then they will
be included in the Mycroft Project's overall Contributor list,
found at: https://github.com/MycroftAI/contributors.  This cleanly
protects the project, the contributor and all who use the technology
to build upon.

Futher discussion can be found at this blog post:
https://mycroft.ai/blog/right-license/

This commit also removes all __author__="" from the code.  These
lines are painful to maintain and the etiquette surrounding their
maintainence is unclear.  Do you remove a name from the list if the
last line of code the wrote gets replaced?  Etc.  Now all
contributors are publicly acknowledged in the aforementioned repo,
and actual authorship is maintained by Github in a much more
effective and elegant way!

Finally, a few references to "Mycroft AI" were changed to the correct
legal entity name "Mycroft AI Inc."

==== Fixed Issues ====
#403 Update License.md and file headers to Apache 2.0
#400 Update LICENSE.md

====  Documentation Notes ====
Deprecated the ScheduledSkill and ScheduledCRUDSkill classes.
These capabilities have been superceded by the more flexible MycroftSkill
class methods schedule_event(), schedule_repeating_event(), update_event(),
and cancel_event().
2017-10-04 01:28:44 -05:00
Steve Penrod 07992b49d5 Revamping the scripts used to start/stop Mycroft
Reworking the mechanisms used to interact with Mycroft.  The old
mycroft.sh utilized the 'screen' command, but now with the CLI it
it easier to use that for viewing log files.  Plus there was
confusion between when to use start.sh and when to use mycroft.sh.

Now things are wrapped in the simple and easily discoverable scripts:
* start-mycroft.sh
* stop-mycroft.sh

The start-mycroft.sh allows you to start the background services and
to invoke the various tools (e.g. the CLI, unit tests, etc).

==== Fixed Issues ====

====  Documentation Notes ====
This will require revamp of the getting started guides, etc.
2017-09-28 01:08:20 -05:00
Åke Forslund e6c67b66b3 Add flag to allow running dev_setup.sh as root
====  Tech Notes ====
Added flag --allow-root to circumvent the requirement to run ./dev_setup
as a non-root user.
Also added help section
2017-09-27 10:49:08 -05:00
Matthew D. Scholefield 15d5295bb4 Fix dev_setup installing non-existent package 2017-09-14 18:14:46 -05:00
Matthew D. Scholefield b5cc7b91a7 Update README to no longer point to build_host_setup and fix dev_setup 2017-09-14 17:10:15 -05:00
Matthew D. Scholefield aa8606501e Move contents of build_host_setup scripts into dev_setup.sh 2017-09-14 16:48:28 -05:00
Matthew D. Scholefield 92cf04aad4 Add update notification 2017-09-05 15:46:24 -05:00
Matthew D. Scholefield dfa6fa2301 Update dependencies for Padatious and allow continuing if pip install fails
This is so that if fann is not installed locally, the user can still continue without padatious and only use adapt
2017-08-17 16:01:11 -05:00
Åke 5c369f1517 Merge branch 'dev' into feature/setup_virtenvpath 2017-08-17 10:31:48 +02:00
el-tocino 9597890885 pass cores as a parameter to install scripts 2017-08-17 16:18:01 +09:00
el-tocino 95b212800a move cores calc to mimic script 2017-08-17 16:18:01 +09:00
el-tocino 8b39d62397 Try cores based on 500mb per core build size. 2017-08-17 16:18:01 +09:00
Steve Penrod 4a82b5b4a6 Deal with case of nor pre-existing .pth file
Add support for a perfectly clean virtualenv that doesn't have a
_virtualenv_path_extensions.pth file already.
2017-08-16 23:47:28 -07:00
Steve Penrod 29ee8bb26d Changed from .pth to add2virtualenv equivalent
The mycroft-core.pth file wasn't addequate to get Python to fully
accept mycroft-core into the system path.  For example, some of
the integration tests would fail in odd ways.

So switched to using add2virtualenv, which is was fine.  But you
can't call that within the dev_setup.sh script since it is a
shell function.  So instead this code does essentially what
add2virtualenv does.
2017-08-16 02:02:39 -07:00
Steve Penrod dd2aa0900c Add mycroft-core to virtualenv path
Add the insertion of mycroft-core in the virtualenv created by
dev_setup.sh.  It becomes part of the python2.7 site-packages.
This is needed for running mycroft-core pieces directly from
the command line, after performing "workon mycroft".
2017-08-15 18:54:11 -07:00
penrods ece734b55a Prevent unneeded mimic compilation in dev_setup.sh
The code that detected existing mimic installs and asked for
confirmation before rebuilding had a few holes:
* A source install of mimic under the mycroft-core tree was missed
* Hitting "enter" or "spacebar" would be interpreted as "yes, rebuild",
  which didn't match the prompt.
2017-08-12 06:40:24 -05:00
penrods 6ed479346c Adding commit template and dev_setup.sh support
The commit template provides a developer with a structure to follow
for communicating with others on the mycroft-core project.

====  Tech Notes ====
Please use this template from here on!
2017-08-02 12:54:44 -05:00
el-tocino cfdc609586 Default to building mimic if not otherwise set. 2017-07-06 15:18:46 -05:00
Blackbaud-RyanSnedegar 13f91d3969 string comparison needed for that if statement. 2017-07-06 15:18:46 -05:00
Blackbaud-RyanSnedegar 06b77b290f allow for parameter to skip mimic as well. 2017-07-06 15:18:46 -05:00
Blackbaud-RyanSnedegar 201e0d699d Check for existing mimic installation, query to build (again). 2017-07-06 15:18:46 -05:00
el-tocino a3e04f70cf add warning about mimic compile times. 2017-06-13 14:53:16 -05:00
el-tocino 20bb8b5d5d added memory check to dev_setup 2017-06-13 14:50:44 -05:00
Augusto Monteiro 'Sparky 9e7e2c12f9 #663 - removing install msm 2017-04-14 19:41:00 -05:00
Augusto Monteiro 22eaa6dc89 Using https 2017-03-28 15:18:43 -07:00
Augusto Monteiro 93a59c57ec #527 - removing msm install from dev_setup 2017-03-28 11:20:00 -07:00
Augusto Monteiro 2b96f2dd19 #527 - Adding msm install script and renaming skill 2017-03-28 11:20:00 -07:00
Nicolas Couture 878b05298d #372 - dev_setup.sh ignores WORKON_HOME when VIRTUALENV_ROOT is unset (#376)
#372 - dev_setup.sh ignores WORKON_HOME when VIRTUALENV_ROOT is unset
- Favor using the WORKON_HOME environment variable over VIRTUALENV_ROOT
- Specifying the name of the virtualenv directory
- Postfixing VIRTUALENV_ROOT with "/mycroft"
2017-02-01 23:40:13 -03:00
Arron Atchison e3e58d3ee4 Removing sudo from dev_setup.sh 2016-12-28 12:51:13 -06:00
Arron Atchison 2252966dda Issue #423 Register Me button in wifi-setup-client now points to home.mycroft.ai (#424)
* the Register Me button now points to home.mycroft.ai

* the Register Me button now points to home.mycroft.ai
2016-12-20 23:10:26 -06:00
ParkerMc 317a01f75e Added executable bit to arch setup (#359)
* Added executable bit to arch setup

* Update to use Python 2

* Changed pip to pip2

needed when python 3 is default
2016-09-22 09:12:18 -05:00
Arron Atchison c0f933f527 I removed the install-pocketsphinx.sh script from the dev_setup again. Maybe I'll fix it later 2016-07-29 14:58:07 -05:00
Arron Atchison eacff92ace oops, made a typo in dev_setup.sh 2016-07-29 14:50:38 -05:00
Arron Atchison 1e2753c209 fixed pocketsphinx install script to run in quiet mode with the -q flag. There will be path issues unless run like . 2016-07-29 14:45:00 -05:00
Arron Atchison 0221ff4ac5 argh, removed install-pocketsphinx from dev_setup. Hoping this won't be needed again anyway 2016-07-29 14:00:59 -05:00
Arron Atchison 306d150543 addded a script for installing pocketshinx and changeing the import path in local_recognizer.py 2016-07-29 12:21:03 -05:00
Arron Atchison 62a9649680 Some modifications to dev_setup, build_host_setup, and local_recognizer.py. It seems that on debian systems we can install python-pocketsphinx for the python binding. 2016-07-29 10:27:44 -05:00
Ethan Ward bfacbe0087 Issues #259 - Move scripts out of root directory (#301) 2016-07-27 09:36:47 -05:00
Ethan Ward 3f0de9537e Revert "Issues #259 - Move scripts and config out of root directory" (#297) 2016-07-18 15:47:46 -05:00
Ethan Ward 69f3a6cd7a Issues #259 - Move scripts and config out of root directory (#285) 2016-07-18 15:44:25 -05:00
aatchison 70bcb51946 re-added mimic to dev-setup.sh 2016-06-23 10:29:11 -05:00
aatchison 66f5d81dd4 revert to compiling pocketsphinx 2016-06-21 14:00:24 -05:00
aatchison 2d4519d264 installing pocketsphinx from pip, 'casue it's radical 2016-06-20 17:31:41 -05:00