[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #10815 [EFF-HTTPS Everywhere]: 4.dev.15 ruleset db is not a proper db?
#10815: 4.dev.15 ruleset db is not a proper db?
--------------------------------------+-------------------------------
Reporter: Faziri | Owner: pde
Type: enhancement | Status: needs_information
Priority: normal | Milestone:
Component: EFF-HTTPS Everywhere | Version:
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
--------------------------------------+-------------------------------
Comment (by jsha):
You make a good point, Faziri: It would be cleaner to fully transform the
XML into a database schema. The main reason I didn't do that initially was
that it was the minimal change necessary to speed up DB loading to the
point where we could unblock the 4.0 beta Firefox release.
Additionally, someone later pointed out that some users take advantage of
the 'custom ruleset' feature, where they can author their own rulesets and
put them in their profile directory. Since the format of these custom
rulesets is also XML, we'd have to continue to maintain an XML-ingesting
code path in addition to a newer, more SQL-native DB-ingesting code path,
which seems like a recipe for bugs.
Besides conceptual cleanliness, what do you see as the advantages of
transforming the XML schema more fully into a DB schema?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10815#comment:4>
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