From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SOX8s-0006rs-1q for garchives@archives.gentoo.org; Sun, 29 Apr 2012 16:38:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 219D9E064C; Sun, 29 Apr 2012 16:38:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D7D46E064C for ; Sun, 29 Apr 2012 16:38:26 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 48FFA1B4019 for ; Sun, 29 Apr 2012 16:38:26 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id DF447E5403 for ; Sun, 29 Apr 2012 16:38:24 +0000 (UTC) From: "Magnus Granberg" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Magnus Granberg" Message-ID: <1335717494.a61dd904063c8ebf15984102de5320a02895ce02.zorry@gentoo> Subject: [gentoo-commits] dev/zorry:master commit in: gobs/bin/ X-VCS-Repository: dev/zorry X-VCS-Files: gobs/bin/gobs_host_jobs X-VCS-Directories: gobs/bin/ X-VCS-Committer: zorry X-VCS-Committer-Name: Magnus Granberg X-VCS-Revision: a61dd904063c8ebf15984102de5320a02895ce02 X-VCS-Branch: master Date: Sun, 29 Apr 2012 16:38:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 52510421-abd5-4101-8af9-4a2687fcf4ea X-Archives-Hash: 79723542cbc8ec09e97de8be54684318 commit: a61dd904063c8ebf15984102de5320a02895ce02 Author: Magnus Granberg gentoo org> AuthorDate: Sun Apr 29 16:38:14 2012 +0000 Commit: Magnus Granberg gentoo org> CommitDate: Sun Apr 29 16:38:14 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Ddev/zorry.git;a=3D= commit;h=3Da61dd904 adding add/del build querys for configs part2 --- gobs/bin/gobs_host_jobs | 40 ++++++++++++++++++++-------------------- 1 files changed, 20 insertions(+), 20 deletions(-) diff --git a/gobs/bin/gobs_host_jobs b/gobs/bin/gobs_host_jobs index 09189d7..721351e 100755 --- a/gobs/bin/gobs_host_jobs +++ b/gobs/bin/gobs_host_jobs @@ -50,26 +50,26 @@ def main(): else: update_job_list(conn, "Fail", job[1]) logging.info("Job %s did fail. Config: %s", job[0], config_profile) - elif job[0] =3D=3D "addbuildquery": - update_job_list(conn, "Runing", job[1]) - logging.info("Job %s is runing. Config: %s", job[0], config_profile= ) - result =3D add_buildquery_main(config_profile) - if result is True: - update_job_list(conn, "Done", job[1]) - logging.info("Job %s is done. Config: %s", job[0], config_profile) - else: - update_job_list(conn, "Fail", job[1]) - logging.info("Job %s did fail. Config: %s", job[0], config_profile= ) - elif job[0] =3D=3D "delbuildquery": - update_job_list(conn, "Runing", job[1]) - logging.info("Job %s is runing. Config: %s", job[0], config_profile= ) - result =3D del_buildquery_main(config_profile) - if result is True: - update_job_list(conn, "Done", job[1]) - logging.info("Job %s is done. Config: %s", job[0], config_profile) - else: - update_job_list(conn, "Fail", job[1]) - logging.info("Job %s did fail. Config: %s", job[0], config_profile= ) + elif job[0] =3D=3D "addbuildquery": + update_job_list(conn, "Runing", job[1]) + logging.info("Job %s is runing. Config: %s", job[0], config_profile) + result =3D add_buildquery_main(config_profile) + if result is True: + update_job_list(conn, "Done", job[1]) + logging.info("Job %s is done. Config: %s", job[0], config_profile) + else: + update_job_list(conn, "Fail", job[1]) + logging.info("Job %s did fail. Config: %s", job[0], config_profile) + elif job[0] =3D=3D "delbuildquery": + update_job_list(conn, "Runing", job[1]) + logging.info("Job %s is runing. Config: %s", job[0], config_profile) + result =3D del_buildquery_main(config_profile) + if result is True: + update_job_list(conn, "Done", job[1]) + logging.info("Job %s is done. Config: %s", job[0], config_profile) + else: + update_job_list(conn, "Fail", job[1]) + logging.info("Job %s did fail. Config: %s", job[0], config_profile) repeat =3D False CM.putConnection(conn) time.sleep(60)