[metrics-bugs] #24562 [Metrics]: Define SQL coding guidelines for Merrics' products

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Dec 8 11:55:34 UTC 2017

#24562: Define SQL coding guidelines for Merrics' products
     Reporter:  iwakeh       |      Owner:  metrics-team
         Type:  enhancement  |     Status:  new
     Priority:  Medium       |  Milestone:
    Component:  Metrics      |    Version:
     Severity:  Normal       |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |   Reviewer:
      Sponsor:               |
 Some points with examples are stated in
 [https://trac.torproject.org/projects/tor/ticket/24218#comment:8 #24218
 comment 8].  We shouldn't re-invent the wheel here.  Thus, for reference
 some [https://oracle.readthedocs.io/en/latest/sql/basics/style-guide.html
 ideas from Oracle]  and another
 [https://databaseline.bitbucket.io/guidelines.html reference] suggested

 I wouldn't want to copy these entirely, especially the 'space before
 comma' rule is troublesome.  We don't change sql often enough to justify

 There are probably other nice references out there, which should be

Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24562>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online

More information about the metrics-bugs mailing list