Modify IRC notifier outputBRL-CAD
Status: ClosedTime to complete: 48 hrs Mentors: Sean, ErikTags: Lisp, Scheme, IRC, formatting

We have an IRC notification service (an IRC bot) that make announcements to our #brlcad IRC channel on Freenode.  The service was recently set up to even post GCI notifications, but right now they're very verbose:

GCI: Sean has left the following comment at Create an RTWizard screenshot http://www.google-melange.com/gci/task/view/google/gci2012/8034204:   that's not rtwizard   You made a screenshot of 'mged', but that's the wrong application...

We'd like that to be just a little bit more concise, something like this:

GCI:Sean * 8034204 Create an RTWizard screenshot: that's not rtwizard - You made a screenshot of 'mged', but that's the wrong application...

This task requires editing the Lisp sources for the bot at https://github.com/erikg/cl-cia/blob/master/maildir.lisp  #'do-gci-email

The problem starts at #'process-brlcad-gci-mail-dir.

Let us know when you have a git pull request or post a patch here.

References

  • https://github.com/erikg/cl-cia/blob/master/maildir.lisp
  • irc://freenode.net/#brlcad

Join our IRC channel to see the notifier in action.

Uploaded Work
File name/URLFile sizeDate submitted
https://github.com/erikg/cl-cia/pull/1n/aDecember 18 2012 00:12 UTC
https://github.com/erikg/cl-cia/pull/2n/aDecember 20 2012 18:21 UTC
gci-notifer.patch39.5 KBDecember 20 2012 21:01 UTC
https://github.com/erikg/cl-cia/pull/2n/aJanuary 07 2013 21:10 UTC
GCI-Maildir.patch2.0 KBJanuary 07 2013 21:11 UTC
Comments
Jacob Bon December 15 2012 23:10 UTCTask Claimed

I would like to work on this task.

Sean on December 16 2012 00:33 UTCTask Assigned

This task has been assigned to Jacob B. You have 48 hours to complete this task, good luck!

Jacob Bon December 18 2012 00:13 UTCReady for review

The work on this task is ready to be reviewed.

Melange on December 18 2012 00:33 UTCNo more Work can be submitted

Melange has detected that the deadline has passed and no more work can be submitted. The submitted work should be reviewed.

Sean on December 18 2012 19:42 UTCTask Needs More Work

One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.

Sean on December 18 2012 19:42 UTCDeadline extended

The deadline of the task has been extended with 1 days and 0 hours.

Sean on December 18 2012 19:43 UTCmalformatted

Notice how the pull request shows every line in the file changing:


https://github.com/maths22/cl-cia/commit/dad68e924319de0475afd8db603b1ee4d071287f


That's not right.  You're introducing or otherwise chaning the existing end-of-line character so every line gets changed.  It's not practical to review that way.

Jacob Bon December 19 2012 17:12 UTCNew Version

I updated it and fixed the line endings.  I can't get testing working, so I have to hope it works.

Jacob Bon December 19 2012 17:12 UTCReady for review

The work on this task is ready to be reviewed.

Sean on December 19 2012 17:24 UTCodd commits

So looking at your git history, I still can't tell what exactly you've changed because three of the five commits changes every line in the file and the two one-liner commits undoes itself.  Your work needs to be reviewable without all of that mess.  Provide a patchfile *here* so the GCI task can be reviewed independently of whether your pull request gets merged.  The patch file should contain only the edits you intended to make and not all the newline mess.


 

Sean on December 19 2012 17:24 UTCTask Needs More Work

One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.

Sean on December 19 2012 17:24 UTCDeadline extended

The deadline of the task has been extended with 1 days and 0 hours.

Jacob Bon December 20 2012 18:22 UTCPatch

I would make a patch, but I cannot figure out how to do so.  My changes are pretty clear in the pull request, however.


 

Jacob Bon December 20 2012 18:22 UTCReady for review

The work on this task is ready to be reviewed.

Sean on December 20 2012 19:12 UTCI don't understand

There are hundreds of websites around the web that go into excruciating detail on what patch files are, how to make them, how to apply them, etc.  Are you saying you cannot figure out how to do a web search? :)


 

Sean on December 20 2012 19:13 UTCTask Needs More Work

One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.

Sean on December 20 2012 19:13 UTCDeadline extended

The deadline of the task has been extended with 1 days and 0 hours.

Jacob Bon December 20 2012 21:01 UTCReady for review

The work on this task is ready to be reviewed.

Erik on December 20 2012 21:04 UTCTask Needs More Work

One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.

Melange on December 22 2012 00:57 UTCTask Reopened

Melange has detected that the final deadline has passed and it has reopened the task.

Jacob Bon December 31 2012 15:43 UTCTask Claimed

I would like to work on this task.

Daniel Rossberg on December 31 2012 15:50 UTCTask Assigned

This task has been assigned to Jacob B. You have 48 hours to complete this task, good luck!

Melange on January 2 2013 15:50 UTCInitial Deadline passed

Melange has detected that the initial deadline has passed and it has set the task status to ActionNeeded. The student has 24 hours to submit the work before the task is reopened and sent back to the pool for other students to claim.

Melange on January 3 2013 15:50 UTCTask Reopened

Melange has detected that the final deadline has passed and it has reopened the task.

Jacob Bon January 7 2013 15:43 UTCTask Claimed

I would like to work on this task.

Jacob Bon January 7 2013 15:43 UTCTiming

I had winter break, and I could not work on GCI then.

Sean on January 7 2013 15:49 UTCTask Assigned

This task has been assigned to Jacob B. You have 48 hours to complete this task, good luck!

Jacob Bon January 7 2013 21:11 UTCReady for review

The work on this task is ready to be reviewed.

Erik on January 8 2013 14:41 UTCTask Closed

Congratulations, this task has been completed successfully.