[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #29572 [Applications/Tor Browser]: Fetching latest commits fails when building testbuilds
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs