fix(autopatch): Fixed two stale find strings in config.yaml: updated efi_sbat_distro_url from 'mail:' to 'mailto:' and updated uefi-caps #3

Merged
alukoshko merged 1 commits from agent-fix/a8-20260730-185843 into a8 2026-07-30 22:52:09 +00:00
Owner

Automated fix by autopatch agent.

Summary: Fixed two stale find strings in config.yaml: updated efi_sbat_distro_url from 'mail:' to 'mailto:' and updated uefi-capsule-ux file extension from .tar.xz to .zip.

Root cause

Two ReplaceAction entries in config.yaml had find strings that no longer matched the upstream spec:

  • The efi_sbat_distro_url action used mail:secalert@redhat.com but the spec now has mailto:secalert@redhat.com (the to suffix was added to make it a valid mailto: URI). Updated find and replace accordingly so the AlmaLinux URL is also corrected to mailto:security@almalinux.org.

  • The uefi-capsule-ux block action used %{_datadir}/fwupd/uefi-capsule-ux.tar.xz as the find string, but upstream renamed the file to uefi-capsule-ux.zip. Updated both find and replace to use .zip, preserving the intent of appending the %if 0%{?have_modem_manager} block after the uefi-capsule section.

Original error

Type: ActionNotAppliedError

Traceback (most recent call last):
  File "/root/autopatch-tool/src/webserv.py", line 89, in debrand_packages
    result = apply_modifications(
  File "/root/autopatch-tool/src/debranding.py", line 138, in apply_modifications
    config.apply_actions(rpms_working_dir + f"/{package}")
  File "/root/autopatch-tool/src/actions_handler.py", line 938, in apply_actions
    action.execute(Path(package_path))
  File "/root/autopatch-tool/src/actions_handler.py", line 475, in execute
    process_lines(
  File "/root/autopatch-tool/src/actions_handler.py", line 236, in process_lines
    raise ActionNotAppliedError(
actions_handler.ActionNotAppliedError: Action 'ReplaceAction' was not applied successfully: No changes made for '['-Dfwupd-efi:efi_sbat_distro_url="mail:secalert@redhat.com" \\']' in /root/autopatch-tool/src/autopatch-fwupd-i2hwphbc/rpms-namespace/fwupd/SPECS/fwupd.spec

Package: fwupd | Webhook branch: c8

Automated fix by autopatch agent. **Summary:** Fixed two stale find strings in config.yaml: updated efi_sbat_distro_url from 'mail:' to 'mailto:' and updated uefi-capsule-ux file extension from .tar.xz to .zip. ### Root cause Two `ReplaceAction` entries in `config.yaml` had `find` strings that no longer matched the upstream spec: - The `efi_sbat_distro_url` action used `mail:secalert@redhat.com` but the spec now has `mailto:secalert@redhat.com` (the `to` suffix was added to make it a valid `mailto:` URI). Updated `find` and `replace` accordingly so the AlmaLinux URL is also corrected to `mailto:security@almalinux.org`. - The `uefi-capsule-ux` block action used `%{_datadir}/fwupd/uefi-capsule-ux.tar.xz` as the find string, but upstream renamed the file to `uefi-capsule-ux.zip`. Updated both `find` and `replace` to use `.zip`, preserving the intent of appending the `%if 0%{?have_modem_manager}` block after the uefi-capsule section. ### Original error **Type:** `ActionNotAppliedError` ``` Traceback (most recent call last): File "/root/autopatch-tool/src/webserv.py", line 89, in debrand_packages result = apply_modifications( File "/root/autopatch-tool/src/debranding.py", line 138, in apply_modifications config.apply_actions(rpms_working_dir + f"/{package}") File "/root/autopatch-tool/src/actions_handler.py", line 938, in apply_actions action.execute(Path(package_path)) File "/root/autopatch-tool/src/actions_handler.py", line 475, in execute process_lines( File "/root/autopatch-tool/src/actions_handler.py", line 236, in process_lines raise ActionNotAppliedError( actions_handler.ActionNotAppliedError: Action 'ReplaceAction' was not applied successfully: No changes made for '['-Dfwupd-efi:efi_sbat_distro_url="mail:secalert@redhat.com" \\']' in /root/autopatch-tool/src/autopatch-fwupd-i2hwphbc/rpms-namespace/fwupd/SPECS/fwupd.spec ``` --- Package: `fwupd` | Webhook branch: `c8`
eabdullin added 1 commit 2026-07-30 18:58:44 +00:00
Fixed two stale find strings in config.yaml: updated efi_sbat_distro_url from 'mail:' to 'mailto:' and updated uefi-capsule-ux file extension from .tar.xz to .zip.
alukoshko merged commit a5675de734 into a8 2026-07-30 22:52:09 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: autopatch/fwupd#3
No description provided.