From 7cde0aab8206a5d95091860a8c1114d625f5280a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 20 Apr 2017 11:51:45 +0200 Subject: Sketch rebuild semantics --- brep/build | 4 ++++ etc/brep-module.conf | 13 +++++++++++++ 2 files changed, 17 insertions(+) diff --git a/brep/build b/brep/build index 3d969db..adc52ff 100644 --- a/brep/build +++ b/brep/build @@ -118,6 +118,10 @@ namespace brep // timestamp_type timestamp; + // True if the package rebuild has been forced. + // + //bool forced; + // Present only if the state is 'tested'. // optional status; diff --git a/etc/brep-module.conf b/etc/brep-module.conf index 1d9d56d..9967164 100644 --- a/etc/brep-module.conf +++ b/etc/brep-module.conf @@ -69,6 +69,19 @@ menu About=?about # # build-config + +# Time to wait before considering a package for a forced rebuild. Must be +# specified in seconds. Default is 10 minutes. +# +# build-forced-rebuild-timeout 600 + + +# Time to wait before considering a package for a normal rebuild. Must be +# specified in seconds. Default is 24 hours. +# +# build-normal-rebuild-timeout 86400 + + # The maximum size of the build task request manifest accepted. Note that the # HTTP POST request body is cached to retry database transactions in the face # of recoverable failures (deadlock, loss of connection, etc). Default is -- cgit v1.1