changeset 9:08dd6fbbec3a

commitwatcher/agent.py
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 27 Sep 2013 14:23:53 -0700
parents 2061b13f7aad
children 7ae60d2ff1c2
files commitwatcher/agent.py
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/commitwatcher/agent.py	Fri Sep 27 14:04:04 2013 -0700
+++ b/commitwatcher/agent.py	Fri Sep 27 14:23:53 2013 -0700
@@ -28,6 +28,10 @@
         """feed URL"""
         return '/'.join((self.repository.rstrip('/'), 'atom-log'))
 
+    @abstractmethod
+    def files(self, revision):
+        """gets the files from the revision link"""
+
     def update(self):
         """update"""
 
@@ -37,6 +41,7 @@
             # get paths from diff
             link = entry['link']
             print link
+            files = self.files(link)
             # TODO
 
             # TODO            commit = Commit()