use local repo instead of pacman -U #643
Comments
I am interested in contributing on this feature. I think using a local repo is a very good idea. What can I do to help? |
Hi, This is a rather big change. I don't plan to work on it in the near feature as I want to stabilize current code instead. I believe most of the split package code, and the cache code that I implemented over the year would become unnecessary, or at least greatly reduced. I guess I'd throw away the whole MakePkgs() function and rebuild from the ground up. Should obviously done in a new branch, cannot be done step by step in master. |
If someone wants to implement this, I highly recommend to use pacutils (in particular Re split packages, you can indeed throw out any custom code that handles that, since pacman takes care of it. That said, there's other drawbacks:
All in all, even if you get some other benefits like |
Thanks a lot for your detailed input, much appreciated.
Just to be sure, do you refer to "automatic repo generation tools" here (fe. repose)? I'd have thought these tools would actually provide a more robust implementation. From what I read above, this feature requires a near complete redesign of the core code - at which point I wonder if it really worth the effort. I actually don't have the time to do this, but this might be implemented on the longer term. |
Yeah, they do cover more ground. But when something goes wrong, it's more involved to debug them, e.g. you're expected to not only submit backtraces but also a full copy of the local repository. Though some of them like repoctl wrap repo-add rather than use a custom implementation. |
This isn't worth the effort, especially since using a local repo pretty much doesn't solve any issue in the single machine scenario that pacaur is designed for, but it does bring a whole set of drawbacks requiring workarounds. Closing. |
Redesign the internal design to use a local repo instead of using
pacman -U
calls.Advantage might include:
Cons:
See also #364 where this has been briefly discussed. This can be a nice workaround for handling mismatching data error.
The text was updated successfully, but these errors were encountered: