Commit Graph

33 Commits

Author SHA1 Message Date
Jay McCarthy
8d1dbdd9ad Cleaning up offical PNS server re: Danny 2012-12-08 09:09:39 -07:00
Jay McCarthy
40964d766e Nicer indentation and fixing a typo in db reading 2012-12-04 19:41:00 -07:00
Jay McCarthy
ce7b9f7b6f Deal with bad metadata more gracefully
Without this patch, you can't uninstall or do anything if a single
package has broken metadata, because everything crashes.
2012-12-03 22:17:53 -07:00
Jay McCarthy
7235382107 Fixing typos in various places 2012-12-03 22:07:48 -07:00
Jay McCarthy
ed00c8d70c Fixing a typo in the P2 package name docs 2012-12-03 13:13:34 -07:00
Matthew Flatt
3d38d84cc4 planet2: remove obsolete note in docs and help 2012-12-02 08:03:54 -07:00
Matthew Flatt
b83804c153 raco pkg: normalize error reporting
Use `raise-user-error' for `raco pkg ...' errors, so that stack
traces don't print out for external errors. Reformat error messages
generally to match current conventions. Use logging for debugging
output.
2012-11-30 19:09:19 -07:00
Matthew Flatt
59f289249f raco pkg: user-specific and version-specific by default
The default `raco pkg' mode should work right for a
multiple-version installation (because everything in
Racket should work in a multiple-version installation).
Along the same lines, `raco pkg' should work if the
installation directory is unwriteable. So, the default
mode is user-specific and version-specific.

Use `--shared' or `-s' for user-specific, all-version
installs.

By default, `raco pkg show' now shows packages installed
in all three modes (installation-wide, user- and version-
specific, and user-specific all-version). Use `-i', `-u',
or `-s' to show just one of them.
2012-11-30 19:09:19 -07:00
Matthew Flatt
7712d1a15b call "Planet2" just "the package manager" in its docs 2012-11-30 19:09:19 -07:00
Matthew Flatt
567a84cd31 raco pkg install: limit `raco setup' to installed collections
A package can specify `setup-collects' in its "info.rkt" to override
this default.
2012-11-30 19:09:19 -07:00
Matthew Flatt
381d9d84d6 raco pkg: switch from "METADATA.rktd" to "info.rkt"
For now, "METADATA.rktd" is still recognized as a fallback.

Also, rewrite package source type and name inference,
make ".zip" the default format for `raco pkg create',
and many doc edits.
2012-11-30 19:09:19 -07:00
Matthew Flatt
15cbfa1947 `raco pkg': fixes for package source inference and handling
Also, test additions and documentation adjustments.
2012-11-29 06:43:51 -07:00
Matthew Flatt
b16679266a raco pkg: --dont-setup' to --no-setup' and help text adjustments
Adjustements are for case and setence consistency and to fit
in 80 columns.
2012-11-29 06:27:38 -07:00
Matthew Flatt
3c253b0e2b raco pkg': treat ".plt" format consistently with raco setup -A'
An old package intended for use with `raco setup -A' can be
installed with `raco pkg install'.

A package created with `raco pkg create --format plt' can be
installed with `raco setup -A', although it could leave behind
weird "MANIFEST.rktd" and other files in the "collects" directory.

An old package created with `raco pkg create --format plt' still
can be used with `raco pkg install', although not with `raco setup -A'.

The change from previous 'raco pkg' behavior is that package content
now claims to be in a "collects" directory that is
installation-relative, and unpacking redirects "collects" to the
package-staging area. At the same time, unpacking still works the
same as before on ".plt" archives that are not installation-relative.
2012-11-29 06:27:38 -07:00
Matthew Flatt
abe4c1143f make raco pkg install' call raco setup' via `setup/setup'
Instead of using `system'.
2012-11-29 06:27:38 -07:00
Matthew Flatt
610587bf6e raco pkg install: change inference of package sources
A file package source is inferred only if suitable file suffix is
present, etc.
2012-11-29 06:27:37 -07:00
Asumu Takikawa
5e54ff90d4 Index raco pkg command 2012-11-26 17:52:43 -05:00
Jay McCarthy
accdcb755a Preventing planet2 from running 'raco setup' on updating when no updates were available 2012-11-24 09:22:14 -07:00
Matthew Flatt
df4563588e switch raco pkg create' to file/tar' and `file/zip' 2012-11-20 10:12:27 -07:00
Matthew Flatt
376b1f373a switch raco pkg install' to use file/unzip' 2012-11-20 10:12:27 -07:00
Matthew Flatt
68bdf190d7 switch raco pkg install' to use file/untgz' 2012-11-19 17:01:01 -07:00
Jay McCarthy
b401a92709 Clarify raco pkg install arguments 2012-11-12 12:03:40 -07:00
Jay McCarthy
f5995ec0cc Removing default from 'raco pkg create' 2012-11-12 12:03:40 -07:00
Jay McCarthy
a2b1d4186b Requiring -a on 'raco pkg update' to update all packages 2012-11-12 12:03:40 -07:00
Jay McCarthy
fbed04db70 Revert "Changing the convention of referring to PLT in Planet 2 docs"
This reverts commit 14c169623f4bcffd41d145dfed2bc8317b5faffc.
2012-11-12 12:03:40 -07:00
Jay McCarthy
ddd03347ea Adding a note about metadata file to suggest Planet 2 package creation 2012-11-12 12:03:40 -07:00
Jay McCarthy
dfdbd4c147 Changing Planet 2 package design re: sub-collections 2012-11-12 12:03:40 -07:00
Jay McCarthy
4649d59125 Changing git suggestion re: Eli and Sam in Planet 2 docs 2012-11-12 12:03:39 -07:00
Jay McCarthy
1d3aa61c2a Changing the convention of referring to PLT in Planet 2 docs 2012-11-12 12:03:39 -07:00
Jay McCarthy
74c9871dbe Fixing typos in Planet 2 docs 2012-11-12 12:03:39 -07:00
Jay McCarthy
2265a0a0b5 Fixing typos in Planet 2 docs 2012-11-12 12:03:39 -07:00
Jay McCarthy
5c2fef8a6e Clarify some Planet 2 documentation re: comments 2012-11-12 12:03:39 -07:00
Jay McCarthy
fae660b0e4 Release Planet 2 (beta)
This was developed in a different repository, so the history will be
archived there:

https://github.com/jeapostrophe/galaxy
2012-11-08 06:16:42 -07:00