[tor-bugs] #3262 [Tor Weather]: Weather should look for "-alpha" dev versions, too, when checking recommended Tor versions

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sun May 22 11:39:29 UTC 2011


#3262: Weather should look for "-alpha" dev versions, too, when checking
recommended Tor versions
-------------------------+--------------------------------------------------
 Reporter:  kaner        |          Owner:  kaner
     Type:  defect       |         Status:  new  
 Priority:  normal       |      Milestone:       
Component:  Tor Weather  |        Version:       
 Keywords:               |         Parent:       
   Points:               |   Actualpoints:       
-------------------------+--------------------------------------------------

Comment(by karsten):

 Parsing the version string for "-alpha" or "-dev" seems fragile,
 especially since we added a "-beta" recently.  Who knows what we're going
 to add in the future.

 Maybe we can compare the number part of the version string to decide
 whether a version is a) included in the recommended versions, b) newer
 than all recommended versions of a major version, c) older than all
 recommended versions, or d) otherwise not included.  Here's an example
 (not the current recommended versions):

 {{{
 client-versions
 0.2.1.29,0.2.1.30,0.2.2.21-alpha,0.2.2.22-alpha,0.2.2.25-alpha,0.2.2.26-beta,0.2.2.27-beta,0.2.3.1-alpha
 }}}

 In case a), everything's good.  Case b) could be 0.2.2.28-something or
 0.2.3.2-alpha and is likely due to us not recommending a new version yet.
 Examples for c) and d) are 0.2.1.28 and 0.2.2.23-alpha, respectively, and
 indicate an outdated version.  We should probably inform the user in cases
 c) and d).

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


More information about the tor-bugs mailing list