1 |
Author: ulm |
2 |
Date: 2009-05-01 13:04:35 +0000 (Fri, 01 May 2009) |
3 |
New Revision: 523 |
4 |
|
5 |
Modified: |
6 |
trunk/ChangeLog |
7 |
trunk/doc/developer-guide.txt |
8 |
Log: |
9 |
Update documentation. |
10 |
|
11 |
Modified: trunk/ChangeLog |
12 |
=================================================================== |
13 |
--- trunk/ChangeLog 2009-04-30 07:25:30 UTC (rev 522) |
14 |
+++ trunk/ChangeLog 2009-05-01 13:04:35 UTC (rev 523) |
15 |
@@ -1,3 +1,7 @@ |
16 |
+2009-05-01 Ulrich Mueller <ulm@g.o> |
17 |
+ |
18 |
+ * doc/developer-guide.txt: Update documentation. |
19 |
+ |
20 |
2009-04-30 Ulrich Mueller <ulm@g.o> |
21 |
|
22 |
* modules/news-tng.eselect (find_items): Use space-separated list |
23 |
@@ -35,7 +39,9 @@ |
24 |
(get_repo_news_dir): Use "portageq get_repo_path". |
25 |
(best_version): Default to / if ROOT is empty, otherwise portageq |
26 |
doesn't work. Actually use Portage's and Paludis's "best_version" |
27 |
- commands, not "has_version". |
28 |
+ commands, not "has_version". Rename to agree with the ebuild |
29 |
+ helper; this shouldn't be a problem since the function was not |
30 |
+ working before. |
31 |
(has_version): Default to / if ROOT is empty. Remove redundant |
32 |
return statements. |
33 |
|
34 |
|
35 |
Modified: trunk/doc/developer-guide.txt |
36 |
=================================================================== |
37 |
--- trunk/doc/developer-guide.txt 2009-04-30 07:25:30 UTC (rev 522) |
38 |
+++ trunk/doc/developer-guide.txt 2009-05-01 13:04:35 UTC (rev 523) |
39 |
@@ -225,6 +225,11 @@ |
40 |
order to source the file ``libs/foo.bash`` you have to add ``inherit foo`` in |
41 |
global scope of your module. |
42 |
|
43 |
+The ``sed`` Function |
44 |
+,,,,,,,,,,,,,,,,,,,, |
45 |
+ |
46 |
+The ``sed`` function is a wrapper around GNU sed. |
47 |
+ |
48 |
Output Utility Functions |
49 |
------------------------ |
50 |
|
51 |
@@ -406,12 +411,6 @@ |
52 |
system. If the package manager cannot provide this information, ``arch`` falls |
53 |
back to a ``uname -m`` and ``uname -s`` based lookup-table. |
54 |
|
55 |
-The ``best-version`` Function |
56 |
-,,,,,,,,,,,,,,,,,,,,,,,,,,,,, |
57 |
- |
58 |
-The ``best-version`` Function returns the highest available version for a |
59 |
-given package dep atom. |
60 |
- |
61 |
The ``envvar`` Function |
62 |
,,,,,,,,,,,,,,,,,,,,,,,,, |
63 |
|
64 |
@@ -419,12 +418,30 @@ |
65 |
variable for a given package. The syntax is ``envvar ${package-name} |
66 |
${var-name}``. |
67 |
|
68 |
-The ``has-version`` Function |
69 |
+The ``best_version`` Function |
70 |
+,,,,,,,,,,,,,,,,,,,,,,,,,,,,, |
71 |
+ |
72 |
+The ``best_version`` Function returns the highest available version for a |
73 |
+given package dep atom. |
74 |
+ |
75 |
+The ``has_version`` Function |
76 |
,,,,,,,,,,,,,,,,,,,,,,,,,,,, |
77 |
|
78 |
-The ``has-version`` function checks whether a given versioned package dep atom |
79 |
+The ``has_version`` function checks whether a given versioned package dep atom |
80 |
is installed. |
81 |
|
82 |
+The ``get_repositories`` Function |
83 |
+,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, |
84 |
+ |
85 |
+The ``get_repositories`` function returns a list of repositories known to the |
86 |
+package manager. |
87 |
+ |
88 |
+The ``get_repo_news_dir`` Function |
89 |
+,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, |
90 |
+ |
91 |
+The ``get_repo_news_dir`` function returns the directory where to find GLEP 42 |
92 |
+news items for a given repository. |
93 |
+ |
94 |
A Basic Skeleton Library |
95 |
======================== |