[REBOL] Re: Bugs, patches and distributed systems
From: sunandadh:aol at: 25-Mar-2002 9:51
Hallvard:
> Patches alone won't do, because we need to specify what version of rebol
our
> programs will work on.
I've run into that problem myself -- someone started telling me an
application was failing for no reason I could duplicate. It turned out they'd
accidentally gone back to using View1.2.0 rather than 1.2.1. I added these
lines at the top of the application to detect the version needed:
if "1.2.1" > copy/part to-string system/version 5
[request/ok "Sorry. We need at least Version 1.2.1 of Rebol"
quit
]
If you have concerns about running the right version, this is an easy fix --
though I agree RT could come up with something more elegant.
Distributed systems will also come across the problem where my code executes
one of your scripts but our scripts disagree on what patches/versions we
need. I don't see any easy solution for that other than one of us makes our
code compatible with the other's
Sunanda.