1 |
I'm just a user, not even running a server with Gentoo. My thoughts on your |
2 |
suggestions are aligned with most of the devs on almost every point, so I'll |
3 |
put my own thoughts and add relevant bits from other threads. |
4 |
|
5 |
On Sunday 07 September 2003 03:05, David Sankel wrote: |
6 |
> 1) etc-update changes for a more automated system update |
7 |
> |
8 |
> etc-update allows you to automatically update (noted) etc files that one |
9 |
> never changed from their last emerge. This could save a lot of |
10 |
> maintenance time if it was put in a cron job to routinely do that after |
11 |
> an "emerge sync;emerge -u world" |
12 |
> The user then wouldn't have to look at all of the etc files to see |
13 |
> if they were changed after every "emerge sync; emerge-u world". |
14 |
|
15 |
I've had this same idea myself. It should be fairly easy to do given |
16 |
/var/db/pkg/*/*/CONTENTS - that's got the modification date/time in there |
17 |
encoded, right? |
18 |
|
19 |
A python script to address this issue named dispatch-conf has been written and |
20 |
is already included in sys-apps/portage. Details can be found at |
21 |
http://bugs.gentoo.org/show_bug.cgi?id=14079. |
22 |
|
23 |
> 2) make.conf updates to be more automated |
24 |
> |
25 |
> Most gentoo users, I believe, modify this file. This specific file changes |
26 |
> quite often with updates. Since most users only modify the "USE" and |
27 |
> "CFLAGS" components, having an update that is automatic is plausible. This |
28 |
> feature is a trade off between the integrity and consistency of the system |
29 |
> verses end-user maintenance time. |
30 |
|
31 |
Personally, I'm against automatic updates of make.conf, the main reason being |
32 |
that important updates to portage's functionality are usually documented |
33 |
there (eventually). While some users would like this functionality, the work |
34 |
to implement it does not match the benefit. |
35 |
|
36 |
Functionality such as this would belong in a (optional!) script that would be |
37 |
able to update all configuration files. That sort of thing would be way down |
38 |
the track, though. My reasoning on this is that automatic updates of |
39 |
make.conf should only be necessary for the layman whom would have trouble |
40 |
updating almost any configuration file. Presently, Gentoo does not support |
41 |
this class of user. |
42 |
|
43 |
> 3) emerge -u world "NOTICE:" output changes. |
44 |
> |
45 |
> When doing an "emerge -u world" several "NOTICE:"'s fly by on the screen. |
46 |
> For many users, they go unread although they contain important information |
47 |
> in a lot of cases. If these "NOTICE:"'s are cached and output at the end |
48 |
> of an "emerge -u world", their readership would have a dramatic increase. |
49 |
> This would allow interested gentoo users to be more informed of their |
50 |
> system. |
51 |
|
52 |
There is a patch to portage available at |
53 |
http://bugs.gentoo.org/show_bug.cgi?id=11359. Once all the bugs are worked |
54 |
out, integration into official portage is likely. |
55 |
|
56 |
> 4) emerge -u world progress bar option |
57 |
> |
58 |
> Most users probably care less about the compilation stages of their update |
59 |
> in comparison to the percentage of completion. A progress bar in this |
60 |
> area would be a nice aesthetic and informative addition for most users. |
61 |
> In order for this to happen, the output of the "emerge -u world" command |
62 |
> would probably have to be standardized with some flags to mark the |
63 |
> beginning and end of a compile. |
64 |
|
65 |
There are two attempts at this at |
66 |
http://forums.gentoo.org/viewtopic.php?t=42346 and |
67 |
. Both are buggy and work does not seem to be continuing. |
68 |
|
69 |
> 5) A simple graphical front end to maintenance commands such as "emerge |
70 |
> sync", "emerge -u world", and "etc-update". |
71 |
> |
72 |
> It would be a nice feature if users didn't have to commit these commands |
73 |
> to memory for regular maintenance. The maintenance menu might have an |
74 |
> icon on all of the default desktops. If this type of program was |
75 |
> implemented, it could be prominently displayed and made known for all new |
76 |
> users. Perhaps the install documentation could use this tool as much as |
77 |
> possible. |
78 |
|
79 |
There is fairly full-featured work done on this already. Two packages for kde |
80 |
are app-portage/kemerge and app-portage/kportage. There is also one in java - |
81 |
app-portage/portagemaster. I believe there to be work done on a gnome |
82 |
front-end but I cannot find it in portage. |
83 |
|
84 |
As to having it on the desktop by default, this is definately out of line with |
85 |
Gentoo's philosophy - Gentoo would have to make a decision for the user. |
86 |
There are also some technical aspects; some WMs don't even have a desktop, |
87 |
many installations don't have X11, etc. |
88 |
|
89 |
Slightly unrelated but work is being done on a (optional!) unified menu |
90 |
system. Once that is completed, an emerge of one of the above portage |
91 |
front-ends would add an icon to the menus of all installed WMs. That is about |
92 |
the closest you'll ever get to a default desktop icon. |
93 |
|
94 |
> 6) A streamlined GUI install. |
95 |
> |
96 |
> I'm sure this one has been brought up before. I consider this the "1.0" |
97 |
> maker of the gentoo distribution. In such an installer, I suggest that |
98 |
> the CFLAGS should not be modified by default. It has been shown in |
99 |
> several places that optimizing these does not give a significant enough |
100 |
> performance increase. It should stay, of course, as an option though. |
101 |
|
102 |
http://glis.sourceforge.net/ |
103 |
A mostly complete and bug-free curses version has already been written. The |
104 |
project is now undergoing a code restructuring to allow for easy rewriting of |
105 |
the front-end so that an X11 version can be written as well. |
106 |
|
107 |
> 7) Emerge -S and Emerge -s speed improvements. |
108 |
> |
109 |
> I don't know why these commands perform as slow as they do. My intuition |
110 |
> says that they could be an order of magnitude faster. Perhaps a |
111 |
> reimplementation in C/C++ or a data format change could help. |
112 |
|
113 |
This has been discussed many times. Faster implementations can be found at |
114 |
http://bugs.gentoo.org/show_bug.cgi?id=24756 or |
115 |
http://gentoo.devel-net.org/download/emerge-fastsearch.patch |
116 |
|
117 |
"emerge esearch" was also suggested but I cannot find any information on it. |
118 |
|
119 |
Portage is currently undergoing a rewrite to allow for pluggable back-ends. |
120 |
DB-based backends will address problems such as these. For a current DB-based |
121 |
portage, check portagesql as breakmygentoo.net. |
122 |
|
123 |
|
124 |
Regards, |
125 |
Jason |
126 |
|
127 |
-- |
128 |
gentoo-dev@g.o mailing list |