1 |
Karl, |
2 |
|
3 |
I rewrote the entire thing in Python (partly to see if I could). I |
4 |
haven't tested it as much as the original because it's 2am and I have to |
5 |
be at work in seven hours, but I was able to merge and unmerge joe, as |
6 |
well as query a bunch of stuff, without any trouble on my system. It is |
7 |
at present a lot slower than the Perl version because I used |
8 |
os.path.walk instead of opening a pipe from find, but I'll probably |
9 |
change that given the horrid performance it causes. |
10 |
|
11 |
I send this directly to you because I get the faint impression that |
12 |
gentoo-dev is not the correct place to send this sort of thing and I |
13 |
didn't want to nag anyone without some guidance ;) |
14 |
|
15 |
The new version is posted at http://www.wam.umd.edu/~wjr, but as you can |
16 |
see I consider it a beta (more because of performance than stability--it |
17 |
takes several seconds to execute a dependency check with around 8 |
18 |
dependencies). |
19 |
|
20 |
Will Rogers, going to sleep. |
21 |
wjr@×××××××.edu |
22 |
|
23 |
|
24 |
> -----Original Message----- |
25 |
> From: gentoo-dev-admin@××××××××××.org |
26 |
> [mailto:gentoo-dev-admin@××××××××××.org] On Behalf Of Karl |
27 |
> Trygve Kalleberg |
28 |
> Sent: Tuesday, August 21, 2001 2:25 PM |
29 |
> To: gentoo-dev@××××××××××.org |
30 |
> Subject: Re: [gentoo-dev] An Offering: the EMerge Interface |
31 |
> |
32 |
> |
33 |
> Hi. |
34 |
> |
35 |
> I've already added this to Gentool, but I've not checked it |
36 |
> into CVS yet (shame on me!). |
37 |
> |
38 |
> If you have knowledge of Python (we don't use Perl for |
39 |
> Portage) and want to keep working on these kinds of things, |
40 |
> tell me, and I'll see if we can't get Gentool rolling a bit |
41 |
> faster from now on. |
42 |
> |
43 |
> For those of you who haven't been paying attention to what I |
44 |
> intend to do with Gentool: It's intended as a playground for |
45 |
> higher-level stuff that should go into Portage. |
46 |
> |
47 |
> Since Portage itself is so vital, we don't want to muck |
48 |
> around with it needlessly. That's why I suggest we use |
49 |
> Gentool as an entry-point |
50 |
> for all crazy and non-crazy 'portage addons' that crop up on the list. |
51 |
> |
52 |
> This way, the users will be able to try them out before they |
53 |
> make it into Portage proper, and we can throw away/rework |
54 |
> suggestions that weren't so hot after all. |
55 |
> |
56 |
> |
57 |
> I promise to speed up Gentool development once I get settled |
58 |
> at uni (in |
59 |
> about a week). |
60 |
> |
61 |
> |
62 |
> Kind regards, |
63 |
> |
64 |
> Karl T |
65 |
> |
66 |
> On Sun, Aug 19, 2001 at 10:10:53PM -0400, Will Rogers wrote: |
67 |
> > # emi - the EMerge Interface |
68 |
> > # Copyright (C) 2001 William J. Rogers (wjr@×××××××.edu) |
69 |
> > # |
70 |
> > # An interface to the Gentoo Portage package system in the style of |
71 |
> > apt-get |
72 |
> > |
73 |
> > Available at http://www.wam.umd.edu/~wjr/emi (also linked off of |
74 |
> > http://www.wam.umd.edu/~wjr). |
75 |
> > |
76 |
> > This is a perl script that can acts as a user-friendly interface to |
77 |
> > emerge merge, package information, and ebuild unmerge |
78 |
> operations. Its |
79 |
> > features include: |
80 |
> > - emi merge <package file> |
81 |
> > checks if there is an ebuild in the tree for this package |
82 |
> (if you are |
83 |
> > calling it on a binary .tbz2), lists currently installed versions, |
84 |
> > lists dependencies via emerge --pretend, and tells you if |
85 |
> those have |
86 |
> > ebuilds available also, then asks if you want to install |
87 |
> and fires off |
88 |
> > emerge if you say yes |
89 |
> > - emi query <package name> |
90 |
> > Lists ebuilds for this program in the portage tree, source |
91 |
> packages in |
92 |
> > the distfiles folder, binary packages in PKGDIR, and |
93 |
> current versions |
94 |
> > in /var/db/pkg |
95 |
> > - emi unmerge <package name> |
96 |
> > Lists current versions in /var/db/pkg and allows you to |
97 |
> select one to |
98 |
> > unmerge (via ebuild unmerge) or quit |
99 |
> > |
100 |
> > I wrote this in my spare time over the weekend because I found it |
101 |
> > tiresome to manually look around to discover various |
102 |
> information about |
103 |
> > packages. This functionality might be planned in future emerge |
104 |
> > iterations; it might already exist somewhere I haven't |
105 |
> found yet. If |
106 |
> > so, I don't really care; I had fun writing it :). |
107 |
> > |
108 |
> > Please check it out if you're interested and let me know what you |
109 |
> > think. |
110 |
> > |
111 |
> > Will Rogers |
112 |
> > wjr@×××××××.edu |
113 |
> > |
114 |
> > |
115 |
> > _______________________________________________ |
116 |
> > gentoo-dev mailing list |
117 |
> > gentoo-dev@××××××××××.org |
118 |
> > http://cvs.gentoo.org/mailman/listinfo/gentoo-dev |
119 |
> |
120 |
> _______________________________________________ |
121 |
> gentoo-dev mailing list |
122 |
> gentoo-dev@××××××××××.org |
123 |
> http://cvs.gentoo.org/mailman/listinfo/gentoo-> dev |
124 |
> |