17 Commits

Author SHA1 Message Date
Jonathon Anderson
c2cfe513d7 Remove remaining gRPC references with additional tests
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2026-03-23 06:54:44 -06:00
Jonathon Anderson
1c9757b683 Update deadcode for golang v1.25 compatibility
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2026-03-11 09:32:52 +01:00
Jonathon Anderson
cea25f5a87 Update staticcheck for golang v1.25 compatibility
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2026-03-11 09:32:52 +01:00
Jonathon Anderson
081d2ec61e Update linter for golang v1.25 compatibility
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2026-03-11 09:32:49 +01:00
Christian Goll
8a684973d9 update linter to last v1 version 2025-09-05 14:16:03 +02:00
Jonathon Anderson
8fe5d2dd5f Fix the version of staticcheck used to v0.5.1
v0.6.0, recently released, depends on a newer golang than we might test
with.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-02-27 01:00:51 -07:00
Jonathon Anderson
19e5972b5c Increase linter version
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-02-06 22:11:17 -07:00
Jonathon Anderson
a0179f1432 Resolve issues identifies by staticcheck
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-02-06 22:11:17 -07:00
Jonathon Anderson
3f652ceb02 Run staticcheck as part of GitHub CI
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-02-06 22:11:13 -07:00
Jonathon Anderson
53c939608b Enforce updating license dependencies
- Closes: #1148

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-01-21 09:42:27 -07:00
xu yang
82aaf9b9ec tidy and update related dependencies
Signed-off-by: xu yang <xyang@ciq.com>
2024-10-31 10:34:59 -06:00
Jonathon Anderson
df92a270c7 Add deadcode to Makefile
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-10-18 15:09:09 -06:00
Xu Yang
d78af656de upgrade minimum golang version
Signed-off-by: Xu Yang <xyang@ciq.com>
2024-03-15 02:35:49 -06:00
Jonathon Anderson
39a463c152 Fix missing definition of cleantools target
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-09-01 02:58:11 -06:00
Jonathon Anderson
f6ea3a21a8 Update protoc metadata after extraction
`unzip` preserves the mtime from the zipfile by default. Touching the
file during `make` ensures that `make` can track when the file was
fetched.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-09-01 02:51:43 -06:00
Jonathon Anderson
87bcec1cb2 Simply detection of PROTOC archive file name
The introduction of a new ARCH variable was unnecessary, as ARCH already
exists. That said, the .zip provided for PROTOC isn't a natural fit
here either, as upsream uses `aarch_64` rather than `aarch64`.

In stead, I've used `notdir` to get the filename from the
already-defined `PROTOC_URL`.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-09-01 02:49:40 -06:00
Jonathon Anderson
1047032bae Updated Makefile to account for vendor/ in dist
The previous PR #890 introduced a `Defaults.mk` target for defining
default variables for future calls to `make`. This functionality was
already present in a different form, but this new "real" target had an
unintended side-effect of causing the target to be called automatically
at reference, even the optional reference `-include Defaults.mk`. This
is undesirable as it causes the generation of defaults even during a
`make clean`.

This commit resolves these issues and further refactors the Makefile,
building on the work in #890, but with additional understanding:

* Convert the `Defaults.mk` target to the "phony" `defaults` target,
  preventing automatic generation
* Refactor and split `clean` targets
* Update `cleanvendor` to reflect `OFFLINE_BUILD`, similar to the
  `vendor` target
* Move "tools" targets into `Tools.mk`
* Add `ARCH` to `Variables.mk` for architecture-specific actions

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-08-31 16:35:21 -06:00