Re: [racket] install-pkg

2010-06-20 Thread Eli Barzilay
On Jun 20, Robby Findler wrote: > Yes, that's the right place; it appears to the results of a recent > nightly build (not one with the change I pushed today tho). Yes, a new build happens once every day, starting around 4am EST. > It still needs to be updated to the new website, tho. Not sure wh

Re: [racket] install-pkg

2010-06-20 Thread Robby Findler
Yes, that's the right place; it appears to the results of a recent nightly build (not one with the change I pushed today tho). It still needs to be updated to the new website, tho. Not sure when that's going to happen; I'll alert the relevant folks. Thanks, Robby On Sun, Jun 20, 2010 at 12:29 PM

Re: [racket] install-pkg

2010-06-20 Thread Laurent
On Sun, Jun 20, 2010 at 18:25, Robby Findler wrote: > On Sun, Jun 20, 2010 at 7:51 AM, Robby Findler > wrote: > > On Sun, Jun 20, 2010 at 4:19 AM, Laurent > wrote: > >> That worked, but there is one annoying thing: it recompiled *all* the > >> dependencies, including the whole Racket... > >> Is

Re: [racket] install-pkg

2010-06-20 Thread Robby Findler
On Sun, Jun 20, 2010 at 7:51 AM, Robby Findler wrote: > On Sun, Jun 20, 2010 at 4:19 AM, Laurent wrote: >> That worked, but there is one annoying thing: it recompiled *all* the >> dependencies, including the whole Racket... >> Is there a way to avoid this with this function? > > This is a bad int

Re: [racket] install-pkg

2010-06-20 Thread Robby Findler
On Sun, Jun 20, 2010 at 4:19 AM, Laurent wrote: > That worked, but there is one annoying thing: it recompiled *all* the > dependencies, including the whole Racket... > Is there a way to avoid this with this function? This is a bad interaction between drracket's automatic compilation setup and the

Re: [racket] install-pkg

2010-06-20 Thread Laurent
On Sun, Jun 20, 2010 at 11:55, Laurent wrote: > I also used `remove-pkg', but it also seemed to recompile more than needed > (although a lot less than install-pkg). This time I did not stop it. > It removed the package, but then when I tried to re-execute the file where > which holds my call to r

Re: [racket] install-pkg

2010-06-20 Thread Laurent
I also used `remove-pkg', but it also seemed to recompile more than needed (although a lot less than install-pkg). This time I did not stop it. It removed the package, but then when I tried to re-execute the file where which holds my call to remove-pkg, I get the following error: procedure get-com

Re: [racket] install-pkg

2010-06-20 Thread Laurent
> Also, there should be somewhere in this function call where I should have > put my username I guess, but where? > > [...] >(get-package-spec "planet" ; no need to change that I suppose ? > > Hmm, I changed "planet" to my username, which is made obvious in your documentation... But it still r

Re: [racket] install-pkg

2010-06-20 Thread Laurent
On Sat, Jun 19, 2010 at 23:30, Robby Findler wrote: > It isn't clear to me why the functions are doing what they are doing > in some of the details, but I've documented the relevant missing ones > (now pushed, also as below). Here is an example to help you get going. > > #lang racket > (require pl

Re: [racket] install-pkg

2010-06-19 Thread Robby Findler
It isn't clear to me why the functions are doing what they are doing in some of the details, but I've documented the relevant missing ones (now pushed, also as below). Here is an example to help you get going. #lang racket (require planet/util) (install-pkg (get-package-spec "planet"

[racket] install-pkg

2010-06-19 Thread Laurent
Hi, Is there a function in planet/util that does the same job as "fileinject"? There is a remove-pkg function but I don't see a install-pkg. Actually, I found one such (undocumented) function in "resolver.rkt", but I'm not sure how to use the 'pkg' argument : (install-pkg pkg path maj min) Can a