[tbb-bugs] #25421 [Applications/rbm]: Add an option to clean repository if checkout fails

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Mar 5 13:40:28 UTC 2018


#25421: Add an option to clean repository if checkout fails
----------------------------------+----------------------------------
     Reporter:  boklm             |      Owner:  boklm
         Type:  task              |     Status:  new
     Priority:  Medium            |  Milestone:
    Component:  Applications/rbm  |    Version:
     Severity:  Normal            |   Keywords:  boklm201803, tbb-rbm
Actual Points:                    |  Parent ID:
       Points:                    |   Reviewer:
      Sponsor:                    |
----------------------------------+----------------------------------
 Our nightly build sometimes fail with an error such as:
 {{{
 Error: Cannot checkout tor-browser-52.6.0esr-8.0-2-build2
 }}}

 The reason is that the working tree from the git repository is not clean,
 which prevents checking out an other commit.

 We should add an option to rbm to do a `git reset --hard` and `git clean`
 if the checkout fails.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25421>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tbb-bugs mailing list