Skip to content

fix: only route -G through ABS for official Arch repos - #1542

Open
pfeifferj wants to merge 1 commit into
Morganamilo:masterfrom
pfeifferj:fix/g-credential-prompt-custom-repo
Open

fix: only route -G through ABS for official Arch repos#1542
pfeifferj wants to merge 1 commit into
Morganamilo:masterfrom
pfeifferj:fix/g-credential-prompt-custom-repo

Conversation

@pfeifferj

Copy link
Copy Markdown
Collaborator

when a target is present in both the AUR and a custom pacman syncdb (e.g. a local prebuilt aur cache repo), paru -G routed the target through pkgctl repo clone against gitlab.archlinux.org, which then prompted for credentials on a non-existent gl repo instead of falling back to the aur

restore the pre-existing gate on is_arch_repo so only targets from core/extra/multilib/testing are treated as ABS

this is also the documented behavior in the man page:

Downloads PKGBUILDs from the ABS or AUR. The ABS can only be used for Arch Linux repositories.

Closes: #1541

When a target is present in both the AUR and a custom pacman syncdb
(e.g. a local prebuilt AUR cache repo), paru -G routed the target
through pkgctl repo clone against gitlab.archlinux.org, which then
prompted for credentials on a non-existent GitLab repo instead of
falling back to the AUR.

Restore the pre-existing gate on is_arch_repo so only targets from
core/extra/multilib/testing are treated as ABS.

Signed-off-by: Josephine Pfeiffer <hi@josie.lol>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

gitlab credentials requested when fetching the pkgbuild of an aur package that is also present in a non-official repo.

1 participant