Skip to content
This repository was archived by the owner on Sep 13, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
282 commits
Select commit Hold shift + click to select a range
a26abf3
Add cia.vc service
tekkub Apr 29, 2008
31b2698
fix twitter bug and remove some old code
pjhyett Apr 29, 2008
e987d7d
Mark up README with markdown and rename accordingly
dag Apr 30, 2008
35a675e
IRC service does not need to be executable
dag May 1, 2008
a86e92b
Merge branch 'johnreilly/master'
pjhyett May 2, 2008
bd49e16
update docs to be useful with new help box on github
pjhyett May 2, 2008
7414363
Merge branch 'tekkub/master'
pjhyett May 2, 2008
b26c5c2
CIA.cv docs
pjhyett May 2, 2008
8d6d52c
Patched the IRC service to use a random nick to avoid collisions
May 2, 2008
d2abfee
slightly sexier irc name, couple more thanks
pjhyett May 2, 2008
b5ae3f6
Added Rakefile with a RSpec task to make running of specs easier
May 6, 2008
3d85dfd
added irc server password functionalit
May 6, 2008
9c91027
added ssl support to irc
May 6, 2008
9346aec
More thanks
pjhyett May 6, 2008
4dde7e9
adding Basecamp support, to allow commit notifications to be posted d…
May 10, 2008
e177d60
Added jabber service
koke May 19, 2008
456c3b2
twitter gem was overboard for making a simple post request
pjhyett Jun 10, 2008
4efd386
forgot to remove twitter require
pjhyett Jun 10, 2008
41f6fff
Email service.
loe Jun 11, 2008
25d3a6e
Credit where credit is due.
loe Jun 11, 2008
3fa9bb3
Adding some simple documentation.
loe Jun 11, 2008
578027e
don't want the domain in the url
pjhyett Jun 11, 2008
058fc94
Merge branch 'testing' of git://github.com/lukeredpath/github-service…
pjhyett Jun 11, 2008
847d469
remove Rakefile from .gitignore to make way for tests
pjhyett Jun 11, 2008
c261102
fix merge conflict in require
pjhyett Jun 11, 2008
4e0f675
fix require conflicts, again
pjhyett Jun 11, 2008
4036730
one more require conflict
pjhyett Jun 11, 2008
01c5242
give more thanks
pjhyett Jun 11, 2008
5ed9057
organize requires to prevent merge conflicts
pjhyett Jun 11, 2008
fcab615
logout from campfire after bot is finished
pjhyett Jun 12, 2008
214b11e
damn you DS_Store
pjhyett Jun 16, 2008
9b55771
minor tweaks to the email hook
pjhyett Jun 28, 2008
d6b2edc
this is the correct smtp address
pjhyett Jun 29, 2008
45fbddb
cleanup email format a bit
pjhyett Jun 29, 2008
189189d
Use is.gd instead of tinyurl.com
hans Jul 5, 2008
dcb3ea4
thank ya
pjhyett Jul 6, 2008
d0fed82
disconnect from jabber after you're done
pjhyett Jul 7, 2008
8f4e038
send committer to LH changesets
technoweenie Jul 9, 2008
92a2056
Integrated FriendFeed into github-services
arunthampi Jul 9, 2008
724546c
Yikes. Moving docs from services/ to docs/ . Such a douche
arunthampi Jul 9, 2008
564315c
Merge branch 'master' of git://github.com/entp/github-services into e…
pjhyett Jul 9, 2008
d73a9e6
Improving email format.
eric Jul 10, 2008
c0e78f7
Small change to get a post.
eric Jul 10, 2008
7b80781
Merge branch 'master' of git://github.com/arunthampi/github-services …
pjhyett Jul 11, 2008
82160c5
break out contributors into a separate file
pjhyett Jul 11, 2008
2265a17
Use friendfeed.com instead of www.friendfeed.com while posting statuses
arunthampi Jul 11, 2008
e5cb988
rescue timeout error properly
pjhyett Jul 11, 2008
abc8139
need to define the variable outside of the begin block
pjhyett Jul 11, 2008
61d4676
Merge branch 'master' of git://github.com/arunthampi/github-services …
pjhyett Jul 12, 2008
659037f
Merge branch 'arunthampi/master'
pjhyett Jul 12, 2008
9d5ae1f
add LICENSE
pjhyett Jul 14, 2008
5ab9f83
Fix CIA timestamp (I think)
tekkub Jul 19, 2008
d8dacca
Add file change info to CIA messages
tekkub Jul 19, 2008
f416de9
Add no-spam option to CIA service
tekkub Jul 19, 2008
5fdc6c6
Add support for IRC room passwords.
shoe Jul 23, 2008
2e77088
Merge branch 'master' of git://github.com/shoe/github-services into s…
pjhyett Jul 23, 2008
c28f9f6
say thanks
pjhyett Jul 23, 2008
ac933a7
DRY
pjhyett Jul 23, 2008
39df659
Merge branch 'tekkub/master'
pjhyett Jul 23, 2008
bbbd158
We forgot to pass the SHA1
tekkub Jul 24, 2008
308fb8f
Why not announce added and removed files as well
tekkub Jul 24, 2008
785ff0a
Subtract the current commit from the additional commits count
tekkub Jul 24, 2008
ddadb20
Merge branch 'master' of git://github.com/pjhyett/github-services int…
eric Jul 28, 2008
30c1f1b
Fixing formatting for email.
eric Jul 28, 2008
4af3859
update all services to use the new post-receive json payload api
defunkt Jul 29, 2008
215d825
Add support for the 'private' field and message ignoring to the Light…
defunkt Aug 6, 2008
e52dd42
fixed incorrect parameter when constructing the FogBugz url
Aug 6, 2008
c9d00d7
fix for new api
pjhyett Aug 7, 2008
ee19fb2
clean up code a bit
pjhyett Aug 7, 2008
b1c1b36
nice
pjhyett Aug 7, 2008
a283241
Typos suck
tekkub Aug 8, 2008
d70c3b9
Add is.gd tinyurls to CIA and IRC services
tekkub Aug 19, 2008
4758053
log 500's
pjhyett Aug 20, 2008
b709514
halt bad requests
pjhyett Aug 20, 2008
031ee3f
fogbugz fixed via the mighty underscore
pjhyett Aug 20, 2008
df3bb21
halt if the room isn't found either
pjhyett Aug 20, 2008
9069f5f
basecamp help
pjhyett Aug 20, 2008
2a0d66b
yea, this one, too
pjhyett Aug 20, 2008
1257105
syntax fix
pjhyett Aug 20, 2008
fca79fa
Reformat messaging for postcommit. Add 'via' parameter after approval…
arunthampi Aug 21, 2008
d5a7e3b
formatting changes for basecamp hook so that the messages are more re…
Aug 26, 2008
d963fa9
formatting changes for basecamp hook so that the messages are more re…
Aug 26, 2008
c4305b0
Improve branch name parser for IRC and CIA services
tekkub Aug 28, 2008
206c2de
Wrap is.gd calls in rescue blocks, increase timeout to 6 sec
tekkub Aug 29, 2008
0b62ddb
Escape out the log message before sending to CIA
tekkub Aug 31, 2008
166e233
remove jabber creds from source
pjhyett Sep 12, 2008
5624fed
remove debug
pjhyett Sep 12, 2008
acebbe3
Merge branch 'master' of [email protected]:pjhyett/github-services
pjhyett Sep 12, 2008
d74887b
Update payload example
pjhyett Sep 12, 2008
33e198e
timeout block around everything
pjhyett Sep 13, 2008
f58b6c5
appears to be breaking some of the services, turn off for now
pjhyett Sep 13, 2008
e91846a
Merge branch 'master' of http://github.com/pjhyett/github-services in…
mattpolito Sep 19, 2008
fccb244
prettified the basecamp commit message again. less info = easier to …
mattpolito Sep 19, 2008
9239296
thank ya
pjhyett Sep 19, 2008
bd0b415
Initial setup for Present.ly GitHub integration. Incomplete.
Sep 26, 2008
9962467
Present.ly service added.
Sep 26, 2008
bf30340
wording clarification for what the subdomain is for campfire
schacon Oct 9, 2008
38f1694
Merge branch 'tekkub/master'
pjhyett Oct 9, 2008
e027fc4
Merge branch 'master' of git://github.com/schacon/github-services int…
pjhyett Oct 9, 2008
8f31ca2
turn back on global timeout
pjhyett Oct 9, 2008
60bb48e
Merge branch 'master' of git://github.com/presently/github-services i…
pjhyett Oct 17, 2008
dc7e45f
Renamed group to group_name in Present.ly code to match documentation.
Oct 21, 2008
cc8c773
Moved experimental testing framework into it's own branch.
May 6, 2008
697e926
updated fogbugz docs to be a bit more clear on how to configure your …
Aug 20, 2008
2896670
Improve Basecamp message.
eric Nov 10, 2008
a24963a
initial commit of new RubyForge service
Aug 19, 2008
59a2770
Fix branches not displaying on irc correctly if they begin with a number
bdrewery Nov 14, 2008
f8bcc71
Small fixes for formatting.
eric Nov 10, 2008
6fd5c86
Small fixes for basecamp
eric Nov 17, 2008
1a8d4b9
Make sure we log out of the room before we try to logout of the service.
queso Dec 8, 2008
38c735a
use common short_url method and revert back to tinyurl because of is.…
pjhyett Jan 8, 2009
a50362f
Fix URL shortener
tekkub Jan 9, 2009
9de0a7b
passing in a variable that doesn't exist
pjhyett Jan 11, 2009
89e23a4
Merge branch 'master' of [email protected]:pjhyett/github-services
pjhyett Jan 11, 2009
8cb49f8
Recommended connection registration sequence (3.1) and correct USER m…
sanko Jan 12, 2009
8038947
Reply to PING (3.7.2) and wait for RPL_MYINFO (5.1) to signal good co…
sanko Jan 12, 2009
7db95e7
tighten up code
pjhyett Jan 12, 2009
7b54415
Make sure the connection to the IRC server was established and finished.
Nov 18, 2008
1e9479f
Added GitHub-Trac plugin service info
davglass Dec 7, 2008
645cee6
Finished up the Trac Services Hook
davglass Dec 8, 2008
0fe1263
couple trac tweaks
pjhyett Jan 13, 2009
2e95078
force Jabber::Simple to send messages
mojombo Jan 13, 2009
1bd2932
Jabber::Simple not Jabber::Contact
mojombo Jan 13, 2009
353334f
add empty freckle template to start from
madrobby Jan 13, 2009
da41f0e
first version of integration with test data, log generated json
madrobby Jan 16, 2009
9050b5a
Updating bugs/issues link to point to support.github.com/...
ngerakines Jan 15, 2009
630cedc
Add "To:" field to email service
tekkub Jan 23, 2009
e4b3ab0
Added a nick config option - needed for Private Rooms
davglass Jan 26, 2009
7889486
simplify botname selection
pjhyett Jan 26, 2009
71a1995
More thanks
pjhyett Jan 26, 2009
98fb9b6
use bitly instead of tinyurl
pjhyett Feb 3, 2009
3309f19
Merge branch 'master' of git://github.com/pjhyett/github-services
madrobby Feb 3, 2009
44a322f
Implement freckle integration.
kommen Feb 4, 2009
c73d044
Add specs for freckle service.
kommen Feb 4, 2009
c0ae129
Documentation for freckle service.
kommen Feb 4, 2009
6783f77
Fixed issue with subdirectories in the Trac URL
davglass Feb 4, 2009
812a523
No more commit-floods on merges.
defunkt Feb 9, 2009
aa34d85
[campfire] Don't ignore remote merges as they're most likely pulls
defunkt Feb 16, 2009
cbff5dd
Updated wording in freckle docs
Apr 23, 2009
3d78bec
vendor _all_ dependencies
pjhyett Apr 29, 2009
11ddcc8
update sinatra and use webrick instead
pjhyett Apr 29, 2009
25b27ac
use mongrel if it's installed
pjhyett Apr 29, 2009
285d90f
don't need this either
pjhyett Apr 29, 2009
ae3c3fc
let's try that again
pjhyett Apr 29, 2009
db8f6f1
run instructions
pjhyett Apr 29, 2009
ed14c72
be specific on bug reporting
pjhyett Apr 30, 2009
3fcc4ff
Added multiple-user support to the jabber plugin.
May 10, 2009
04539f0
Add limitation so it only sends to 25 people, to prevent overloading …
May 10, 2009
c7022f4
Added documentation for new features of the jabber service hook.
May 28, 2009
4b0a72b
set the environment and port explicitly
pjhyett Jun 12, 2009
21e1bc6
Fix reported typo in FogBugz documentation.
defunkt Jun 25, 2009
f6bc518
Changed twitter behaviour to have the ability to digest commits inste…
jmkogut Feb 18, 2009
3481d42
Fix up the Twitter digest code
defunkt Jul 22, 2009
628a042
Add spam protection to campfire service
tekkub Aug 6, 2009
b07b0a3
Contributors should create issues in Issues tab, not send pull requests
defunkt Aug 11, 2009
ae7e947
Adding RunCodeRun service.
jessmartin Aug 25, 2009
aca15d7
readability edits
jessmartin Aug 25, 2009
bbdc6dd
Added additional documentation.
jessmartin Aug 26, 2009
0d82100
Added instructions for how to test a service
jessmartin Aug 27, 2009
7fb1dd3
Added a script that creates the correct Curl command to test your loc…
Sep 2, 2009
9f86a19
Updated FogBugz post-commit hook to support FogBugz 7.0
Sep 10, 2009
f9d6ccb
minor cleanup
pjhyett Sep 14, 2009
6b95ad4
added myself to the Contributors file
Sep 10, 2009
220a7ac
Send emails as UTF-8
tekkub Aug 26, 2009
70957b7
Merge in runcoderun hook
defunkt Sep 15, 2009
ea9e072
whitespace
defunkt Sep 15, 2009
88534c4
Make the README not a liar. Default port is now 8080
defunkt Sep 15, 2009
b57460a
Merge remote branch 'madrobby/master'
defunkt Sep 15, 2009
f39f3a6
Only use ssl for fogbugz if the url is "https://"
tekkub Aug 29, 2009
984f7f9
Merge branch 'master' of github.com:pjhyett/github-services
pjhyett Sep 15, 2009
5dff89c
rcr docs were in the wrong format
defunkt Oct 8, 2009
12cca17
point out RunCodeRun => run_code_run
defunkt Oct 8, 2009
d9c2e67
more runcoderun => run_code_run
defunkt Oct 8, 2009
ef10cbf
remove old rcr files
defunkt Oct 8, 2009
c243129
thin is in
defunkt Oct 8, 2009
dfeb687
try mongrel first
defunkt Oct 8, 2009
3574d20
after is a sha, not a commit
defunkt Oct 14, 2009
9d724f4
kyle and i think 10 is better
defunkt Oct 27, 2009
4b41c93
move email settings to config/email.yml
pjhyett Nov 4, 2009
6b560a1
strings not symbols
pjhyett Nov 4, 2009
d00e3cc
Campfire integration: add play_sound option that orders bot to play a…
yaroslav Oct 27, 2009
fa888e4
strip spaces in jabber addresses
Nov 8, 2009
3804fd7
give a friendlier name in emails
defunkt Nov 13, 2009
cca9ec0
update tinder
defunkt Dec 18, 2009
e350390
update campfire hook to work with new tokens
defunkt Dec 18, 2009
d5bcdd0
need httparty now
defunkt Dec 18, 2009
80125cc
ok
defunkt Dec 18, 2009
692cfd0
irc nick might be empty
defunkt Dec 19, 2009
9d66a23
convert last commit url to compare url for large pushes
pjhyett Jan 17, 2010
4967898
Don't connect to IRC if there aren't any commits to report
cmelbye Dec 30, 2009
e89ebb6
Updated tinder to latest, and adjusted campfire service... sound noti…
Jan 17, 2010
66ded65
fix 20s timeout for all services
rtomayko Jan 26, 2010
15d5e67
default page 200s (for status check)
defunkt Jan 27, 2010
07d9648
test123
defunkt Jan 27, 2010
3cf6939
the crack gem is vendored
pjhyett Jan 27, 2010
9c43f98
ditch rubygem require, too
pjhyett Jan 27, 2010
cde915f
make compare url code work
defunkt Jan 27, 2010
43854a1
Merge branch 'master' of github.com:pjhyett/github-services
defunkt Jan 27, 2010
58e8f35
i lied
defunkt Jan 27, 2010
a06b9b7
pj approves
defunkt Jan 27, 2010
8489f1f
Merge branch 'timeout-fix'
rtomayko Jan 27, 2010
512b03c
retry campfire find room requests due to weird conn errors
rtomayko Jan 27, 2010
af573cc
retry up to three times
rtomayko Jan 27, 2010
59df51c
report exceptions to haystack
rtomayko Jan 26, 2010
279bc8a
need fully qualified hostname
rtomayko Jan 27, 2010
5b25ec0
report the correct hostname
rtomayko Jan 27, 2010
ec42a18
redact passwords and tokens when reporting exceptions
rtomayko Jan 27, 2010
448ba26
redact passwords in the right place
rtomayko Jan 27, 2010
4ffae2d
break up campfire messages into two parts. 1) paste with all commits …
pjhyett Jan 27, 2010
9e25089
need to grab the commit first
pjhyett Jan 27, 2010
0c040e2
use de-JSON'd objects instead of raw strings
rtomayko Jan 27, 2010
0f83b6a
Revert "retry campfire find room requests due to weird conn errors"
rtomayko Jan 27, 2010
26a0e8e
include the owner name for the full repo address
pjhyett Jan 27, 2010
646760d
Merge branch 'master' of github.com:pjhyett/github-services
pjhyett Jan 27, 2010
94751f4
Merge branch 'master' of github.com:pjhyett/github-services
pjhyett Jan 27, 2010
450237d
only run service hook code in timeout, not json deserialization
rtomayko Jan 27, 2010
36b3806
fail fast when no campfire token is given
rtomayko Jan 27, 2010
a64a03d
ServiceTimeout instead of Timeout::Error
rtomayko Jan 27, 2010
1b54101
rescue everything for haystack
rtomayko Jan 27, 2010
0a471b6
include user and repo in haystack payload
rtomayko Jan 27, 2010
06b5614
helps when you define variables before use
rtomayko Jan 27, 2010
1aef62f
seven is the magic number, not six
rtomayko Jan 27, 2010
e32e304
shorten multi-line commit messages and add elipses
rtomayko Jan 27, 2010
a67781b
use abbreviated SHA1s in compare URL
rtomayko Jan 27, 2010
44044e7
bail fast if no commits to talk about
rtomayko Jan 27, 2010
ab0cd07
bail fast with no commits in email service too
rtomayko Jan 27, 2010
53602db
return doesn't work here
rtomayko Jan 27, 2010
9d56d29
campfire formatting tweaks
rtomayko Jan 28, 2010
f5885d6
whitespace error
rtomayko Jan 29, 2010
1f78e20
IRC gets compare links + one message per commit
rtomayko Jan 29, 2010
ea958fa
include 'X files in Y dirs' in IRC messages
rtomayko Jan 29, 2010
e4083a1
Add Web Translate It service
edouard Feb 9, 2010
6f24784
Added support for identi.ca
shashi Sep 22, 2009
9247d5e
Add Talker support to Github Services.
sssionggg Jan 22, 2010
b3bbcbb
added rdoc.info service
zapnap Oct 8, 2009
74e352a
fix rdoc.info service description
zapnap Mar 2, 2010
8615b69
Rubyforge hook was using old commits api
defunkt Mar 28, 2010
53d62fe
Merge branch 'master' of github.com:pjhyett/github-services
defunkt Mar 28, 2010
99ff5ff
HTTPS support for Talker
jakedouglas Mar 28, 2010
9a58a30
confirm port is an integer
pjhyett May 10, 2010
5104cf1
Mudanca no NERDTree e detecção SO
lorn Nov 16, 2010
e68e22d
Added extract_sub
lorn Nov 24, 2010
dccfed5
Merge remote branch 'upstream/master'
lorn Jan 14, 2011
fbe8bc1
agora command-t do mac abre search, e ctrl+t abre o search em uma aba…
Feb 11, 2011
a419a6b
change AUTHOR and ts
lorn Mar 21, 2011
3c26c4c
changes
lorn Mar 22, 2011
3d1127f
merge
lrodrigues Mar 24, 2011
a5b97b1
merge
lrodrigues Mar 24, 2011
30e6e09
bash template change
lrodrigues Mar 24, 2011
8e1c451
erlang support
lorn Apr 19, 2011
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
*.netrwhist
.DS_Store
deploy.rb
*~
32 changes: 32 additions & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
Thanks to the following people for making this possible
-------------------------------------------------------

