Bug 2463785 - Review Request: fedora-active-user - Check whether a given Fedora developer is still active
Summary: Review Request: fedora-active-user - Check whether a given Fedora developer i...
Keywords:
Status: RELEASE_PENDING
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Raphael Groner
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/hrw/fedora-active-...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-04-29 11:52 UTC by Marcin Juszkiewicz
Modified: 2026-05-04 05:39 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
projects.rg: fedora-review+


Attachments (Terms of Use)

Description Marcin Juszkiewicz 2026-04-29 11:52:12 UTC
Spec URL: https://fedora.juszkiewicz.com.pl/fedora-active-user/fedora-active-user.spec
SRPM URL: https://fedora.juszkiewicz.com.pl/fedora-active-user/fedora-active-user-26.04.29-1.fc45.src.rpm
Description: This program performs a number of checks to have an educated guess as to whether someone can be consider as 'active' or not within the Fedora project.
Fedora Account System Username: hrw

The 'fedora-active-user' script is mentioned in the 'non-responding maintainer' process document. But link there goes to 7 years old script which is no longer maintained by its' original author Pierre-Yves Chibon.

So I decided to take over the script, rewrote it into working version which queries FAS, Koji, Bodhi, Bugzilla and Fedmsg services to check for activity.

The https://fedora.juszkiewicz.com.pl/fedora-active-user/ directory provides spec file, src.rpm file, results of 'fedora-review' run and also results of 'fedpkg mockbuild' run from my system.

Comment 1 Fedora Review Service 2026-04-29 11:54:52 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/10405840
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2463785-fedora-active-user/fedora-rawhide-x86_64/10405840-fedora-active-user/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 2 Dan Horák 2026-04-29 12:21:13 UTC
a couple notes
- you should drop the R: python3, it's automagically added by rpmbuild from the shebang
- you should be able to drop the manual installation of the license and README files, the %doc and %license tags should take care of that
- I would update the Source tag to use %{url} variable (value of the URL tag) for the source archive URL
- I would use %{name} instead of the "fedora-active-user" string in the %install and %files section, but that's really more a personal preference than a requirement

Comment 3 Raphael Groner 2026-04-29 12:22:55 UTC
This is a review *template*. Besides handling the [ ]-marked tests you are
also supposed to fix the template before pasting into bugzilla:
- Add issues you find to the list of issues on top. If there isn't such
  a list, create one.
- Add your own remarks to the template checks.
- Add new lines marked [!] or [?] when you discover new things not
  listed by fedora-review.
- Change or remove any text in the template which is plain wrong. In this
  case you could also file a bug against fedora-review
- Remove the "[ ] Manual check required", you will not have any such lines
  in what you paste.
- Remove attachments which you deem not really useful (the rpmlint
  ones are mandatory, though)
- Remove this text



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.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "Unknown or generated", "*No copyright* GNU General Public
     License v2.0 or later", "GNU General Public License, Version 2". 2
     files have unknown license. Detailed output of licensecheck in
     /home/raphael/fedora-review/2463785-fedora-active-
     user/licensecheck.txt
