annotate commitwatcher/agent.py @ 1:4e24f3c6610c

agent
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 26 Sep 2013 05:11:57 -0700
parents
children 4cb3971d9d9d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
1 """
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
2 agents to gather commits
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
3 """
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
4
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
5 class Agent(object):
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
6 """abstract base class"""
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
7
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
8 class LocalCheckoutAgent(object):
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
9 """agent based on local checkouts"""
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
10
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
11 class FeedAgent(Agent):
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
12 """gathers changesets by reading RSS/Atom"""