[tbb-bugs] #31568 [Applications/Tor Browser]: Update How to Create Gradle Dependencies

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Sep 1 02:56:25 UTC 2019


#31568: Update How to Create Gradle Dependencies
-------------------------------------------------+-------------------------
 Reporter:  sisbell                              |          Owner:  tbb-
                                                 |  team
     Type:  defect                               |         Status:
                                                 |  needs_revision
 Priority:  Medium                               |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-rbm, ff68-esr, tbb-9.0-must-     |  Actual Points:
  nightly, TorBrowserTeam201908                  |
Parent ID:  #30324                               |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by sisbell):

 I found out what was going on here. The logs will attempt to download a
 URL and then later in the logs the build will log the artifact as not
 found. Then it moves on to try the same artifact at another repo. this
 records two entries (the new grep I provided filters out potentially the
 good site, keeping the bad one so we shouln't use it).

 I have no idea how to coordinate the log flow to see if it is successful
 without writing a custom program to track state. All of this changes if we
 move to another version of Gradle, since the logs are not a consistent
 forma. I'm not sure that it is worth the time to create a custom log
 parser.

 In my case, I would have multiple entries in the download-urls.txt. When I
 process it, my program excludes any artifact it doesn't find so everything
 is correct in the gradle-dependency file.

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


More information about the tbb-bugs mailing list