I am not sure if i can understand exactly, what you are speaking here.
This will be somewhat half-thought idea here, but..
As much as i have got, system contains packages nessecary for me and
world is all what i have emerged? And system comes basically from
profile?
For me as an user, there is no differences between "system", "world"
and "kde-meta" (syntactically), except that world will contain
kde-meta after i have emerged it and system will contain packages from
my selected profile.
Now, wouldnt it be good if they were exactly the same thing on system
level, and all configureable?
Lets imagine configuration file with the following syntax:
# System points to x86
System=>System x86 2.6
# World is included from another file
@world.list
[system]
#system contains an additional package "moo"
++moo
[world]
#world.list file may contain "moo", but not world
--moo
[kde-meta]
++kicker
Those files could be called patches and optionally contain includes
from random servers.
2006/3/21, Brian <[EMAIL PROTECTED]>:
> I remember that a while back I asked about user created package lists to
> supplement system & world. If I remember correctly, I believe you
> (portage devs) were open to the idea.
>
> I have been working on re-coding the upgrades view in porthole partially
> to get around a gtk treeview bug causing segfaults (reportedly fixed in
> >=gtk+-2.8.14). The other reason is to add a feature I have thought
> about for some time (the reason I asked this last time). Anyway I have
> the basic re-coding done. It is now possible to break down the
> upgradeable packages into as many lists as desired.
>
> Currently lists are hard coded but will be configurable. (Easier to get
> one thing working at a time) "System" list is generated at run time
> (using the self.system_cmd, then using portage.catsplit to trim the
> version info):
>
> self.cat_order = ["System", "User list1", "World", "Dependencies"]
> self.categories = {"System":None, "World":"World", "User list1":None,
> "Dependencies":"Dependencies"}
> self.upgradables = {}
> self.pkg_count = {}
> for key in self.categories:
> self.upgradables[key] = {}
> self.pkg_count[key] = 0
> self.count = 0
> # command lifted fom emwrap and emwrap.sh
> self.system_cmd = "emerge -ep --nocolor --nospinner system | cut -s
> -f2 -d ']'| cut -f1 -d '[' | sed 's/^[ ]\+//' | sed 's/[ ].*$//'"
>
> [snip]
>
> upgradable = package.is_upgradable()
> if upgradable: # is_upgradable() = 1 for upgrade, -1 for
> downgrade
> if upgradable == 1 or not self.upgrade_only:
> for key in self.cat_order:
> if package.in_list(self.categories[key]):
> self.upgradables[key][package.full_name] =
> package
> self.pkg_count[key] += 1
> break
>
>
> Is there any plans for officially supported user lists? eg:
>
> # emerge -up --list mylist
>
> where mylist is in /etc/portage/lists/ (for example)
>
> Should I set it up to use them from /etc/portage/lists/. Or just from a
> users .porthole directory? I may have missed it if it has already been
> done :)
>
>
> --
> Brian <[EMAIL PROTECTED]>
>
> --
> [email protected] mailing list
>
>
--
tvali
>From a programmer's point of view, the user is a peripheral that types
when you issue a read request. -P. Williams
If you think your management doesn't know what it's doing or that your
organisation turns out low-quality software crap that embarrasses you,
then leave. -Ed Yourdon
We all agree on the necessity of compromise. We just can't agree on
when it's necessary to compromise. -Larry Wall
[ http://www.softwarequotes.com/ ] -
http://www.softwarequotes.com/ShowQuotes.asp?ID=544&Name=Borenstein,_Nathaniel_S.
- http://www.softwarequotes.com/ShowQuotes.asp?ID=571&Name=Boehm,_Barry
--
[email protected] mailing list