aureate
aureate copied to clipboard
[Feature Request] -Syu option?
Hello, I have been using paru for some time and there is the option to update the AUR packages I have, would that be difficult to add to aureate? I would love to have this option!
PS: also having labels to better organize the issues tab in the future?
Sure, I'll look into it. I already have a check when you install a package to make sure there isn't a newer version available so I'll see if I can build off of that. I'm not sure if there is a faster way than checking if a libgit2 pull succeeds but I'll look into it.
It could be very easily possible if I can compare the local file at .git/refs/heads/master to the upstream origin but I'm unsure of how to get the latter without cloning the entire repository.
Maybe I'm just being stupid... but could you clone the entire repository the first time -Syu is used, get the master, store a renamed copy locally somewhere, and reference that file on future uses of -Syu?
I see your perspective but I think that comparing the remote and local file would be a lot quicker, especially if there is a way to query it in API.