standardml / smackage

Smackage Package Manager for Standard ML
Other
122 stars 12 forks source link

Store installed packages; support 'smack update' #1

Closed robsimmons closed 13 years ago

robsimmons commented 13 years ago

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.

robsimmons commented 13 years ago

This is now being done (as of da459201994e5ceda3ca92b069e1a6d245234160)