1 |
# Copyright 2005-2006 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-projects/portage-utils/README,v 1.16 2006/01/24 23:35:08 vapier Exp $ |
4 |
|
5 |
Developers to contact: |
6 |
solar@gentoo.org |
7 |
vapier@gentoo.org |
8 |
|
9 |
|
10 |
|
11 |
Dev Notes: |
12 |
|
13 |
- Speed is everything. |
14 |
Having your PORTDIR and VDB on the right file system helps dramatically |
15 |
|
16 |
IDE raid with PORTDIR on reiserfs: |
17 |
q -r |
18 |
q: Finished 20655 entries in 1.990951 seconds |
19 |
|
20 |
IDE raid with PORTDIR on ext3: |
21 |
q -r |
22 |
q: Finished 20655 entries in 203.664252 seconds |
23 |
|
24 |
|
25 |
- Fetching via anoncvs. |
26 |
The cvs module for gentoo-projects is mirrored. You may download a |
27 |
pretty recent copy using the following command. Note: that this is not |
28 |
the official cvs server but rather a mirror so it lags about an hour or |
29 |
so behind the real tree which is hosted on cvs.gentoo.org |
30 |
|
31 |
cvs -d:pserver:anonymous@zarquon.twobit.net:/var/cvsroot -q -z9 co -R gentoo-projects/portage-utils |
32 |
|
33 |
|
34 |
- Adding applets is easy using the q framework. |
35 |
Note: Please try to keep applet names under 8 chars. |
36 |
* cp template.c qmyapplet.c (all applets use the prefix of the letter 'q') |
37 |
* applets.h: add your prototype (see DECLARE_APPLET macro) |
38 |
* applets.h: add a new line to applets[] following the existing syntax |
39 |
* run `make depend` to auto regenerate dependent files |
40 |
|
41 |
When and where you can please try to use an existing applet and extend |
42 |
on its functionality by adding more options vs adding a bunch of new |
43 |
little applets. |
44 |
|
45 |
# Examples: |
46 |
qlist -ao | scanelf -BqgN libssl.so.0.9.6 -f - |