The output of the --version and --library-versions options of tor and the --version option of tor-resolve include a trailing dot. Such commands for other programs typically do not include a trailing dot.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items 0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items 0
Link issues together to show that they're related.
Learn more.
Looking at the GNU Coding Standards about the --version option it seems to be common to only print the program name and version number without using a version prefix.
Atagar, can you confirm that reverting 78a13df15842e8ab262e17825160386fadb77056 is enough to fix the problem, or should we revert 62f52a888acc191bcb507d27d31d54e42e6effdd too?
Hi Nick. Stem shouldn't care about commit 78a13df. It's commit 62f52a8 (changing 'Tor version ' to 'Tor ') that breaks stem's get_system_tor_version() since it checks for that prefix...
I'd be happy to change Stem to be more flexible if you'd like - just tell me what format I should expect that line to be in. However, to avoid breaking folks we'll need to wait until those stem changes have been in a release for quite a while before changing stuff on tor's side (sorry about that!).
Sorry, unless this is vital to Nick I'm not cutting a special release for just this. If we'd care to change the version output that's fine, but it'll need to be in the future after a new release is out.
Nick: If you'd care to go this route just let me know what you'd like Stem to accept.
Since this is a cosmetic improvement at best, I'm reverting for now. Breaking compatibility with existing tools is a bit rude, and breaking integration tests is downright risky.
Cypherpunks, is there a benefit to changing stem to accept both formats, and changing Tor later on? That is, is there some other tool that will work better with Tor if we make these changes?
Cypherpunks, is there a benefit to changing stem to accept both formats, and changing Tor later on? That is, is there some other tool that will work better with Tor if we make these changes?
Not AFAIK. I'm okay with reverting since it seems to generate more work than it's worth. You may also close this ticket as wontfix.
Hi Nick. This came up with an earlier patch just a week ago. Stem checks for the period in the line.
Err, sorry. I meant, we should do nothing unless there is something that breaks when there is a period. If every relevant tool works with the status quo, then IMO there's not much reason to change.