Skip to content

graph: detect sections on keywords#1229

Merged
AladW merged 1 commit intomasterfrom
graph-pacini-section
Oct 21, 2025
Merged

graph: detect sections on keywords#1229
AladW merged 1 commit intomasterfrom
graph-pacini-section

Conversation

@AladW
Copy link
Member

@AladW AladW commented Oct 21, 2025

Priorly, aur-graph would detect if a pkgname section by the presence of a blank line. However, these are removed by pacini, causing dependencies from split packages to be incorrectly considered.

Specifically, when a split package contains an empty dependency field (depends =) an exit condition is triggered.

The correct approach is to delimit by pkgbase or pkgname keywords, as described in SRCINFO(5).

Fixes #1228

Priorly, aur-graph would detect if a pkgname section by the presence of
a blank line. However, these are removed by pacini, causing dependencies
from split packages to be incorrectly considered.

Specifically, when a split package contains an empty dependency field
(depends =) an exit condition is triggered.

The correct approach is to delimit by pkgbase or pkgname keywords, as
described in SRCINFO(5).

Fixes #1228
@AladW AladW added this to the 21 milestone Oct 21, 2025
@AladW AladW merged commit 68ce446 into master Oct 21, 2025
2 checks passed
@AladW AladW deleted the graph-pacini-section branch October 21, 2025 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sync: failed to verify dependency graph

1 participant