|
1 <?xml version="1.0" encoding="ascii"?> |
|
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
|
3 "DTD/xhtml1-transitional.dtd"> |
|
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
|
5 <head> |
|
6 <title>symrec.ValidateTicklerReleaseMetadata</title> |
|
7 <link rel="stylesheet" href="epydoc.css" type="text/css" /> |
|
8 <script type="text/javascript" src="epydoc.js"></script> |
|
9 </head> |
|
10 |
|
11 <body bgcolor="white" text="black" link="blue" vlink="#204080" |
|
12 alink="#204080"> |
|
13 <!-- ==================== NAVIGATION BAR ==================== --> |
|
14 <table class="navbar" border="0" width="100%" cellpadding="0" |
|
15 bgcolor="#a0c0ff" cellspacing="0"> |
|
16 <tr valign="middle"> |
|
17 |
|
18 <!-- Tree link --> |
|
19 <th> <a |
|
20 href="module-tree.html">Trees</a> </th> |
|
21 |
|
22 <!-- Index link --> |
|
23 <th> <a |
|
24 href="identifier-index.html">Indices</a> </th> |
|
25 |
|
26 <!-- Help link --> |
|
27 <th> <a |
|
28 href="help.html">Help</a> </th> |
|
29 |
|
30 <th class="navbar" width="100%"></th> |
|
31 </tr> |
|
32 </table> |
|
33 <table width="100%" cellpadding="0" cellspacing="0"> |
|
34 <tr valign="top"> |
|
35 <td width="100%"> |
|
36 <span class="breadcrumbs"> |
|
37 <a href="symrec-module.html">Module symrec</a> :: |
|
38 Class ValidateTicklerReleaseMetadata |
|
39 </span> |
|
40 </td> |
|
41 <td> |
|
42 <table cellpadding="0" cellspacing="0"> |
|
43 <!-- hide/show private --> |
|
44 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" |
|
45 onclick="toggle_private();">hide private</a>]</span></td></tr> |
|
46 <tr><td align="right"><span class="options" |
|
47 >[<a href="frames.html" target="_top">frames</a |
|
48 >] | <a href="symrec.ValidateTicklerReleaseMetadata-class.html" |
|
49 target="_top">no frames</a>]</span></td></tr> |
|
50 </table> |
|
51 </td> |
|
52 </tr> |
|
53 </table> |
|
54 <!-- ==================== CLASS DESCRIPTION ==================== --> |
|
55 <h1 class="epydoc">Class ValidateTicklerReleaseMetadata</h1><span class="codelink"><a href="symrec-pysrc.html#ValidateTicklerReleaseMetadata">source code</a></span><br /><br /> |
|
56 <pre class="base-tree"> |
|
57 object --+ |
|
58 | |
|
59 <a href="symrec.ReleaseMetadata-class.html">ReleaseMetadata</a> --+ |
|
60 | |
|
61 <a href="symrec.ValidateReleaseMetadata-class.html">ValidateReleaseMetadata</a> --+ |
|
62 | |
|
63 <a href="symrec.ValidateReleaseMetadataCached-class.html">ValidateReleaseMetadataCached</a> --+ |
|
64 | |
|
65 <strong class="uidshort">ValidateTicklerReleaseMetadata</strong> |
|
66 </pre> |
|
67 |
|
68 <hr /> |
|
69 This class validate if a metadata file is stored in the correct location and |
|
70 if all deps exists.<br /><br /> |
|
71 |
|
72 <!-- ==================== INSTANCE METHODS ==================== --> |
|
73 <a name="section-InstanceMethods"></a> |
|
74 <table class="summary" border="1" cellpadding="3" |
|
75 cellspacing="0" width="100%" bgcolor="white"> |
|
76 <tr bgcolor="#70b0f0" class="table-header"> |
|
77 <td colspan="2" class="table-header"> |
|
78 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
79 <tr valign="top"> |
|
80 <td align="left"><span class="table-header">Instance Methods</span></td> |
|
81 <td align="right" valign="top" |
|
82 ><span class="options">[<a href="#section-InstanceMethods" |
|
83 class="privatelink" onclick="toggle_private();" |
|
84 >hide private</a>]</span></td> |
|
85 </tr> |
|
86 </table> |
|
87 </td> |
|
88 </tr> |
|
89 <tr> |
|
90 <td width="15%" align="right" valign="top" class="summary"> |
|
91 <span class="summary-type"> </span> |
|
92 </td><td class="summary"> |
|
93 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
94 <tr> |
|
95 <td><span class="summary-sig"><a href="symrec.ValidateTicklerReleaseMetadata-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>, |
|
96 <span class="summary-sig-arg">filename</span>)</span><br /> |
|
97 x.__init__(...) initializes x; see x.__class__.__doc__ for signature</td> |
|
98 <td align="right" valign="top"> |
|
99 <span class="codelink"><a href="symrec-pysrc.html#ValidateTicklerReleaseMetadata.__init__">source code</a></span> |
|
100 |
|
101 </td> |
|
102 </tr> |
|
103 </table> |
|
104 |
|
105 </td> |
|
106 </tr> |
|
107 <tr> |
|
108 <td width="15%" align="right" valign="top" class="summary"> |
|
109 <span class="summary-type"> </span> |
|
110 </td><td class="summary"> |
|
111 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
112 <tr> |
|
113 <td><span class="summary-sig"><a href="symrec.ValidateTicklerReleaseMetadata-class.html#is_valid" class="summary-sig-name">is_valid</a>(<span class="summary-sig-arg">self</span>, |
|
114 <span class="summary-sig-arg">checkmd5</span>=<span class="summary-sig-default">True</span>)</span><br /> |
|
115 Run the validation mechanism.</td> |
|
116 <td align="right" valign="top"> |
|
117 <span class="codelink"><a href="symrec-pysrc.html#ValidateTicklerReleaseMetadata.is_valid">source code</a></span> |
|
118 |
|
119 </td> |
|
120 </tr> |
|
121 </table> |
|
122 |
|
123 </td> |
|
124 </tr> |
|
125 <tr> |
|
126 <td colspan="2" class="summary"> |
|
127 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="symrec.ValidateReleaseMetadataCached-class.html">ValidateReleaseMetadataCached</a></code></b>: |
|
128 <code><a href="symrec.ValidateReleaseMetadataCached-class.html#in_cache">in_cache</a></code>, |
|
129 <code><a href="symrec.ValidateReleaseMetadataCached-class.html#load_cache">load_cache</a></code>, |
|
130 <code><a href="symrec.ValidateReleaseMetadataCached-class.html#update_cache">update_cache</a></code>, |
|
131 <code><a href="symrec.ValidateReleaseMetadataCached-class.html#value_from_cache">value_from_cache</a></code> |
|
132 </p> |
|
133 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="symrec.ReleaseMetadata-class.html">ReleaseMetadata</a></code></b>: |
|
134 <code><a href="symrec.ReleaseMetadata-class.html#__getitem__">__getitem__</a></code>, |
|
135 <code><a href="symrec.ReleaseMetadata-class.html#__setitem__">__setitem__</a></code>, |
|
136 <code><a href="symrec.ReleaseMetadata-class.html#add_package">add_package</a></code>, |
|
137 <code><a href="symrec.ReleaseMetadata-class.html#getVariantPackage">getVariantPackage</a></code>, |
|
138 <code><a href="symrec.ReleaseMetadata-class.html#get_dependsof">get_dependsof</a></code>, |
|
139 <code><a href="symrec.ReleaseMetadata-class.html#get_releasedetails_info">get_releasedetails_info</a></code>, |
|
140 <code><a href="symrec.ReleaseMetadata-class.html#keys">keys</a></code>, |
|
141 <code><a href="symrec.ReleaseMetadata-class.html#save">save</a></code>, |
|
142 <code><a href="symrec.ReleaseMetadata-class.html#servicepacks">servicepacks</a></code>, |
|
143 <code><a href="symrec.ReleaseMetadata-class.html#set_dependsof">set_dependsof</a></code>, |
|
144 <code><a href="symrec.ReleaseMetadata-class.html#set_releasedetails_info">set_releasedetails_info</a></code>, |
|
145 <code><a href="symrec.ReleaseMetadata-class.html#xml">xml</a></code> |
|
146 </p> |
|
147 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: |
|
148 <code>__delattr__</code>, |
|
149 <code>__getattribute__</code>, |
|
150 <code>__hash__</code>, |
|
151 <code>__new__</code>, |
|
152 <code>__reduce__</code>, |
|
153 <code>__reduce_ex__</code>, |
|
154 <code>__repr__</code>, |
|
155 <code>__setattr__</code>, |
|
156 <code>__str__</code> |
|
157 </p> |
|
158 </td> |
|
159 </tr> |
|
160 </table> |
|
161 <!-- ==================== CLASS VARIABLES ==================== --> |
|
162 <a name="section-ClassVariables"></a> |
|
163 <table class="summary" border="1" cellpadding="3" |
|
164 cellspacing="0" width="100%" bgcolor="white"> |
|
165 <tr bgcolor="#70b0f0" class="table-header"> |
|
166 <td colspan="2" class="table-header"> |
|
167 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
168 <tr valign="top"> |
|
169 <td align="left"><span class="table-header">Class Variables</span></td> |
|
170 <td align="right" valign="top" |
|
171 ><span class="options">[<a href="#section-ClassVariables" |
|
172 class="privatelink" onclick="toggle_private();" |
|
173 >hide private</a>]</span></td> |
|
174 </tr> |
|
175 </table> |
|
176 </td> |
|
177 </tr> |
|
178 <tr> |
|
179 <td colspan="2" class="summary"> |
|
180 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="symrec.ReleaseMetadata-class.html">ReleaseMetadata</a></code></b>: |
|
181 <code><a href="symrec.ReleaseMetadata-class.html#baseline_product">baseline_product</a></code>, |
|
182 <code><a href="symrec.ReleaseMetadata-class.html#baseline_release">baseline_release</a></code>, |
|
183 <code><a href="symrec.ReleaseMetadata-class.html#baseline_service">baseline_service</a></code>, |
|
184 <code><a href="symrec.ReleaseMetadata-class.html#dependsof_product">dependsof_product</a></code>, |
|
185 <code><a href="symrec.ReleaseMetadata-class.html#dependsof_release">dependsof_release</a></code>, |
|
186 <code><a href="symrec.ReleaseMetadata-class.html#dependsof_service">dependsof_service</a></code>, |
|
187 <code><a href="symrec.ReleaseMetadata-class.html#filename">filename</a></code>, |
|
188 <code><a href="symrec.ReleaseMetadata-class.html#product">product</a></code>, |
|
189 <code><a href="symrec.ReleaseMetadata-class.html#release">release</a></code>, |
|
190 <code><a href="symrec.ReleaseMetadata-class.html#service">service</a></code> |
|
191 </p> |
|
192 </td> |
|
193 </tr> |
|
194 </table> |
|
195 <!-- ==================== PROPERTIES ==================== --> |
|
196 <a name="section-Properties"></a> |
|
197 <table class="summary" border="1" cellpadding="3" |
|
198 cellspacing="0" width="100%" bgcolor="white"> |
|
199 <tr bgcolor="#70b0f0" class="table-header"> |
|
200 <td colspan="2" class="table-header"> |
|
201 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
202 <tr valign="top"> |
|
203 <td align="left"><span class="table-header">Properties</span></td> |
|
204 <td align="right" valign="top" |
|
205 ><span class="options">[<a href="#section-Properties" |
|
206 class="privatelink" onclick="toggle_private();" |
|
207 >hide private</a>]</span></td> |
|
208 </tr> |
|
209 </table> |
|
210 </td> |
|
211 </tr> |
|
212 <tr> |
|
213 <td colspan="2" class="summary"> |
|
214 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: |
|
215 <code>__class__</code> |
|
216 </p> |
|
217 </td> |
|
218 </tr> |
|
219 </table> |
|
220 <!-- ==================== METHOD DETAILS ==================== --> |
|
221 <a name="section-MethodDetails"></a> |
|
222 <table class="details" border="1" cellpadding="3" |
|
223 cellspacing="0" width="100%" bgcolor="white"> |
|
224 <tr bgcolor="#70b0f0" class="table-header"> |
|
225 <td colspan="2" class="table-header"> |
|
226 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
227 <tr valign="top"> |
|
228 <td align="left"><span class="table-header">Method Details</span></td> |
|
229 <td align="right" valign="top" |
|
230 ><span class="options">[<a href="#section-MethodDetails" |
|
231 class="privatelink" onclick="toggle_private();" |
|
232 >hide private</a>]</span></td> |
|
233 </tr> |
|
234 </table> |
|
235 </td> |
|
236 </tr> |
|
237 </table> |
|
238 <a name="__init__"></a> |
|
239 <div> |
|
240 <table class="details" border="1" cellpadding="3" |
|
241 cellspacing="0" width="100%" bgcolor="white"> |
|
242 <tr><td> |
|
243 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
244 <tr valign="top"><td> |
|
245 <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>, |
|
246 <span class="sig-arg">filename</span>)</span> |
|
247 <br /><em class="fname">(Constructor)</em> |
|
248 </h3> |
|
249 </td><td align="right" valign="top" |
|
250 ><span class="codelink"><a href="symrec-pysrc.html#ValidateTicklerReleaseMetadata.__init__">source code</a></span> |
|
251 </td> |
|
252 </table> |
|
253 |
|
254 x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
255 <dl class="fields"> |
|
256 <dt>Overrides: |
|
257 <a href="symrec.ValidateReleaseMetadataCached-class.html#__init__">ValidateReleaseMetadataCached.__init__</a> |
|
258 </dt> |
|
259 </dl> |
|
260 </td></tr></table> |
|
261 </div> |
|
262 <a name="is_valid"></a> |
|
263 <div> |
|
264 <table class="details" border="1" cellpadding="3" |
|
265 cellspacing="0" width="100%" bgcolor="white"> |
|
266 <tr><td> |
|
267 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
268 <tr valign="top"><td> |
|
269 <h3 class="epydoc"><span class="sig"><span class="sig-name">is_valid</span>(<span class="sig-arg">self</span>, |
|
270 <span class="sig-arg">checkmd5</span>=<span class="sig-default">True</span>)</span> |
|
271 </h3> |
|
272 </td><td align="right" valign="top" |
|
273 ><span class="codelink"><a href="symrec-pysrc.html#ValidateTicklerReleaseMetadata.is_valid">source code</a></span> |
|
274 </td> |
|
275 </table> |
|
276 |
|
277 Run the validation mechanism. |
|
278 <dl class="fields"> |
|
279 <dt>Overrides: |
|
280 <a href="symrec.ValidateReleaseMetadataCached-class.html#is_valid">ValidateReleaseMetadataCached.is_valid</a> |
|
281 </dt> |
|
282 </dl> |
|
283 </td></tr></table> |
|
284 </div> |
|
285 <br /> |
|
286 <!-- ==================== NAVIGATION BAR ==================== --> |
|
287 <table class="navbar" border="0" width="100%" cellpadding="0" |
|
288 bgcolor="#a0c0ff" cellspacing="0"> |
|
289 <tr valign="middle"> |
|
290 |
|
291 <!-- Tree link --> |
|
292 <th> <a |
|
293 href="module-tree.html">Trees</a> </th> |
|
294 |
|
295 <!-- Index link --> |
|
296 <th> <a |
|
297 href="identifier-index.html">Indices</a> </th> |
|
298 |
|
299 <!-- Help link --> |
|
300 <th> <a |
|
301 href="help.html">Help</a> </th> |
|
302 |
|
303 <th class="navbar" width="100%"></th> |
|
304 </tr> |
|
305 </table> |
|
306 <table border="0" cellpadding="0" cellspacing="0" width="100%%"> |
|
307 <tr> |
|
308 <td align="left" class="footer"> |
|
309 Generated by Epydoc 3.0beta1 on Wed Sep 09 13:44:19 2009 |
|
310 </td> |
|
311 <td align="right" class="footer"> |
|
312 <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a> |
|
313 </td> |
|
314 </tr> |
|
315 </table> |
|
316 |
|
317 <script type="text/javascript"> |
|
318 <!-- |
|
319 // Private objects are initially displayed (because if |
|
320 // javascript is turned off then we want them to be |
|
321 // visible); but by default, we want to hide them. So hide |
|
322 // them unless we have a cookie that says to show them. |
|
323 checkCookie() |
|
324 // --> |
|
325 </script> |
|
326 |
|
327 </body> |
|
328 </html> |