Joachim Breitner [Fri, 24 Jul 2009 00:41:09 +0000 (02:41 +0200)]
Implement transactions
New parameters:
--start-transaction: Creates a copy of the state of the database, for
use with --transactional. This overrides any previous uncommited
transaction. Should only be used after --lock-for
--commit-transaction: Atomically moves the copy back to the main, thus
commiting the changes
--transactional: Flag to indicate that we want to work on the copy
Joachim Breitner [Thu, 23 Jul 2009 23:45:19 +0000 (01:45 +0200)]
Implement locking for other process
Locking for another process means that a longer running process (most likely
wb) wants to do several steps at once, and manages the locks.
Added parameters are:
--lock-for PID: Locks the database for the process with this pid
--unlock-for PID: Unlocks the database for the process with this pid
--act-on-behalve-of PID: Ignores the log (if it is held by this pid)
Philipp Kern [Thu, 18 Dec 2008 19:04:29 +0000 (19:04 +0000)]
trigger.security: added
trigger.security will be called from security-master to update the
wanna-build database for security. This was previously done on
security-master itself.
Philipp Kern [Thu, 18 Dec 2008 17:42:40 +0000 (17:42 +0000)]
introduce libtrigger.sh and put the architectures into it
Furthermore copy curl_index from trigger.daily into it so that it can
be used by other triggers. libtrigger.sh is included by both
trigger.daily and trigger.often.