X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail-ew0-f225.google.com (mail-ew0-f225.google.com [209.85.219.225]) by lists.alpinelinux.org (Postfix) with ESMTP id 2BE4D1EB588 for ; Wed, 30 Dec 2009 15:30:07 +0000 (UTC) Received: by ewy25 with SMTP id 25so14645466ewy.25 for ; Wed, 30 Dec 2009 07:30:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=knYx5ettHVh8LZWrhA8XmnFeTBoo/cNjhwS2B6eUeXY=; b=jMHukncwEuEYrqzN1td96TapETSSJYOrvVI8jkOTr3CebO19zGk/96wnHOTI+IhjBy aRJeoT7FKJj1fsFFmcUmBQ+uPXZLjC8Wt4oO2hQ/NKz8hekU0fY+GeEx+hfblYlzwopv HfIvtdqDv9KGj/FK5g3pRnGVz8YeFZuiuJtis= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=tekBhN9wYuhaUJCkn91DVZp3uQiID4AMM1oN7aI2Ynp//rR/l/nE/SRxyeK+a4K9UP K9hrbecYwS/RruD0RfxYGQAtIhcZijHdbusroD1W5QZBDIStEwC4A5N85faSxxcsrubq d6T66A/GeLy9vcIGPFA4NL/G99XGRtMx8pWpk= Received: by 10.213.2.81 with SMTP id 17mr7353892ebi.83.1262187006367; Wed, 30 Dec 2009 07:30:06 -0800 (PST) Received: from ?10.65.65.1? (245.39.189.109.customer.cdi.no [109.189.39.245]) by mx.google.com with ESMTPS id 15sm9600251ewy.8.2009.12.30.07.30.05 (version=SSLv3 cipher=RC4-MD5); Wed, 30 Dec 2009 07:30:05 -0800 (PST) Subject: [alpine-devel] build box update From: Natanael Copa To: Alpine Developers Content-Type: text/plain; charset="UTF-8" Date: Wed, 30 Dec 2009 16:30:05 +0100 Message-ID: <1262187005.8625.1464.camel@ncopa-desktop.nor.wtbts.net> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 Content-Transfer-Encoding: 7bit Hi, I had some issues with my ssh/pipes based autobuilder. It got disconnected for some reason once in a while. After reading a bit about message brokers and looking at the options out there I figured that IRC is the perfect message protocol. And we push commit messages there (via CIA) there anyways. But sedning messages via cia isnt perfect as it communicates with cia via mail. So I ended up write yet another IRC bot, based on the current buildozerd code: sircbot It attatches to IRC server, connects to the given channels and creates fifo's for each joined channel. Everything written to the fifo is sent to the channel. So then the git hook just needs to echo $msg > $fifo and we get the message on the irc channel. Works alot faster than CIA. While I was there I also made it possible to run hooks on each message that shows up on the subscribed channel. its just a run-parts with message as parameter. That was what was needed to trigger build of repos on the build box. So now git.a.o will send a message to build box via #alpine-devel on freenode :) oh, while there, i had algitbot to fetch git commits and bugs on request -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---