[racket] Should `raco pkg update <x>` presume --update-deps?

From: Sam Tobin-Hochstadt (samth at cs.indiana.edu)
Date: Mon Nov 11 14:20:12 EST 2013

On Mon, Nov 11, 2013 at 2:10 PM, Jay McCarthy <jay.mccarthy at gmail.com> wrote:
> The original problem looks like an error where '(markdown 0.5) wasn't
> stripped down to 'markdown.
>
> As for the prompting issue, I think that just means the 'rwind'
> package is bad in that it doesn't check for the presence of the files
> before prompting.

It's certainly possible that it does this already.  I was just using
this as an example of install-time computation that I wouldn't
necessarily want done at update-time.

In general, 'remove + install = update' implies a level of
transactionality that I worry it's very hard to achieve.

Sam

>
> Jay
>
> On Mon, Nov 11, 2013 at 12:03 PM, Sam Tobin-Hochstadt
> <samth at cs.indiana.edu> wrote:
>> On Mon, Nov 11, 2013 at 1:59 PM, Robby Findler
>> <robby at eecs.northwestern.edu> wrote:
>>> That doesn't sound like the right conclusion to me from this particular
>>> evidence. I'm not sure if I'm falling for the "easy semantics" dream here,
>>> but "update = remove + install" sounds really nice. (So would "update =
>>> remove + remove-all-deps + install" tho. :)
>>
>> Here's another data point for why I think this is problematic: the
>> `rwind` package prompts the user and installs some config files when
>> installed. Updating it shouldn't run this again just to update some of
>> the code.
>>
>> Sam
>
>
>
> --
> Jay McCarthy <jay at cs.byu.edu>
> Assistant Professor / Brigham Young University
> http://faculty.cs.byu.edu/~jay
>
> "The glory of God is Intelligence" - D&C 93

Posted on the users mailing list.