Jul. 2nd, 2013

tim: Tim with short hair, smiling, wearing a black jacket over a white T-shirt (Default)
Hacked on the package database more. rustpkg list works! Still with the totally simple text-file scheme I mentioned yesterday, of course.

Now I'm implementing the uninstall command while making sure that uninstalling deletes the package from the package database. uninstall is also mildly interesting because the database stores the exact version (filling in 0.1 as the default), but I don't want you to have to specify an exact version when uninstalling; so rustpkg uninstall foo should delete foo-0.5 if there's exactly one version of foo, 0.5, installed. But then, what if there were multiple versions of foo? Should this delete all versions, the most recently-installed one, or error out asking you to be more specific? I'm not sure yet.

I'm still anxiously waiting for bors to merge the pull request I submitted yesterday, for rustpkg build with no arguments; the build infrastructure has been a bit finicky lately.

Profile

tim: Tim with short hair, smiling, wearing a black jacket over a white T-shirt (Default)
Tim Chevalier

November 2021

S M T W T F S
 123456
78 910111213
14151617181920
21222324252627
282930    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags