-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
Don't clone VCS clones over and over again #462
Comments
This would be ideal, but hasn't been implemented yet. |
Just out of curiosity, why is this wont-fix, @fosskers? It's something I sorely miss. Especially if I'm updating 25+ git packages and after building every single one from scratch, only 2 actually end up being installed due to the rest already being up to date. |
Oh, that sounds annoying. Luckily now there's a feature in the soon-to-be-released Aura 2 (i.e. the changes are already in A quick test on one of my own |
Nevermind, it was a anomaly of me having the most recent version installed, yet somehow that wasn't present in my cache! So, everything does actually work as expected - if you do a You can override this and force a rebuild with |
@fosskers Well, still just the repeated cloning might take a while. For example, consider you have a package cloning a custom linux kernel tree. What's the problem with just keeping the checkouts and updating them instead of cloning anew? Yaourt has this feature for example. There you have to define some VCSDIR or something, and if that exists it'll place checkouts there and update them if they already exist. |
If you're already up-to-date, nothing will be cloned. If you're indeed installing a new version, it does |
@fosskers I guess we have a different opinion what up-to-date means in the context of a VCS-based package.
Therefore, I always use |
It's true that Aura doesn't currently manage / save git-based code sources. For the time being, I'll reopen this. |
Thanks for your patience, this will be included in the upcoming release. |
I've noticed that
aura -Ayu --devel -x
always creates a new bare clone somewhere below/var/cache/pacman/pkg/
which seems to be deleted after the package has been built and installed. Obviously, when you install a VCS package, you are interested in frequent updates and don't want to clone the complete repository every time.So is there a way not to delete the clones so that a package re-install will just run
git pull
(or whatever version control tool) in the existing clone instead of cloning anew?The text was updated successfully, but these errors were encountered: