[tor-bugs] #18964 [Metrics/CollecTor]: jenkins builds for and file structure in Metrics Team (java) projects

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed May 4 07:34:37 UTC 2016


#18964: jenkins builds for and file structure in Metrics Team (java) projects
-----------------------------------+--------------------
     Reporter:  iwakeh             |      Owner:  iwakeh
         Type:  enhancement        |     Status:  new
     Priority:  Medium             |  Milestone:
    Component:  Metrics/CollecTor  |    Version:
     Severity:  Normal             |   Keywords:
Actual Points:                     |  Parent ID:
       Points:                     |   Reviewer:
      Sponsor:                     |
-----------------------------------+--------------------
 I couldn't find a cross-concern Metrics Component for the following,
 That's why this is placed in CollecTor.
 For implementation child-tickets should be opened with the appropriate
 component.
 ----
 Wouldn't it be nice to have a group of tasks in
 https://jenkins.torproject.org
 for all the Metrics projects (no matter which language) or at least all
 the java ones?

 **1)** The Jenkins builds could just run in this clean environment
 whenever a check-in takes place.
 Thus, not generating too much strain on the server(s) Jenkins uses. The
 builds are much smaller than the Tor ones anyway.
 In addition, the last build's javadoc and reports as well as test results
 would be immediately available for viewing.

 **2)** Another cross-Metrics concern for java projects is the file
 structure.
 It might be useful to unify the structure to the following (sort of
 similar to the typical maven layout):
 "src" and "generated" as top level. "generated" should be used as in
 collector.
 "src" should have the substructure "main" and "test" (as already started
 in Onionoo).
 "main" contains "java", "resources", "web", ...
 Same with "test" where appropriate.

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


More information about the tor-bugs mailing list