]> git.ipfire.org Git - pbs.git/commit
repositories: Make updates smarter
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 24 May 2023 15:07:38 +0000 (15:07 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 24 May 2023 15:07:38 +0000 (15:07 +0000)
commita88c6c158cab2e8b0acbdaf2ba1c9c48fd23bcb0
treef1fd32a2ba8a9d2e32b1f8921e0731b9155391a3
parent996ad6b2d4948a3bb1e1309b9c707efc730d6c1f
repositories: Make updates smarter

Repositories won't be (re-)written more than once at a time. Instead we
will mark that another update was requested and execute it as soon as
the first one finished.

That way, multiple updates will only cause the repository to be
rewritten twice.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/buildservice/builds.py
src/buildservice/repository.py