[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #13661 [Tor]: Accept shorter version numbers
#13661: Accept shorter version numbers
------------------------------------+------------------------------------
Reporter: nickm | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: 0.2.6.x-final
Component: Tor | Version:
Keywords: tor-relay 025-backport | Actual Points:
Parent ID: | Points:
------------------------------------+------------------------------------
I was thinking about removing the leading 0 from our version numbers, and
realized that we can't[*] do that yet: tor_version_parse assumes that if
you have a three-number version, you may not have a tag.
Let's allow two-number versions and three-number versions to have tags.
And let's look into other ways to fix tor_version_parse.
[*] There are other ways to remove our leading 0. We could use four-
number for alphas, and three-number versions for stable versions, as in
"2.7.0.1-alpha, 2.7.0.2-alpha, 2.7.0.3-alpha, 2.7.0.4-rc, 2.7.5". Or we
could have Tor report its vesion as 2.7.1-alpha to the UI, but advertise
it as 0.2.7.1-alpha to other tors to work around this bug.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13661>
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