Closed GoogleCodeExporter closed 8 years ago
There is no way to do that right now without writing some extra code and
modifying the server. I think the best way would be to make the contest_id
optional in the gcj_init_contest.py script and, if it not specified, ask the
server the id of the running contest. If there is no running contest, fail with
an user error.
I'm assigning a medium priority to this, if I don't need to modify the server I
will do it. Otherwise, I'm move it to the low priority queue.
Original comment by jor...@google.com
on 11 May 2011 at 8:47
I found a way to get the current contest from the server without scraping the
site. A fix is on the way for this. For the next version, if no contest_id is
specified for ./gcj_init_contest.py the tool will try to get the id of the
current contest and initialize the tool for it (if there is no current contest
the user will get an error message).
Original comment by jor...@google.com
on 11 May 2011 at 11:13
The tool now autodetects the current contest if no contest is specified.
Original comment by jor...@google.com
on 12 May 2011 at 5:39
I uploaded this change to the svn repository, you can download a new version
from it if you wish.
Original comment by jor...@google.com
on 12 May 2011 at 6:40
Original issue reported on code.google.com by
veltzerd...@gmail.com
on 11 May 2011 at 5:46