Commit Graph

10 Commits

Author SHA1 Message Date
Matthew Flatt
71aa65c33c pkg/lib: fix `installed-pkg-names' 2013-04-19 15:30:35 -06:00
Matthew Flatt
17f2822a63 remove debugging `log-error' 2013-04-17 12:28:49 -06:00
Matthew Flatt
d2b1dc6c63 raco pkg remove: only setup needed collections
That is, limit the ending `raco setup' to the same collections
as the corresponding `raco pkg install' (droppping collections
that no longer exist afterward, of course).
2013-04-16 13:17:05 -06:00
Matthew Flatt
10e53e3bf4 pkg/lib: lock clean-up, and add `path->pkg'
Make the installed-package database lock reentrant, change some
functions to take the lock, and fix the documentation on when a
lock is expected to be taken outside of functions.
2013-04-16 08:58:19 -06:00
Matthew Flatt
267ac03279 pkg/lib: clean up names and package-scope parameter
More consistent exported names and parameters that better match the
three scope choices (installation, user, or shared) --- cleaning up
after myself.
2013-04-16 08:58:19 -06:00
Matthew Flatt
b47c1857b5 raco pkg: support platform-specific package dependencies
A platform-specific dependency is useful for triggering
installation of a platform-specific library only on the
platform where its needed.
2013-04-15 06:21:49 -06:00
Matthew Flatt
37aa091e1c raco pkg: add support for local package-index databases
Adds `pkg/pnr-db', `raco pkg index-copy', and `raco pkg index-show'.

Includes tools to build a database of modules that are supplied by
packages, which will be useful for a tool to recommend package
installs when a module is not found.

Also, document `pkg/lib' and add extra helper functions
for getting package information from a package name resolver.
2013-04-15 06:21:49 -06:00
Jay McCarthy
259621f7cb Fixing PR13657 2013-04-06 15:07:07 -06:00
Robby Findler
e3b580c200 add installed-pkg-names 2013-04-05 10:22:33 -05:00
Jay McCarthy
9f337c632a Removing the planet2 name from the code 2013-03-22 07:45:14 -06:00