-
-
Notifications
You must be signed in to change notification settings - Fork 365
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
[Feature Request] Local "AUR repository" / Local packages from PKGBUILD #647
Comments
Local repositories are already a pacman thing but it seems like you mean something totally different, which would make it easy to confuse the both. This all seems a little over complected though. Sure being able to do Also apart from -git packages, maintainers have to bump the pkgver themselves, so they already know there is an update, no need for yay to tell them. Running a -git kernel though, wow you sure like living on the edge. |
Yes, I meant a "local AUR".
It would be an additional feature to make yay being a "all-in-one package manager" or so.
Indeed.
Ok, I didn't think of non-git packages... I my case it's only -git packages. This is the only case where this feature would help.
Offtopic but yes ;) It's not only the kernel. I have some more -git packages I'd like to get updated by yay. Hmm... maybe this really is a bit more complicated than I thought |
To make things a little easier yay could support just install from PKGBUILD without using a .SRCINFO but getting dependencies directly from PKGBUILD. A local "aur repo" may be a bit too much. Since one knows which packages one has there is no need for a repo. That repo would be useful if there is one PKBUILD package depending on another. This dependency could be solved manually - just print an error and request the user to specify the PKGBUILD of the dependency, too. The RPC is used to get depends and makedepends from .SRCINFO. Resolving those is done locally, isn't it? What a |
AUR packages are |
@AladW Of course they are. I did not say anything else. Read my first post again, please ;) |
Looking at it again you probably want to check upstream directly, rather than archweb. |
@AladW no. You didn't read 'til the end of the sentence.... "and then build it with makepkg." aur-out-of-date is what yay already does when updating -git packages from AUR. I want yay to do exactly what it does for AUR packages but with a local git repo (yes, with the PKGBUILD in it... no, not the source - just like AUR). |
So you want yay to handle any use-case that can be trivially implemented using external tools and a 3-line bash script? |
"3-line bash script" would maybe work for ONE package! I want to MANAGE all my packages with yay, that is binary packages, aur packages and local PKGBUILD files. So I would just have to do a But hey, why use yay at all when I can do EVERYTHING WITH "external tools and a 3-line bash script"...? |
Yeah, and I want
Never claimed that dealing with AUR can be done that way. Your "local PKGBUILD", at least by your vague descriptions, can. |
Why are you so narrow-minded?! Someone started developing yay to make things easier. When everybody thought like you there would be NO tools at all. |
There's a difference between being narrow-minded and expecting every tool to handle every possible use case, no matter how related or unrelated to the original purpose. This is Arch Linux, not GNU. |
Damn. Yes, of course, you could handle ONE PKGBUILD with a simple script. What about having 20?
This was just an idea for an additional feature. If YOU don't like it does not mean everybody else is not allowed to like it. |
You've barely described what your "idea" is in the first place. As it stands, you said you have a Why don't you start sharing some concrete PKGBUILDs and workflows instead of vague descriptions? |
No it can't because I don't have modified AUR packages only but also custom PKGBUILDs where I always have to do a manual makepkg (after modification, git commit etc. of the PKGBUILD repo) for about 20 packages. I agree, it is not an every-day or normal-user use case but I don't think I am the only one with that use case. |
If you read the Some more tools of relevance that can also modify PKGBUILDs automatically: https://wiki.archlinux.org/index.php/AUR_helpers#Maintenance |
My fault. I missed the
All this wasn't about modifying PKGBUILDS but updating locally installed -git packages just like AUR packages... |
I'm guessing there's some language barrier here since in your previous post you mentioned PKGBUILD modification, and now it's suddenly not relevant. Anyway, can does not imply must. |
Oh, I'm sorry, this was indeed unclear... I don't want yay (or any other script/tool) to modify my PKGBUILD but just detect (via git) that it has changed - exactly what is done for AUR packages. |
Okay, I see what you mean now. That would then be a case of modularity: you'd want |
Yes! :-)
… Am 21.08.2018 um 21:45 schrieb Alad Wenter ***@***.***>:
Okay, I see what you mean now. That would then be a case of modularity: you'd want yay's version comparison abilities to not be restricted to the AUR. Not sure how complex this would be to implement with the current yay design.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Closing in favour of #694 as its more to the point in what I'd be willing to add. |
I'm not suer if #694 and this are quite the same thing I made a little script today that may be of some use for people later on that may be of use: I used it through first running
|
I'm in the exact same situation as @c0d3z3r0, and I worked around it by:
This way, when I issue |
It would be great if yay would support a local repository or install from a local PKGBUILD.
This is very useful for PKGBUILD one doesn't want to put in AUR. For example I build my kernel with a highly customized PKGBUILD but I always have to manually check if there is a new version available in git and then build it with makepkg.
There could be two concurrent types of local packages:
local "AUR" repo
For example /home/user/repo that could be added via config. The packages could be appear as 'local/package' or 'local-REPONAME/package' just like 'aur/package'.
single manually installed packages
Installation via
yay -S local:///home/user/package.git
where the PKGBUILD of the single package is located at/home/user/package.git/
The text was updated successfully, but these errors were encountered: