standardml / smackage

Smackage Package Manager for Standard ML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Smackage should indicate when a new major version is available

robsimmons opened this issue · comments

I think the behavior of not updating across major versions is the correct one, but we should give some feedback that this is what we're doing:

$ smackage update
Selected `cmlib 1.0.1'.
Package `cmlib 1.0.1' already installed.
Selected `preml 1.4.8'.
Repository is updated
Package `preml 1.4.8' downloaded.
NOTICE: preml v2.0.4 is available, run `smackage get preml' to get it
Selected `twelf 1.7.1'.
Package `twelf 1.7.1' already installed.
NOTICE: twelf v3.9.2 is available, run `smackage get twelf' to get it

Also, if the user has no packages, a friendly message "I have nothing to update, perhaps you should use `smackage get' to get something first?" might be helpful.