clyde icon indicating copy to clipboard operation
clyde copied to clipboard

check for built packages before building new

Open muunleit opened this issue 14 years ago • 4 comments

Is it possible to let clyde check for already built packages in makepkg's "PKGDEST=" before it builds new packages?

This would be nice, especially for huge packages.

muunleit avatar Mar 30 '10 06:03 muunleit

Why are you rebuilding and installing a package you have already built if you do not want to rebuild it? Use -U if you for whatever reason want to reinstall a package but not rebuild it. There are reasons what you ask for will not work, or be that reliable, in a lot of cases, anyway.

Kiwi avatar Mar 30 '10 10:03 Kiwi

Because maybe I have installed it once, uninstalled it later und now want to reinstall it again. It's just how makepkg handels this case if there is no newer version then the already built one and it acts the same way for the dependencies if they are from AUR, too.

muunleit avatar Mar 30 '10 12:03 muunleit

If it is in your cache then you can always use -U. If it is not then obviously you will have to rebuild anyway. I did not have time this morning to elaborate on it but I have a bit more now. When you run makepkg on a PKGBUILD and it is a revision controlled package it will update the date, so it is unlikely you have the same date package unless you built it on the same day. I will give you that for unaltered non-revision controlled packages it would be a good idea to check a cache first, so I will probably implement at least checking for it (even though it will fail a lot ;P ).

Kiwi avatar Mar 30 '10 13:03 Kiwi

thank you :-)

[closed]

muunleit avatar Mar 30 '10 14:03 muunleit