fix(autopatch): Updated two find strings in config.yaml to match updated secure-boot cert names and sbat distro summary in the c10 spe #2

Merged
eabdullin merged 1 commits from agent-fix/a10-20260717-071810 into a10 2026-07-17 07:21:44 +00:00
Owner

Automated fix by autopatch agent.

Summary: Updated two find strings in config.yaml to match updated secure-boot cert names and sbat distro summary in the c10 spec.

Root cause

The upstream spec (c10 branch) was updated in two places that the a10 config's find strings no longer matched:

  • sb_key block: cert names changed from centossecureboot202/redhatsecureboot802 to centossecureboot803/redhatsecureboot803. Updated the find string accordingly.
  • sbat_distro block: the CentOS summary string changed from "The Fedora Project" to "The CentOS Project". Updated the find string to match.

Both fixes were already present in the reference a10s config and were adapted to the a10 branch. All three replace actions and the changelog entry now apply cleanly.

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 120, 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 '['%if 0%{?centos}', '%define sb_key\t\tcentossecureboot202', '%else', '%define sb_key\t\tredhatsecureboot802', '%endif']' in /root/autopatch-tool/src/rpms-namespace/fwupd-efi/fwupd-efi.spec

Package: fwupd-efi | Webhook branch: c10

Automated fix by autopatch agent. **Summary:** Updated two `find` strings in config.yaml to match updated secure-boot cert names and sbat distro summary in the c10 spec. ### Root cause The upstream spec (c10 branch) was updated in two places that the a10 config's `find` strings no longer matched: - **`sb_key` block**: cert names changed from `centossecureboot202`/`redhatsecureboot802` to `centossecureboot803`/`redhatsecureboot803`. Updated the `find` string accordingly. - **`sbat_distro` block**: the CentOS summary string changed from `"The Fedora Project"` to `"The CentOS Project"`. Updated the `find` string to match. Both fixes were already present in the reference a10s config and were adapted to the a10 branch. All three replace actions and the changelog entry now apply cleanly. ### 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 120, 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 '['%if 0%{?centos}', '%define sb_key\t\tcentossecureboot202', '%else', '%define sb_key\t\tredhatsecureboot802', '%endif']' in /root/autopatch-tool/src/rpms-namespace/fwupd-efi/fwupd-efi.spec ``` --- Package: `fwupd-efi` | Webhook branch: `c10`
eabdullin added 1 commit 2026-07-17 07:18:11 +00:00
Updated two `find` strings in config.yaml to match updated secure-boot cert names and sbat distro summary in the c10 spec.
eabdullin merged commit c4719ccfb0 into a10 2026-07-17 07:21:44 +00:00
eabdullin deleted branch agent-fix/a10-20260717-071810 2026-07-17 07:21:44 +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-efi#2
No description provided.