#29365: Add digests and sizes to index.xml
 Reporter:  irl                                  |          Owner:  karsten
     Type:  enhancement                          |         Status:  closed
 Priority:  Medium                               |      Milestone:
Component:  Metrics/Onionperf                    |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  metrics-team-roadmap-2020, metrics-  |  implemented
  team-roadmap-2020-june                         |  Actual Points:  0.4
Parent ID:  #33321                               |         Points:  0.5
 Reviewer:  acute                                |        Sponsor:
                                                 |  Sponsor59-must
Changes (by karsten):

 * status:  needs_revision => closed
 * resolution:   => implemented
 * actualpoints:  0.3 => 0.4


 Okay, you're right that the overhead to compute these digests is really
 small. I had the CollecTor use case in mind where we include SHA-256
 digests of large descriptor tarballs. But it's true, the files produced by
 OnionPerf are tiny in comparison.

 I tweaked your patch a bit by making the field more similar to the one
 produced by CollecTor, that is, by calling it `sha256` and encoding the
 digest using base64. Example of the produced file:

 <?xml version='1.0' encoding='ASCII'?>
   <file name="2020-04-28.onionperf.analysis.json.xz" size="398192"
 last_modified="2020-04-29 00:00:42"
   <file name="2020-04-29.onionperf.analysis.json.xz" size="559528"
 last_modified="2020-04-30 00:00:55"

 Rebased and pushed to master, and closing as implemented. Thanks!

Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29365#comment:15>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
tor-bugs mailing list

Reply via email to