[tor-bugs] #29572 [Applications/Tor Browser]: Fetching latest commits fails when building testbuilds

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Mar 9 09:18:19 UTC 2019


#29572: Fetching latest commits fails when building testbuilds
--------------------------------------+--------------------------
 Reporter:  gk                        |          Owner:  tbb-team
     Type:  defect                    |         Status:  reopened
 Priority:  Medium                    |      Milestone:
Component:  Applications/Tor Browser  |        Version:
 Severity:  Normal                    |     Resolution:
 Keywords:  tbb-rbm                   |  Actual Points:
Parent ID:                            |         Points:
 Reviewer:                            |        Sponsor:
--------------------------------------+--------------------------

Comment (by boklm):

 Could you run the following script from the `git_clones/firefox`
 directory?

 {{{
 #!/usr/bin/perl -w
 use strict;
 use IO::CaptureOutput qw(capture_exec);

 my ($ref, undef, $success) = capture_exec('git', 'symbolic-ref', 'HEAD');
 chomp $ref;
 if ($success && -e ".git/$ref") {
     print "OK\n";
 } else {
     print "ref: $ref\n";
     print "success: $success\n";
     print -e ".git/$ref", "\n";
 }
 }}}

 This is doing the same check that rbm is doing before deciding to do a
 `git checkout --detach`, but might give some details if it doesn't work.

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


More information about the tor-bugs mailing list