[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #16424 [metrics-lib]: Add code to eventually support .xz compressed tarballs



#16424: Add code to eventually support .xz compressed tarballs
-----------------------------+--------------------------
     Reporter:  karsten      |      Owner:  karsten
         Type:  enhancement  |     Status:  needs_review
     Priority:  normal       |  Milestone:
    Component:  metrics-lib  |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+--------------------------

Comment (by leeroy):

 Karsten, I just did clone this branch.

 - You're using the archive entryName() not the parsed file name.
 Previously it was the parsed entry name minus the relative path.
 - You changed the archive stream helper to return a concrete tar archive
 input stream, previously it only returned a tar archive input stream if it
 was possible, and would return null otherwise. This now means an archive
 will return a non-null reference even if opening the archive failed. Which
 means operating on it's contents will eventually fail when it shouldn't
 have been processed.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16424#comment:28>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs