Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #18719

Closed (moved)
Open
Opened Apr 04, 2016 by iwakeh iwakeh@iwakeh

provide executable jar

metrics-db currently has (at least) six classes providing a main method, which are invoked using six corresponding ant tasks.

One solution for providing an executable jar:

Add a new class org.torproject.ernie.db.Main as the jar's main class adding the following functionality:

  • calling java -jar metrics-db.jar will show a usage message and exit.
  • calling java -jar metrics-db.jar <taskname> will run the main method of the class called in the current ant task of the same name, i.e., taskname is one of
    • bridgedescs
    • bridgepools
    • exitlists
    • relaydescs
    • torperf
    • updateindex

Finally, remove the then obsolete ant tasks from build.xml.

What is missing? Should a task be added or removed? Other thoughts?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
CollecTor 1.0.0
Milestone
CollecTor 1.0.0
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#18719