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

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Sep 18 15:32:12 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:
  alpha, TorBrowserTeam201909                    |
Parent ID:  #30324                               |         Points:  0.25
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by sisbell):

 As I recall, some artifacts links are 301 redirects, which were
 redirecting to URL paths that did not have the maven URL path in them.
 This made it impossible to reconstruct the groupId/artifactId/version
 directory paths we needed from the URL output to download-urls.txt.

 Replying to [comment:15 gk]:
 > Alright. So, what about not including any download attempt but only the
 `GET` ones? We are not interested in the `HEAD` ones anyway. If I do that
 and then put the missing resources into `download-fails.txt` and then just
 pass on the lines that are in the former file like so:
 >
 > `comm -23 download-attempts.txt download-fails.txt > download-urls.txt`
 >
 > I get a matching file to the one we checked in (that's for TOPL, I have
 not checked for `tor-android-service`) after sorting the latter (and
 removing the comments).

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


More information about the tor-bugs mailing list