Unify parsing code for control.c
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Nick Mathewson changed milestone to %Tor: 0.4.1.x-final
changed milestone to %Tor: 0.4.1.x-final
Trac:
Parent Ticket: #29210 (moved)
Child Ticket(s): #29984 (moved)- Author
I have a WIP branch as
control_command_refactor
; there are a few more tests and commands to go. - Author
Now it handles all the commands, and 'test-stem' passes. PR at https://github.com/torproject/tor/pull/919
Trac:
Sponsor: N/A to Sponsor31-can
Type: defect to enhancement
Status: assigned to needs_review - Author
Trac:
Actualpoints: N/A to 3 - Author
Per request from catalyst, I have rebased the branch as
control_command_refactor_v2
and created a PR at https://github.com/torproject/tor/pull/940 . Trac:
Reviewer: N/A to catalystSo far, I looked at
d1f5957c4e Improve handling of controller commands
through
e3fcbffbb8 Use parsing code for the simpler controller commands.
These look good. I commented on the pull request about a few technical debt issues and some minor spelling and naming things.
This set of commits seems to form a logical grouping and they could probably have been in their own child ticket/PR.
Looking at
bb2062dd76 kvline: handle empty alues as well as empty keys
through
5d3dcd6fc9 Update more controller commands, now that we have kvline support
Overall this looks good, and deletes a lot of repetitive code.
There's a typo in the bb2062dd76 summary.
See technical debt comment in the pull request for
control_cmd_parse_args()
, and maybe a few more minor comments.- Author
Okay, I've caught up on the requested revisions.
Looking at
3eed319e4f Use new parser logic for SETCONF/RESETCONF code.
through
62695a9307 squash! kvline: handle empty alues as well as empty keys
Overall this looks good! I like how much smaller
control_setconf_helper()
became.I wrote a few small comments on the pull request.
- Author
Updated the branch, responded to comments. Ready to go?
- Author
I've takedn your suggestion, and squashed the branch as control_command_refactor_v3.
New PR for merge at https://github.com/torproject/tor/pull/980 ; let's give CI another chance on it before we merge.
- Author
Trac:
Keywords: N/A deleted, dgoulet-merge added Merged! Woot
Trac:
Status: merge_ready to closed
Resolution: N/A to fixed- Trac closed
closed
- Trac changed time estimate to 24h
changed time estimate to 24h
- Trac added 24h of time spent
added 24h of time spent
- teor mentioned in issue #30580 (moved)
mentioned in issue #30580 (moved)
- Trac mentioned in issue #29210 (moved)
mentioned in issue #29210 (moved)
- Trac mentioned in issue #29984 (moved)
mentioned in issue #29984 (moved)
- Trac moved to tpo/core/tor#30091 (closed)
moved to tpo/core/tor#30091 (closed)
- Trac mentioned in issue tpo/core/tor#30580 (closed)
mentioned in issue tpo/core/tor#30580 (closed)