[tor-bugs] #27091 [Core Tor/Tor]: Configure jenkins with CARGO_HOME in a writeable directory

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Aug 10 07:54:53 UTC 2018


#27091: Configure jenkins with CARGO_HOME in a writeable directory
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:  (none)
     Type:  defect                               |         Status:
                                                 |  needs_information
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.5.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  032-backport, 033-backport,          |  Actual Points:
  034-backport                                   |
Parent ID:  #24629                               |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------
Changes (by teor):

 * status:  new => needs_information


Comment:

 weasel has set CARGO_HOME to an empty writeable directory in the tor-rust
 jenkins builds.

 But he says that we should make sure cargo only writes to the build
 directory, for the sake of Debian, Ubuntu and other distributions.

 We should do whatever other Rust packages do.

 If there's no clear answer, I suggest that we make the build directory
 CARGO_HOME if:
 * CARGO_HOME is unset or not writeable, and
 * HOME is unset or not writeable

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


More information about the tor-bugs mailing list