[tbb-bugs] #16551 [GetTor]: Improve Latests TBB Format to be easily parsable
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sat Aug 22 12:15:32 UTC 2015
#16551: Improve Latests TBB Format to be easily parsable
-----------------------------+-----------------------------------
Reporter: naif | Owner: sukhbir
Type: enhancement | Status: needs_review
Priority: normal | Milestone:
Component: GetTor | Version:
Resolution: | Keywords: TorBrowserTeam201508R
Actual Points: | Parent ID:
Points: |
-----------------------------+-----------------------------------
Comment (by evilaliv3):
well done blklm/ilv/micahlee
i've simply a concern: your all comments are still missing to answer the
first comment by gk that if i'm not wrong can be summarized as:
1. multiple stables (the one that during time has not become vulnerable
and so should not be listed at all) may exist
2. generically as 1. multiple alphas/beta/something may exist at a time.
i think that your gerarchical data format for describing a precise version
is perfect, but we miss a good wrapping object that would allow to access
the relevant information in O(1).
here is my proposal (written fastly as i'm reading but i think it should
really be considered and improved):
tor_versions {
categories_list: ['stable', 'alpha', 'whatever'],
category_summary: {
'stable': { latest: '1.1', versions[1.1, 1.2, ...] },
'alpha;: { latest: '1.X', versions[1.X, 1.Y, ...] },
'whatever': { ... }
},
versions = {
'1.1' = { your self describing data structure for a version},
'1.2' = { },
'1.X' = { },
}
}
benefits of the wrapper object described above:
1) is it possible to have in O(1) the list of the categories
2) is it possible to have in O(1) the list of the version in a category
3) is it possible to get in O(1) the latest version of a category or in
general the descriptor of a known version.
what do you think?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16551#comment:13>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tbb-bugs
mailing list