Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed my email from AwardsWorker... Added the MIT License, a little…

… readme, and a roadmap.
  • Loading branch information...
commit b819f871645caff9b45f0c3d12c5a93b367e6284 1 parent 420c761
Nick DiRienzo authored
Showing with 33 additions and 7 deletions.
  1. +7 −0 LICENSE
  2. +7 −0 README
  3. +12 −0 ROADMAP
  4. +7 −7 main.py
View
7 LICENSE
@@ -0,0 +1,7 @@
+Copyright (c) 2012 Paddy Foran, Nick DiRienzo
+
+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.
View
7 README
@@ -0,0 +1,7 @@
+gitwatch is a real-time git commit tracker, released under the MIT License. It was hacked together for UB Hacking 2012 by Paddy Foran (@paddyforan) and Nick DiRienzo (@nickdirienzo), and it's still under development.
+
+Feel free to use it for your hackathon. All you have to do is create a new App Engine task, make a few modifications (i.e. change the admin email in AwardsWorker), and you're ready to deploy.
+
+To have the repositories use gitwatch, have a post-receive URL point to yourgitwatchdomain.whatever/github and gitwatch takes care of the rest.
+
+We plan on implementing more features to make gitwatch even more awesome, so check out the ROADMAP if you're curious.
View
12 ROADMAP
@@ -0,0 +1,12 @@
+Where we are:
+ Metrics measured on GitHub commits
+ Number of commits per person, per repo, and total
+ Number of curses per person, per repo, and total
+
+What needs to be fixed:
+ Email notifications when a certain threshold of commits is reached
+
+Where we plan on going:
+ More statistics of the commits
+ Real-time graph on the front end
+
View
14 main.py
@@ -345,19 +345,19 @@ def post(self):
author_email = self.request.get("author_email")
if global_commits == 100:
- mail.send_mail_to_admins("nvdirienzo@gmail.com", "UB Hacking 100th Commit", "%s (%s) deserves a prize for the 100th commit tonight." % (author_name, author_email))
+ mail.send_mail_to_admins("admin_email@example.com", "UB Hacking 100th Commit", "%s (%s) deserves a prize for the 100th commit tonight." % (author_name, author_email))
elif global_commits == 150:
- mail.send_mail_to_admins("nvdirienzo@gmail.com", "UB Hacking 150th Commit", "%s (%s) deserves a prize for the 150th commit tonight." % (author_name, author_email))
+ mail.send_mail_to_admins("admin_email@example.com", "UB Hacking 150th Commit", "%s (%s) deserves a prize for the 150th commit tonight." % (author_name, author_email))
elif global_commits == 200:
- mail.send_mail_to_admins("nvdirienzo@gmail.com", "UB Hacking 200th Commit", "%s (%s) deserves a prize for the 200th commit tonight." % (author_name, author_email))
+ mail.send_mail_to_admins("admin_email@example.com", "UB Hacking 200th Commit", "%s (%s) deserves a prize for the 200th commit tonight." % (author_name, author_email))
elif global_commits == 250:
- mail.send_mail_to_admins("nvdirienzo@gmail.com", "UB Hacking 250th Commit", "%s (%s) deserves a prize for the 250th commit tonight." % (author_name, author_email))
+ mail.send_mail_to_admins("admin_email@example.com", "UB Hacking 250th Commit", "%s (%s) deserves a prize for the 250th commit tonight." % (author_name, author_email))
elif global_commits == 500:
- mail.send_mail_to_admins("nvdirienzo@gmail.com", "UB Hacking 500th Commit", "%s (%s) deserves a prize for the 500th commit tonight." % (author_name, author_email))
+ mail.send_mail_to_admins("admin_email@example.com", "UB Hacking 500th Commit", "%s (%s) deserves a prize for the 500th commit tonight." % (author_name, author_email))
elif global_commits == 750:
- mail.send_mail_to_admins("nvdirienzo@gmail.com", "UB Hacking 750th Commit", "%s (%s) deserves a prize for the 750th commit tonight." % (author_name, author_email))
+ mail.send_mail_to_admins("admin_email@example.com", "UB Hacking 750th Commit", "%s (%s) deserves a prize for the 750th commit tonight." % (author_name, author_email))
elif global_commits == 1000:
- mail.send_mail_to_admins("nvdirienzo@gmail.com", "UB Hacking 1000th Commit", "%s (%s) deserves a prize for the 1000th commit tonight." % (author_name, author_email))
+ mail.send_mail_to_admins("admin_email@example.com", "UB Hacking 1000th Commit", "%s (%s) deserves a prize for the 1000th commit tonight." % (author_name, author_email))
class MetricWorker(webapp.RequestHandler):
def post(self):
Please sign in to comment.
Something went wrong with that request. Please try again.