feat: Trace #162

Merged
sam merged 8 commits from trace into master 2022-12-10 17:51:50 +00:00
Owner

This PR should add the trace option, used by +trace and --trace

TODO

  • Making the trace work properly
  • Documentation adding
  • Completion adding
This PR should add the trace option, used by +trace and --trace TODO - [x] Making the trace work properly - [x] Documentation adding - [x] Completion adding
sam added 1 commit 2022-12-06 21:41:21 +00:00
fix(errors): put exported errors in util
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
4ae8471580
IMO it is better to centralize them

Signed-off-by: Sam Therapy <sam@samtherapy.net>
sam force-pushed trace from fbe69d91c2 to cd09ae9137 2022-12-06 21:45:26 +00:00 Compare
sam changed title from WIP: feat: Trace to feat: Trace 2022-12-06 21:45:34 +00:00
sam changed title from feat: Trace to WIP: feat: Trace 2022-12-06 21:45:38 +00:00
sam changed title from WIP: feat: Trace to feat: Trace 2022-12-09 15:22:50 +00:00
sam force-pushed trace from bea1b8e32f to 9e22c2b145 2022-12-09 15:22:56 +00:00 Compare
sam changed title from feat: Trace to WIP: feat: Trace 2022-12-09 15:23:03 +00:00
sam added 1 commit 2022-12-09 15:35:13 +00:00
add tests
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
5b058125ae
Co-authored-by: grumbulon <grumbulon@grumbulon.xyz>
Signed-off-by: Sam Therapy <sam@samtherapy.net>
sam added 1 commit 2022-12-09 15:55:39 +00:00
docs + completions
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
23af5c66d0
Signed-off-by: Sam Therapy <sam@samtherapy.net>
sam changed title from WIP: feat: Trace to feat: Trace 2022-12-09 15:56:05 +00:00
sam added 1 commit 2022-12-09 16:23:13 +00:00
fix tracing forever if tracing the root
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
740f0e6082
Signed-off-by: Sam Therapy <sam@samtherapy.net>
grumbulon requested changes 2022-12-09 23:19:13 +00:00
main.go Outdated
@ -67,0 +91,4 @@
fmt.Println(str)
if keepTracing {
var nothing []dns.RR
Collaborator

Maybe name this something that isn't nothing, same with nothing2

Maybe name this something that isn't `nothing`, same with `nothing2`
Author
Owner

changed :)

changed :)
grumbulon marked this conversation as resolved
sam added 1 commit 2022-12-10 14:07:29 +00:00
use better variable names
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
a38a03c959
Signed-off-by: Sam Therapy <sam@samtherapy.net>
sam requested review from grumbulon 2022-12-10 14:12:38 +00:00
grumbulon approved these changes 2022-12-10 17:43:18 +00:00
sam merged commit 530ef06ee1 into master 2022-12-10 17:51:50 +00:00
sam deleted branch trace 2022-12-10 17:51:50 +00:00
sam referenced this pull request from a commit 2022-12-10 17:51:50 +00:00
Sign in to join this conversation.
No description provided.