What happens to the version in info.rkt?

Does a foo2 package have version "2.x" in info.rkt?

Or does it get reset to "1.x"?  (On the theory that there's no such
thing as a backward-incompatible version of a package, just a new
package. And on the assumption a major version change implies
backward-incompatible.)

Both answers seem slightly weird to me. I suppose the first one seems
less weird.


On Mon, Aug 31, 2015 at 9:35 AM, Jay McCarthy <[email protected]> wrote:
> I wouldn't say there is or has been a policy. There's advice based on
> what the release process packages do.
>
> Generally, adding a new export or module is not considered
> incompatibility. (Although technically it is, because it could reduce
> the set of other packages that can be simultaneously installed.)
>
> Once you've committed to compatibility (by labeling a package with
> version "1.0"), then any incompatible change should end up in a new
> package/module, because at that point there's really no meaningful
> connection between the old code and the new code, except maybe similar
> purpose.
>
> I think in the case of gregor, since interface was removed, then it is
> "incompatible" in the sense we normally mean in Racket. I think it
> would come down to whether it was ever at 1.0 and whether it had
> actually been used by anyone.
>
> Jay
>
> On Mon, Aug 31, 2015 at 10:27 AM, Neil Van Dyke <[email protected]> wrote:
>> What's the current new package system policy on non-backward-compatible
>> changes in a package version?
>>
>> I think, originally, it was that a non-backward-compatible package had to
>> use a different name (say, package `foo` must then be released as under the
>> package name `foo2`).  I don't know whether that's the current policy.
>>
>> (I'm not picking on this interesting-sounding calendar library. Just
>> wondering about the general question, since I haven't decided how to version
>> my own packages in the new package system.)
>>
>> Neil V.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Racket Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/racket-dev/55E46464.3070603%40neilvandyke.org.
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> Jay McCarthy
> http://jeapostrophe.github.io
>
>            "Wherefore, be not weary in well-doing,
>       for ye are laying the foundation of a great work.
> And out of small things proceedeth that which is great."
>                           - D&C 64:33
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Racket Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/racket-dev/CAJYbDano0BxJJ19RN6%3Df7mh%2BZHnM-%3D1zJ-4PqDA63S%3DGt0JQZg%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-dev/CAGspUn0q5%2BOjk4AEg%2BaT7FFbmReHX-1gGoEhZGskUppaGTcztw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to