Version be treated as a integer!!!
How to give a integer to koji as string ???
Is it a bug of koji ???
Thanks.
[zhongwenjia@build ~]$ koji call createEmptyBuild nvidia 1 1.3 None
Fault: <Fault 1: "<class 'pg.DatabaseError'>: error 'ERROR:
operator does
not exist: text = integer\nLINE 2: WHERE pkg_id=9170 AND version=1 AND
release='1.3'\n ^\nHINT: No
operator matches the given name and argument type(s). You might need to add
explicit type casts.\n' in 'SELECT id,state,task_id FROM build\n WHERE
pkg_id=9170 AND version=1 AND release='1.3'\n FOR UPDATE'">
[zhongwenjia@build ~]$ koji call createEmptyBuild nvidia 1.0 1.3 None
18340
2011/4/4 Mike McLean <mikem(a)redhat.com>
On 04/02/2011 01:55 AM, Eric Zhong wrote:
> if version is a number , not string , how to do it ?
> what is epoch argument ? Default is NULL. How to give a NULL value ?
Epoch values must be integer or null. When using the call command, you
can specify a python None value (which maps to null in the db) by name.
E.g.
# koji call createEmptyBuild nvidia 1 1.3 None
--
buildsys mailing list
buildsys(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys