Skip to content

picroft never updates skills #149

@fermulator

Description

@fermulator

Describe the bug
Mycroft installed via picroft, seems to never update/upgrade the skills that are installed (neither from default nor from user-added subsequently).

Noticed and discussed: https://chat.mycroft.ai/community/pl/khrqtqa97bdcdg3gn4513arrjo

To Reproduce
Steps to reproduce the behavior:

  1. Install picroft https://mycroft-ai.gitbook.io/docs/using-mycroft-ai/get-mycroft/picroft
  2. Use mycroft, install some additional skills if you like
  3. Over the course of weeks, months, (a year), ... periodically on restart & login, the auto_run.sh script will run, updating mycroft-core
  4. But eventually we will notice that skills are NEVER updated :(

Expected behavior

  1. mycroft skills need to be updated step-wise with mycroft-core
  2. ideally their git branches are kept in sync with core (unless the user changes one? not sure how to detect)

Log files
Here's a sample from my system after a year of use

(.venv) pi@picroft:~/mycroft-core $ git status
On branch master
Your branch is up to date with 'origin/master'.

(.venv) pi@picroft:/opt/mycroft/skills $ for file in $(ls -1); do cd $file; echo $file; git status  | grep branch; cd ..; done
cocktails.forslund
On branch master
Your branch is up to date with 'origin/master'.
dismissal-skill.chancencounter
On branch master
Your branch is up to date with 'origin/master'.
fallback-query.mycroftai
On branch 19.08
Your branch is ahead of 'origin/19.08' by 16 commits.
fallback-unknown.mycroftai
On branch 19.08
Your branch is ahead of 'origin/19.08' by 4 commits.
fallback-wolfram-alpha.mycroftai
On branch 19.08
Your branch is up to date with 'origin/19.08'.
homeassistant.mycroftai
On branch 20.02
Your branch is behind 'origin/20.02' by 18 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)
mycroft-alarm.mycroftai
On branch 19.08
Your branch is ahead of 'origin/19.08' by 40 commits.
mycroft-audio-record.mycroftai
On branch 19.08
Your branch is ahead of 'origin/19.08' by 9 commits.
mycroft-configuration.mycroftai
On branch 19.08
Your branch is ahead of 'origin/19.08' by 5 commits.
mycroft-date-time.mycroftai
On branch 19.08
Your branch is ahead of 'origin/19.08' by 36 commits.
mycroft-fallback-duck-duck-go.mycroftai
On branch 19.08
Your branch is up to date with 'origin/19.08'.
mycroft-hello-world.mycroftai
On branch 19.08
Your branch is ahead of 'origin/19.08' by 2 commits.
mycroft-installer.mycroftai
On branch 19.08
Your branch is ahead of 'origin/19.08' by 12 commits.
mycroft-ip.mycroftai
On branch 19.08
Your branch is ahead of 'origin/19.08' by 4 commits.
mycroft-joke.mycroftai
On branch 19.08
Your branch is ahead of 'origin/19.08' by 8 commits.
mycroft-naptime.mycroftai
On branch 19.08
Your branch is ahead of 'origin/19.08' by 6 commits.
mycroft-npr-news.mycroftai
On branch 19.08
Your branch and 'origin/19.08' have diverged,
  (use "git pull" to merge the remote branch into yours)
mycroft-pairing.mycroftai
On branch 19.08
Your branch is ahead of 'origin/19.08' by 5 commits.
mycroft-personal.mycroftai
On branch 19.08
Your branch is ahead of 'origin/19.08' by 1 commit.
mycroft-playback-control.mycroftai
On branch 19.08
Your branch is ahead of 'origin/19.08' by 9 commits.
mycroft-reminder.mycroftai
On branch 19.08
Your branch is ahead of 'origin/19.08' by 2 commits.
mycroft-singing.mycroftai
On branch 19.08
Your branch is ahead of 'origin/19.08' by 11 commits.
mycroft-speak.mycroftai
On branch 19.08
Your branch is ahead of 'origin/19.08' by 1 commit.
mycroft-spelling.mycroftai
On branch 19.08
Your branch is ahead of 'origin/19.08' by 1 commit.
mycroft-spotify.forslund
On branch 20.02
Your branch is behind 'origin/20.02' by 1 commit, and can be fast-forwarded.
  (use "git pull" to update your local branch)
mycroft-stock.mycroftai
On branch 19.08
Your branch is ahead of 'origin/19.08' by 28 commits.
mycroft-stop.mycroftai
On branch 19.08
Your branch is ahead of 'origin/19.08' by 2 commits.
mycroft-support-helper.mycroftai
On branch 19.08
Your branch is behind 'origin/19.08' by 2 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)
mycroft-timer.mycroftai
On branch 19.08
Your branch is ahead of 'origin/19.08' by 61 commits.
mycroft-version-checker.mycroftai
On branch 19.08
Your branch is ahead of 'origin/19.08' by 4 commits.
mycroft-volume.mycroftai
On branch 19.08
Your branch is ahead of 'origin/19.08' by 12 commits.
mycroft-weather.mycroftai
On branch 19.08
Your branch is ahead of 'origin/19.08' by 52 commits.
mycroft-wiki.mycroftai
On branch 19.08
Your branch is ahead of 'origin/19.08' by 19 commits.
remember.luke5sky
On branch master
Your branch is up to date with 'origin/master'.
skill-finished-booting.zelmon64
On branch master
Your branch is up to date with 'origin/master'.
speedtest.luke5sky
On branch master
Your branch is up to date with 'origin/master'.
```
**Environment (please complete the following information):**
```
 $ ./get-mycroft-community-spec-table.sh 

   DATE, PI VERSION, MYCROFT CORE VERSION, PICROFT VERSION, PI HW THERMAL MANAGEMENT, PI HW CASE, CPU TEMP, GPU TEMP, PI THROTTLING, LOAD AVGS, USER
   "2020-11-16", "Raspberry Pi 3 Model B Plus Rev 1.3", "20.8.0", "Buster Keaton - Pork Pi"
```

**Additional context**

We have a "suspicion" that this is to blame for randomly losing settings in skills (TBD)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions