Eclectic Rubbish (foobar) wrote in lj_textmessage,
Eclectic Rubbish
foobar
lj_textmessage

  • Music:

REQUEST FOR ALL CODE SUBMISSIONS

If you aren't changing the core of LJ::Textmessage itself, but just submitting a new provider section, I'd prefer if you'd send it to me ( lj_textmessage@livejournal.com ) as two separate files, one as providername.specs and one as providername.do. You can post questions and code up on here if you'd like, for code reviews, to get help with something tricky, etc. However, I'm going to insist for now that any official submissions get emailed to me at the address above. I'm not trying to keep them secret, I'm trying to keep my job manageable. :)

In other words, if I was submitting info for Foobar Text Paging Incorporated to myself, I'd send two files that looked something like this:

foobar.specs:

'foobar' => {
  'name' => 'Foobar Text Paging Inc',
  'notes' => 'notes go here',
  'fromlimit' => 54,
  'msglimit' => 14632,
  'totlimit' => 7,
},

foobar.do:

elsif ( $provider eq "foobar" ) {
  send_mail($self, {
    'to' => "$self->{'number'}\@foobarpagers.com",
    'from' => "$msg->{'from'}",
    'body' => $msg->{'message'},
  });
}

I'm planning on writing a script to automatically load in the code you send me (and that I write myself) and in order to do that I need to have them broken up like that. I'm trying to make the maintenance process as simple as possible... just trust me on this one. :)

Thanks!

P.S. Changes to the LJ::Textmessage core can be sent as diffs of the latest version. At some point I may be breaking the core into multiple chunks as above and then diffs can just be sent of the appropriate chunk. Until then, a diff of your version and the latest posted, or your entire revision, will be accepted.

Subscribe
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 2 comments