34 Commits

Author SHA1 Message Date
Alberto Bertogli
5116c5873d modules: Update Go dependencies 2025-11-30 00:21:36 +00:00
Alberto Bertogli
6118e1f051 modules: Update Go dependencies, and min Go version is now 1.24.0 2025-10-24 12:23:50 +01:00
Alberto Bertogli
e632449fc2 modules: Update Go dependencies 2025-06-07 11:04:33 +01:00
Alberto Bertogli
5305adb1b9 modules: Update Go dependencies, and min Go version is now 1.23.0 2025-03-31 09:24:18 +01:00
Alberto Bertogli
14892f438b modules: Update Go dependencies 2025-02-16 20:25:08 +00:00
Alberto Bertogli
7e560aba6e modules: Update Go dependencies 2024-12-01 22:17:40 +00:00
Alberto Bertogli
002c2ff59c modules: Update Go dependencies 2024-04-21 11:24:30 +01:00
Alberto Bertogli
f13fdf0ac8 modules: Update Go dependencies 2024-03-10 09:16:42 +00:00
Alberto Bertogli
0c02bfbe76 modules: Update Go dependencies 2023-12-21 15:41:20 +00:00
Alberto Bertogli
6713fb7aef modules: Update Go dependencies 2023-10-27 18:00:23 +01:00
Alberto Bertogli
8cc42df249 modules: Update Go dependencies (again)
This patch does a general pass updating dependencies to their latest
versions.
2023-10-07 16:53:58 +01:00
Alberto Bertogli
669bccc13f modules: Update Go dependencies
This patch does a general pass updating dependencies to their latest
versions.
2023-10-04 15:43:41 +01:00
Alberto Bertogli
57ee3733f4 modules: Update Go modules
This patch does a general pass updating dependencies to their latest
versions.
2023-07-30 13:21:07 +01:00
Alberto Bertogli
34977fe834 modules: Update Go modules
This patch does a general pass updating Go modules to recent versions.

This should fix a minor security advisories around http/2 handling. Even
though chasquid doesn't directly expose http/2, the monitoring server
could be affected.
Reference: https://pkg.go.dev/vuln/GO-2023-1495.
2023-02-19 08:54:44 +00:00
Alberto Bertogli
ab63834cba Update minimum supported Go version 1.17 -> 1.18, and modules
This patch updates the minimum supported Go version from 1.17 to 1.18,
and also the versions of our dependencies.

Go 1.18 is now 2 releases old, and easily available in most Linux
distributions, including Debian stable (via backports).
2023-02-05 10:42:37 +00:00
Alberto Bertogli
008367d320 Update minimum supported Go version 1.15 -> 1.17
The latest version of some packages we depend on (golang.org/x/sys,
indirectly) do not support 1.15 anymore.

We kept 1.15 because it's the version on Debian stable, but that release
is more than 2y old, and newer versions are readily available in Debian
stable backports.

So this patch updates the minimum supported Go version to 1.17.
2022-11-12 20:06:35 +00:00
Alberto Bertogli
cbb620eec2 modules: Update Go modules
This patch does a general pass updating Go modules to recent versions.

The main purpose is to make sure people building from source are using
relatively recent versions of our dependencies.
2022-11-12 11:52:26 +00:00
Alberto Bertogli
6dfff9a790 modules: Update Go modules and regenerate protobufs
This patch does a general pass updating Go modules to recent versions, and
regenerates the protobufs accordingly.

The main purpose is to make sure people building from source are using
relatively recent versions of our dependencies.
2022-08-27 23:39:40 +01:00
Alberto Bertogli
d4b89db6c3 modules: Update blitiri.com.ar/go/spf to 1.5.0
This patch updates the dependency on blitiri.com.ar/go/spf from v1.4.0
to v1.5.0, which includes a few bug fixes.

There are no code changes needed.
2022-08-08 17:36:01 +01:00
Alberto Bertogli
5c51f74941 modules: Update blitiri.com.ar/go/spf to v1.4.0
This patch updates the dependency on blitiri.com.ar/go/spf from v1.3.0
to v1.4.0.

There are no code changes needed, but the new version contains some
important fixes around lookup limits counting.
2022-06-19 12:11:27 +01:00
Alberto Bertogli
3255ff6801 modules: Update Go modules and regenerate protobufs
This patch does a general pass updating Go modules to recent versions, and
regenerates the protobufs accordingly.

