[racket] info.rkt planet-version variable?
It sounds like a bad idea to me. Calling it 'planet-version' makes it
sound like it answers the question "who am I?", but the planet/version
library already provides a way to do that that avoids the obligation of
manually updating the definition after (or is it before?) every release
to PLaneT. If the intent is instead "who am I meant to be?", say as a
hint to a link manager, the name should reflect that.
Ryan
On 01/04/2012 01:48 AM, Neil Van Dyke wrote:
> Would it be a good idea to officially add to "info.rkt" a
> "planet-version" variable, which indicates that the directory tree
> corresponds to a particular PLaneT package and version?
>
> For example:
>
> (define planet-version 'joebob/soundex:1:=2)
>
> The "=" in this example is optional.
>
> I currently use an unofficial variable like this (called
> "mcfly-planet"), in generating PLaneT package documentation, and for
> managing development links. I plan to also use this variable for making
> uploads to PLaneT with some safety checks.
>
> Perhaps other tools would also like to use this information. And perhaps
> they'd prefer to use an official variable, not an ad-hoc variable that's
> named specific to my documentation tool.
>
> If there's going to be an official "planet-version" variable, I'd like
> to start using it. Or I can keep using "mcfly-planet" or something
> unofficial-looking like that.
>