standardml/smackage — Issue #1: Store installed packages; support 'smack update'
Author: robsimmons
Created: 2011-10-24 00:33:02+00:00
State: open

There's currently a file `$(SMACKAGE_HOME)/packages.installed` that isn't being used for anything. It should basically record the history of installed packages. If I run

$ smack install foo v1
$ smack install foo v1.5
$ smack install bar v2

and `bar v2` depends on `baz v3.9`, then packages.installed should automagically include the following:

bar 2
baz 3.9
foo 1
foo 1.5

This will support a command `smack update` that essentially reruns `install` on all of the version constraints stored in the repository.