The main purpose is to make sure people building from source are using
relatively recent versions of our dependencies.
2022-03-11 18:28:11 +00:00
Alberto Bertogli
d3c18aa471 modules: Update spf to 1.3.0
This patch updates the dependency on blitiri.com.ar/go/spf from v1.2.0
to v1.3.0, which includes a few bug fixes.

There are no code changes needed, just some minor adjustment to the
tests due to error strings changing.

The go.mod "go" keyword is also bumped up to 1.15 since it's the minimum
supported version since commit e444fe1f (2021-10-05).
2022-02-27 11:30:34 +00:00
Alberto Bertogli
27f4356f67 modules: Add missing golang.org/x/tools sum
This patch adds a missing golang.org/x/tools sum, that is used by the
coverage view generator, so it was missed in the last general update.
2021-06-11 10:34:20 +01:00
Alberto Bertogli
fb680336f0 modules: Update Go modules and regenerate protobufs
This patch does a general pass updating Go modules to recent versions,
and regenerates the protobufs accordingly.

The main purpose is to make sure people building from source are using
relatively recent versions of our dependencies.

We also regenerate protobufs since the newer versions of the liberaries
have a much cleaner dependency tree, which speeds up fetches.
2021-05-31 11:43:06 +01:00
Alberto Bertogli
5c09138db8 chasquid-util: Remove dependency on docopt-go
The docopt-go library is quite convenient, but it has been abandoned for
a while :(

Since we only use it for chasquid-util, this patch removes it and
replaces it with a custom small parser, that is a reasonable fit for the
required use cases.

The patch also adds a couple of tests to increase coverage.

NOTE: docopt-go accepted some undocumented behaviour, in particular the
use of "-a b" instead of "-a=b". The new parser does not, so some
user scripts may require updating.

I think this should be rare enough not to be worth the complexity of
adjusting the parser to allow it.
2021-01-16 23:21:35 +00:00
Alberto Bertogli
bee37ef7a4 modules: Update blitiri.com.ar/go/spf to v1.1.1
This patch updates the blitiri.com.ar/go/spf dependency to v1.1.1, which
includes a fix for potential mismatches with a:, mx: and ptr:.
2020-07-28 02:12:29 +01:00
Alberto Bertogli
d781b3f403 Update blitiri.com.ar/go/systemd to v1.1.0
This patch updates the modules to blitiri.com.ar/go/systemd v1.1.0.

There are no significant changes, but it's the first version which
supports go modules.
2020-05-29 02:04:07 +01:00
Alberto Bertogli
b4c8244e48 modules: Update blitiri.com.ar/go/spf to v1.1.0
This patch updates the modules to blitiri.com.ar/go/spf v1.1.0.

There are no significant changes, but it's the first version which
includes go modules.
2020-05-22 22:41:39 +01:00
Alberto Bertogli
0f686399b6 modules: Update blitiri.com.ar/go/log to v1.1.0
This patch updates the modules to blitiri.com.ar/go/log v1.1.0.

That version includes new APIs we will rely on in subsequent patches.
They are experimental but it should be fine for our case, and we can
adjust if they change.
2020-05-22 20:08:14 +01:00
Alberto Bertogli
aacd50e87a modules: Update Go module versions
This patch updates the Go module versions to the latest available.
2020-05-22 12:59:29 +01:00
Alberto Bertogli
50986a7b7e Update protobuf library to v2
There is a new protobuf library (and corresponding code generator) for
Go: google.golang.org/protobuf.

It is fairly compatible with the previous v1 API
(github.com/golang/protobuf), but there are some changes.

This patch adjusts the code and generated files to the new API.

The on-wire/on-disk format remains unchanged so this should be
transparent to the users.
2020-05-16 10:12:51 +01:00
Alberto Bertogli
35c2d1d485 modules: Update go module versions
This patch updates the Go module versions to the latest available.
2020-03-27 08:55:34 +00:00
Alberto Bertogli
a75eabbc22 test: Generate a prettier coverage report
To make the coverage report a bit more accessible and easier to
navigate, this patch makes the coverage tests generate a new HTML
coverage report (in addition to the classic variant).
2019-10-26 01:56:33 +01:00
Thor77
80b4f7f832 Add support for go modules 2019-10-19 00:45:18 +01:00