[REBOL] Re: Bugs, patches and distributed systems
From: chalz::earthlink::net at: 25-Mar-2002 23:21
> 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
> ]
While initially reading about the REBOL [] block in a script a while back, I
remembered a list of 'suggested' fields to use, one of which being a Requires
block. In a perfect world, people would open up the scripts they were about to
run and give them a once-over, then verify that they have all that's required
and approve of the general operation. In a perfect world.
But yeah, that is a pretty quick and easy fix.
> 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
Which is frequently what you have to do right now anyways, unless people
agree to use similar setups, layouts, libraries etc ahead of time. This could
be another good place for the online library - scriptA and scriptB are working
together, each one requires different patch sets, each one can just call up the
patches it needs on the fly. Again, this requires being connected or having
easy local access to a copy of the DB... oy.
-C