The upload body goes through an io.TeeReader, so Go frames the request as
chunked. Against a backend that answers before the client has finished
sending, the queued payload was counted anyway and both the reported rate
and bytes_sent came out several times too large.
Backport the two upstream commits that fix it, released in v1.0.14. A
version bump would need its own go.mod downgrade instead: 1.0.14 moved
the go directive to 1.25 and raised five dependencies past Go 1.23.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Version 1.0.13 bumped the go directive to 1.24 and pulled in
dependencies that require Go 1.24, which breaks the build on 24.10
where golang stays on 1.23:
go: go.mod requires go >= 1.24.0 (running go 1.23.12; GOTOOLCHAIN=local)
Lower the directive back to 1.23 and downgrade golang.org/x/{net,sync,
sys,term} and prometheus-community/pro-bing to the latest versions that
still declare go 1.23. No code changes are needed; the tree compiles,
vets and cross-compiles for aarch64 cleanly with Go 1.23.12.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Carry fixes for a data race, a goroutine leak, output escaping, JSON and CSV
termination, and sub-millisecond ping precision, plus additional --debug
output. All patches are under review upstream.
Set the version through GO_PKG_LDFLAGS_X. The package never passed one, so
--version reported neither a name nor a version.
Drop the serverIdx patch: 1.0.13 resolves the same problem by checking the map
lookup rather than reading a possibly absent key.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit f61a21e472)
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.
The following temporary change was made to the core:
diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))
COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))
all:
FORCE: ;
And this command used to fix affected packages:
for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
make package/$i/download
done
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.
Signed-off-by: Andre Heider <a.heider@gmail.com>