[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Checking for rocks up
- From: Tomas Guisasola Gorham <tomas@...>
- Date: Tue, 2 Apr 2013 08:15:01 -0300 (BRT)
On Wed, 27 Mar 2013, Hisham wrote:
* Rock X has a new version 2.0, which is incompatible with previous
version 1.5. Rock Y depended on rock X, but it didn't specify a
version (or it was optimistic and asked for "X >= 1.0"). Rock Y
doesn't have an updated version yet which is compatible with X 2.0.
Now rock Y is broken.
I thought that a move from 1.5 to 2.0 is an upgrade (which can
include incompatibilities) while a move from 1.5 to 1.5.1 is an update
(which should only correct bugs). LuaRocks could use a more strict
definition of the version number and provide a simple way to update
packages based on the third number. The Lua team follows this rule,
thus it does not seem to break too much code around.