Skip to content

Commit d8e81a4

Browse files
Merge pull request Code52#7 from shiftkey/master
JibbR Blog Posts
2 parents 650bb8a + 943e55b commit d8e81a4

6 files changed

Lines changed: 103 additions & 0 deletions

File tree

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
layout: post
3+
permalink: /weektwo-dayone.html
4+
date: 2012-01-10 23:59
5+
title: "Jibbr: Day 1"
6+
feed: "project"
7+
---
8+
9+
Technically we started this on Day 0 with forking the [Jabbot](http://github.com/davidfowl/jabbot) project and gathering ideas and features while people explored the code. Due to the Hanselman effect, we had an overflowing chatroom and lots of discussion to keep us busy.
10+
11+
### Drawing
12+
13+
Paul was in the mood for drawing, and he started experimentign with Mr-T/Hubot themed graphics
14+
15+
![](/img/week2-day1-drawing.jpg)
16+
17+
### The Bleeding Edge
18+
19+
Oh, and there were some JabbR fun and games to deal with straight off the bat. Some breaking changes in the [JabbR](http://github.com/davidfowl/jabbr) website hadn't propogated to a [SignalR.Client](http://github.com/signalr/signalr) release - but thankfully the awesome [@davidfowl](https://twitter.com/davidfowl) was on hand to help us get the right commits together and craft a version which played nice.
20+
21+
### Experimenting with Sprockets
22+
23+
One of the first features we added was support for periodic sprockets - we're calling them *announcements* - but more work was needed to get the infrastructure to a point where people could experiment further. A simple scheduler was added to the console app, and a sample plugin - telling you what time it was in Sydney - was added to the code.
24+
25+
[Andrew](http://twitter.com/tobin) and [Stefan](http://twitter.com/cyberzeddk) also worked on adding support for additional commands to the bot, building test sprockets and running them in a test JabbR chatroom.
26+
27+
We started spawning test rooms to ensure the main Code52 chat room was not annoyed by out experiments.
28+
29+
Even a Mr T bot made an appearance - I wish I had a screenshot handy of the bot making fun of me.
30+
31+
### Hosting
32+
33+
We discussed where this hypothetical app would be hosted - a Windows Service was discussed, but we eventually agreed that it *should* be fine to host on ASP.NET. The [NancyFx](http://twitter.com/TheCodeJunkie) [guys](http://twitter.com/GrumpyDev) were in the JabbR chatroom to steer us in the right direction.
34+
35+
-- @shiftkey
36+
37+
38+
39+
40+
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
layout: post
3+
permalink: /weekone-daytwo.html
4+
title: "Jibbr: Day 2"
5+
feed: "project"
6+
---
7+
8+
More momentum, more interest, more progress and lots more chatter in the JabbR room - including a hilarious discussion on Git's autocrlf behaviour.
9+
10+
![](/img/week2-day2-autocrlf.jpg)
11+
12+
Credit goes to [@MotoWilliams](http://twitter.com/MotoWilliams) for the meme.
13+
14+
### JabbR Updates
15+
16+
Some changes to JabbR and SignalR - [David](http://twitter.com/davidfowl) (and I suppose [Damian](http://twitter.com/damianedwards) by extension) is planning a 0.4 version of SignalR. More changes to JabbR and SignalR pulled into Jibbr.
17+
18+
### GitHub Sprocket
19+
20+
Most of the heavy-lifting for the GitHub plugin is done - using JSON.NET's dynamic support to parse data from the GitHub API without defining strongly-typed models makes this about eleventy billion times easier.
21+
22+
The plugin is intended to track and display notifications for:
23+
24+
- commits to the master repository
25+
- people watching the project
26+
- pull requests (new and closed)
27+
- activity in forks off the master repository - when a new one is created, when code has been pushed to it
28+
- issues (new and modified)
29+
30+
For example:
31+
32+
![](/img/week2-day2-action.png)
33+
34+
Since taking this screenshot, I've been contemplating how to differentiate notifications. Perhaps JabbR could support Markdown for basic styling of text? :)
35+
36+
### Automate all the things
37+
38+
A little anecdote: I hastily put together a script late the night before to move the sample extensions into a folder - for MEF to discover and load into the app. In my haste, I'd ignored the fact that I'd (likely) been running the script from a bash shell (thanks git-bash) and hardcoded some paths to get (what I'd thought was) the job "done".
39+
40+
So I merged the changes into master and hit the hay.
41+
42+
A few hours later, I wake up to [Stefan](http://twitter.com/cyberzeddk) demanding beer karma as a result of the harm I'd caused his mental state. Turns out that 'cp' isn't 'copy' and file paths are easy to destroy completely if you pick the wrong one for the wrong OS.
43+
44+
With some input from Stefan and Tobin, the script now recurses all of the Extensions subfolders for assemblies.
45+
46+
set solution_dir=%1
47+
set output_dir=%solution_dir%\Jabbot.ConsoleBotHost\bin\Debug\Sprockets\
48+
49+
del %solution_dir%\Jabbot.ConsoleBotHost\bin\Debug\Sprockets\*.dll
50+
51+
for /D %%I in ("%solution_dir%\Extensions\*") do (
52+
xcopy %%I\bin\Debug\*.dll %output_dir% /C /Y
53+
)
54+
55+
### Jabbot running on NancyFx
56+
57+
[Seth Webster](http://www.sethwebster.com/) a contributor to the Jabbot project, put together a simple sample app of a Jabber bot running inside NancyFx. He's also been helping out with the JabbR testing over the past couple of days. Many thanks for his hard work.
58+
59+
[Paul](http://twitter.com/aeoth) has taken that sample and started working on an administration tool for the bot:
60+
61+
![](/img/week2-day2-website.png)
62+
63+
-- @shiftkey

img/week2-day1-drawing.jpg

44.2 KB
Loading

img/week2-day2-action.png

28.9 KB
Loading

img/week2-day2-autocrlf.jpg

147 KB
Loading

img/week2-day2-website.png

15 KB
Loading

0 commit comments

Comments
 (0)