You are not logged in.
Hi,
i am searching a way to efficiently update git/svn/hg.... packages using yaourt...
My idea is that yaourt saves its builddirectory not to /tmp but to a folder in my /home that doesn't get deleted...
The idea behind is that yaourt doesn't need to check out the whole source tree to build a new version but just to get the diff...
At the moment i am doing it by hand with makepkg, but it would be nice to have a fast way to update all dev packages with yaourt -Syu --devel.
Anyones an idea?
Offline
Doesn't yaourt already do this with "--devel"?
Check the man page/wiki/etc.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Well yaourt does update the devel packages... but it needs to check out the whole branch, because it build in /tmp which is cleaned after reboot.
My intention is to keep the /src folder so that yourt will resume the build next time....
I am aware of two options in /etc/yaourtrc:
TmpDirectory /home/pschw/user/yaourttmp
ExportToLocalRepository /home/user/Repo/yaourtbuild/Well like you can see I adjusted these values.
No the packages are build in my home directory and afterwards exported to another directory in my /home... But it does not change anything on the default behaviour that I always have to check out the whole source to build a package.
Offline
How should the default behavior work otherwise? I think it's better for the user to determine where potentially large development checkouts should be stored on the system rather than let yaourt decide on its own.
Keep in mind that what you consider to be a reasonable default would probably not be reasonable to others. It would also go against the Arch philosophy of leaving things up to the user (yaourt was made for Arch after all).
You could however file a feature request to have yaourt display a warning message when storing development files somewhere in /tmp.
Last edited by Xyne (2009-09-17 21:13:26)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Well let me try to describe my intention in another way....
The default behaviuor when yaourt builds packages from aur is the following:
1.) Try to build in /var/abs/yaourtbuild/ if yaourt has no rights to wright in there
2.) it builds its packages per default in /tmp which will be cleaned after reboot.
The behaviour I would like:
1.) Build the aur packages in a directory in my /home.. for me it would be something like /home/$user/Repo/yaourt
2.) Check out the src folder of the package in that directory
3.) Do NOT clean the src directory after successfull build
[4] When yaourt will build the package again, because it is maybe a git package it will not need to checkout the whole master tree, but just the diff... This would speed up buildung packages with yaourt again a lot...
I would wonder if I need to create a wish, I could swear that I can create such a behaviour but am only to foolish to configure it the right way!
Offline
I quite like slurpy for this kind of thing.
If I expect that I'll be rebuilding again shortly in the future, I'll get the PKGBUILD with slurpy and build it manually.
![]()
Offline
What I do for git/svn packages is just do a yaourt -G <package_name> and do my own makepkg once in a while.
Alternatively, just change permissions on /var/abs/local to allow yaourt permission.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Alternatively, just change permissions on /var/abs/local to allow yaourt permission.
I thougth about that, but the space I have on my / partition is to lean.... in /home there would be more than 200 gig and no problems...
Offline