[racket-dev] planet versioning spec?

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Tue Sep 6 13:02:50 EDT 2011

Did you see section 1.4 of the planet docs?

Also there are two bugs (both of which are in 5.1.3 I believe):

- one bug prevented planet from re-using downloaded packages; this has
been fixed

- the second bug prevented the linkage table from working (the bug's
result caused  just always ignored the linkage table). I kept that bug
by making it clear that linkage table isn't work (stubbing out the
code). I see I forgot to update the docs; I'll fix that.

I posted here about the second bug and no one replied so I took that
to mean that no one cared about this form of "automatic upgrade". Here
is the message:

  http://www.mail-archive.com/dev@racket-lang.org/msg03891.html

As for your specific questions, I don't think what you write is what
planet does, but maybe what you actually think is different (as I'm
not completely clear about what you mean); hopefully the above
clarifies...

Robby

On Tue, Sep 6, 2011 at 11:29 AM, Shriram Krishnamurthi <sk at cs.brown.edu> wrote:
> In the planet documentation, I don't see a spec of the semantics of
> versioning.  (If it's there, can someone please point me to it?)
>
> My understanding is this; can someone confirm or correct it?  (The
> #lang part probably isn't relevant, but since that's how I need to use
> it, I'm being maximally specific.)
>
> If I say
>
>  #lang planet foo/bar:1:1
>
> that presumably is an explicit reference to :1:1, no more and no
> fewer.  If I just say
>
>  #lang planet foo/bar
>
> I mean "the latest version of foo/bar that I've downloaded; don't go
> checking right now for whether there's a newer version".  So if
> foo/bar has moved on to :1:2, I'm still running :1:1.  But I say ONCE
>
>  #lang planet foo/bar:1:2
>
> that will download and install it; subsequently,
>
>  #lang planet foo/bar
>
> refers to :1:2.
>
> (I *think* this is part of what the section "Previous Linkage" says --
> http://docs.racket-lang.org/planet/search-order.html
> -- but not all of this is specified.)
>
> Shriram
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/dev
>



Posted on the dev mailing list.