comparison piecrust/plugins/base.py @ 613:e2e955a3bb25

publish: Add publish command. * Add `shell` publisher. * Refactor admin panel's publishing backend to use that, along with the new PID file support.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 04 Feb 2016 08:05:03 -0800
parents eacf0a3afd0c
children ab5c6a8ae90a
comparison
equal deleted inserted replaced
612:2edaefcb82cd 613:e2e955a3bb25
29 29
30 def getBakerAssistants(self): 30 def getBakerAssistants(self):
31 return [] 31 return []
32 32
33 def getSources(self): 33 def getSources(self):
34 return []
35
36 def getPublishers(self):
34 return [] 37 return []
35 38
36 def initialize(self, app): 39 def initialize(self, app):
37 pass 40 pass
38 41
80 def getBakerAssistants(self): 83 def getBakerAssistants(self):
81 return self._getPluginComponents('getBakerAssistants') 84 return self._getPluginComponents('getBakerAssistants')
82 85
83 def getSources(self): 86 def getSources(self):
84 return self._getPluginComponents('getSources') 87 return self._getPluginComponents('getSources')
88
89 def getPublishers(self):
90 return self._getPluginComponents('getPublishers')
85 91
86 def _ensureLoaded(self): 92 def _ensureLoaded(self):
87 if self._plugins is not None: 93 if self._plugins is not None:
88 return 94 return
89 95