hook. Because we reject pushes to tags in the update hook, no push
can ever take out a lock on any tags.
hook. Because we reject pushes to tags in the update hook, no push
can ever take out a lock on any tags.
legitimacy of my reasoning.
"""
if config.build.pockets[pocket].get('allow_backtracking', False):
legitimacy of my reasoning.
"""
if config.build.pockets[pocket].get('allow_backtracking', False):
"""Checkout the package in a temporary working directory.
This context manager returns that working directory. The requested
"""Checkout the package in a temporary working directory.
This context manager returns that working directory. The requested
db.failed_stage = 'preparing source package'
packagedir = os.path.join(workdir, package)
db.failed_stage = 'preparing source package'
packagedir = os.path.join(workdir, package)
- def process_IN_CREATE(self, event):
- """Handle a created file or directory.
+ def process_default(self, event):
+ """Handle an inotify event.
invirtibuilder = Invirtibuilder()
notifier = pyinotify.Notifier(watch_manager, invirtibuilder)
watch_manager.add_watch(b._QUEUE_DIR,
invirtibuilder = Invirtibuilder()
notifier = pyinotify.Notifier(watch_manager, invirtibuilder)
watch_manager.add_watch(b._QUEUE_DIR,