Not to "to knock 'em when they're down", but since it seems that the CIA.vc
service has officially closed recently (cannot find exactly when did that
happen), I think it's worthwhile offering this little project we (dam@,
gregoa@, and me) have since a few years ago, called KGB (ha-ha).
It's a very simple and dumb client-server architecture: IRC bots running in
our personal servers listen for SOAP messages sent by kgb-clients called
from post-commit hooks in repos out there. The bot just relays and formats
a message, nothing fancier than that.
So, if you're looking for a simple IRC notification of your commits, this
might be of help.
You can either run your own bot (debian package kgb-bot), or use ours. As
for the client, alioth does not have it installed, but you can run it off
/home/groups/kgb. There's a sample configuration there too. In
/home/groups/pkg-perl/meta/pkg-perl-post-receive you can see how to use it
from a post-commit hook.
If you rather use our bots, we'll need you to provide: a project/repository
name, an IRC channel, and a password (used to avoid spam, not really
secure).
--
Martín Ferrari
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAL60Pd_7zoPk4w4rta49-jymxzKOU+K7DdqZUiqsP32KZ9bQBA@mail.gmail.com">http ://lists.debian.org/CAL60Pd_7zoPk4w4rta49-jymxzKOU+K7DdqZUiqsP32KZ9bQBA@mail.gmail.com
09-27-2012, 11:08 PM
Andrey Rahmatullin
CIA going down: KGB wants your commits!
On Thu, Sep 27, 2012 at 11:52:52PM +0100, Martín Ferrari wrote:
> Not to "to knock 'em when they're down", but since it seems that the CIA.vc
> service has officially closed recently (cannot find exactly when did that
> happen)
http://shadowm.rewound.net/blog/archives/245-CIA.vc-is-dead.html
http://pastebin.com/9RBBniM1
--
WBR, wRAR
09-28-2012, 12:18 AM
Paul Wise
CIA going down: KGB wants your commits!
On Fri, Sep 28, 2012 at 6:52 AM, Martín Ferrari wrote:
> Not to "to knock 'em when they're down", but since it seems that the CIA.vc
> service has officially closed recently (cannot find exactly when did that
> happen), I think it's worthwhile offering this little project we (dam@,
> gregoa@, and me) have since a few years ago, called KGB (ha-ha).
Seems like ESR has been working on a less centralised replacement for a while:
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAKTje6GdYkQqpfV9u5hqgKx9zu2W_je1DjO0KJLAnWHhunYMF w@mail.gmail.com">http://lists.debian.org/CAKTje6GdYkQqpfV9u5hqgKx9zu2W_je1DjO0KJLAnWHhunYMF w@mail.gmail.com
09-28-2012, 12:35 AM
Joey Hess
CIA going down: KGB wants your commits!
Martín Ferrari wrote:
> If you rather use our bots, we'll need you to provide: a project/repository
> name, an IRC channel, and a password (used to avoid spam, not really
> secure).
d-i would like to use your bots, but we have an ever-changing list of
repositories. It'd be wrong to centralize the list of them in a bot's
config file. Any thoughts?
--
see shy jo
09-28-2012, 12:44 AM
Martín Ferrari
CIA going down: KGB wants your commits!
(you have a really weird reply-to )
On Fri, Sep 28, 2012 at 1:35 AM, Joey Hess <joeyh@debian.org> wrote:
> d-i would like to use your bots, but we have an ever-changing list of
> repositories. It'd be wrong to centralize the list of them in a bot's
> config file. Any thoughts?
For KGB the concept of a repository is a bit fuzzy. It is just the
unit it uses to separate access control (password), channels to
broadcast to, and a word in the commit notification. But you can use
one of these for hundreds of repos, like pkg-perl does: all the git
repos (one per package) use the same client config, and just add a
module parameter derived from the path.
Would that be enough for you?
--
Martín Ferrari
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAL60Pd8_+ghw83TgCjHNQ0OozJC09t8h9vhogdgKKGi7ECikj w@mail.gmail.com">http://lists.debian.org/CAL60Pd8_+ghw83TgCjHNQ0OozJC09t8h9vhogdgKKGi7ECikj w@mail.gmail.com
09-28-2012, 12:48 AM
Joey Hess
CIA going down: KGB wants your commits!
Martín Ferrari wrote:
> (you have a really weird reply-to )
I do? I see no such header..
> For KGB the concept of a repository is a bit fuzzy. It is just the
> unit it uses to separate access control (password), channels to
> broadcast to, and a word in the commit notification. But you can use
> one of these for hundreds of repos, like pkg-perl does: all the git
> repos (one per package) use the same client config, and just add a
> module parameter derived from the path.
>
> Would that be enough for you?
If the module parameter is displayed on IRC, then yes.
I must be missing how to do that for git, as I just filed a bug about it. :/
--
see shy jo
09-28-2012, 01:01 AM
gregor herrmann
CIA going down: KGB wants your commits!
On Thu, 27 Sep 2012 20:48:23 -0400, Joey Hess wrote:
> > For KGB the concept of a repository is a bit fuzzy. It is just the
> > unit it uses to separate access control (password), channels to
> > broadcast to, and a word in the commit notification. But you can use
> > one of these for hundreds of repos, like pkg-perl does: all the git
> > repos (one per package) use the same client config, and just add a
> > module parameter derived from the path.
> > Would that be enough for you?
> If the module parameter is displayed on IRC, then yes.
> I must be missing how to do that for git, as I just filed a bug about it. :/
if [ -e $BASE/KGB-notifications-disabled ]; then
echo "KGB notifications disabled"
else
cat hooks/reflog |
PERL5LIB=$KGB/lib $KGB/script/kgb-client --conf $CONF
--repository git --git-reflog - --module $PKG
fi
1b) /home/groups/pkg-perl/kgb-client.conf
---
repo-id: 'pkg-perl'
# first capture is branch name, second capture is module name
branch-and-module-re:
- "/(trunk|tags|apps|attic)/([^/]+)"
- "/branches/([^/]+)/([^/]+)"
- "/()(scripts)/"
ignore-branch: trunk
timeout: 7
password: 12345
servers:
# dam, KGB-0
- uri: http://dam.homelinux.net:9418/
# gregoa, KGB-2
- uri: http://colleen.colgarra.priv.at:8080/
# Tincho, KGB-1
- uri: http://abhean.mine.nu:9418/
status-dir: /home/groups/pkg-perl/kgb-client-status
2) Server side:
[..]
repositories:
# just a name to identify it
pkg-perl:
# needs to be the same on the client
password: 12345
channels:
- name: '#debian-perl'
network: oftc
repos:
- pkg-perl
[..]
(last commit in one of our repos, in this case eekboek)
Cheers,
gregor
--
.'`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
: :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: Ryan Adams: Gimme A Sign
09-28-2012, 05:49 AM
Tollef Fog Heen
CIA going down: KGB wants your commits!
]] Martín Ferrari
> You can either run your own bot (debian package kgb-bot), or use ours. As
> for the client, alioth does not have it installed, but you can run it off
> /home/groups/kgb.
It's installed now.
--
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 877gren1df.fsf@xoog.err.no">http://lists.debian.org/877gren1df.fsf@xoog.err.no
09-29-2012, 08:13 PM
Josselin Mouette
CIA going down: KGB wants your commits!
Le vendredi 28 septembre 2012 à 07:49 +0200, Tollef Fog Heen a écrit :
> > You can either run your own bot (debian package kgb-bot), or use ours. As
> > for the client, alioth does not have it installed, but you can run it off
> > /home/groups/kgb.
>
> It's installed now.
Thanks to everyone involved for being so helpful. This was an easy
migration and the functionality is back.
--
.'`. Josselin Mouette
: :' :
`. `'
`-
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/1348949622.13271.23.camel@tomoyo