gvm icon indicating copy to clipboard operation
gvm copied to clipboard

Need an upgrade procedure in the README

Open lstep opened this issue 9 years ago • 5 comments

There is no information on how to upgrade gvm. Is it even possible to upgrade without reinstalling everything (rm -rf ~/.gvm)? I have several pkgsets I don't want to loose.

lstep avatar Mar 03 '15 09:03 lstep

Here's a guide for forking a git repo and fetching updates from upstream -- in this case, the original GVM repo.

remy-actual avatar Mar 04 '15 04:03 remy-actual

@remy-actual If it was just a git update, I wouldn't open an issue. From what I see in the binscripts/gvm-installer file, it's unfortunately much more than that...

lstep avatar Mar 04 '15 08:03 lstep

@lstep Sorry, I wasn't specific: Forking the GVM repo, and editing line 48 of gvm-installer from SRC_REPO=${SRC_REPO:-https://github.com/moovweb/gvm.git} to SRC_REPO=${SRC_REPO:-https://github.com/YOUR_GITHUB_ACCOUNT/gvm.git} means running the forked gvm-installer script will install locally from the forked repo.
This allows for fetching and merging changes from the upstream gvm repo without overwriting your local pkgsets. Obviously this isn't a fix for the issue -- presenting this as a workaround you or others may find useful in the interim. :+1: for adding a gvm update command (with documentation).

EDIT: Have you tried $gvm get ? Looks like that is the upgrade command you are looking for: gvm/scripts/get.

remy-actual avatar Mar 04 '15 20:03 remy-actual

rename gvm get to gvm upgrade in cmd usage will avoid such confusion.

zhangpy avatar Jul 29 '15 02:07 zhangpy

I think I'll leave get in place for backwards compatibility but add upgrade as an alias to get and update the readme.md with upgrade instructions. Perhaps have gvm give a message when an upgrade is available.

BenKnigge avatar Feb 04 '20 05:02 BenKnigge