- Arun Thampi
- Blake Mizerany
- Brandon Keepers
- Bryan Drewery
- Chris Shoemaker
- Christian Neukirchen
- Dav Glass
- El Draper
- Eric Lindvall
- Florian Frank
- Hans Engel
- Harry Vangberg
- John Nunemaker
- John Reilly
- Jorge Bernal
- Luke Redpath
- Matt Polito
- Michael Bleigh
- Nick Gerakines
- Noah (ngage)
- Sanko Robinson
- Sean O'Brien
- Tekkub Stoutwrithe
- W. Andrew Loe III
- Grant Limberg
- Jess Martin
- Édouard Brière
- Teng Siong Ong
- Nick Plante
22 changes: 22 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Copyright (c) 2008 Logical Awesome, LLC

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
61 changes: 61 additions & 0 deletions README.mkdn
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
GitHub Services
===============

How the services work
---------------------

1. A post-receive background job is submitted when someone pushes their
commits to GitHub
2. If the repository the commits belong to has any "Service Hooks" setup, the
job makes a request to `http://services-server/service_name/` with the
following data:
- `params[:payload]` containing all of the commit data (the same data you get using the API)
- `params[:data]` containing the service data (username, password, room, etc)
3. Sinatra (github-services.rb) processes the request (twitters your data, says
something in campfire, posts it to lighthouse, etc)
4. Rinse and repeat

