Conversation
Update ooniprobe man page to be relevant to the Debian package version. * Cleanup unneeded parts of installation and developer's documentation. * Add missing command line options * Add missing tests * Fix old URLs and PATHs
| Display the ooniprobe version and exit. | ||
| .TP | ||
| .BR \-\^Q " or " \-\-queue | ||
| AMQP Queue URL amqp://user:pass@host:port/vhost/queue |
There was a problem hiding this comment.
What is an 'AMQP'? This needs a better description.
There was a problem hiding this comment.
In sort this is used to make ooniprobe work with blocked: openrightsgroup/cmp-issues#78
Not sure how we can describe this in a way that makes senses to the user.
|
These look good, but there are remaining nits from the ticket in trac that aren't addressed by this, like reference to missing mlab test decks among others. Is this meant to be a combined pull to fix everything? |
|
@willscott Do you think that mlab test decks are relevant to the ooniprobe user? |
|
It will be nice to have an auto generated man page with the actual ooniprobe version and date. |
|
I think they aren't relevant, which is why having them referenced in the man page is potentially confusing. The queue thing needs at least sufficient documentation for someone technical to figure out what's going on. even that github bug leaves it pretty unclear what's going on here. Is this some alternative way to get test input (that's stored in a rabbitmq server somewhere?) Saying, 'there's this option that causes a set of acronyms to happen' seems like it can only increase confusion. |
|
Removed the mlab deck references. |
|
I don't think there is a way to get test input for the AMQP routines - it's intended to point at an AMQP (Rabbit) server. However, the AMQP options are only useful on the bin/ooniprobequeue command (which uses a variant director), not bin/ooniprobe; I guess the command line options appear for ooniprobe because the command-line options are in shared code. It might be possible to wrap the parseOptions function so that it uses an extended Options class for the DaemonDirector. That way the --amqp option wouldn't appear when someone was running bin/ooniprobe --help, only when they were running bin/ooniprobequeue. |
|
an initial set of additional changes I'll propose: willscott@aab516c |
|
@willscott apart from the queue comments (willscott@aab516c#commitcomment-18060250) looks good to me. |
|
Re-added AMQP help line to my branch ooni/probe-legacy@fix/man-page...willscott:fix/man-page And filed bug to do it the right way as suggested https://github.com/TheTorProject/ooni-probe/issues/560 Merge/squash my branch into this pull request? |
|
@dantheta actually since ooniprobe 1.4.0 (ooni/probe-legacy@1192ca0 specifically) there is no longer the need to use the specialised ooniprobequeue command to use the messagequeue, but it will invoke that code path upon launching it with the You should probably keep this in mind when you update to a later version of ooniprobe for ORG. |
|
Ah, that's really cool. Thanks! |
|
Lets also try to improve the documentation of the -p option, which is unclear (https://trac.torproject.org/projects/tor/ticket/11988) |
|
I believe this is now superseeded by the manpage docs being generated from markdown files. I believe all the feedback in here should be integrated in there, but please double check to be sure. |
|
Can I close this? |
|
There is significant amount of documentation missing from the markdown docs that should either be added to the docs itself or referenced to the manpages as links or external files (eg: in /usr/share/doc). The documentation topics that are not covered by the current markdown manual pages are:
|
Sounds good. Can you add these to the markdown files as part of a new PR? I also don't think all of these need to necessarily be present inside of the manpage as they are documented elsewhere. |
|
@hellais Sure, though if this issue is closed it will be most probably forgotten.
Which places are you referring to? |
The README has most of these things.
Sure go for it! |
This fixes https://trac.torproject.org/projects/tor/ticket/17319
cc: @willscott