Commit Graph

49 Commits (6a977ac96b8b0b24342d7bf44e94a5f477dea538)

Author SHA1 Message Date
penrods 66f94962a3 Fix simple typo in switch to Github
The missing space breaks the shell path test when switching to a Github install
2017-12-09 15:58:27 -06:00
Åke Forslund f23ba5197e Remove all mycroft packages individually
Autoremove don't seem to be reliable enough. This will remove the
required packages individually.
2017-11-19 00:24:48 -06:00
Åke Forslund 9bb1d18161 Use autoremove when removing mycroft-mark-1
remove will only remove the meta package, autoremove will remove the
meta package and all packages installed as dependencies for that
package.
2017-11-09 12:52:40 -06:00
penrods c075aec77f Add 'home' and 'home-test' to mycroft-use.sh
Decouple the chosen backend from the stable/unstable build in the mycroft-use
utility.  Now there are independent 'home' and 'home-test' options that can
be used switch the chosen backend.

Also fix several issues with the utility, including:
* Platform is detected and appropriate packages (mycroft-picroft, etc) used.
* Added missing services to the github support
* Improved help message
2017-10-28 03:02:46 -05:00
penrods 760f2fb182 Disconnect test backend from unstable in mycroft-use
The mycroft-use utility had a direct connection between the unstable build and
the test backend; and the stable build and the production backend.  This made
some kinds of testing tricky.

Now you run ```mycroft-use home``` and ```mycroft-use home-test``` to make
the backend association explicitly.

Also cleaned up the whitespace, which was a mixture of spaces and tabs.
2017-10-27 15:48:30 -05:00
Jonas Blahut 3582c0d1e4 Fix cd syntax to avoid "too many arguments" error. 2017-10-26 18:49:31 -05:00
Rhett Aultman 35c3af1e2c Make mycroft-core.sh invocable from outside
mycroft-core.sh has a relative-path call (that itself also likes to
be called from inside mycroft-core) that prevents making a clean start
of mycroft from outside the mycroft-core directory.  This makes doing
things like adding it as a Ubuntu Unity startup application slightly
messy.
2017-10-26 19:06:11 -04: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
Michael Nguyen 592882d125 fixed codacity again 2017-09-14 14:23:39 -05:00
Michael Nguyen 8c88c0f2ae fixed codacity 2017-09-14 14:23:39 -05:00
Michael Nguyen 00f9bac927 Commit headline -- not longer than this line (50)
This is the template for commits to mycroft-core and also an example of
a commit message. To use this template, change the first line (think of
it as a "headline" for the commit) and then edit this message with a
longer description of the change.  To be nice, keep lines to 72
characters or less (The first two lines of this template are exactly
that length).  Also use imperative writing, e.g. "Fix broken code" or
"Implement my new feature", not "Fixes the broken code" or
"Implemented my new feature".

Sections below can then be filled out and edited as appropriate.
Unused sections can optionally be removed.

Please fill this out carefully.  This moment is when the code is
clearest in the mind of you, the foremost expert in this change.
Please pause to think of side effects and impacts.

====  Documentation Notes ====
mycroft-use script is used to switch from stable and unstbale builds for the mycroft core. It also points the unstable build to use the home-test.mycroft.ai cluster instead of production cluster.

mycroft-packaging repo needs to be merged to master for the packaging to take place.
2017-09-14 14:23:39 -05: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
aatchison 2124d730d2 Commit headline -- not longer than this line (50)
==== Fixed Issues ====
984 - install_mimic.sh -- Mimic shouldn't have to clone all branches
====  Tech Notes ====
This modification clones the mimic repository with a depth of one in
order to reduce download times and local size. A side affect might be
that this would make it harder for developers to checkout different
mimic branches, as they would have to tech them first.
2017-08-14 09:04:52 +09:00
aatchison 4be137944e Altered prepare-msm.sh to change permissions to the correct user
Added a function to change ownership
Added an ownership check that is always run in the case of a botched run the first time
2017-08-02 10:46:28 -05:00
Åke Forslund bfc2d3eced Starup audio process together with mycroft 2017-07-31 13:37:17 +02:00
Caesar 9bc6fc23d2 correcting a misspelling o line 15 2017-07-08 21:27:03 -03: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
el-tocino eeb3c7fe06 punctuation matters. 2017-05-18 16:53:10 -03:00
el-tocino 4372d6f9ab more complete audio info 2017-05-18 16:53:10 -03:00
el-tocino c6179eb937 Issues-739 Adding my-info.sh 2017-05-18 16:53:10 -03:00
Steve Penrod 96332ac77c Fixing minor issues from review 2017-04-14 19:41:00 -05:00
Augusto Monteiro 'Sparky 9e7e2c12f9 #663 - removing install msm 2017-04-14 19:41:00 -05:00
Joel Bradshaw 5e55a117c8 Fix creation of /opt/mycroft/skills 2017-04-07 21:20:34 +01:00
Arron Atchison ff01f929eb Added variable in travis.yml and a check in install-msm.sh to disable creating opt/mycroft/skills 2017-04-03 13:33:28 -07:00
Arron Atchison c8c3b3d67f checking to see if opt/mycroft/skills exists and is writable 2017-04-03 12:30:47 -07:00
Augusto Monteiro 'Sparky 4d8f7f6e13 #630 - Updating msm install script 2017-04-03 11:45:26 -07:00
Augusto Monteiro 22eaa6dc89 Using https 2017-03-28 15:18:43 -07:00
Augusto Monteiro 0c60da0883 #527 - cloning msm 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
Augusto Monteiro f6568bd8c6 Merge pull request #580 from forslund/bugfix/issue-579
Fetch all from mimic before updating
2017-03-20 11:42:05 -05:00
Åke Forslund 4a498d9721 Update mimic to version 1.2.0.2 2017-03-18 08:45:11 -05:00
Åke Forslund 04f411935f Fetch all from mimic before updating 2017-03-18 11:35:42 +01:00
Arron Atchison 75c24182d5 Update install-mimic.sh 2017-02-27 13:30:34 -06:00
Arron Atchison 754b7e7bc5 updated mimic to 1.2.0.1 with gcc fix; added make install; it's working great now 2017-02-27 13:30:34 -06:00
Arron Atchison 2b46d12b3a this is what works in my case, with gcc 6.2.0 2017-02-27 13:30:34 -06:00
Arron Atchison a7f0e9265d And autogen needs the ".sh" 2017-02-27 13:30:34 -06:00
Arron Atchison e41a23e5fe I had forgotten autogen 2017-02-27 13:30:34 -06:00
Arron Atchison 91137e6635 Updating Mimic version to 1.2.0; using --enable-shared flag for future Pymimic support 2017-02-27 13:30:34 -06:00
Åke b0eeaf2200 install-mimic picks a specific version, not the latest (#437) 2017-02-15 15:37:52 -06:00
Samuel Boczek eb0a37ce45 Issues-410 - Fixing 'install_pygtk.sh cd: too many arguments' (#432) 2016-12-24 11:33:22 -06:00
Ethan Ward 5646a1cbc9 Issue #322 - Fix creation of logs (#323) 2016-08-10 14:28:37 -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 306d150543 addded a script for installing pocketshinx and changeing the import path in local_recognizer.py 2016-07-29 12:21:03 -05:00
Ethan Ward 48e4c2c245 Fix install-pygtk to use new version of cairo (#306) 2016-07-28 10:09:50 -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