Commit graph

156 commits

Author SHA1 Message Date
d6a9bd9b0b fix(deps): update golang.org/x/net digest to f25eb7e
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-17 16:00:15 +00:00
0bcc63de8a
ci: Purge GHA
All checks were successful
continuous-integration/drone/push Build is passing
I would rather dedicate to only Gitea (and maybe SRHT)

Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-10-17 15:07:55 +02:00
39639c0f7f
fix(deps): go get -u
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-10-16 16:27:05 +02:00
Sam
b80219019e
Add check for port at the end (#142)
All checks were successful
continuous-integration/drone/push Build is passing
Fixes #141

Before, a failure would add on the port, eg.
```
127.0.0.1:53
127.0.0.1:53:53
127.0.0.1:53:53:53 // Go actually thinks this is now an IPv6 address, interesting
```

Now a check is added so this doesn't happen

Reviewed-on: #142
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-10-16 14:25:13 +00:00
bf0e44e80c
ci: Remove server header that was broken
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-10-14 20:15:32 +02:00
9ec28f9b1a
[SKIP CI] docs: add apt repo to README
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-10-14 18:59:23 +02:00
Sam
dc4edd55bb
fix(query): fix printing irregularities (#140)
All checks were successful
continuous-integration/drone/push Build is passing
1. Before, the port printed was duplicated, eg.
`;; SERVER: [::1]:53:53 (UDP)` when making query. This has been fixed (not sure what caused it)
2. JSON/XML/YAML date formatting to be compliant with RFC3339 (thanks, std/time!)

Co-authored-by: Sam Therapy <sam@samtherapy.net>
Reviewed-on: #140
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-10-14 16:51:27 +00:00
Sam
add1ef61a2
feat(packaging): Prepare for apt packaging (#139)
All checks were successful
continuous-integration/drone/push Build is passing
This needs to be tested (preferably extensively), which I will do now

Reviewed-on: #139
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-10-14 14:11:01 +00:00
Sam
2d94ea6838 revert e6a3d6040a
All checks were successful
continuous-integration/drone/push Build is passing
This broke every other operating system (and the AUR)
2022-10-14 12:47:44 +00:00
216a4b6dd7 fix(deps): update golang.org/x/net digest to f15817d
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-14 09:00:14 +00:00
66422e1512 fix(deps): update golang.org/x/sys digest to 95e765b
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-13 18:00:14 +00:00
Sam
81da49093d
refactor: Make all calls to options pointers (#132)
All checks were successful
continuous-integration/drone/push Build is passing
Instead of copying the opts struct every time it gets passed around, it should be created once and passed through reference.

This should reduce memory utilization, unfortunately I cannot test it since this program runs so fast pprof won't report anything useful.

I think I found all of them 🙂

Co-authored-by: Sam Therapy <sam@samtherapy.net>
Reviewed-on: #132
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-10-13 12:49:36 +00:00
e6a3d6040a [SKIP CI] fix: Make makefiles portable
-D isn't supported on MacOS (sample size: 1)

Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-10-13 12:49:15 +00:00
c1b5961717 fix(deps): update module github.com/lucas-clemente/quic-go to v0.29.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-12 15:00:22 +00:00
3d97359070 fix(deps): update golang.org/x/net digest to 0b7e1fb
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-12 14:00:14 +00:00
561958c1b0 fix(deps): update golang.org/x/sys digest to 090e330
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-10 18:00:14 +00:00
d2c6ed317e fix(deps): update module gotest.tools/v3 to v3.4.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-07 17:00:13 +00:00
9734f8ddad fix(deps): update module github.com/dchest/uniuri to v1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-07 13:00:13 +00:00
296f5f0a0b fix(deps): update golang.org/x/sys digest to 84dc82d
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-06 22:00:17 +00:00
4d0605bd1e
fix(deps): go get -u
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-10-06 16:49:48 +02:00
a74fbf525b fix(deps): update golang.org/x/net digest to 8021a29
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-04 17:03:36 +00:00
cf095313a4 fix(deps): update golang.org/x/net digest to bcab684
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-10-02 03:00:20 +00:00
6749361395 fix(deps): update golang.org/x/net digest to 107f3e3
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-09-30 22:00:19 +00:00
4495da2f3e
[SKIP CI] correct README
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-09-30 19:38:26 +02:00
11c06f9662 fix(deps): update github.com/dchest/uniuri digest to 3027df4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-29 11:00:18 +00:00
Sam
d701059b5f [SKIP CI] docs(readme): add links
Signed-off-by: Sam <sam@samtherapy.net>
2022-09-28 21:09:11 +00:00
Sam
56baff4e18 test: forgot one
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-28 19:07:46 +00:00
Sam
6a839ba8e5 [SKIP CI] Update wiki
All checks were successful
continuous-integration/drone/tag Build is passing
2022-09-28 18:36:38 +00:00
Sam
f2cf35ca31 misc: Snapcraft support (#87)
All checks were successful
continuous-integration/drone/push Build is passing
Preliminary shell for supporting a snap

Reviewed-on: #87
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-28 18:32:20 +00:00
Sam
607c321de3
feat: fish completions (#122)
All checks were successful
continuous-integration/drone/push Build is passing
These are basically thrown together but more is always good

Reviewed-on: #122
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-28 18:11:05 +00:00
Sam
f01f2bc15a
feat(resolvers/HTTPS): add HTTP proxy support (#119)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #119
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-28 18:08:56 +00:00
Sam
c053c077c8
test: Add retries to all tests (#121)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #121
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-28 17:51:35 +00:00
0a371cd335 fix(deps): update golang.org/x/sys digest to f11e5e4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-28 15:00:18 +00:00
Sam
f2218481ee
feat(completions): add bash (#118)
All checks were successful
continuous-integration/drone/push Build is passing
well, at least the same Dig and drill do

Reviewed-on: #118
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-28 12:40:27 +00:00
14416d5aec fix(deps): update golang.org/x/net digest to f486391
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-27 19:00:18 +00:00
7b11583d6e fix(deps): update golang.org/x/sys digest to d9d178b
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-27 18:00:21 +00:00
7bd481cd7a fix(deps): update golang.org/x/net digest to aa73b25
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-27 16:00:20 +00:00
Sam
60643e2b3e
Remove AUR submodule
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-09-27 15:36:34 +00:00
Sam
434632884c
chore(test): Add more retires (#115)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #115
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-27 13:54:17 +00:00
284c0646f2 fix(deps): update golang.org/x/net digest to 02166a9
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
2022-09-26 20:00:19 +00:00
3a0a8f015a chore(Refactor) (#110)
All checks were successful
continuous-integration/drone/push Build is passing
refactor

Co-authored-by: Sam Therapy <sam@samtherapy.net>
Reviewed-on: #110
Reviewed-by: Sam <sam@samtherapy.net>
2022-09-24 23:11:09 +00:00
ac55b21b25
[SKIP CI] go mod tidy
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-09-24 18:49:02 +02:00
840397a85a fix(deps): update golang.org/x/net digest to 8be6392
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-23 21:00:16 +00:00
f24608667a fix(deps): update module github.com/lucas-clemente/quic-go to v0.29.1
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
2022-09-23 12:00:18 +00:00
Sam
0845ae2a82
refactor: Make tests less ugly (#102)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #102
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-21 23:08:31 +00:00
94b7f523b7 fix(deps): update golang.org/x/net digest to d300de1
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
2022-09-21 21:00:15 +00:00
c75db286dc fix(deps): update golang.org/x/net digest to db77216
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-21 16:00:16 +00:00
261e5fd6c1 fix(deps): update golang.org/x/net digest to d0c6ba3
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-20 21:00:16 +00:00
75ca107e55 fix(deps): update golang.org/x/net digest to f2f64eb
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-20 00:00:20 +00:00
98c641848e fix(deps): update golang.org/x/net digest to f8f703f
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-19 18:00:14 +00:00