[tor-bugs] #27130 [Core Tor/Tor]: rust dependency updating instructions don't work

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Sep 20 21:23:33 UTC 2018


#27130: rust dependency updating instructions don't work
-------------------------------------------------+-------------------------
 Reporter:  cyberpunks                           |          Owner:  (none)
     Type:  defect                               |         Status:
                                                 |  needs_information
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.5.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.3.3.9
 Severity:  Normal                               |     Resolution:
 Keywords:  rust, doc, 033-backport,             |  Actual Points:
  034-backport                                   |
Parent ID:                                       |         Points:
 Reviewer:  catalyst                             |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by cyberpunks):

 Changed the instructions around so that changes to `Cargo.lock` are always
 done one way, using `cargo update`, instead of sometimes with cargo update
 and sometimes with this script, depending.

 Also it turns out `cargo update` doesn't even work unless you remove
 `.cargo/config` first, since the settings there leave cargo only able to
 access the vendored sources and not the real registry. And there's no way
 to override source-replacements like that with environment variables.

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


More information about the tor-bugs mailing list