[Build-common-hackers] Bug#725950: Bug#725950: Bug#725950: cdbs: allow version ranges in DEB_AUTO_UPDATE_foo
IOhannes m zmoelnig
zmoelnig at iem.at
Wed Jan 15 16:38:35 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
On 2013-11-30 07:09, Vasudev Kamath wrote:
> IOhannes m zmölnig <zmoelnig at iem.at> writes:
> Hi IOhannes,
sorry, it seems that i never replied to this.
could have saved some brain power...
>> On 2013-10-10 17:19, Jonas Smedegaard wrote:
>>> Great approach!
>>> I've wanted to deal with this for some time but wanted and
>>> approach that was backporting-friendly, which this could be.
>>> I am pretty bogged down currently - will you try implement it?
>> attached is an attempt. i don't dare to push that directly to
> I just checked the patch but I'm not clear how this new feature
> should be used commit message says semicolon but eg shows usage of
> comma instead.
yes, i mixed up the two. it should have read comma.
> I installed the patched version and did following
> DEB_AUTO_UPDATE_AUTOMAKE = ,12
> I was expecting it to generate automake (>= 1:1.12) but instead
> generated version was automake (<= 12)
the idea is, that the comma delimits the lower (left-side) and the
upper (right-side) version of the b-d.
so "5,9" can be read as "at least version 5, but no more than version
9" so it would result in a versioned B-D "automake (>= 5), automake (<=9)"
otoh ",12" can be read as "i don't care about the lower version
boundary, but the version must not be higher than '12'", resulting in
"automake (<= 12)".
> which seems to me as wrong because there is no such version in
currently, no checks are performed whether the requested versions are
actually in the archive.
i don't think that this is necessarily false: if a package requires an
(say) automake version between 1.3 and 1.7 and none of these are
currently packaged, then the package correctly won't be able to build.
but i guess you figured that out already...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/
-----END PGP SIGNATURE-----
More information about the Build-common-hackers