Skip to content

Instantly share code, notes, and snippets.

@sarahhodne
Created March 18, 2009 15:09
Show Gist options
  • Save sarahhodne/81172 to your computer and use it in GitHub Desktop.
Save sarahhodne/81172 to your computer and use it in GitHub Desktop.
16:03 -!- Dvyjones [[email protected]] has joined #cbapi
16:03 [Users #cbapi]
16:03 [@Crispy] [ CobiBot] [ Dvyjones]
16:03 -!- Irssi: #cbapi: Total of 3 nicks [1 ops, 0 halfops, 0 voices, 2 normal]
16:03 -!- Channel #cbapi created Wed Mar 18 16:02:38 2009
16:03 -!- mode/#cbapi []
16:03 -!- Channel #cbapi created Wed Mar 18 16:02:38 2009
16:03 -!- Irssi: Join to #cbapi was synced in 1 secs
16:03 < Dvyjones> =D
16:03 -!- grawity [[email protected]] has joined #cbapi
16:03 * Dvyjones was first =D
16:03 * grawity looks around.
16:03 <@Crispy> Well, here are the relevant remctl commands:
16:03 <@Crispy> remctl irc.api.cluenet.org irc cluebot dumpheader
16:03 <@Crispy> remctl irc.api.cluenet.org irc cluebot dump
16:03 <@Crispy> remctl irc.api.cluenet.org irc cluebot dump Crispy,Cobi,Dvyjones
16:03 <@Crispy> remctl irc.api.cluenet.org irc cluebot points
16:03 <@Crispy> remctl irc.api.cluenet.org irc cluebot points Crispy,Cobi,Dvyjones
16:03 <@Crispy> remctl irc.api.cluenet.org irc cluebot
16:03 * Dvyjones stares at grawity, who ignites.
16:03 <@Crispy> I'll work on an anonymous web gateway for them.
16:03 < grawity> What does the last one do?
16:03 <@Crispy> Prints usage info.
16:04 < Dvyjones> =D
16:04 <@Crispy> Do the dumpheader one first, and tell me if you have any questions about any of the fields.
16:04 <@Crispy> Mostly, they're just equivalent to the various things in .whois.
16:04 -!- LordLandon [[email protected]] has joined #cbapi
16:04 <@Crispy> It's a complete dump of the whole db.
16:04 * Dvyjones looks at http://packages.ubuntu.com/hardy-backports/python/python-remctl
16:05 < Dvyjones> Ooo, now I can check when I got on ClueNet =D
16:05 <@Crispy> Dvyjones: If you're going to be using remctl directly, you'll need a principal to authenticate as, and I don't want you storing your
password in a keytab.
16:05 < Dvyjones> =P
16:05 * Dvyjones doesn't want to store his password either...
16:06 <@Crispy> So, I'll give you a choice: Wait until the web portal is done, or let me figure out now how to make an anonymous principal for you to use.
16:06 < grawity> Crispy: 1) Isn't the (Verbose|VDeductions|VLog)Setting supposed to be private? 2) What does OLDLameAbbreviations mean? 3) How about sending
zeros for empty values?
16:07 < Dvyjones> =P
16:07 <@Crispy> 1. There's no reason it has to be private that I'm aware of.
16:07 < grawity> 1. It's a user setting. There's no reason it has to be public that I'm aware of.
16:07 <@Crispy> 2. That's just a field in the database that used to be used but no longer is. I included it for ... pretty much no reason.
16:07 <@Crispy> 3. There's a difference between 0 and empty.
16:07 < Dvyjones> 0 != nil
16:07 < Dvyjones> =P
16:07 <@Crispy> I made this as a database dumping tool.
16:08 * LordLandon too late >=
16:08 < Dvyjones> LordLandon: Gimme a sec, I'll paste
16:08 <@Crispy> It dumps the database, and it's a public database.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment