[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian Games Parties!



On Mon, Apr 13, 2009 at 06:30:15PM +0200, Christoph Egger wrote:
> > Sounds good.  Can it do the other way as well, spawning the script with
> > a line of text (from IRC) on the commandline, for example?  Then it
> > would be possible to make claims from IRC as well.
> 
> 	It's tecnically no problem. The only thing that needs to be done is
> composing the correct POST data.

If you just pass the line somehow and give a signal that it isn't
spawned by the web server (for example by giving a commandline
argument, which can be that line), the script can just not try to read
the POST data and instead use that line.

> 	I have absolutely no problem with running the bot on alioth. But I'm
> not sure the alioth Admins let me have some python script running in an
> screen session for an day or so (the required python-irclib is just one
> file one can copy along so no installing needed).

As it's going to use your account and is pretty low-traffic (I suppose),
I don't think they'll have a problem with it.  But it would be good to
ask them. :-)

> > Statename is used elsewhere as well.  It's better to make it a global to
> > avoid redundancy (these names will actually be changed, there's a
> > request already).
> 
> 	It's actually copied from the other occurence. I wanted to reduce the
> changes on the actual code while testing.

That makes sense. :-)

Thanks,
Bas

-- 
I encourage people to send encrypted e-mail (see http://www.gnupg.org).
If you have problems reading my e-mail, use a better reader.
Please send the central message of e-mails as plain text
   in the message body, not as HTML and definitely not as MS Word.
Please do not use the MS Word format for attachments either.
For more information, see http://a82-93-13-222.adsl.xs4all.nl/e-mail.html

Attachment: signature.asc
Description: Digital signature


Reply to: