[tor-bugs] #32534 [Applications/Tor Browser]: settle on one canonical jtorctl

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Nov 29 23:03:08 UTC 2019


#32534: settle on one canonical jtorctl
-------------------------------------------------+-------------------------
 Reporter:  eighthave                            |          Owner:  tbb-
                                                 |  team
     Type:  defect                               |         Status:  new
 Priority:  Medium                               |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  Android, tbb-mobile, jtorctl,        |  Actual Points:
  TorBrowserTeam202001                           |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by eighthave):

 Ok, my merge+modernize work is pretty much done.  I'll be using this to
 complete ''TorService''.  Here's my fork:

 * https://gitlab.com/eighthave/jtorctl

 It includes:

 * all commands in 0.4.1.6 implemented
 * new `RawEventListener` API for getting all events, and adding multiple
 listeners
 * script to generate updates based on Tor source code
 * generated `String` constants for commands, events, signals, etc.
 * new test suite that actually runs `/usr/bin/tor`
 * runs CI in GitLab on Java 8/11/14:
 https://gitlab.com/eighthave/jtorctl/pipelines/99600247
 * generates javadoc and deploys to GitLab Pages:
 https://eighthave.gitlab.io/jtorctl/
 * builds with gradle and Android Studio
 * release artifacts use version from git tag e.g. `git describe`
 * builds jar, javadoc, sources, and POM:
 https://gitlab.com/eighthave/jtorctl/-/jobs/365437657/artifacts/download
 * builds with gradle 4.4.1 in Debian/buster and `./gradlew`.

 Still needs:
 * a complete test suite, look at ''stem'' library for examples
 * some crasher bugs in some events, for example `EVENT_HS_DESC_CONTENT`
 * util/helper methods for parsing the data structures from events

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


More information about the tor-bugs mailing list