Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for db/name #235

Merged
merged 1 commit into from
Mar 13, 2018
Merged

Add support for db/name #235

merged 1 commit into from
Mar 13, 2018

Conversation

Morganamilo
Copy link
Contributor

Adds the ability to pick which database to install a package from. This
is extended to also support for AUR packages. For example extra/git
and aur/yay should both work`. When not explicitly requesting
a database repo packages will be choosen over the AUR.

This features extends to yogurt mode, listings where a package shows up
in multiple database/the AUR is now handled.

The aur does not have a real pacman databse like core, extra ect. But
can be accessed as if was one with aur/name. Using Yay with a pacman
repository named "aur" is undefined.

fixes #228

Adds the ability to pick which database to install a package from. This
is extended to also support for AUR packages. For example `extra/git`
and `aur/yay` should both work`. When not explicitly requesting
a database repo packages will be choosen over the AUR.

This features extends to yogurt mode, listings where a package shows up
in multiple database/the AUR is now handled.

The aur does not have a real pacman databse like core, extra ect. But
can be accessed as if was one with `aur/name`. Using Yay with a pacman
repository named "aur" is undefined.
@Jguer
Copy link
Owner

Jguer commented Mar 12, 2018

Didn't have time to test it today.
Just referring to #115 as a careful not to break

@Morganamilo
Copy link
Contributor Author

Well uh #115 is already broken again, probably in #164. When I noticed I started looking in to it a bit and then #228 came along so I went ahead and implemented it fully db/name is actually respected instead of flat out ignored. aur/xterm and core/yay should both error.

I'm planning to merge this with #225 after the next release for safety.

@Morganamilo Morganamilo merged commit f9d4d9b into Jguer:master Mar 13, 2018
@Morganamilo Morganamilo deleted the fix#228 branch March 13, 2018 19:35
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.

Install package from AUR instead of repos in yaourt mode
2 participants