Skip to content
Snippets Groups Projects
Unverified Commit a72a60f5 authored by Casey's avatar Casey :recycle: Committed by Oliver Smith
Browse files

core: pkgrepo: support arbitrarily named pmaports directories (MR 2470)


There was an oversight when this API was originally created and it
implicitly assumed that the pmaports repository was always named
"pmaports". This unfortunately broke some peoples workflows.

Introduce a new "pkgrepo_name()" function and adjust the codebase to use
it, as well as adjusting pkgrepo internally to special case the
"pmaports" repo so that it's always named pmaports no matter what the
directory itself is named.

This is probably more complexity than we should be dealing with here, we
should probably create a new type to encode this behaviour.

Fixes: #2412
Signed-off-by: default avatarCaleb Connolly <caleb@postmarketos.org>
parent 70dc8552
Branches
Tags
1 merge request!2470core: pkgrepo: support arbitrarily named pmaports directories
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment