From aa8a18ed3f5b63417c7e96769a824db72e7ee307 Mon Sep 17 00:00:00 2001
From: Teddy Wing
Date: Sun, 14 Jun 2015 21:41:29 -0400
Subject: Add README
Include:
* A description of the plugin
* Requirements
* Installation instructions
* A note on testing
* License information
---
README.md | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 114 insertions(+)
create mode 100644 README.md
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..3fddb9b
--- /dev/null
+++ b/README.md
@@ -0,0 +1,114 @@
+Irssi HipChat STFU
+==================
+
+An irssi plugin that tells HipChat to shut up and stop its assitry.
+
+When a Jira issue comes in, HipChat will output a sequence of empty lines,
+and finally raw HTML describing the issue:
+
+ 16:03:43 <@root> Message from unknown participant JIRA:
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 16:03:43 <@root>
SC-1000 : Some
+ kind of issue text that is kind of long and describes the
+ problem that we saw during testing. Created by Person Name
+ 16:03:43 >> OpenURL 2
+ 16:03:43 <@root> Type:
Bug
+ 16:03:43 >> OpenURL 7
+ 16:03:43 <@root> Priority:
+ 16:03:43 <@root> Not prioritized
+ 16:03:43 <@root> Status:
+ 16:03:43 <@root>
+ 16:03:43 <@root> To Do
+ 16:03:43 <@root>
+ 16:03:43 <@root>
+ 6:03:43 <@root>
+
+
+Installing this plugin transforms the prior output into this:
+
+ 20:08:24 <@root> Message from unknown participant JIRA:
+ 20:08:24 <@root> FN-1909 : Buyer favorites seller – front end kind of issue text
+ that is kind of long and describes the problem that we saw
+ during testing. (Person Name)
+ (https://somecompany.atlassian.net/browse/SC-1000)
+ 20:08:24 <@root> Type: Bug
+ 20:08:24 <@root> Not prioritized
+ 20:08:24 <@root> To Do
+
+
+## Requirements
+* [irssi](http://irssi.org/)
+* [BitlBee](http://bitlbee.org/)
+* [HipChat](https://www.hipchat.com/)
+
+
+## Installing
+
+ $ git clone https://github.com/teddywing/irssi-hipchat-stfu.git
+ $ cd irssi-hipchat-stfu
+ $ cp hipchat-stfu.pl ~/.irssi/scripts
+ $ cd ~/.irssi/scripts/autorun
+ $ ln -s ../hipchat-stfu.pl .
+
+
+## Testing
+Run tests using the included shell script:
+
+ $ ./test.sh
+
+This script copies the transformation subroutine to a new file so that it can
+be safely included from `test.pl`. The tests in `test.pl` are then executed to
+confirm expected transformation.
+
+
+## License
+Licensed under the MIT License. See the included LICENSE file.
--
cgit v1.2.3