Bug 2555585
| Summary: | Review Request: prometheus-exporter-exporter - A reverse proxy designed for Prometheus exporters | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Andreas Haupt <andreas.haupt> |
| Component: | Package Review | Assignee: | Terje Rosten <terjeros> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | package-review, terjeros |
| Target Milestone: | --- | Flags: | terjeros:
fedora-review+
|
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2026-11-23 10:35:57 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Andreas Haupt
2026-10-19 13:44:29 UTC
Rename to prometheus-exporter-exporter in line with prometheus-foomuuri-exporter and prometheus-podman-exporter? Could do so, indeed. Was just unsure about the naming as it is not consistent in Fedora atm. Found both ways. Which is best or currently the preferred? * knot-exporter * node-exporter * nordugrid-arc-arc-exporter * ceph-exporter * systemtap-exporter vs. * prometheus-foomuuri-exporter * prometheus-podman-exporter As exporter-exporter is completely generic, prometheus- prefix make sense for this package. The other exporters have at least some context already. OK, then let's renamed it: SPEC URL: https://www.zeuthen.desy.de/~ahaupt/fedora/prometheus-exporter-exporter/prometheus-exporter-exporter.spec SRPM URL: https://www.zeuthen.desy.de/~ahaupt/fedora/prometheus-exporter-exporter/prometheus-exporter-exporter-0.6.1-1.el10.src.rpm Package Review
==============
Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[ ] = Manual review needed
===== MUST items =====
Generic:
[x]: Package is licensed with an open-source compatible license and meets
other legal requirements as defined in the legal section of Packaging
Guidelines.
[x]: License field in the package spec file matches the actual license.
[x]: If the package is under multiple licenses, the licensing breakdown
must be documented in the spec.
[x]: Package does not own files or directories owned by other packages.
Note: Dirs in package are owned also by: /etc/prometheus(alertmanager,
prometheus)
[x]: %build honors applicable compiler flags or justifies otherwise.
[x]: Package contains no bundled libraries or specifies bundled libraries
with Provides: bundled(<libname>) if unbundling is not possible.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory
names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
Provides are present.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[x]: Package contains systemd file(s) if in need.
[x]: Useful -debuginfo package or justification otherwise.
[x]: Package is not known to require an ExcludeArch tag.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least
one supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
Note: There are rpmlint messages (see attachment).
[x]: If (and only if) the source package includes the text of the
license(s) in its own file, then that file, containing the text of the
license(s) for the package is included in %license.
[x]: The License field must be a valid SPDX expression.
[x]: Package requires other packages for directories it uses.
[x]: Package must own all directories that it creates.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
beginning of %install.
[x]: %config files are marked noreplace or the reason is justified.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Dist tag is present.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package must not depend on deprecated() packages.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
work.
[x]: Package is named using only allowed ASCII characters.
[x]: No %config files under /usr.
[x]: Package does not use a name that already exists.
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as
provided in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
%{name}.spec.
[x]: systemd_post is invoked in %post, systemd_preun in %preun, and
systemd_postun in %postun for Systemd service files.
Note: Systemd service file(s) in prometheus-exporter-exporter
[x]: File names are valid UTF-8.
[x]: Large documentation must go in a -doc subpackage. Large could be size
(~1MB) or number of files.
Note: Documentation size is 9239 bytes in 2 files.
[x]: Packages must not store files under /srv, /opt or /usr/local
===== SHOULD items =====
Generic:
[-]: If the source package does not include license text(s) as a separate
file from upstream, the packager SHOULD query upstream to include it.
[x]: Final provides and requires are sane (see attachments).
[x]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[!]: Patches link to upstream bugs/comments/lists or are otherwise
justified.
[x]: SourceX tarball generation or download is documented.
[-]: Sources are verified with gpgverify first in %prep if upstream
publishes signatures.
[x]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed
files.
[x]: Spec use %global instead of %define unless justified.
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
$RPM_BUILD_ROOT)
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: SourceX is a working URL.
[x]: Package should compile and build into binary rpms on all supported
architectures.
===== EXTRA items =====
Generic:
[x]: Rpmlint is run on debuginfo package(s).
Note: No rpmlint messages.
[x]: Rpmlint is run on all installed packages.
Note: There are rpmlint messages (see attachment).
[x]: Large data in /usr/share should live in a noarch subpackage if package
is arched.
[x]: Spec file according to URL is the same as in SRPM.
Rpmlint
-------
Checking: prometheus-exporter-exporter-0.6.1-1.fc46.x86_64.rpm
prometheus-exporter-exporter-0.6.1-1.fc46.src.rpm
============================ rpmlint session starts ============================
rpmlint: 2.8.0
configuration:
/usr/lib/python3.14/site-packages/rpmlint/configdefaults.toml
/etc/xdg/rpmlint/fedora-spdx-licenses.toml
/etc/xdg/rpmlint/fedora.toml
/etc/xdg/rpmlint/scoring.toml
/etc/xdg/rpmlint/users-groups.toml
/etc/xdg/rpmlint/warn-on-functions.toml
rpmlintrc: [PosixPath('/tmp/tmp4viuozff')]
checks: 32, packages: 2
prometheus-exporter-exporter.src: E: spelling-error ('behaviour', '%description -l en_US behaviour -> behavior, behaviors, behave')
prometheus-exporter-exporter.src: E: spelling-error ('depedencies', "%description -l en_US depedencies -> dependencies, dependence's, dependency's")
prometheus-exporter-exporter.src: E: spelling-error ('auditable', '%description -l en_US auditable -> editable, audit able, audit-able')
prometheus-exporter-exporter.x86_64: E: spelling-error ('behaviour', '%description -l en_US behaviour -> behavior, behaviors, behave')
prometheus-exporter-exporter.x86_64: E: spelling-error ('depedencies', "%description -l en_US depedencies -> dependencies, dependence's, dependency's")
prometheus-exporter-exporter.x86_64: E: spelling-error ('auditable', '%description -l en_US auditable -> editable, audit able, audit-able')
prometheus-exporter-exporter.spec: W: patch-not-applied Patch1: fix-panic-prometheus-0.67.patch
prometheus-exporter-exporter.x86_64: W: no-manual-page-for-binary exporter_exporter
prometheus-exporter-exporter.spec:16: W: mixed-use-of-spaces-and-tabs (spaces: line 16, tab: line 14)
prometheus-exporter-exporter.spec:84: W: macro-in-comment %go_vendor_license_check
prometheus-exporter-exporter.spec: W: invalid-url Source1: exporter_exporter-0.6.1-vendor.tar.bz2
prometheus-exporter-exporter.x86_64: W: files-duplicate /usr/share/licenses/prometheus-exporter-exporter/AUTHORS /usr/share/doc/prometheus-exporter-exporter/AUTHORS
prometheus-exporter-exporter.x86_64: W: files-duplicate /usr/share/licenses/prometheus-exporter-exporter/vendor/github.com/prometheus/procfs/LICENSE /usr/share/licenses/prometheus-exporter-exporter/LICENSE:/usr/share/licenses/prometheus-exporter-exporter/vendor/github.com/prometheus/client_golang/LICENSE:/usr/share/licenses/prometheus-exporter-exporter/vendor/github.com/prometheus/client_model/LICENSE:/usr/share/licenses/prometheus-exporter-exporter/vendor/github.com/prometheus/common/LICENSE
prometheus-exporter-exporter.src: E: description-line-too-long * A single port can be used to query multiple exporters (to ease firewall configuration concerns).
prometheus-exporter-exporter.x86_64: E: description-line-too-long * A single port can be used to query multiple exporters (to ease firewall configuration concerns).
2 packages and 0 specfiles checked; 8 errors, 7 warnings, 18 filtered, 8 badness; has taken 0.5 s
Rpmlint (debuginfo)
-------------------
Checking: prometheus-exporter-exporter-debuginfo-0.6.1-1.fc46.x86_64.rpm
============================ rpmlint session starts ============================
rpmlint: 2.8.0
configuration:
/usr/lib/python3.14/site-packages/rpmlint/configdefaults.toml
/etc/xdg/rpmlint/fedora-spdx-licenses.toml
/etc/xdg/rpmlint/fedora.toml
/etc/xdg/rpmlint/scoring.toml
/etc/xdg/rpmlint/users-groups.toml
/etc/xdg/rpmlint/warn-on-functions.toml
rpmlintrc: [PosixPath('/tmp/tmphh4nesqi')]
checks: 32, packages: 1
1 packages and 0 specfiles checked; 0 errors, 0 warnings, 6 filtered, 0 badness; has taken 0.5 s
Rpmlint (installed packages)
----------------------------
============================ rpmlint session starts ============================
rpmlint: 2.10.0
configuration:
/usr/lib/python3.15/site-packages/rpmlint/configdefaults.toml
/etc/xdg/rpmlint/fedora-spdx-licenses.toml
/etc/xdg/rpmlint/fedora.toml
/etc/xdg/rpmlint/scoring.toml
/etc/xdg/rpmlint/users-groups.toml
/etc/xdg/rpmlint/warn-on-functions.toml
checks: 33, packages: 2
prometheus-exporter-exporter.x86_64: W: unused-direct-shlib-dependency /usr/bin/exporter_exporter /lib64/libresolv.so.2
prometheus-exporter-exporter.x86_64: W: spelling-error ('behaviour', '%description -l en_US behaviour -> behavior')
prometheus-exporter-exporter.x86_64: W: spelling-error ('depedencies', '%description -l en_US depedencies -> dependencies, expediencies, presidencies')
prometheus-exporter-exporter.x86_64: W: no-manual-page-for-binary exporter_exporter
prometheus-exporter-exporter.x86_64: W: files-duplicate /usr/share/licenses/prometheus-exporter-exporter/AUTHORS /usr/share/doc/prometheus-exporter-exporter/AUTHORS
prometheus-exporter-exporter.x86_64: W: files-duplicate /usr/share/licenses/prometheus-exporter-exporter/vendor/github.com/prometheus/procfs/LICENSE /usr/share/licenses/prometheus-exporter-exporter/LICENSE:/usr/share/licenses/prometheus-exporter-exporter/vendor/github.com/prometheus/client_golang/LICENSE:/usr/share/licenses/prometheus-exporter-exporter/vendor/github.com/prometheus/client_model/LICENSE:/usr/share/licenses/prometheus-exporter-exporter/vendor/github.com/prometheus/common/LICENSE
prometheus-exporter-exporter.x86_64: E: description-line-too-long * A single port can be used to query multiple exporters (to ease firewall configuration concerns).
2 packages and 0 specfiles checked; 1 errors, 6 warnings, 21 filtered, 1 badness; has taken 0.2 s
Source checksums
----------------
https://github.com/tcolgate/exporter_exporter/archive/v0.6.1/exporter_exporter-0.6.1.tar.gz :
CHECKSUM(SHA256) this package : bb40fb97538027a31e454ec326213a65dbf20a8973c0531b28cd2dbbfc0f3cb2
CHECKSUM(SHA256) upstream package : bb40fb97538027a31e454ec326213a65dbf20a8973c0531b28cd2dbbfc0f3cb2
Requires
--------
prometheus-exporter-exporter (rpmlib, GLIBC filtered):
/bin/sh
config(prometheus-exporter-exporter)
libc.so.6()(64bit)
libresolv.so.2()(64bit)
rtld(GNU_HASH)
Provides
--------
prometheus-exporter-exporter:
bundled(golang(github.com/beorn7/perks))
bundled(golang(github.com/cespare/xxhash/v2))
bundled(golang(github.com/davecgh/go-spew))
bundled(golang(github.com/kr/text))
bundled(golang(github.com/munnerz/goautoneg))
bundled(golang(github.com/pmezard/go-difflib))
bundled(golang(github.com/prometheus/client_golang))
bundled(golang(github.com/prometheus/client_model))
bundled(golang(github.com/prometheus/common))
bundled(golang(github.com/prometheus/procfs))
bundled(golang(github.com/rogpeppe/go-internal))
bundled(golang(github.com/sirupsen/logrus))
bundled(golang(go.yaml.in/yaml/v2))
bundled(golang(golang.org/x/sync))
bundled(golang(golang.org/x/sys))
bundled(golang(google.golang.org/protobuf))
bundled(golang(gopkg.in/yaml.v3))
config(prometheus-exporter-exporter)
prometheus-exporter-exporter
prometheus-exporter-exporter(x86-64)
Summary:
o link to pr: https://github.com/tcolgate/exporter_exporter/pull/8, not diff
o simplify to one line:
install -m 0755 -vd %{buildroot}%{_sbindir}
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_sbindir}
-> install -m 0755 -D -vp %{gobuilddir}/bin/exporter_exporter %{buildroot}%{_sbindir}/exporter_exporter
o fix too long description lines
o fix spell of "depedencies"
o use tab oin line 16 (or untabify everything)
o use sysusers.d to manage user:
https://docs.fedoraproject.org/en-US/packaging-guidelines/UsersAndGroups/
https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers
o reduce use %{name} as it don't readability
Spec URL: https://www.zeuthen.desy.de/~ahaupt/fedora/prometheus-exporter-exporter-0.6.1-2/prometheus-exporter-exporter.spec SRPM URL: https://www.zeuthen.desy.de/~ahaupt/fedora/prometheus-exporter-exporter-0.6.1-2/prometheus-exporter-exporter-0.6.1-2.el10.src.rpm I used %{name} macro because for me it actually increased readability - 7 chars vs. ~30 in various places. But if you really think it disturbs readability, I can replace all of these. Thanks for update, package is APPROVED The Pagure repository was created at https://src.fedoraproject.org/rpms/prometheus-exporter-exporter Monitoring: Wasn't able to create project in Anitya. You can create it manually on: `https://release-monitoring.org` FEDORA-2026-7795988741 (prometheus-exporter-exporter-0.6.1-3.fc46) has been submitted as an update to Fedora 46. https://bodhi.fedoraproject.org/updates/FEDORA-2026-7795988741 FEDORA-2026-7795988741 (prometheus-exporter-exporter-0.6.1-3.fc46) has been pushed to the Fedora 46 stable repository. If problem still persists, please make note of it in this bug report. |