Bug 2436366 - Review Request: forgejo-runner - A daemon that fetches workflows to run from a Forgejo instance.
Summary: Review Request: forgejo-runner - A daemon that fetches workflows to run from ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-02-03 17:07 UTC by Diego Herrera
Modified: 2026-02-25 20:58 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-02-25 20:58:33 UTC
Type: ---
Embargoed:
ngompa13: fedora-review+


Attachments (Terms of Use)
The .spec file difference from Copr build 10093780 to 10154266 (3.92 KB, patch)
2026-02-20 04:23 UTC, Fedora Review Service
no flags Details | Diff

Description Diego Herrera 2026-02-03 17:07:09 UTC
Spec URL: https://codeberg.org/dherrerace/forgejo-runner/src/branch/main/forgejo-runner.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/dherrera/forgejo-runner/srpm-builds/10090759/forgejo-runner-12.6.3-1.src.rpm
Description: The Forgejo Runner is a daemon that fetches workflows to run from a Forgejo instance, executes them,
sends back with the logs and ultimately reports its success or failure.
Fedora Account System Username: dherrera

Comment 1 Fedora Review Service 2026-02-04 15:42:39 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/10093780
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2436366-forgejo-runner/fedora-rawhide-x86_64/10093780-forgejo-runner/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 Neal Gompa 2026-02-19 17:22:17 UTC
Taking this review.

Comment 3 Neal Gompa 2026-02-19 17:28:50 UTC
Initial spec review:

> Source0:        https://code.forgejo.org/forgejo/runner/archive/v%{version}.tar.gz

This should be restructured so that the tarball is properly named. Something like "%{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz"

You can see an example in Quickshell: https://src.fedoraproject.org/rpms/quickshell/blob/rawhide/f/quickshell.spec

> Requires:       git

Does it require *all* of git or just git-core and a few other things? Also, even "git" would not be enough to ensure things like git-lfs are pulled in, right?

> %setup -n runner -q -a1
> %autopatch -p1

Can't this be simplified to "%autosetup -C -a1 -p1"?

> %doc examples README.md RELEASE-NOTES.md release-notes/757.md

Is it always going to 757.md? Should you just include the release-notes folder entirely instead?

> %attr(755, root, root) %{_bindir}/forgejo-runner
> %config(noreplace) %attr(644, root, root) %{_sysconfdir}/forgejo-runner/config.yml

"root, root" is already default, you can use "-, -" here instead.

> %config(noreplace) %attr(755, runner, runner) %{_sharedstatedir}/runner/

I don't love that the user+group and homedir are just called "runner". Can we call this "forgejo-runner" instead?

Comment 4 Diego Herrera 2026-02-20 02:16:43 UTC
(In reply to Neal Gompa from comment #3)
> Initial spec review:
> 
> > Source0:        https://code.forgejo.org/forgejo/runner/archive/v%{version}.tar.gz
> 
> This should be restructured so that the tarball is properly named. Something
> like "%{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz"
> 
> You can see an example in Quickshell:
> https://src.fedoraproject.org/rpms/quickshell/blob/rawhide/f/quickshell.spec
> 

Sure, cleaned up

> > Requires:       git
> 
> Does it require *all* of git or just git-core and a few other things? Also,
> even "git" would not be enough to ensure things like git-lfs are pulled in,
> right?
> 

The docs about requiring git [0], but checking how it's being used [1], core and lfs are enough to cover the usage.

> > %setup -n runner -q -a1
> > %autopatch -p1
> 
> Can't this be simplified to "%autosetup -C -a1 -p1"?
> 

Sure, cleaned up

> > %doc examples README.md RELEASE-NOTES.md release-notes/757.md
> 
> Is it always going to 757.md? Should you just include the release-notes
> folder entirely instead?
> 

Yeah, makes sense, changed

> > %attr(755, root, root) %{_bindir}/forgejo-runner
> > %config(noreplace) %attr(644, root, root) %{_sysconfdir}/forgejo-runner/config.yml
> 
> "root, root" is already default, you can use "-, -" here instead.
> 

Cleaned up

> > %config(noreplace) %attr(755, runner, runner) %{_sharedstatedir}/runner/
> 
> I don't love that the user+group and homedir are just called "runner". Can
> we call this "forgejo-runner" instead?

TBH, I kept it as "runner" since it is how upstream documented it's usage, but I agree that it makes more sense to use "forgejo-runner" instead.
Changed.

Also updated the package to 12.7.0

[0] https://forgejo.org/docs/next/admin/actions/runner-installation/#system-requirements
[1] https://code.forgejo.org/forgejo/runner/src/commit/94ddcf7de6e7bf7a8e193bd9c3a82d864250371b/act/common/git/git.go#L433-L494

Comment 6 Fedora Review Service 2026-02-20 04:23:10 UTC
Created attachment 2130238 [details]
The .spec file difference from Copr build 10093780 to 10154266

Comment 7 Fedora Review Service 2026-02-20 04:23:13 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/10154266
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2436366-forgejo-runner/fedora-rawhide-x86_64/10154266-forgejo-runner/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 8 Neal Gompa 2026-02-20 10:56:08 UTC
Package was generated with go2rpm, simplifying the review.

✅ package contains only permissible content
✅ package builds and installs without errors on rawhide
✅ test suite is run and all unit tests pass
✅ latest version packaged
✅ license matches upstream specification and is acceptable for Fedora
✅ license file is included with %license in %files
✅ package complies with Go Packaging Guidelines

Package APPROVED.

===

Recommended post-import tasks:

- set up package on release-monitoring.org:
https://release-monitoring.org/project/378107/

- add @go-sig with "commit" access as package co-maintainer

- track package in koschei for all built branches
  (should happen automatically once go-sig is co-maintainer)

Comment 9 Fedora Admin user for bugzilla script actions 2026-02-24 21:27:57 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/forgejo-runner

Comment 10 Fedora Update System 2026-02-25 20:53:35 UTC
FEDORA-2026-55e95c085e (forgejo-runner-12.7.0-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-55e95c085e

Comment 11 Fedora Update System 2026-02-25 20:58:33 UTC
FEDORA-2026-55e95c085e (forgejo-runner-12.7.0-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.


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