Merge ~sespiros/ubuntu-security-tools/+git/ubuntu-security-tools:coverity-snap-update-command into ubuntu-security-tools:master
Proposed by
Spyros Seimenis
Status: | Needs review |
---|---|
Proposed branch: | ~sespiros/ubuntu-security-tools/+git/ubuntu-security-tools:coverity-snap-update-command |
Merge into: | ubuntu-security-tools:master |
Diff against target: |
88 lines (+65/-1) 2 files modified
snaps/coverity-ubuntu-security/files/bin/update (+60/-0) snaps/coverity-ubuntu-security/snapcraft.yaml (+5/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu Security Team | Pending | ||
Review via email: mp+454284@code.launchpad.net |
Description of the change
I copied the install command to a new update command which disregards the existence of the symlink, deletes it and reinstalls a new coverity version. I also changed the snap's version to not follow the coverity versions since it doesn't make much sense. We may also want to delete the previous version's untarred files (not in this commit).
With this, if you already have the coverity snap installed, updating coverity locally should work like:
1) Download new coverity binary (+ license)
2) Run
coverity-
To post a comment you must log in.