Steps to contributing
---------------------

1. Fork the project
2. Create a new file in /services/ called `service_name.rb`, using the following
template:

service :service_name do |data, payload|
end

3. Vendor any external gems your code relies on, and make sure to include it in
the requires at the top of github-services.rb
4. Add documentation to `docs/service_name` (refer to the others for guidance)
5. Add your name to the `CONTRIBUTORS` file
6. Create an Issue at http://github.com/pjhyett/github-services/issues with
links to each commit you want included.
7. Once it's accepted we'll add any new necessary data fields to the GitHub
front-end so people can start using your addition.

*Patches including tests are encouraged*

Running the server locally
--------------------------

1. [sudo] gem install hpricot
2. git clone git://github.com/pjhyett/github-services.git
3. cd github-services
4. ruby github-services.rb

* Bugs in the code should be filed under the Issues tab
* Problems with the service hooks can be filed here: [http://support.github.com/discussions/post-receive-issues](http://support.github.com/discussions/post-receive-issues)

How to test your service
------------------------

1. Start the github-services Sinatra server with `ruby github-services.rb`. By
default, it runs on port 8080.
2. Edit the doc/github_payload file as necessary to test your service. (Usually
just editing the "data" values but leaving the "payload" alone.)
3. Send the doc/github_payload file to your service by calling:
`./script/deliver_payload [service-name]`

NOTE: The name of the service and your docs/ file matters. If your service is RunCodeRun, your service
and docs MUST be `run_code_run`. Good luck!
8 changes: 8 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
require 'spec/rake/spectask'

Spec::Rake::SpecTask.new('spec') do |t|
t.spec_opts = ['--options', "spec/spec.opts"]
t.spec_files = FileList['spec/**/*_spec.rb']
end

task :default => :spec
8 changes: 4 additions & 4 deletions bash-support/templates/Templates
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
§ ========== USER MACROS ======================================
§ =============================================================
§
|AUTHOR| = Dr. Fritz Mehner
|AUTHORREF| = fgm
|EMAIL| = [email protected]
|COMPANY| = FH Südwestfalen, Iserlohn
|AUTHOR| = Lindolfo 'Lorn' Rodrigues
|AUTHORREF| = LORN
|EMAIL| = [email protected]
|COMPANY| =
|COPYRIGHT| = Copyright (c) |YEAR|, |AUTHOR|
§
§ =============================================================
Expand Down
6 changes: 3 additions & 3 deletions c-support/templates/Templates
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ $ =============================================================
$ ========== USER MACROS ======================================
$ =============================================================
$
|AUTHOR| = Otavio Fernandes
|AUTHORREF| =
|EMAIL| = [email protected]
|AUTHOR| = Lindolfo 'Lorn' Rodrigues
|AUTHORREF| = LORN
|EMAIL| = [email protected]
|COMPANY| =
|COPYRIGHT| = Copyright (c) |YEAR|, |AUTHOR|
|STYLE| = C
Expand Down
48 changes: 48 additions & 0 deletions compiler/erlang.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
" Vim compiler file
" Compiler: erl -make
" Maintainer: Oscar Hellström <[email protected]>
" URL: http://personal.oscarh.net
" Latest Revision: 2006-05-24
" ------------------------------------------------------------------------------
" Options:
" To set compiler to use put ether
" let g:erlangCompiler="erlc"
" let g:erlangCompiler="erlc-debug"
" let g:erlangCompiler="emake"
" in your vimrc file
"
" ------------------------------------------------------------------------------

if exists("current_compiler")
finish
endif
let current_compiler = "erlang"

if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
endif

let s:cpo_save = &cpo
set cpo-=C

if (! exists("g:erlangCompiler")) || g:erlangCompiler == "emake"
CompilerSet makeprg=cd\ ..&&\erl\ -make

CompilerSet errorformat=src/%f:%l:\ %m,
\src/%f:%l:\ Warning:\ %m,
\%f:%l:\ %m,
\%f:%l:\ Warning:\ %m,
elseif g:erlangCompiler == "erlc-debug"
CompilerSet makeprg=erlc\ -I\ ../include\ +debug_info\ %

CompilerSet errorformat=%f:%l:\ %m,
\%f:%l:\ Warning:\ %m
elseif g:erlangCompiler == "erlc"
CompilerSet makeprg=erlc\ -I\ ../include\ %

CompilerSet errorformat=%f:%l:\ %m,
\%f:%l:\ Warning:\ %m
endif

let &cpo = s:cpo_save
unlet s:cpo_save
4 changes: 4 additions & 0 deletions config/email.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
address: smtp1.rs.github.com
port: 25
domain: github.com
25 changes: 25 additions & 0 deletions docs/basecamp
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Basecamp
========

Install Notes
-------------

1. url should be your Basecamp url
2. username should be the username of the user that you want to use to post messages into your Basecamp - you can setup a user just for this purpose
3. password should be the password of the user that you want to use to post the messages
4. project should be the name of the project that you want to post the message into (not the id)
5. category should be the name of the category that you want to post the message using (not the id)


Developer Notes
---------------

data
- url
- username
- password
- project
- category

payload
- refer to docs/github_payload
27 changes: 27 additions & 0 deletions docs/campfire
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Campfire
========

Install Notes
-------------

1. subdomain is your campfire subdomain
(ie 'your-subdomain' if you visit 'http://your-subdomain.campfirenow.com')

2. room is the actual room name, not the id

3. token is your API token. get it from campfire's "Edit my Campfire
account" screen


Developer Notes
---------------

data
- subdomain
- token
- room
- ssl
- play_sound

payload
- refer to docs/github_payload
17 changes: 17 additions & 0 deletions docs/cia
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
CIA.vc
========

Install Notes
-------------

1. Disable multiple messages if more than 5 commits are pushed. Instead announce the last commit with "(+## more commits...)" appended to the note.


Developer Notes
---------------

data
- no_spam

payload
- refer to docs/github_payload
17 changes: 17 additions & 0 deletions docs/email
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Email
========

Install Notes
-------------

1. address (only one is allowed)


Developer Notes
---------------

data
- address

payload
- refer to docs/github_payload
74 changes: 74 additions & 0 deletions docs/fog_bugz
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
FogBugz
=======

Install Notes
-------------

1. Requires FogBugz version 6.1 or above, and your FogBugz installation
must be accessible from the internet

2. "cvssubmit_url" is the url to the cvsSubmit.[php|asp] file on your
FogBugz server.
Example: https://server.com/fogbugz/cvsSubmit.php

3. The "sRepo" field (in FogBugz 6.1) will be automatically set to the name of
this GitHub repository.

4. The ixRepository field (in FogBugz 7.0) will be set to the fb_repoid set in the
hooks configuration page

FogBugz 6.1 Configuration
---------------------

If you want to use GitHub as your sole source control system, configuration
within FogBugz is relatively easy.

In your site configuration:

1. Set "the Source Control URL for logs" field to be:
https://github.com/[github_username]/^REPO/commits/^FILE

2. Set "the Source Control URL for diffs" field to be:
https://github.com/[github_username]/^REPO/commit/^R2

If you have commits in FogBugz from a previous source control system, or if
you want to use multiple GitHub accounts, please read:

http://www.fogcreek.com/FogBugz/KB/howto/MultipleRepositories-Mult.html


FogBugz 7.0 Configuration
---------------

FogBugz 7 has a configuration page for multiple repositories. Each repository
is given and ID that will be used by the cvsSubmit.asp page.

1. From the admin menu, select Source Control.

2. Click 'Create New Repository'.

3. An option pane will pop up. Select 'Other (custom)'. Enter a name for
the repository. The name does not have to be the same as the github repo
name. Click Next.

4. Set the 'Diff URL' field to be:
https://github.com/[github_username]/[github_reponame]/commit/^R2

5. Set the 'Log URL' field to be:
https://github.com/[github_username]/[github_reponame]/commits/^FILE

6. There's a URL printed at the top of the configuration screen. Make
note of the number following ixRepository= That is the ID that needs
to be filled in for the fb_repoid field.


Developer Notes
---------------

data
- cvssubmit_url
- fb_version (Valid options are 6.1 and 7.0)
- fb_repoid

payload
- refer to docs/github_payload
Loading