You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 9, 2019. It is now read-only.
When fetching package sources from packages that are available in repositories and not (only) in the AUR, currently only the official Arch Linux repositories are supported (and no possibility to support unoffical user repositories, or Artix Linux, or such):
Currently, in usr/lib/yaourt/abs.sh,
in the function abs_get_pkgbuild(),
it is hardcoded that if the package is from [core] or [extra] or [testing], yaourt will download https://git.archlinux.org/svntogit/packages.git/snapshot/packages/$pkgbase.tar.gz,
otherwise it will download https://git.archlinux.org/svntogit/community.git/snapshot/community-packages/$pkgbase.tar.gz.
That obviously fails if a package is present in some other repository (if it is also in the AUR, the user can still force the AUR variant, but if it is not in the AUR, no look). It also fails for Artix Linux users, because they have the Artix repositories first, and after them optionally [extra], [community] and [multilib] from official Arch Linux, and yaourt will try the first hit if the user does not force a specific repository.
Using customizepkg for some packages this is a real issue, since there is no automated download/build/install anymore. (See for example this Forum post.)
So, can it be possible to add configuration file options where the user can specify arbitrary mappings from a [repository] to an "abs" download URL (pattern)?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When fetching package sources from packages that are available in repositories and not (only) in the AUR, currently only the official Arch Linux repositories are supported (and no possibility to support unoffical user repositories, or Artix Linux, or such):
Currently, in
usr/lib/yaourt/abs.sh
,in the function
abs_get_pkgbuild()
,it is hardcoded that if the package is from
[core]
or[extra]
or[testing]
,yaourt
will downloadhttps://git.archlinux.org/svntogit/packages.git/snapshot/packages/$pkgbase.tar.gz
,otherwise it will download
https://git.archlinux.org/svntogit/community.git/snapshot/community-packages/$pkgbase.tar.gz
.That obviously fails if a package is present in some other repository (if it is also in the AUR, the user can still force the AUR variant, but if it is not in the AUR, no look). It also fails for Artix Linux users, because they have the Artix repositories first, and after them optionally
[extra]
,[community]
and[multilib]
from official Arch Linux, and yaourt will try the first hit if the user does not force a specific repository.Using
customizepkg
for some packages this is a real issue, since there is no automated download/build/install anymore. (See for example this Forum post.)So, can it be possible to add configuration file options where the user can specify arbitrary mappings from a [repository] to an "abs" download URL (pattern)?
The text was updated successfully, but these errors were encountered: