Opened 5 years ago

Closed 5 years ago

#12732 closed project (fixed)

an onionoo java cli is available

Reported by: iwakeh Owned by:
Priority: Low Milestone:
Component: Metrics/Onionoo Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

a simple onionoo java cli:
http://koninoo.ourproject.org/

Child Tickets

Change History (11)

comment:1 Changed 5 years ago by karsten

Thanks for announcing this new Onionoo client here.

I'd like to look at the sources before trying it, but it seems there's a problem with SVN: https://ourproject.org/plugins/scmsvn/viewcvs.php/?root=koninoo

I get the same output when checking out the SVN branch:

$ svn checkout svn://svn.ourproject.org/svnroot/koninoo
svn: E000013: Unable to connect to a repository at URL 'svn://svn.ourproject.org/svnroot/koninoo'
svn: E000013: Can't open file '/var/lib/gforge/chroot/svnroot/koninoo/db/current': Permission denied

comment:2 Changed 5 years ago by iwakeh

currently there is a problem with anonymous svn-access.
that's why i included the sources in the release zip:
release overview: https://ourproject.org/frs/?group_id=1794
and zip-file:
https://ourproject.org/frs/download.php/401/koninoo-cli-and-src-1.0.zip

comment:3 Changed 5 years ago by karsten

Ah, you're right. Found the sources.

But why the Java 8 requirement? OS X 10.9 has Java 7, same as Debian Wheezy. Would it be difficult to lower that requirement to Java 7? I assume that only very few people have Java 8 installed, now or in the next 1--2 years.

comment:4 Changed 5 years ago by iwakeh

well, you're right. java7 will be a better choice, currently.
i was just playing with lambda expressions ;-)

so the java 7 release will be there very soon.

i just moved the sources to savannah.gnu.org in order to have some decent access.
(link on the web page).

actually, i intend to expand the functionality of koninoo-cli and maybe also program
a gui version. so any suggestions and feature requests are very welcome!

a question:
what license do you use for onionoo? (i couldn't find one in the sources)
b/c i would like to use/utilize the docs classes in org.torproject.onionoo

thanks!

comment:5 Changed 5 years ago by karsten

Great, looking forward to the Java 7 release.

Onionoo's license is here. If you have ideas or patches to make the docs classes cleaner or more otherwise useful, please file a ticket!

comment:6 Changed 5 years ago by iwakeh

thanks for the license!

i moved the source and everything else to
koninoo@Gnu

and took the time to remove the java 8 artifacts.
i.e. koninoo for java7 is available (see koninoo home)

comment:7 Changed 5 years ago by karsten

Still contains Java 8 thingies as far as I can see.

comment:8 Changed 5 years ago by iwakeh

did you look at the j7master branch?

i think the source browsing usually defaults to the master branch.
there is a drop down box for choosing the branch in the upper right.

comment:9 Changed 5 years ago by karsten

Yes, you're right. Switched to the j7master branch, looks good. I suggest making that the default master branch to reduce this source of confusion. I also had the opportunity to test it a bit, and it looks like a useful tool.

Want me to add it to the list of known Onionoo clients? That list is mostly for developers to get inspired what tools they could hack on. How would you describe your tool in one sentence?

If you want to announce your tool more broadly, I suggest subscribing to the tor-talk@ mailing list and posting an announcement there.

And do you want me to inform you of major Onionoo protocol changes? If yes, I'll need your email address.

comment:10 Changed 5 years ago by iwakeh

Yeah, adding koninoo to the client list would be nice.
Here's the description:

A simple Java command line interface for querying the Tor status protocol.
URL: https://savannah.nongnu.org/projects/koninoo/

Please keep me informed about protocol changes:
iwakeh [arroba) users ourproject org

concerning the protocol:
It might be usefull (at least for the java clients) to provide
the java/json classes from the docs package as separate jar.
As all protocol changes will always be reflected there it would be
easier to keep the clients up-to-date.
I could provide the ant task, because I intend to use these classes
in the next koninoo release.

PS:
One minor issue with the org.torproject.descriptor package:
the DescriptorSourceFactory in org.torproject.descriptor
creates a cycle with the org.torproject.descriptor.impl package.

comment:11 in reply to:  10 Changed 5 years ago by karsten

Resolution: fixed
Status: newclosed

Replying to iwakeh:

Yeah, adding koninoo to the client list would be nice.
Here's the description:

A simple Java command line interface for querying the Tor status protocol.
URL: https://savannah.nongnu.org/projects/koninoo/

Added.

Please keep me informed about protocol changes:
iwakeh [arroba) users ourproject org

Will do.

concerning the protocol:
It might be usefull (at least for the java clients) to provide
the java/json classes from the docs package as separate jar.
As all protocol changes will always be reflected there it would be
easier to keep the clients up-to-date.
I could provide the ant task, because I intend to use these classes
in the next koninoo release.

Sure, an additional ant task can't hurt. But can you open a new ticket for that?

PS:
One minor issue with the org.torproject.descriptor package:
the DescriptorSourceFactory in org.torproject.descriptor
creates a cycle with the org.torproject.descriptor.impl package.

Indeed, that's not pretty. Can you open a new ticket under the metrics-lib component for that?

I'm closing this ticket, not because those two issues aren't important, but because we shouldn't hijack this poor ticket even more for unrelated issues.

Thanks!

Note: See TracTickets for help on using tickets.