[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.
[-]: Package contains systemd file(s) if in need.
[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: No rpmlint messages.
[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 does not own files or directories owned by other packages.
[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]: 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]: 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]: 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 984 bytes in 1 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.
[-]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
[-]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed
     files.
[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]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

Generic:
[!]: Spec file according to URL is the same as in SRPM.
     Note: Spec file as given by url is not the same as in SRPM (see
     attached diff).
     See: (this test has no URL)
[x]: Rpmlint is run on all installed packages.
     Note: No rpmlint messages.


Rpmlint
-------
Checking: fedora-active-user-26.04.29-1.fc45.noarch.rpm
          fedora-active-user-26.04.29-1.fc45.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/tmpw7x4slav')]
checks: 32, packages: 2

 2 packages and 0 specfiles checked; 0 errors, 0 warnings, 7 filtered, 0 badness; has taken 0.1 s 




Rpmlint (installed packages)
----------------------------
============================ rpmlint session starts ============================
rpmlint: 2.9.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
checks: 32, packages: 1

 1 packages and 0 specfiles checked; 0 errors, 0 warnings, 3 filtered, 0 badness; has taken 0.0 s 



Source checksums
----------------
https://github.com/hrw/fedora-active-user/archive/refs/tags/26.04.29.tar.gz :
  CHECKSUM(SHA256) this package     : c2c93a7701e51d105f02812b291208d6e02c1f33c88b6c201d736b0d9989edc4
  CHECKSUM(SHA256) upstream package : c2c93a7701e51d105f02812b291208d6e02c1f33c88b6c201d736b0d9989edc4


Requires
--------
fedora-active-user (rpmlib, GLIBC filtered):
    /usr/bin/python3
    python3
    python3-urllib-gssapi



Provides
--------
fedora-active-user:
    fedora-active-user



Diff spec file in url and in SRPM
---------------------------------
--- /home/raphael/fedora-review/2463785-fedora-active-user/srpm/fedora-active-user.spec	2026-04-29 14:15:40.523041117 +0200
+++ /home/raphael/fedora-review/2463785-fedora-active-user/srpm-unpacked/fedora-active-user.spec	2026-04-29 02:00:00.000000000 +0200
@@ -1,2 +1,12 @@
+## START: Set by rpmautospec
+## (rpmautospec version 0.8.4)
+## RPMAUTOSPEC: autorelease, autochangelog
+%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
+    release_number = 1;
+    base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
+    print(release_number + base_release_number - 1);
+}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
+## END: Set by rpmautospec
+
 Name:           fedora-active-user
 Version:        26.04.29
@@ -39,3 +49,7 @@
 %{_mandir}/man1/fedora-active-user.1*
 
-%autochangelog
+%changelog
+## START: Generated by rpmautospec
+* Wed Apr 29 2026 John Doe <packager> - 26.04.29-1
+- Uncommitted changes
+## END: Generated by rpmautospec


Generated by fedora-review 0.11.0 (05c5b26) last change: 2025-11-29
Command line :/usr/bin/fedora-review -b 2463785 -v
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, Shell-api
Disabled plugins: Python, Ocaml, Haskell, R, Perl, C/C++, Java, fonts, SugarActivity, PHP
Disabled flags: EXARCH, EPEL6, EPEL7, DISTTAG, BATCH

Comment 4 Raphael Groner 2026-04-29 12:23:50 UTC
It is a GO from my side. Please mind diff of autospec mentioned below.

Comment 5 Ben Beasley 2026-04-29 12:27:20 UTC
Thanks for doing the work to get this usable again and to package it!

If I may jump in with one more thing, could you please add "-p" to the "install" commands when you import the package? See https://docs.fedoraproject.org/en-US/packaging-guidelines/#_timestamps.

Comment 6 Marcin Juszkiewicz 2026-04-29 12:44:27 UTC
Spec after changes:
- added '-p' to install commands
- dropped empty %build/%check
- dropped 'python3' dependency
- dropped installing doc/license files
- renamed Source0 to Source

Not going to use %{name} in %{URL}/%{Source} and no %{URL} in %{Source}.


Name:           fedora-active-user
Version:        26.04.29
Release:        %autorelease
Summary:        Check whether a given Fedora developer is still active
License:        GPL-2.0-or-later
URL:            https://github.com/hrw/fedora-active-user

Source:         https://github.com/hrw/fedora-active-user/archive/refs/tags/%{version}.tar.gz

BuildArch:      noarch

# Kerberos support is needed to login to the FAS
Requires:       python3-urllib-gssapi

%description
This program performs a number of checks to have an educated guess as to
whether someone can be consider as 'active' or not within the Fedora project.

%prep
%autosetup

%install
install -p -D -m 0755 fedora_active_user.py %{buildroot}%{_bindir}/fedora-active-user
install -p -D -m 0644 fedora-active-user.1  %{buildroot}%{_mandir}/man1/fedora-active-user.1

%files 
%license gpl-2.0.txt
%doc README.md
%{_bindir}/fedora-active-user
%{_mandir}/man1/fedora-active-user.1*

%autochangelog

Comment 7 Marcin Juszkiewicz 2026-04-29 12:45:44 UTC
Updated spec/src.rpm online with above one.

Comment 8 Dan Horák 2026-04-29 12:46:00 UTC
LGTM

Comment 9 Fedora Admin user for bugzilla script actions 2026-05-04 05:39:34 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/fedora-active-user
Monitoring:
Wasn't able to create project in Anitya. You can create it manually on: `https://release-monitoring.org`


Note You need to log in before you can comment on or make changes to this bug.