1 |
Gregory Woodbury wrote: |
2 |
> Has Alan ever posted his "jackhammer" script for some experts to look at? |
3 |
> |
4 |
> I get by really well with a small script that reads the eix outputs, |
5 |
> finds the "[U]" |
6 |
> tagged packages, and then runs "emerge -u1" on that list. |
7 |
> |
8 |
> Doing anything more than that will be a cause of pain and suffering. |
9 |
> |
10 |
> If a package needs patches for something special, it is better to make |
11 |
> a local |
12 |
> repository with modified ebuilds and distfiles, rather than try to |
13 |
> force the gentoo repo |
14 |
> into your own mess. I do this for a few tthings that Gentoo doesn't |
15 |
> ship. Portage |
16 |
> is actuallly quite flexible underneath, itt just takes a bit of learning. |
17 |
> |
18 |
> -- |
19 |
> G.Wolfe Woodbury |
20 |
> redwolfe@×××××.com <mailto:redwolfe@×××××.com> |
21 |
|
22 |
|
23 |
He did a while back. Some very experienced Gentoo users here explained |
24 |
to him that his script was the problem. From memory which isn't all |
25 |
that good, it syncs the tree which is fine. After that, it gets bad. I |
26 |
think it did the updates and then repeated that several times within the |
27 |
script. That is done without him looking to see if anything needs to be |
28 |
changed, USE flags etc, or if something shouldn't be updated at all. |
29 |
I'm pretty sure that it then deletes all the logs of what was done, |
30 |
which means anything broken is broke and no record of what or even why. |
31 |
|
32 |
Yes, some things can be done with a script. However, there needs to be |
33 |
a point in there where the user, the real brain of what is wanted, looks |
34 |
at the list of what will be updated. Only a human can look and see if |
35 |
there is USE flag changes or other issues that need a config file to be |
36 |
edited. Alan skips all that. |
37 |
|
38 |
If you want, I can go dig it out and post it. I should have a copy of |
39 |
the script in my local email. I keep them for like 2 years or something |
40 |
then it deletes the old stuff. I'm not sure if you will laugh your head |
41 |
off or cry tho. |
42 |
|
43 |
Dale |
44 |
|
45 |
:-) :-) |