Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #25782

Closed (moved)
(moved)
Open
Created Apr 11, 2018 by Tom Ritter@tom

Bump stem for depictor

11:10:15 A<+atagar> tjr: You'll find that depictor will have timeouts too when you update Stem. Stem now drops the '.z' suffix and replaces it with an Accept-Encoding header...
11:10:18 A<+atagar> https://gitweb.torproject.org/stem.git/commit/?id=079b481
11:10:38 A<+atagar> To cut down on noise DocTor no longer downloads from tor26.
11:11:00 T<+tjr> Hm... I don't think that's going to be an option for me...
11:11:26 A<+atagar> Why?
11:11:56 A<+atagar> I did a similar thing for turtles back in the day. Certainly understandable though if it's a no-go. :)
11:12:04 A<+atagar> I suppose we might be able to hack around it.
11:12:36 T<+tjr> Well, I suppose I could get the vote from another DirAuth.  But not downloading would mean they would fall off (or have bad data) for the download times table
11:12:46 T<+tjr> Not that that table is terribly accurate today but....
11:13:18 A<+atagar> Gotcha. For DocTor the hack I did was to simply stop treating tor26 as a dirauth.
11:13:44 A<+atagar> Ah, I've got an idea.
11:14:17 A<+atagar> The DescriptorDownloader should return you a query object. You can overwrite the resource attribute to add back the '.z' before making the request.
11:14:45 A<+atagar> Since the stripping happens in the constructor...
11:14:46 A<+atagar> https://gitweb.torproject.org/stem.git/tree/stem/descriptor/remote.py#n370
11:16:01 A<+atagar> Note that you'll want to include 'start = False' in your call so the request isn't made until you change the resource.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking