View previous topic :: View next topic |
Author |
Message |
mvc Tux's lil' helper
Joined: 27 Nov 2002 Posts: 98 Location: Portugal
|
Posted: Wed May 07, 2003 12:38 pm Post subject: emerge functionality request |
|
|
Hi,
Two ideias:
1.
I would like very much to make something like an
emerge --update world <exclude-file>
where exclude-file lists the ebuilds I don't want to update. I know I can make it via rsync exclude mechanism, but that involves an emerge rsync and manually deleting parts of the portage tree (ugly).
2.
I also would like if there was some option to emerge that would emerge --update ebuilds only if they are a major/minor/release different version of the version I have installed. With this I could stop emerging a lot of packages that just had small changes when I do emerge --update world.
Any thoughts?
Thanks
Marco |
|
Back to top |
|
|
mvc Tux's lil' helper
Joined: 27 Nov 2002 Posts: 98 Location: Portugal
|
Posted: Wed May 07, 2003 12:56 pm Post subject: |
|
|
I was wondering the 2 ideas could be merged. I would be delighted if I coud create a text file for example:
ebuild update-when
---------------------------
alsa major-release
kde minor-release
povray excluded
gzip release-candidate
...
and then
emerge --update world <my-file> |
|
Back to top |
|
|
mpsii l33t
Joined: 11 Mar 2003 Posts: 658 Location: Jackson, TN
|
Posted: Wed May 07, 2003 1:01 pm Post subject: |
|
|
If you run: that will let you know what is out there to update. Then you can pick and choose.
Also, is not the mask file used for this type of concern? I know that by default, it is masking unstable files; but, you could modify it to mask individual ebuilds as well... The only problem is that I think the mask file is replaced with every sync... _________________ -----------------------------------------
Michael |
|
Back to top |
|
|
mvc Tux's lil' helper
Joined: 27 Nov 2002 Posts: 98 Location: Portugal
|
Posted: Wed May 07, 2003 1:24 pm Post subject: |
|
|
Quote: |
if you run:
emerge -p world
that will let you know what is out there to update. Then you can pick and choose.
|
Not when emerge -p world shows 117 files
Quote: | Also, is not the mask file used for this type of concern? |
Not quite. In the mask file I could rule out the ebuilds I don't want so it could solve my first problem (but maybe with that rsync annoyance you pointed out).
But in the mask file I have to specifically say for each package what are the versions that I don't want, and that is not exacly what I had in mind. I wold like to say simple things like "update me kde only when there is a minor or greater release" or "update me alsa only when there is a major release", etc. With this mechanism I wouldn't care for what is the current version of kde or alsa.
thanks
Marco |
|
Back to top |
|
|
|