From nobody Mon Aug 21 08:50:06 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RTmQ723c2z4qT0v for ; Mon, 21 Aug 2023 08:50:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RTmQ700FQz4FqM for ; Mon, 21 Aug 2023 08:50:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692607807; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=E27iOwqBo7LmVNlciZUh55hiRy/1QevRZCdyOiEsBBo=; b=LogbsFOU2MZ0ue6nFyjkxCR52jIbNhewhaEm55vDb7xSLa4joQXuTi3isxtmlEmTx33pfd VbbiWrxKpZ16+JDIijNtjE0a2rKJsozQRz5591Dhp1QrPVAlDsIWs4BLVKjVkohfCc+/3+ 9OAekK9BwxOjROhL2yt92CYNV643GvuPnQBXNUjaxpBX/IBfs0Yt/Fvpi8wd+BzbbJ/RWx w3R4j4HRBc8S8x7SZI8Zq/7SiYiy5gIyUfY2lpn1WG0Capqz6gKwwDPmfIqCpsdmaabVfE J5MHOPsZNZx3lMjmbR1kqMmY0WGvdHI4jOmMBIjESZk80wTeFV2r/niWo2eyqg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692607807; a=rsa-sha256; cv=none; b=SvsHj3N1n1NAjMAZxvmEDJG0y175iLimK9ukU5WI/GK0bynKkdkadHDhvDpicoQ8W/SwSw rbIW6ktJ5JsHXKgOgHDxL4KgIH91YeDNTuNR0l1PtlvpaZfoQ56p1p49S7Rh+Ve+ZhYnll 4fmjJvjRPZwFdZ56/ShWkHhA3kobWhtf/HfWdHf9k8n7AXpHNHJgwgx/kB+gwmm28dKcqY L4JUyMQEXvHQ+obZrZ0aMnjavcK1x8sbnAugmqZwwc68umLn/MOSxat9oG7xGrNyCZTC3W Mm5CPb3wivxJeUFY1B3GIRwimR7I1r2lCc6QDSiOm/DzWkFsL8MvAY7UgAnqEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RTmQ665LdzZ9 for ; Mon, 21 Aug 2023 08:50:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 37L8o6nj051606 for ; Mon, 21 Aug 2023 08:50:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 37L8o6WF051605 for ports-bugs@FreeBSD.org; Mon, 21 Aug 2023 08:50:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 273257] net-mgmt/victoria-metrics: doesn't report proper version Date: Mon, 21 Aug 2023 08:50:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lapo@lapo.it X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: danfe@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273257 Bug ID: 273257 Summary: net-mgmt/victoria-metrics: doesn't report proper version Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: danfe@FreeBSD.org Reporter: lapo@lapo.it Flags: maintainer-feedback?(danfe@FreeBSD.org) Assignee: danfe@FreeBSD.org These are metrics I receive from some of my vmagents: vm_app_version{instance=3D"=E2=80=A6", job=3D"vmagent", version=3D"vmagent-20230313-062416-16be82b"} vm_app_version{instance=3D"=E2=80=A6", job=3D"vmagent", version=3D"vmagent-20230407-010449-tags-v1.90.0-0-gb5d18c0d2", short_version=3D"v1.90.0"} vm_app_version{instance=3D"=E2=80=A6", job=3D"victoria-metrics", version=3D"victoria-metrics-20230816-130821-tags-v1.93.0-0-g59f7d810c", short_version=3D"v1.93.0"} ("version" doesn't have tag info, and "short_version" is missing altogether) The first comes from the Ports (not the most recent, but it's the same), the second is a Windows build, the third is running on FreeBSD but compiled manually (git clone + gmake). I wonder / I guess it would be enough to use a build tag like this in the Makefile: BUILDINFO_TAG=3Dtags-v1.93.0-0-g59f7d810c Ah, yes, I checked with a local build and it seems to be enough: vm_app_version{version=3D"vmagent-20230812-130110-tags-v1.93.0-0-g59f7d810c= ", short_version=3D"v1.93.0"} I can produce a patch if desired, but I simply changed PORTVERSION, BUILDINFO_TAG, make gomod-vendor, make makesum, make install. PS: 1.93 is the new LTS after 1.87. --=20 You are receiving this mail because: You are the assignee for the bug.=