leif
2017-7-21 20:15:34

You can use the #:version keyword to specify a min version. Is there any easy way to specify a max version?


lexi.lambda
2017-7-21 20:18:07

Not only is there not an easy way, there is no way at all.


leif
2017-7-21 20:34:38

@lexi.lambda Hmm…welp lol


leif
2017-7-21 20:35:16

Looks like I’ll have to catch that at runtime instead then. That sucs.


leif
2017-7-21 20:35:19

sucks*


leif
2017-7-21 20:35:28

(And is also really bad. :confused: )


lexi.lambda
2017-7-21 20:37:13

The correct policy, according to the current package system policies, is to never break backwards compatibility. That way, there’s never any reason to have a max version.


lexi.lambda
2017-7-21 20:37:26

I make no comment on whether or not I find that policy reasonable.


leif
2017-7-21 20:41:58

Ya….that’s not ganna fly.


leif
2017-7-21 20:42:16

FFmpeg, for example, WILL break backwards compatibility, on major version updates.


leif
2017-7-21 20:42:32

(Minor ones will only add functionality, not breaking anything.)


leif
2017-7-21 20:42:46

As such, the only thing I can think of is to make a ffmpeg package for every version.


lexi.lambda
2017-7-21 20:42:46

Then, according to the current package system policy, you should make a new (Racket) package for each breaking version of FFmpeg.


leif
2017-7-21 20:43:01

Well fun.



leif
2017-7-21 20:45:40

Welp great.


leif
2017-7-21 20:46:09

So basically the official policy is to flood the package server with slightly different versions of ffmpeg.


leif
2017-7-21 20:46:19

(whenever they break compatibility anyway.)


leif
2017-7-21 20:46:43

I guess at worst, it’ll be ~200 packages.