Commit Graph

92 Commits

Author SHA1 Message Date
Matthew Flatt
853f959622 raco pkg: improve command-line checking and error reporting
For example, complain if both `-u' and `-i' are specified,
or if a bad `--deps' mode is provided.
2012-12-22 09:43:19 -07:00
Eli Barzilay
672910f27b Lots of bad TAB eliminations.
I started from tabs that are not on the beginning of lines, and in
several places I did further cleanings.

If you're worried about knowing who wrote some code, for example, if you
get to this commit in "git blame", then note that you can use the "-w"
flag in many git commands to ignore whitespaces.  For example, to see
per-line authors, use "git blame -w <file>".  Another example: to see
the (*much* smaller) non-whitespace changes in this (or any other)
commit, use "git log -p -w -1 <sha1>".
2012-11-07 11:22:20 -05:00
Robby Findler
cb763c81b9 preserve the error-print-source parameter when installing planet packages 2012-10-10 19:46:52 -05:00
Robby Findler
98c459c3d7 document the fact that resolve-planet-path is exported from
two different modules. Not sure who might be using this, so
it seems unwise to actually fix this problem.

Also document the fact that calling this function is unlikely
to be useful unless you know the package is already installed.

closes PR 12719
2012-07-04 17:40:16 -05:00
Robby Findler
c1aa8cb0eb clarified docs for force-package-building? 2012-06-11 01:40:37 -05:00
Eli Barzilay
17090fca4f A bunch of fprintf' -> eprintf' conversions (and a few related things). 2012-05-06 12:06:00 -04:00
Matthew Flatt
862e1628a6 fix Planet resolver for submodule tests
For example, `(module-declared? '(submod (planet dyoo/bf) reader) #t)'
shouldn't fail if there's no "main.rkt" to hold a `reader' submodule;
it should return #f.

Merge to 5.3, but updating cstartup.inc will require a manual merge.
2012-04-19 08:15:11 -06:00
Eli Barzilay
f7c67b49a4 Big newline at EOF scan. 2012-02-29 00:28:11 -05:00
Jay McCarthy
41a64cbbd8 Dealing properly with rest args in svn-style commands 2012-01-25 16:48:11 -07:00
Jay McCarthy
fda7e8bad5 Fix behavior on rest arguments 2012-01-25 16:48:11 -07:00
Ryan Culpepper
c7f86d276c removed useless requires 2011-09-27 19:28:44 -06:00
Robby Findler
3ade0eaca9 let the planet resolver bestow on itself more powerful filesystem inspection capabilities 2011-09-07 22:17:12 -05:00
Danny Yoo
37a81bcfce correcting an offset error: if the string str is exactly n characters long, the use of string-ref in the last case will die. 2011-09-06 07:29:42 -05:00
Robby Findler
25eb851217 Revert "add more debuggin info to the thread-safe-resolver.rkt planet test to try to debug it on drdr"
I think I know why this test is failing now; no need for this info anymore

This reverts commit e88c8dbaa0.
2011-08-27 16:41:31 -05:00
Robby Findler
e88c8dbaa0 add more debuggin info to the thread-safe-resolver.rkt planet test to try to debug it on drdr 2011-08-27 07:54:12 -05:00
Jay McCarthy
cee3d251ee This file uses this-expression-source-directory to implement this-package-version-symbol, but that comes from mzlib/etc which was not required 2011-08-22 14:15:04 -06:00
Robby Findler
963dc808fa fix bug in the way planet was setting up the state for the installation process 2011-08-20 19:15:46 -05:00
Robby Findler
5455a16f47 fix bugs in the file locking protocol for planet packages
(in particular, support re-entrancy)
2011-08-19 09:26:36 -05:00
Robby Findler
9495145ea5 add more info to try to debug planet failure 2011-08-17 06:04:07 -05:00
Robby Findler
cc4de51fb0 - make the planet module resolver thread safe
- fixed planet to actually use the uninstalled (.plt file) cache

- linkage code was completely broken, so it now stubbed out (see the file to
  resurrect it)

- other minor cleanups
2011-08-16 15:30:55 -05:00
Eli Barzilay
d61eb53686 Lots of documentation formatting.
Started as fixing misindented definitions, then more indentations, then
a bunch of similar things (square brackets, huge spaces at end-of-lines,
etc).
2011-08-15 07:50:04 -04:00
Robby Findler
1553658369 tweak planet logging so the "PLaneT: " prefix is more consistently there 2011-08-13 15:03:31 -05:00
Robby Findler
708ca63c34 Revert "start making planet thread safe" -- didn't mean to push that one. Whoops, sorry.
This reverts commit 5bd969693c.
2011-08-10 12:37:13 -05:00
Robby Findler
5bd969693c start making planet thread safe 2011-08-10 12:02:49 -05:00
Robby Findler
fbccf38d50 completed the planet library documentation and, in the process,
cleaned up various dependencies and exports from some of the libraries
2011-07-08 15:51:05 -05:00
Eli Barzilay
3157955d40 ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
Robby Findler
6bc43306ca fix two format string mixup bugs (one in planet and one in the racket/cmdline library) 2011-05-19 17:52:09 -05:00
Matthew Flatt
1b14c6a38e fix mistakes uncovered by optimizer warnings 2011-05-03 06:57:48 -06:00
Robby Findler
2d28276c47 added newlines to planet's log 2011-04-28 07:35:15 -05:00
John Clements
9de3f25d15 added docs, changed to optional param 2011-02-15 14:57:51 -08:00
John Clements
1b843ea161 added checking on planet unlink 2011-02-15 14:10:57 -08:00
Robby Findler
5017801659 Rackety 2011-02-05 21:02:00 -06:00
Robby Findler
1ed1396d95 make sure that the parent directories exist for the hard-links file when updating the file 2011-02-05 21:02:00 -06:00
David Van Horn
c9519fd113 Fixed various spelling errors. 2011-02-03 17:42:33 -05:00
Jay McCarthy
9c6b9b8fcd Adding whitespace so you can copy and paste to planet remove on the OS X terminal 2010-11-23 15:42:40 -07:00
Matthew Flatt
41551a4987 adjust raco planet help output to fit in 80 columns 2010-07-09 06:44:34 -06:00
Robby Findler
857498e697 Some racketying. 2010-06-19 16:30:06 -05:00
Matthew Flatt
32297601b6 use simple-form-path more consistently for path normalization
--- a reversal of opinion from my earlier commit; the problem
 with syntactic simplification is that it may not refer to the
 same file, due to soft links; given that true normalization is
 impossible, simplify-path and simple-form-path provide a good
 compromise between preserving paths as given and exanding
 soft links as neede
2010-06-03 17:23:14 -06:00
Robby Findler
733c9b9eec planet command now uses short-program+command-name properly. 2010-05-31 13:17:21 -05:00
Robby Findler
e23db50e06 Rackety planet command line tool 2010-05-31 09:00:05 -05:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
Matthew Flatt
c95a398754 move most of the 'scheme' collection to the 'racket' collection 2010-04-20 15:24:48 -06:00
Robby Findler
b54876e91c moved #lang line to top of the file
svn: r17493
2010-01-06 16:27:11 +00:00
Eli Barzilay
de17c5f7da moved planet test to tests/planet
svn: r16798
2009-11-16 07:23:20 +00:00
Eli Barzilay
3d60fe640b misc prop fixes
svn: r16374
2009-10-19 22:36:12 +00:00
Robby Findler
b0f64136bd added a little more logging output when removing a package and also fixed a few little things
svn: r13238
2009-01-20 17:25:53 +00:00
Robby Findler
99eafbc1b5 added some logging info to planet
svn: r13237
2009-01-20 17:18:04 +00:00
Eli Barzilay
824fba5b26 restore unmodified version
svn: r10769
2008-07-14 15:36:51 +00:00
Eli Barzilay
e78acf374f remove changed code
svn: r10768
2008-07-14 15:33:32 +00:00
Eli Barzilay
10e444a38a complete the switch to version/utils -- no need for any of this code
svn: r10760
2008-07-14 09:26:17 +00:00