commit eb12aafc5b75bbf00cfd74b02fc57009aa03b021 Author: Nicolas Vigier boklm@torproject.org Date: Tue Jan 16 12:54:41 2018 +0100
Reset timestamp when no_build_id is selected
The defaut timestamp value will use the commit time of the selected commit for the project, which will require cloning the git repository if it is not present. When we use the no_build_id target to display a script, we usually don't care about such details, so we set timestamp to 0 to avoid unnecessary cloning. --- rbm.conf | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/rbm.conf b/rbm.conf index 8b9309d..ed2319d 100644 --- a/rbm.conf +++ b/rbm.conf @@ -288,6 +288,12 @@ targets: # a build template or other option but don't want to spend time to # compute the various build ids no_build_id: + # The defaut timestamp value will use the commit time of the + # selected commit for the project, which will require cloning the + # git repository if it is not present. When we use the no_build_id + # target to display a script, we usually don't care about such + # details, so we set timestamp to 0 to avoid unnecessary cloning. + timestamp: 0 var: build_id: 1