1 |
commit: 0f7614d8152d8f1b30862d847afbac1ee4bd7de0 |
2 |
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 10 17:35:08 2017 +0000 |
4 |
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 10 17:50:19 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=0f7614d8 |
7 |
|
8 |
repoman: modules/scan/*: Add module_runsIn spec variable |
9 |
|
10 |
This variable will be used to help determine which process loops |
11 |
to run the modules in. This is summary data taken from the runIn*()'s |
12 |
defined in the target eclasses containing the checks. |
13 |
|
14 |
repoman/pym/repoman/modules/scan/depend/__init__.py | 1 + |
15 |
repoman/pym/repoman/modules/scan/directories/__init__.py | 2 ++ |
16 |
repoman/pym/repoman/modules/scan/eapi/__init__.py | 1 + |
17 |
repoman/pym/repoman/modules/scan/ebuild/__init__.py | 2 ++ |
18 |
repoman/pym/repoman/modules/scan/eclasses/__init__.py | 2 ++ |
19 |
repoman/pym/repoman/modules/scan/fetch/__init__.py | 1 + |
20 |
repoman/pym/repoman/modules/scan/keywords/__init__.py | 1 + |
21 |
repoman/pym/repoman/modules/scan/manifest/__init__.py | 1 + |
22 |
repoman/pym/repoman/modules/scan/metadata/__init__.py | 4 ++++ |
23 |
repoman/pym/repoman/modules/scan/options/__init__.py | 1 + |
24 |
10 files changed, 16 insertions(+) |
25 |
|
26 |
diff --git a/repoman/pym/repoman/modules/scan/depend/__init__.py b/repoman/pym/repoman/modules/scan/depend/__init__.py |
27 |
index 6d1228601..bd6905c0b 100644 |
28 |
--- a/repoman/pym/repoman/modules/scan/depend/__init__.py |
29 |
+++ b/repoman/pym/repoman/modules/scan/depend/__init__.py |
30 |
@@ -26,6 +26,7 @@ module_spec = { |
31 |
'ebuild': (None, None), |
32 |
'pkg': (None, None), |
33 |
}, |
34 |
+ 'module_runsIn': ['ebuilds'], |
35 |
}, |
36 |
} |
37 |
} |
38 |
|
39 |
diff --git a/repoman/pym/repoman/modules/scan/directories/__init__.py b/repoman/pym/repoman/modules/scan/directories/__init__.py |
40 |
index 47834cb40..18ca086ce 100644 |
41 |
--- a/repoman/pym/repoman/modules/scan/directories/__init__.py |
42 |
+++ b/repoman/pym/repoman/modules/scan/directories/__init__.py |
43 |
@@ -26,6 +26,7 @@ module_spec = { |
44 |
'checkdirlist': (None, None), |
45 |
'checkdir_relative': (None, None), |
46 |
}, |
47 |
+ 'module_runsIn': ['pkgs'], |
48 |
}, |
49 |
'mtime-module': { |
50 |
'name': "mtime", |
51 |
@@ -42,6 +43,7 @@ module_spec = { |
52 |
'ebuild': (None, None), |
53 |
'pkg': (None, None), |
54 |
}, |
55 |
+ 'module_runsIn': ['ebuilds'], |
56 |
}, |
57 |
} |
58 |
} |
59 |
|
60 |
diff --git a/repoman/pym/repoman/modules/scan/eapi/__init__.py b/repoman/pym/repoman/modules/scan/eapi/__init__.py |
61 |
index 4c3dd6e8f..f6306b3e1 100644 |
62 |
--- a/repoman/pym/repoman/modules/scan/eapi/__init__.py |
63 |
+++ b/repoman/pym/repoman/modules/scan/eapi/__init__.py |
64 |
@@ -23,6 +23,7 @@ module_spec = { |
65 |
'func_kwargs': { |
66 |
'ebuild': (None, None), |
67 |
}, |
68 |
+ 'module_runsIn': ['ebuilds'], |
69 |
}, |
70 |
} |
71 |
} |
72 |
|
73 |
diff --git a/repoman/pym/repoman/modules/scan/ebuild/__init__.py b/repoman/pym/repoman/modules/scan/ebuild/__init__.py |
74 |
index 8666e78c2..3e1d31951 100644 |
75 |
--- a/repoman/pym/repoman/modules/scan/ebuild/__init__.py |
76 |
+++ b/repoman/pym/repoman/modules/scan/ebuild/__init__.py |
77 |
@@ -37,6 +37,7 @@ module_spec = { |
78 |
'xpkg': (None, None), |
79 |
'y_ebuild': (None, None), |
80 |
}, |
81 |
+ 'module_runsIn': ['pkgs', 'ebuilds'], |
82 |
}, |
83 |
'multicheck-module': { |
84 |
'name': "multicheck", |
85 |
@@ -52,6 +53,7 @@ module_spec = { |
86 |
'ebuild': (None, None), |
87 |
'pkg': (None, None), |
88 |
}, |
89 |
+ 'module_runsIn': ['ebuilds'], |
90 |
}, |
91 |
} |
92 |
} |
93 |
|
94 |
diff --git a/repoman/pym/repoman/modules/scan/eclasses/__init__.py b/repoman/pym/repoman/modules/scan/eclasses/__init__.py |
95 |
index 01bd29adf..9b1f203ce 100644 |
96 |
--- a/repoman/pym/repoman/modules/scan/eclasses/__init__.py |
97 |
+++ b/repoman/pym/repoman/modules/scan/eclasses/__init__.py |
98 |
@@ -26,6 +26,7 @@ module_spec = { |
99 |
'xpkg': (None, None), |
100 |
'y_ebuild': (None, None), |
101 |
}, |
102 |
+ 'module_runsIn': ['ebuilds'], |
103 |
}, |
104 |
'ruby-module': { |
105 |
'name': "ruby", |
106 |
@@ -41,6 +42,7 @@ module_spec = { |
107 |
'ebuild': (None, None), |
108 |
'pkg': (None, None), |
109 |
}, |
110 |
+ 'module_runsIn': ['ebuilds'], |
111 |
}, |
112 |
} |
113 |
} |
114 |
|
115 |
diff --git a/repoman/pym/repoman/modules/scan/fetch/__init__.py b/repoman/pym/repoman/modules/scan/fetch/__init__.py |
116 |
index 3c8e6002c..d1b4f8d0e 100644 |
117 |
--- a/repoman/pym/repoman/modules/scan/fetch/__init__.py |
118 |
+++ b/repoman/pym/repoman/modules/scan/fetch/__init__.py |
119 |
@@ -27,6 +27,7 @@ module_spec = { |
120 |
'ebuild': (None, None), |
121 |
'xpkg': (None, None), |
122 |
}, |
123 |
+ 'module_runsIn': ['pkgs', 'ebuilds'], |
124 |
}, |
125 |
} |
126 |
} |
127 |
|
128 |
diff --git a/repoman/pym/repoman/modules/scan/keywords/__init__.py b/repoman/pym/repoman/modules/scan/keywords/__init__.py |
129 |
index 2223927c8..88ea5aca9 100644 |
130 |
--- a/repoman/pym/repoman/modules/scan/keywords/__init__.py |
131 |
+++ b/repoman/pym/repoman/modules/scan/keywords/__init__.py |
132 |
@@ -27,6 +27,7 @@ module_spec = { |
133 |
'xpkg': None, |
134 |
'y_ebuild': (None, None), |
135 |
}, |
136 |
+ 'module_runsIn': ['pkgs', 'ebuilds', 'final'], |
137 |
}, |
138 |
} |
139 |
} |
140 |
|
141 |
diff --git a/repoman/pym/repoman/modules/scan/manifest/__init__.py b/repoman/pym/repoman/modules/scan/manifest/__init__.py |
142 |
index dca431b62..94f0a1f35 100644 |
143 |
--- a/repoman/pym/repoman/modules/scan/manifest/__init__.py |
144 |
+++ b/repoman/pym/repoman/modules/scan/manifest/__init__.py |
145 |
@@ -24,6 +24,7 @@ module_spec = { |
146 |
'checkdir': (None, None), |
147 |
'xpkg': (None, None), |
148 |
}, |
149 |
+ 'module_runsIn': ['pkgs'], |
150 |
}, |
151 |
} |
152 |
} |
153 |
|
154 |
diff --git a/repoman/pym/repoman/modules/scan/metadata/__init__.py b/repoman/pym/repoman/modules/scan/metadata/__init__.py |
155 |
index 8e6668b10..03548d164 100644 |
156 |
--- a/repoman/pym/repoman/modules/scan/metadata/__init__.py |
157 |
+++ b/repoman/pym/repoman/modules/scan/metadata/__init__.py |
158 |
@@ -31,6 +31,7 @@ module_spec = { |
159 |
'xpkg': (None, None), |
160 |
'y_ebuild': (None, None), |
161 |
}, |
162 |
+ 'module_runsIn': ['pkgs', 'ebuilds', 'final'], |
163 |
}, |
164 |
'ebuild-metadata': { |
165 |
'name': "ebuild_metadata", |
166 |
@@ -48,6 +49,7 @@ module_spec = { |
167 |
'xpkg': (None, None), |
168 |
'y_ebuild': (None, None), |
169 |
}, |
170 |
+ 'module_runsIn': ['ebuilds'], |
171 |
}, |
172 |
'description-metadata': { |
173 |
'name': "description", |
174 |
@@ -63,6 +65,7 @@ module_spec = { |
175 |
'ebuild': (None, None), |
176 |
'pkg': ('Future', 'UNSET'), |
177 |
}, |
178 |
+ 'module_runsIn': ['ebuilds'], |
179 |
}, |
180 |
'restrict-metadata': { |
181 |
'name': "restrict", |
182 |
@@ -79,6 +82,7 @@ module_spec = { |
183 |
'xpkg': (None, None), |
184 |
'y_ebuild': (None, None), |
185 |
}, |
186 |
+ 'module_runsIn': ['ebuilds'], |
187 |
}, |
188 |
} |
189 |
} |
190 |
|
191 |
diff --git a/repoman/pym/repoman/modules/scan/options/__init__.py b/repoman/pym/repoman/modules/scan/options/__init__.py |
192 |
index a5746ce67..d62e75274 100644 |
193 |
--- a/repoman/pym/repoman/modules/scan/options/__init__.py |
194 |
+++ b/repoman/pym/repoman/modules/scan/options/__init__.py |
195 |
@@ -22,6 +22,7 @@ module_spec = { |
196 |
], |
197 |
'func_kwargs': { |
198 |
}, |
199 |
+ 'module_runsIn': ['ebuilds'], |
200 |
}, |
201 |
} |
202 |
} |