|
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>buildmanagement</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 Module buildmanagement |
|
38 </span> |
|
39 </td> |
|
40 <td> |
|
41 <table cellpadding="0" cellspacing="0"> |
|
42 <!-- hide/show private --> |
|
43 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" |
|
44 onclick="toggle_private();">hide private</a>]</span></td></tr> |
|
45 <tr><td align="right"><span class="options" |
|
46 >[<a href="frames.html" target="_top">frames</a |
|
47 >] | <a href="buildmanagement-pysrc.html" |
|
48 target="_top">no frames</a>]</span></td></tr> |
|
49 </table> |
|
50 </td> |
|
51 </tr> |
|
52 </table> |
|
53 <h1 class="epydoc">Source Code for <a href="buildmanagement-module.html">Module buildmanagement</a></h1> |
|
54 <pre class="py-src"> |
|
55 <a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-comment">#============================================================================ </tt> </tt> |
|
56 <a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#Name : buildmanagement.py </tt> </tt> |
|
57 <a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#Part of : Helium </tt> </tt> |
|
58 <a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"><tt class="py-comment"></tt> </tt> |
|
59 <a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"><tt class="py-comment">#Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).</tt> </tt> |
|
60 <a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#All rights reserved.</tt> </tt> |
|
61 <a name="L7"></a><tt class="py-lineno"> 7</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#This component and the accompanying materials are made available</tt> </tt> |
|
62 <a name="L8"></a><tt class="py-lineno"> 8</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#under the terms of the License "Eclipse Public License v1.0"</tt> </tt> |
|
63 <a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#which accompanies this distribution, and is available</tt> </tt> |
|
64 <a name="L10"></a><tt class="py-lineno"> 10</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#at the URL "http://www.eclipse.org/legal/epl-v10.html".</tt> </tt> |
|
65 <a name="L11"></a><tt class="py-lineno"> 11</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt> |
|
66 <a name="L12"></a><tt class="py-lineno"> 12</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#Initial Contributors:</tt> </tt> |
|
67 <a name="L13"></a><tt class="py-lineno"> 13</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#Nokia Corporation - initial contribution.</tt> </tt> |
|
68 <a name="L14"></a><tt class="py-lineno"> 14</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt> |
|
69 <a name="L15"></a><tt class="py-lineno"> 15</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#Contributors:</tt> </tt> |
|
70 <a name="L16"></a><tt class="py-lineno"> 16</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt> |
|
71 <a name="L17"></a><tt class="py-lineno"> 17</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#Description:</tt> </tt> |
|
72 <a name="L18"></a><tt class="py-lineno"> 18</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#===============================================================================</tt> </tt> |
|
73 <a name="L19"></a><tt class="py-lineno"> 19</tt> <tt class="py-line"><tt class="py-comment"></tt> </tt> |
|
74 <a name="L20"></a><tt class="py-lineno"> 20</tt> <tt class="py-line"><tt class="py-docstring">""" BuildManagement module """</tt> </tt> |
|
75 <a name="L21"></a><tt class="py-lineno"> 21</tt> <tt class="py-line"> </tt> |
|
76 <a name="L22"></a><tt class="py-lineno"> 22</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">os</tt> </tt> |
|
77 <a name="L23"></a><tt class="py-lineno"> 23</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">logging</tt> </tt> |
|
78 <a name="L24"></a><tt class="py-lineno"> 24</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">types</tt> </tt> |
|
79 <a name="L25"></a><tt class="py-lineno"> 25</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">string</tt> </tt> |
|
80 <a name="L26"></a><tt class="py-lineno"> 26</tt> <tt class="py-line"> </tt> |
|
81 <a name="L27"></a><tt class="py-lineno"> 27</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-0" class="py-name" targets="Module ant=ant-module.html,Module imaker.ant=imaker.ant-module.html,Module integration.ant=integration.ant-module.html"><a title="ant |
|
82 imaker.ant |
|
83 integration.ant" class="py-name" href="#" onclick="return doclink('link-0', 'ant', 'link-0');">ant</a></tt> </tt> |
|
84 <a name="L28"></a><tt class="py-lineno"> 28</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-1" class="py-name" targets="Package ccm=ccm-module.html"><a title="ccm" class="py-name" href="#" onclick="return doclink('link-1', 'ccm', 'link-1');">ccm</a></tt> </tt> |
|
85 <a name="L29"></a><tt class="py-lineno"> 29</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-2" class="py-name" targets="Module configuration=configuration-module.html"><a title="configuration" class="py-name" href="#" onclick="return doclink('link-2', 'configuration', 'link-2');">configuration</a></tt> </tt> |
|
86 <a name="L30"></a><tt class="py-lineno"> 30</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-3" class="py-name" targets="Package nokia=nokia-module.html"><a title="nokia" class="py-name" href="#" onclick="return doclink('link-3', 'nokia', 'link-3');">nokia</a></tt><tt class="py-op">.</tt><tt id="link-4" class="py-name" targets="Module nokia.nokiaccm=nokia.nokiaccm-module.html"><a title="nokia.nokiaccm" class="py-name" href="#" onclick="return doclink('link-4', 'nokiaccm', 'link-4');">nokiaccm</a></tt> </tt> |
|
87 <a name="L31"></a><tt class="py-lineno"> 31</tt> <tt class="py-line"> </tt> |
|
88 <a name="L32"></a><tt class="py-lineno"> 32</tt> <tt class="py-line"> </tt> |
|
89 <a name="L33"></a><tt class="py-lineno"> 33</tt> <tt class="py-line"><tt class="py-comment"># Uncomment this line to enable logging in this module, or configure logging elsewhere</tt> </tt> |
|
90 <a name="L34"></a><tt class="py-lineno"> 34</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-name">logging</tt><tt class="py-op">.</tt><tt class="py-name">basicConfig</tt><tt class="py-op">(</tt><tt id="link-5" class="py-name" targets="Variable configuration_model.Item.level=configuration_model.Item-class.html#level,Variable configuration_model.MissingFromDataModelItem.level=configuration_model.MissingFromDataModelItem-class.html#level,Variable configuration_model.UndefinedRequiredInGroupItem.level=configuration_model.UndefinedRequiredInGroupItem-class.html#level,Variable configuration_model.UsingDeprecatedItem.level=configuration_model.UsingDeprecatedItem-class.html#level,Variable configuration_model.WrongTypeItem.level=configuration_model.WrongTypeItem-class.html#level"><a title="configuration_model.Item.level |
|
91 configuration_model.MissingFromDataModelItem.level |
|
92 configuration_model.UndefinedRequiredInGroupItem.level |
|
93 configuration_model.UsingDeprecatedItem.level |
|
94 configuration_model.WrongTypeItem.level" class="py-name" href="#" onclick="return doclink('link-5', 'level', 'link-5');">level</a></tt><tt class="py-op">=</tt><tt class="py-name">logging</tt><tt class="py-op">.</tt><tt class="py-name">DEBUG</tt><tt class="py-op">)</tt> </tt> |
|
95 <a name="L35"></a><tt class="py-lineno"> 35</tt> <tt class="py-line"><tt id="link-6" class="py-name" targets="Variable archive.scanners.logger=archive.scanners-module.html#logger,Variable archive.selectors.logger=archive.selectors-module.html#logger,Variable buildmanagement.logger=buildmanagement-module.html#logger,Variable flash_config.logger=flash_config-module.html#logger,Module helium.logger=helium.logger-module.html,Variable imaker.iqrf.logger=imaker.iqrf-module.html#logger,Variable integration.templatebuilder.logger=integration.templatebuilder-module.html#logger,Variable rom.logger=rom-module.html#logger"><a title="archive.scanners.logger |
|
96 archive.selectors.logger |
|
97 buildmanagement.logger |
|
98 flash_config.logger |
|
99 helium.logger |
|
100 imaker.iqrf.logger |
|
101 integration.templatebuilder.logger |
|
102 rom.logger" class="py-name" href="#" onclick="return doclink('link-6', 'logger', 'link-6');">logger</a></tt> <tt class="py-op">=</tt> <tt class="py-name">logging</tt><tt class="py-op">.</tt><tt class="py-name">getLogger</tt><tt class="py-op">(</tt><tt class="py-string">"buildmanagement"</tt><tt class="py-op">)</tt> </tt> |
|
103 <a name="L36"></a><tt class="py-lineno"> 36</tt> <tt class="py-line"> </tt> |
|
104 <a name="buildmanager"></a><div id="buildmanager-def"><a name="L37"></a><tt class="py-lineno"> 37</tt> <a class="py-toggle" href="#" id="buildmanager-toggle" onclick="return toggle('buildmanager');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="buildmanagement-module.html#buildmanager">buildmanager</a><tt class="py-op">(</tt><tt class="py-param">synergyhost</tt><tt class="py-op">,</tt> <tt class="py-param">databasepath</tt><tt class="py-op">,</tt> <tt class="py-param">configfile</tt><tt class="py-op">,</tt> <tt class="py-param">specname</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
105 </div><div id="buildmanager-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="buildmanager-expanded"><a name="L38"></a><tt class="py-lineno"> 38</tt> <tt class="py-line"> <tt class="py-docstring">""" Buildmanager """</tt> </tt> |
|
106 <a name="L39"></a><tt class="py-lineno"> 39</tt> <tt class="py-line"> <tt id="link-7" class="py-name"><a title="archive.scanners.logger |
|
107 archive.selectors.logger |
|
108 buildmanagement.logger |
|
109 flash_config.logger |
|
110 helium.logger |
|
111 imaker.iqrf.logger |
|
112 integration.templatebuilder.logger |
|
113 rom.logger" class="py-name" href="#" onclick="return doclink('link-7', 'logger', 'link-6');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">"Start buildmanger"</tt><tt class="py-op">)</tt> </tt> |
|
114 <a name="L40"></a><tt class="py-lineno"> 40</tt> <tt class="py-line"> <tt id="link-8" class="py-name" targets="Method build.model.SessionCreator.session()=build.model.SessionCreator-class.html#session,Method ccm.CCMObject.session()=ccm.CCMObject-class.html#session,Method preparation.PreparationBuilder.session()=preparation.PreparationBuilder-class.html#session"><a title="build.model.SessionCreator.session |
|
115 ccm.CCMObject.session |
|
116 preparation.PreparationBuilder.session" class="py-name" href="#" onclick="return doclink('link-8', 'session', 'link-8');">session</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt> |
|
117 <a name="L41"></a><tt class="py-lineno"> 41</tt> <tt class="py-line"> <tt id="link-9" class="py-name"><a title="build.model.SessionCreator.session |
|
118 ccm.CCMObject.session |
|
119 preparation.PreparationBuilder.session" class="py-name" href="#" onclick="return doclink('link-9', 'session', 'link-8');">session</a></tt> <tt class="py-op">=</tt> <tt id="link-10" class="py-name"><a title="nokia" class="py-name" href="#" onclick="return doclink('link-10', 'nokia', 'link-3');">nokia</a></tt><tt class="py-op">.</tt><tt id="link-11" class="py-name"><a title="nokia.nokiaccm" class="py-name" href="#" onclick="return doclink('link-11', 'nokiaccm', 'link-4');">nokiaccm</a></tt><tt class="py-op">.</tt><tt id="link-12" class="py-name" targets="Function ccm.open_session()=ccm-module.html#open_session,Function nokia.nokiaccm.open_session()=nokia.nokiaccm-module.html#open_session"><a title="ccm.open_session |
|
120 nokia.nokiaccm.open_session" class="py-name" href="#" onclick="return doclink('link-12', 'open_session', 'link-12');">open_session</a></tt><tt class="py-op">(</tt><tt class="py-name">engine</tt><tt class="py-op">=</tt><tt class="py-name">synergyhost</tt><tt class="py-op">,</tt> <tt class="py-name">dbpath</tt><tt class="py-op">=</tt><tt class="py-name">databasepath</tt><tt class="py-op">)</tt> </tt> |
|
121 <a name="L42"></a><tt class="py-lineno"> 42</tt> <tt class="py-line"> <tt class="py-keyword">print</tt> <tt class="py-op">(</tt><tt class="py-string">'session = %s'</tt><tt class="py-op">,</tt> <tt id="link-13" class="py-name"><a title="build.model.SessionCreator.session |
|
122 ccm.CCMObject.session |
|
123 preparation.PreparationBuilder.session" class="py-name" href="#" onclick="return doclink('link-13', 'session', 'link-8');">session</a></tt><tt class="py-op">)</tt> </tt> |
|
124 <a name="L43"></a><tt class="py-lineno"> 43</tt> <tt class="py-line"> <tt id="link-14" class="py-name"><a title="build.model.SessionCreator.session |
|
125 ccm.CCMObject.session |
|
126 preparation.PreparationBuilder.session" class="py-name" href="#" onclick="return doclink('link-14', 'session', 'link-8');">session</a></tt><tt class="py-op">.</tt><tt id="link-15" class="py-name" targets="Variable ccm.AbstractSession.role=ccm.AbstractSession-class.html#role"><a title="ccm.AbstractSession.role" class="py-name" href="#" onclick="return doclink('link-15', 'role', 'link-15');">role</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"build_mgr"</tt> </tt> |
|
127 <a name="L44"></a><tt class="py-lineno"> 44</tt> <tt class="py-line"> <tt class="py-name">configBuilder</tt> <tt class="py-op">=</tt> <tt id="link-16" class="py-name"><a title="configuration" class="py-name" href="#" onclick="return doclink('link-16', 'configuration', 'link-2');">configuration</a></tt><tt class="py-op">.</tt><tt id="link-17" class="py-name" targets="Class configuration.NestedConfigurationBuilder=configuration.NestedConfigurationBuilder-class.html"><a title="configuration.NestedConfigurationBuilder" class="py-name" href="#" onclick="return doclink('link-17', 'NestedConfigurationBuilder', 'link-17');">NestedConfigurationBuilder</a></tt><tt class="py-op">(</tt><tt class="py-name">open</tt><tt class="py-op">(</tt><tt class="py-name">configfile</tt><tt class="py-op">,</tt> <tt class="py-string">'r'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
128 <a name="L45"></a><tt class="py-lineno"> 45</tt> <tt class="py-line"> <tt class="py-name">configSet</tt> <tt class="py-op">=</tt> <tt class="py-name">configBuilder</tt><tt class="py-op">.</tt><tt id="link-18" class="py-name" targets="Method configuration.ConfigurationBuilder.getConfiguration()=configuration.ConfigurationBuilder-class.html#getConfiguration,Method configuration.NestedConfigurationBuilder.getConfiguration()=configuration.NestedConfigurationBuilder-class.html#getConfiguration"><a title="configuration.ConfigurationBuilder.getConfiguration |
|
129 configuration.NestedConfigurationBuilder.getConfiguration" class="py-name" href="#" onclick="return doclink('link-18', 'getConfiguration', 'link-18');">getConfiguration</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
130 <a name="L46"></a><tt class="py-lineno"> 46</tt> <tt class="py-line"> <tt id="link-19" class="py-name"><a title="archive.scanners.logger |
|
131 archive.selectors.logger |
|
132 buildmanagement.logger |
|
133 flash_config.logger |
|
134 helium.logger |
|
135 imaker.iqrf.logger |
|
136 integration.templatebuilder.logger |
|
137 rom.logger" class="py-name" href="#" onclick="return doclink('link-19', 'logger', 'link-6');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">'Getting configuration: "'</tt> <tt class="py-op">+</tt> <tt class="py-name">specname</tt> <tt class="py-op">+</tt> <tt class="py-string">'" from: "'</tt> <tt class="py-op">+</tt> <tt class="py-name">configfile</tt> <tt class="py-op">+</tt> <tt class="py-string">'"'</tt><tt class="py-op">)</tt> </tt> |
|
138 <a name="L47"></a><tt class="py-lineno"> 47</tt> <tt class="py-line"> <tt class="py-name">configs</tt> <tt class="py-op">=</tt> <tt class="py-name">configSet</tt><tt class="py-op">.</tt><tt id="link-20" class="py-name" targets="Method configuration.ConfigurationSet.getConfigurations()=configuration.ConfigurationSet-class.html#getConfigurations,Method configuration.NestedConfigurationBuilder.getConfigurations()=configuration.NestedConfigurationBuilder-class.html#getConfigurations"><a title="configuration.ConfigurationSet.getConfigurations |
|
139 configuration.NestedConfigurationBuilder.getConfigurations" class="py-name" href="#" onclick="return doclink('link-20', 'getConfigurations', 'link-20');">getConfigurations</a></tt><tt class="py-op">(</tt><tt class="py-name">specname</tt><tt class="py-op">)</tt> </tt> |
|
140 <a name="L48"></a><tt class="py-lineno"> 48</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">config</tt> <tt class="py-keyword">in</tt> <tt class="py-name">configs</tt><tt class="py-op">:</tt> </tt> |
|
141 <a name="L49"></a><tt class="py-lineno"> 49</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">k</tt> <tt class="py-keyword">in</tt> <tt class="py-name">sorted</tt><tt class="py-op">(</tt><tt class="py-name">config</tt><tt class="py-op">.</tt><tt id="link-21" class="py-name" targets="Method ccm.CCMObject.keys()=ccm.CCMObject-class.html#keys,Method configuration.Configuration.keys()=configuration.Configuration-class.html#keys,Method configuration.NestedConfiguration.keys()=configuration.NestedConfiguration-class.html#keys,Method symrec.ReleaseMetadata.keys()=symrec.ReleaseMetadata-class.html#keys"><a title="ccm.CCMObject.keys |
|
142 configuration.Configuration.keys |
|
143 configuration.NestedConfiguration.keys |
|
144 symrec.ReleaseMetadata.keys" class="py-name" href="#" onclick="return doclink('link-21', 'keys', 'link-21');">keys</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
145 <a name="L50"></a><tt class="py-lineno"> 50</tt> <tt class="py-line"> <tt class="py-name">value</tt> <tt class="py-op">=</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-name">k</tt><tt class="py-op">]</tt> </tt> |
|
146 <a name="L51"></a><tt class="py-lineno"> 51</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">,</tt> <tt class="py-name">types</tt><tt class="py-op">.</tt><tt class="py-name">UnicodeType</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
147 <a name="L52"></a><tt class="py-lineno"> 52</tt> <tt class="py-line"> <tt class="py-name">value</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt><tt class="py-op">.</tt><tt class="py-name">encode</tt><tt class="py-op">(</tt><tt class="py-string">'ascii'</tt><tt class="py-op">,</tt> <tt class="py-string">'ignore'</tt><tt class="py-op">)</tt> </tt> |
|
148 <a name="L53"></a><tt class="py-lineno"> 53</tt> <tt class="py-line"> <tt class="py-comment">#logger.debug( k + ': ' + str(value))</tt> </tt> |
|
149 <a name="L54"></a><tt class="py-lineno"> 54</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt id="link-22" class="py-name"><a title="archive.scanners.logger |
|
150 archive.selectors.logger |
|
151 buildmanagement.logger |
|
152 flash_config.logger |
|
153 helium.logger |
|
154 imaker.iqrf.logger |
|
155 integration.templatebuilder.logger |
|
156 rom.logger" class="py-name" href="#" onclick="return doclink('link-22', 'logger', 'link-6');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'function.name'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt> |
|
157 <a name="L55"></a><tt class="py-lineno"> 55</tt> <tt class="py-line"> <tt class="py-name">result</tt> <tt class="py-op">=</tt> <tt class="py-name">eval</tt><tt class="py-op">(</tt><tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'function.name'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">(</tt><tt id="link-23" class="py-name"><a title="build.model.SessionCreator.session |
|
158 ccm.CCMObject.session |
|
159 preparation.PreparationBuilder.session" class="py-name" href="#" onclick="return doclink('link-23', 'session', 'link-8');">session</a></tt><tt class="py-op">,</tt> <tt class="py-name">config</tt><tt class="py-op">)</tt> </tt> |
|
160 <a name="L56"></a><tt class="py-lineno"> 56</tt> <tt class="py-line"> <tt id="link-24" class="py-name"><a title="archive.scanners.logger |
|
161 archive.selectors.logger |
|
162 buildmanagement.logger |
|
163 flash_config.logger |
|
164 helium.logger |
|
165 imaker.iqrf.logger |
|
166 integration.templatebuilder.logger |
|
167 rom.logger" class="py-name" href="#" onclick="return doclink('link-24', 'logger', 'link-6');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">"got result:"</tt> <tt class="py-op">+</tt> <tt class="py-name">result</tt><tt class="py-op">)</tt> </tt> |
|
168 <a name="L57"></a><tt class="py-lineno"> 57</tt> <tt class="py-line"> <tt id="link-25" class="py-name"><a title="archive.scanners.logger |
|
169 archive.selectors.logger |
|
170 buildmanagement.logger |
|
171 flash_config.logger |
|
172 helium.logger |
|
173 imaker.iqrf.logger |
|
174 integration.templatebuilder.logger |
|
175 rom.logger" class="py-name" href="#" onclick="return doclink('link-25', 'logger', 'link-6');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">'Finished parsing configs'</tt><tt class="py-op">)</tt> </tt> |
|
176 <a name="L58"></a><tt class="py-lineno"> 58</tt> <tt class="py-line"> <tt id="link-26" class="py-name"><a title="build.model.SessionCreator.session |
|
177 ccm.CCMObject.session |
|
178 preparation.PreparationBuilder.session" class="py-name" href="#" onclick="return doclink('link-26', 'session', 'link-8');">session</a></tt><tt class="py-op">.</tt><tt id="link-27" class="py-name" targets="Method build.model.BOM.close()=build.model.BOM-class.html#close,Method build.model.SessionCreator.close()=build.model.SessionCreator-class.html#close,Method buildtools.AbstractOutputWriter.close()=buildtools.AbstractOutputWriter-class.html#close,Method ccm.AbstractSession.close()=ccm.AbstractSession-class.html#close,Method ccm.Session.close()=ccm.Session-class.html#close,Method ccm.SessionPool.close()=ccm.SessionPool-class.html#close,Method ccm.extra.CachedSessionProvider.close()=ccm.extra.CachedSessionProvider-class.html#close,Method ccm.extra.SessionProvider.close()=ccm.extra.SessionProvider-class.html#close,Method log2xml.LogWriter.close()=log2xml.LogWriter-class.html#close,Method preparation.PreparationBuilder.close()=preparation.PreparationBuilder-class.html#close,Method sysdef.io.FlashImageSizeWriter.close()=sysdef.io.FlashImageSizeWriter-class.html#close"><a title="build.model.BOM.close |
|
179 build.model.SessionCreator.close |
|
180 buildtools.AbstractOutputWriter.close |
|
181 ccm.AbstractSession.close |
|
182 ccm.Session.close |
|
183 ccm.SessionPool.close |
|
184 ccm.extra.CachedSessionProvider.close |
|
185 ccm.extra.SessionProvider.close |
|
186 log2xml.LogWriter.close |
|
187 preparation.PreparationBuilder.close |
|
188 sysdef.io.FlashImageSizeWriter.close" class="py-name" href="#" onclick="return doclink('link-27', 'close', 'link-27');">close</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
189 <a name="L59"></a><tt class="py-lineno"> 59</tt> <tt class="py-line"> <tt class="py-keyword">del</tt><tt class="py-op">(</tt><tt id="link-28" class="py-name"><a title="build.model.SessionCreator.session |
|
190 ccm.CCMObject.session |
|
191 preparation.PreparationBuilder.session" class="py-name" href="#" onclick="return doclink('link-28', 'session', 'link-8');">session</a></tt><tt class="py-op">)</tt> </tt> |
|
192 </div><a name="L60"></a><tt class="py-lineno"> 60</tt> <tt class="py-line"> </tt> |
|
193 <a name="add_approved_tasks"></a><div id="add_approved_tasks-def"><a name="L61"></a><tt class="py-lineno"> 61</tt> <a class="py-toggle" href="#" id="add_approved_tasks-toggle" onclick="return toggle('add_approved_tasks');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="buildmanagement-module.html#add_approved_tasks">add_approved_tasks</a><tt class="py-op">(</tt><tt class="py-param">session</tt><tt class="py-op">,</tt> <tt class="py-param">config</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
194 </div><div id="add_approved_tasks-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="add_approved_tasks-expanded"><a name="L62"></a><tt class="py-lineno"> 62</tt> <tt class="py-line"> <tt class="py-docstring">""" add approved tasks to be updated to project """</tt> </tt> |
|
195 <a name="L63"></a><tt class="py-lineno"> 63</tt> <tt class="py-line"> <tt id="link-29" class="py-name"><a title="archive.scanners.logger |
|
196 archive.selectors.logger |
|
197 buildmanagement.logger |
|
198 flash_config.logger |
|
199 helium.logger |
|
200 imaker.iqrf.logger |
|
201 integration.templatebuilder.logger |
|
202 rom.logger" class="py-name" href="#" onclick="return doclink('link-29', 'logger', 'link-6');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">"Start adding approved tasks"</tt><tt class="py-op">)</tt> </tt> |
|
203 <a name="L64"></a><tt class="py-lineno"> 64</tt> <tt class="py-line"> <tt class="py-comment">#this assumes there is only one folder in the reconfigure properties:</tt> </tt> |
|
204 <a name="L65"></a><tt class="py-lineno"> 65</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">if</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'project.release.folder'</tt><tt class="py-op">]</tt> <tt class="py-op">==</tt> <tt class="py-string">"automatic"</tt><tt class="py-op">:</tt> </tt> |
|
205 <a name="L66"></a><tt class="py-lineno"> 66</tt> <tt class="py-line"> <tt class="py-name">toplevelproject</tt> <tt class="py-op">=</tt> <tt id="link-30" class="py-name"><a title="ccm" class="py-name" href="#" onclick="return doclink('link-30', 'ccm', 'link-1');">ccm</a></tt><tt class="py-op">.</tt><tt id="link-31" class="py-name" targets="Class build.model.Project=build.model.Project-class.html,Class ccm.Project=ccm.Project-class.html"><a title="build.model.Project |
|
206 ccm.Project" class="py-name" href="#" onclick="return doclink('link-31', 'Project', 'link-31');">Project</a></tt><tt class="py-op">(</tt><tt id="link-32" class="py-name"><a title="build.model.SessionCreator.session |
|
207 ccm.CCMObject.session |
|
208 preparation.PreparationBuilder.session" class="py-name" href="#" onclick="return doclink('link-32', 'session', 'link-8');">session</a></tt><tt class="py-op">,</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'project.four.part.name'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt> |
|
209 <a name="L67"></a><tt class="py-lineno"> 67</tt> <tt class="py-line"> <tt class="py-name">releasefolders</tt> <tt class="py-op">=</tt> <tt class="py-name">toplevelproject</tt><tt class="py-op">.</tt><tt id="link-33" class="py-name" targets="Method build.model.Project.folders()=build.model.Project-class.html#folders,Method ccm.Project.folders()=ccm.Project-class.html#folders"><a title="build.model.Project.folders |
|
210 ccm.Project.folders" class="py-name" href="#" onclick="return doclink('link-33', 'folders', 'link-33');">folders</a></tt> </tt> |
|
211 <a name="L68"></a><tt class="py-lineno"> 68</tt> <tt class="py-line"> <tt class="py-name">releasefolder</tt> <tt class="py-op">=</tt> <tt class="py-name">releasefolders</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt> |
|
212 <a name="L69"></a><tt class="py-lineno"> 69</tt> <tt class="py-line"> <tt id="link-34" class="py-name"><a title="archive.scanners.logger |
|
213 archive.selectors.logger |
|
214 buildmanagement.logger |
|
215 flash_config.logger |
|
216 helium.logger |
|
217 imaker.iqrf.logger |
|
218 integration.templatebuilder.logger |
|
219 rom.logger" class="py-name" href="#" onclick="return doclink('link-34', 'logger', 'link-6');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">"Release folder found from rp is: "</tt> <tt class="py-op">+</tt> <tt class="py-name">releasefolder</tt><tt class="py-op">.</tt><tt id="link-35" class="py-name" targets="Method buildtools.Command.name()=buildtools.Command-class.html#name,Method ccm.FourPartName.name()=ccm.FourPartName-class.html#name,Method symrec.ServicePack.name()=symrec.ServicePack-class.html#name,Method sysdef.api.Configuration.name()=sysdef.api.Configuration-class.html#name,Method sysdef.api.Option.name()=sysdef.api.Option-class.html#name,Method sysdef.api.SpecialInstruction.name()=sysdef.api.SpecialInstruction-class.html#name,Method sysdef.api.Target.name()=sysdef.api.Target-class.html#name,Method sysdef.api.TargetList.name()=sysdef.api.TargetList-class.html#name,Method sysdef.api.Unit.name()=sysdef.api.Unit-class.html#name,Method sysdef.api._UnitGroup.name()=sysdef.api._UnitGroup-class.html#name"><a title="buildtools.Command.name |
|
220 ccm.FourPartName.name |
|
221 symrec.ServicePack.name |
|
222 sysdef.api.Configuration.name |
|
223 sysdef.api.Option.name |
|
224 sysdef.api.SpecialInstruction.name |
|
225 sysdef.api.Target.name |
|
226 sysdef.api.TargetList.name |
|
227 sysdef.api.Unit.name |
|
228 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-35', 'name', 'link-35');">name</a></tt><tt class="py-op">)</tt> </tt> |
|
229 <a name="L70"></a><tt class="py-lineno"> 70</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> |
|
230 <a name="L71"></a><tt class="py-lineno"> 71</tt> <tt class="py-line"> <tt class="py-name">releasefolder</tt> <tt class="py-op">=</tt> <tt id="link-36" class="py-name"><a title="ccm" class="py-name" href="#" onclick="return doclink('link-36', 'ccm', 'link-1');">ccm</a></tt><tt class="py-op">.</tt><tt id="link-37" class="py-name" targets="Class ccm.Folder=ccm.Folder-class.html"><a title="ccm.Folder" class="py-name" href="#" onclick="return doclink('link-37', 'Folder', 'link-37');">Folder</a></tt><tt class="py-op">(</tt><tt id="link-38" class="py-name"><a title="build.model.SessionCreator.session |
|
231 ccm.CCMObject.session |
|
232 preparation.PreparationBuilder.session" class="py-name" href="#" onclick="return doclink('link-38', 'session', 'link-8');">session</a></tt><tt class="py-op">,</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'project.release.folder'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt> |
|
233 <a name="L72"></a><tt class="py-lineno"> 72</tt> <tt class="py-line"> </tt> |
|
234 <a name="L73"></a><tt class="py-lineno"> 73</tt> <tt class="py-line"> <tt class="py-name">folderlist</tt> <tt class="py-op">=</tt> <tt id="link-39" class="py-name" targets="Function buildmanagement.force_list()=buildmanagement-module.html#force_list"><a title="buildmanagement.force_list" class="py-name" href="#" onclick="return doclink('link-39', 'force_list', 'link-39');">force_list</a></tt><tt class="py-op">(</tt><tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'project.approval.folders'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt> |
|
235 <a name="L74"></a><tt class="py-lineno"> 74</tt> <tt class="py-line"> </tt> |
|
236 <a name="L75"></a><tt class="py-lineno"> 75</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">approvalfolderfpn</tt> <tt class="py-keyword">in</tt> <tt class="py-name">folderlist</tt><tt class="py-op">:</tt> </tt> |
|
237 <a name="L76"></a><tt class="py-lineno"> 76</tt> <tt class="py-line"> <tt class="py-name">approvalfolder</tt> <tt class="py-op">=</tt> <tt id="link-40" class="py-name"><a title="ccm" class="py-name" href="#" onclick="return doclink('link-40', 'ccm', 'link-1');">ccm</a></tt><tt class="py-op">.</tt><tt id="link-41" class="py-name"><a title="ccm.Folder" class="py-name" href="#" onclick="return doclink('link-41', 'Folder', 'link-37');">Folder</a></tt><tt class="py-op">(</tt><tt id="link-42" class="py-name"><a title="build.model.SessionCreator.session |
|
238 ccm.CCMObject.session |
|
239 preparation.PreparationBuilder.session" class="py-name" href="#" onclick="return doclink('link-42', 'session', 'link-8');">session</a></tt><tt class="py-op">,</tt> <tt class="py-name">approvalfolderfpn</tt><tt class="py-op">)</tt> </tt> |
|
240 <a name="L77"></a><tt class="py-lineno"> 77</tt> <tt class="py-line"> <tt id="link-43" class="py-name"><a title="archive.scanners.logger |
|
241 archive.selectors.logger |
|
242 buildmanagement.logger |
|
243 flash_config.logger |
|
244 helium.logger |
|
245 imaker.iqrf.logger |
|
246 integration.templatebuilder.logger |
|
247 rom.logger" class="py-name" href="#" onclick="return doclink('link-43', 'logger', 'link-6');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">"Copying tasks from folder "</tt> <tt class="py-op">+</tt> <tt class="py-name">approvalfolder</tt><tt class="py-op">.</tt><tt id="link-44" class="py-name"><a title="buildtools.Command.name |
|
248 ccm.FourPartName.name |
|
249 symrec.ServicePack.name |
|
250 sysdef.api.Configuration.name |
|
251 sysdef.api.Option.name |
|
252 sysdef.api.SpecialInstruction.name |
|
253 sysdef.api.Target.name |
|
254 sysdef.api.TargetList.name |
|
255 sysdef.api.Unit.name |
|
256 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-44', 'name', 'link-35');">name</a></tt> <tt class="py-op">+</tt> <tt class="py-string">", to folder "</tt> <tt class="py-op">+</tt> <tt class="py-name">releasefolder</tt><tt class="py-op">.</tt><tt id="link-45" class="py-name"><a title="buildtools.Command.name |
|
257 ccm.FourPartName.name |
|
258 symrec.ServicePack.name |
|
259 sysdef.api.Configuration.name |
|
260 sysdef.api.Option.name |
|
261 sysdef.api.SpecialInstruction.name |
|
262 sysdef.api.Target.name |
|
263 sysdef.api.TargetList.name |
|
264 sysdef.api.Unit.name |
|
265 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-45', 'name', 'link-35');">name</a></tt><tt class="py-op">)</tt> </tt> |
|
266 <a name="L78"></a><tt class="py-lineno"> 78</tt> <tt class="py-line"> <tt class="py-name">approvalfolder</tt><tt class="py-op">.</tt><tt id="link-46" class="py-name" targets="Method ccm.Folder.copy()=ccm.Folder-class.html#copy"><a title="ccm.Folder.copy" class="py-name" href="#" onclick="return doclink('link-46', 'copy', 'link-46');">copy</a></tt><tt class="py-op">(</tt><tt class="py-name">releasefolder</tt><tt class="py-op">)</tt> </tt> |
|
267 <a name="L79"></a><tt class="py-lineno"> 79</tt> <tt class="py-line"> </tt> |
|
268 <a name="L80"></a><tt class="py-lineno"> 80</tt> <tt class="py-line"> <tt id="link-47" class="py-name"><a title="archive.scanners.logger |
|
269 archive.selectors.logger |
|
270 buildmanagement.logger |
|
271 flash_config.logger |
|
272 helium.logger |
|
273 imaker.iqrf.logger |
|
274 integration.templatebuilder.logger |
|
275 rom.logger" class="py-name" href="#" onclick="return doclink('link-47', 'logger', 'link-6');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">"Finished adding approved tasks"</tt><tt class="py-op">)</tt> </tt> |
|
276 </div><a name="L81"></a><tt class="py-lineno"> 81</tt> <tt class="py-line"> </tt> |
|
277 <a name="reconcile"></a><div id="reconcile-def"><a name="L82"></a><tt class="py-lineno"> 82</tt> <a class="py-toggle" href="#" id="reconcile-toggle" onclick="return toggle('reconcile');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="buildmanagement-module.html#reconcile">reconcile</a><tt class="py-op">(</tt><tt class="py-param">session</tt><tt class="py-op">,</tt> <tt class="py-param">config</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
278 </div><div id="reconcile-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="reconcile-expanded"><a name="L83"></a><tt class="py-lineno"> 83</tt> <tt class="py-line"> <tt class="py-docstring">""" reconcile """</tt> </tt> |
|
279 <a name="L84"></a><tt class="py-lineno"> 84</tt> <tt class="py-line"> <tt id="link-48" class="py-name"><a title="archive.scanners.logger |
|
280 archive.selectors.logger |
|
281 buildmanagement.logger |
|
282 flash_config.logger |
|
283 helium.logger |
|
284 imaker.iqrf.logger |
|
285 integration.templatebuilder.logger |
|
286 rom.logger" class="py-name" href="#" onclick="return doclink('link-48', 'logger', 'link-6');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">"Start reconciling: "</tt> <tt class="py-op">+</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'project.four.part.name'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt> |
|
287 <a name="L85"></a><tt class="py-lineno"> 85</tt> <tt class="py-line"> <tt class="py-name">toplevelproject</tt> <tt class="py-op">=</tt> <tt id="link-49" class="py-name"><a title="ccm" class="py-name" href="#" onclick="return doclink('link-49', 'ccm', 'link-1');">ccm</a></tt><tt class="py-op">.</tt><tt id="link-50" class="py-name"><a title="build.model.Project |
|
288 ccm.Project" class="py-name" href="#" onclick="return doclink('link-50', 'Project', 'link-31');">Project</a></tt><tt class="py-op">(</tt><tt id="link-51" class="py-name"><a title="build.model.SessionCreator.session |
|
289 ccm.CCMObject.session |
|
290 preparation.PreparationBuilder.session" class="py-name" href="#" onclick="return doclink('link-51', 'session', 'link-8');">session</a></tt><tt class="py-op">,</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'project.four.part.name'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt> |
|
291 <a name="L86"></a><tt class="py-lineno"> 86</tt> <tt class="py-line"> <tt class="py-name">toplevelproject</tt><tt class="py-op">.</tt><tt id="link-52" class="py-name" targets="Function buildmanagement.reconcile()=buildmanagement-module.html#reconcile,Method ccm.Project.reconcile()=ccm.Project-class.html#reconcile"><a title="buildmanagement.reconcile |
|
292 ccm.Project.reconcile" class="py-name" href="#" onclick="return doclink('link-52', 'reconcile', 'link-52');">reconcile</a></tt><tt class="py-op">(</tt><tt class="py-name">updatewa</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">,</tt> <tt class="py-name">recurse</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">,</tt> <tt class="py-name">consideruncontrolled</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">,</tt> <tt class="py-name">missingwafile</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">,</tt> <tt class="py-name">report</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">)</tt> </tt> |
|
293 <a name="L87"></a><tt class="py-lineno"> 87</tt> <tt class="py-line"> <tt id="link-53" class="py-name"><a title="archive.scanners.logger |
|
294 archive.selectors.logger |
|
295 buildmanagement.logger |
|
296 flash_config.logger |
|
297 helium.logger |
|
298 imaker.iqrf.logger |
|
299 integration.templatebuilder.logger |
|
300 rom.logger" class="py-name" href="#" onclick="return doclink('link-53', 'logger', 'link-6');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">"Finished reconciling: "</tt> <tt class="py-op">+</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'project.four.part.name'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt> |
|
301 </div><a name="L88"></a><tt class="py-lineno"> 88</tt> <tt class="py-line"> </tt> |
|
302 <a name="set_latest_baseline"></a><div id="set_latest_baseline-def"><a name="L89"></a><tt class="py-lineno"> 89</tt> <a class="py-toggle" href="#" id="set_latest_baseline-toggle" onclick="return toggle('set_latest_baseline');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="buildmanagement-module.html#set_latest_baseline">set_latest_baseline</a><tt class="py-op">(</tt><tt class="py-param">session</tt><tt class="py-op">,</tt> <tt class="py-param">config</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
303 </div><div id="set_latest_baseline-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="set_latest_baseline-expanded"><a name="L90"></a><tt class="py-lineno"> 90</tt> <tt class="py-line"> <tt class="py-docstring">""" Setting latest baseline """</tt> </tt> |
|
304 <a name="L91"></a><tt class="py-lineno"> 91</tt> <tt class="py-line"> <tt id="link-54" class="py-name"><a title="archive.scanners.logger |
|
305 archive.selectors.logger |
|
306 buildmanagement.logger |
|
307 flash_config.logger |
|
308 helium.logger |
|
309 imaker.iqrf.logger |
|
310 integration.templatebuilder.logger |
|
311 rom.logger" class="py-name" href="#" onclick="return doclink('link-54', 'logger', 'link-6');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">"Start updating the baseline of: "</tt> <tt class="py-op">+</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'project.name'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt> |
|
312 <a name="L92"></a><tt class="py-lineno"> 92</tt> <tt class="py-line"> <tt class="py-name">toplevelproject</tt> <tt class="py-op">=</tt> <tt id="link-55" class="py-name"><a title="ccm" class="py-name" href="#" onclick="return doclink('link-55', 'ccm', 'link-1');">ccm</a></tt><tt class="py-op">.</tt><tt id="link-56" class="py-name"><a title="build.model.Project |
|
313 ccm.Project" class="py-name" href="#" onclick="return doclink('link-56', 'Project', 'link-31');">Project</a></tt><tt class="py-op">(</tt><tt id="link-57" class="py-name"><a title="build.model.SessionCreator.session |
|
314 ccm.CCMObject.session |
|
315 preparation.PreparationBuilder.session" class="py-name" href="#" onclick="return doclink('link-57', 'session', 'link-8');">session</a></tt><tt class="py-op">,</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'project.four.part.name'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt> |
|
316 <a name="L93"></a><tt class="py-lineno"> 93</tt> <tt class="py-line"> <tt class="py-name">latestbaseline</tt> <tt class="py-op">=</tt> <tt class="py-name">toplevelproject</tt><tt class="py-op">.</tt><tt id="link-58" class="py-name" targets="Method ccm.Project.get_latest_baseline()=ccm.Project-class.html#get_latest_baseline"><a title="ccm.Project.get_latest_baseline" class="py-name" href="#" onclick="return doclink('link-58', 'get_latest_baseline', 'link-58');">get_latest_baseline</a></tt><tt class="py-op">(</tt><tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'project.version.filter'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'project.baseline.state'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt> |
|
317 <a name="L94"></a><tt class="py-lineno"> 94</tt> <tt class="py-line"> <tt id="link-59" class="py-name"><a title="archive.scanners.logger |
|
318 archive.selectors.logger |
|
319 buildmanagement.logger |
|
320 flash_config.logger |
|
321 helium.logger |
|
322 imaker.iqrf.logger |
|
323 integration.templatebuilder.logger |
|
324 rom.logger" class="py-name" href="#" onclick="return doclink('link-59', 'logger', 'link-6');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">"Using: "</tt> <tt class="py-op">+</tt> <tt class="py-name">latestbaseline</tt><tt class="py-op">)</tt> </tt> |
|
325 <a name="L95"></a><tt class="py-lineno"> 95</tt> <tt class="py-line"> <tt class="py-name">toplevelproject</tt><tt class="py-op">.</tt><tt id="link-60" class="py-name" targets="Method ccm.Project.set_baseline()=ccm.Project-class.html#set_baseline"><a title="ccm.Project.set_baseline" class="py-name" href="#" onclick="return doclink('link-60', 'set_baseline', 'link-60');">set_baseline</a></tt><tt class="py-op">(</tt><tt class="py-name">latestbaseline</tt><tt class="py-op">,</tt> <tt class="py-name">recurse</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">)</tt> </tt> |
|
326 <a name="L96"></a><tt class="py-lineno"> 96</tt> <tt class="py-line"> <tt id="link-61" class="py-name"><a title="archive.scanners.logger |
|
327 archive.selectors.logger |
|
328 buildmanagement.logger |
|
329 flash_config.logger |
|
330 helium.logger |
|
331 imaker.iqrf.logger |
|
332 integration.templatebuilder.logger |
|
333 rom.logger" class="py-name" href="#" onclick="return doclink('link-61', 'logger', 'link-6');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">"Finished updating the baseline of: "</tt> <tt class="py-op">+</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'project.name'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt> |
|
334 </div><a name="L97"></a><tt class="py-lineno"> 97</tt> <tt class="py-line"> </tt> |
|
335 <a name="reconfigure"></a><div id="reconfigure-def"><a name="L98"></a><tt class="py-lineno"> 98</tt> <a class="py-toggle" href="#" id="reconfigure-toggle" onclick="return toggle('reconfigure');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="buildmanagement-module.html#reconfigure">reconfigure</a><tt class="py-op">(</tt><tt class="py-param">session</tt><tt class="py-op">,</tt> <tt class="py-param">config</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
336 </div><div id="reconfigure-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="reconfigure-expanded"><a name="L99"></a><tt class="py-lineno"> 99</tt> <tt class="py-line"> <tt class="py-docstring">""" recongifure """</tt> </tt> |
|
337 <a name="L100"></a><tt class="py-lineno">100</tt> <tt class="py-line"> <tt id="link-62" class="py-name"><a title="archive.scanners.logger |
|
338 archive.selectors.logger |
|
339 buildmanagement.logger |
|
340 flash_config.logger |
|
341 helium.logger |
|
342 imaker.iqrf.logger |
|
343 integration.templatebuilder.logger |
|
344 rom.logger" class="py-name" href="#" onclick="return doclink('link-62', 'logger', 'link-6');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">"Start reconfiguring: "</tt> <tt class="py-op">+</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'project.four.part.name'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt> |
|
345 <a name="L101"></a><tt class="py-lineno">101</tt> <tt class="py-line"> <tt class="py-name">toplevelproject</tt> <tt class="py-op">=</tt> <tt id="link-63" class="py-name"><a title="ccm" class="py-name" href="#" onclick="return doclink('link-63', 'ccm', 'link-1');">ccm</a></tt><tt class="py-op">.</tt><tt id="link-64" class="py-name"><a title="build.model.Project |
|
346 ccm.Project" class="py-name" href="#" onclick="return doclink('link-64', 'Project', 'link-31');">Project</a></tt><tt class="py-op">(</tt><tt id="link-65" class="py-name"><a title="build.model.SessionCreator.session |
|
347 ccm.CCMObject.session |
|
348 preparation.PreparationBuilder.session" class="py-name" href="#" onclick="return doclink('link-65', 'session', 'link-8');">session</a></tt><tt class="py-op">,</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'project.four.part.name'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt> |
|
349 <a name="L102"></a><tt class="py-lineno">102</tt> <tt class="py-line"> <tt class="py-name">replacesubprojects</tt> <tt class="py-op">=</tt> <tt class="py-name">config</tt><tt class="py-op">.</tt><tt id="link-66" class="py-name" targets="Method configuration.Configuration.get_boolean()=configuration.Configuration-class.html#get_boolean"><a title="configuration.Configuration.get_boolean" class="py-name" href="#" onclick="return doclink('link-66', 'get_boolean', 'link-66');">get_boolean</a></tt><tt class="py-op">(</tt><tt class="py-string">'replace.subprojects'</tt><tt class="py-op">,</tt> <tt class="py-name">True</tt><tt class="py-op">)</tt> </tt> |
|
350 <a name="L103"></a><tt class="py-lineno">103</tt> <tt class="py-line"> <tt class="py-name">recursesubprojects</tt> <tt class="py-op">=</tt> <tt class="py-name">config</tt><tt class="py-op">.</tt><tt id="link-67" class="py-name"><a title="configuration.Configuration.get_boolean" class="py-name" href="#" onclick="return doclink('link-67', 'get_boolean', 'link-66');">get_boolean</a></tt><tt class="py-op">(</tt><tt class="py-string">'recurse.subprojects'</tt><tt class="py-op">,</tt> <tt class="py-name">True</tt><tt class="py-op">)</tt> </tt> |
|
351 <a name="L104"></a><tt class="py-lineno">104</tt> <tt class="py-line"> <tt class="py-name">updatekeepgoing</tt> <tt class="py-op">=</tt> <tt class="py-keyword">not</tt> <tt class="py-name">config</tt><tt class="py-op">.</tt><tt id="link-68" class="py-name"><a title="configuration.Configuration.get_boolean" class="py-name" href="#" onclick="return doclink('link-68', 'get_boolean', 'link-66');">get_boolean</a></tt><tt class="py-op">(</tt><tt class="py-string">'update.failonerror'</tt><tt class="py-op">,</tt> <tt class="py-name">True</tt><tt class="py-op">)</tt> </tt> |
|
352 <a name="L105"></a><tt class="py-lineno">105</tt> <tt class="py-line"> <tt class="py-name">toplevelproject</tt><tt class="py-op">.</tt><tt id="link-69" class="py-name" targets="Method ccm.Folder.update()=ccm.Folder-class.html#update,Method ccm.Project.update()=ccm.Project-class.html#update,Method symrec.MD5Updater.update()=symrec.MD5Updater-class.html#update"><a title="ccm.Folder.update |
|
353 ccm.Project.update |
|
354 symrec.MD5Updater.update" class="py-name" href="#" onclick="return doclink('link-69', 'update', 'link-69');">update</a></tt><tt class="py-op">(</tt><tt class="py-name">recursesubprojects</tt><tt class="py-op">,</tt> <tt class="py-name">replacesubprojects</tt><tt class="py-op">,</tt> <tt class="py-name">updatekeepgoing</tt><tt class="py-op">)</tt> </tt> |
|
355 <a name="L106"></a><tt class="py-lineno">106</tt> <tt class="py-line"> <tt id="link-70" class="py-name"><a title="archive.scanners.logger |
|
356 archive.selectors.logger |
|
357 buildmanagement.logger |
|
358 flash_config.logger |
|
359 helium.logger |
|
360 imaker.iqrf.logger |
|
361 integration.templatebuilder.logger |
|
362 rom.logger" class="py-name" href="#" onclick="return doclink('link-70', 'logger', 'link-6');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">"Finished reconfiguring: "</tt> <tt class="py-op">+</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'project.four.part.name'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt> |
|
363 </div><a name="L107"></a><tt class="py-lineno">107</tt> <tt class="py-line"> </tt> |
|
364 <a name="update_release_tags"></a><div id="update_release_tags-def"><a name="L108"></a><tt class="py-lineno">108</tt> <a class="py-toggle" href="#" id="update_release_tags-toggle" onclick="return toggle('update_release_tags');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="buildmanagement-module.html#update_release_tags">update_release_tags</a><tt class="py-op">(</tt><tt class="py-param">session</tt><tt class="py-op">,</tt> <tt class="py-param">config</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
365 </div><div id="update_release_tags-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="update_release_tags-expanded"><a name="L109"></a><tt class="py-lineno">109</tt> <tt class="py-line"> <tt class="py-docstring">""" update release tags """</tt> </tt> |
|
366 <a name="L110"></a><tt class="py-lineno">110</tt> <tt class="py-line"> <tt id="link-71" class="py-name"><a title="archive.scanners.logger |
|
367 archive.selectors.logger |
|
368 buildmanagement.logger |
|
369 flash_config.logger |
|
370 helium.logger |
|
371 imaker.iqrf.logger |
|
372 integration.templatebuilder.logger |
|
373 rom.logger" class="py-name" href="#" onclick="return doclink('link-71', 'logger', 'link-6');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">"Start updating release tags in folder: "</tt> <tt class="py-op">+</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'project.release.folder'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt> |
|
374 <a name="L111"></a><tt class="py-lineno">111</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'project.release.folder'</tt><tt class="py-op">]</tt> <tt class="py-op">==</tt> <tt class="py-string">"automatic"</tt><tt class="py-op">:</tt> </tt> |
|
375 <a name="L112"></a><tt class="py-lineno">112</tt> <tt class="py-line"> <tt class="py-name">toplevelproject</tt> <tt class="py-op">=</tt> <tt id="link-72" class="py-name"><a title="ccm" class="py-name" href="#" onclick="return doclink('link-72', 'ccm', 'link-1');">ccm</a></tt><tt class="py-op">.</tt><tt id="link-73" class="py-name"><a title="build.model.Project |
|
376 ccm.Project" class="py-name" href="#" onclick="return doclink('link-73', 'Project', 'link-31');">Project</a></tt><tt class="py-op">(</tt><tt id="link-74" class="py-name"><a title="build.model.SessionCreator.session |
|
377 ccm.CCMObject.session |
|
378 preparation.PreparationBuilder.session" class="py-name" href="#" onclick="return doclink('link-74', 'session', 'link-8');">session</a></tt><tt class="py-op">,</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'project.four.part.name'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt> |
|
379 <a name="L113"></a><tt class="py-lineno">113</tt> <tt class="py-line"> <tt class="py-name">releasefolders</tt> <tt class="py-op">=</tt> <tt class="py-name">toplevelproject</tt><tt class="py-op">.</tt><tt id="link-75" class="py-name"><a title="build.model.Project.folders |
|
380 ccm.Project.folders" class="py-name" href="#" onclick="return doclink('link-75', 'folders', 'link-33');">folders</a></tt> </tt> |
|
381 <a name="L114"></a><tt class="py-lineno">114</tt> <tt class="py-line"> <tt class="py-name">releasefolder</tt> <tt class="py-op">=</tt> <tt class="py-name">releasefolders</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt> |
|
382 <a name="L115"></a><tt class="py-lineno">115</tt> <tt class="py-line"> <tt id="link-76" class="py-name"><a title="archive.scanners.logger |
|
383 archive.selectors.logger |
|
384 buildmanagement.logger |
|
385 flash_config.logger |
|
386 helium.logger |
|
387 imaker.iqrf.logger |
|
388 integration.templatebuilder.logger |
|
389 rom.logger" class="py-name" href="#" onclick="return doclink('link-76', 'logger', 'link-6');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">"Release folder found from rp is: "</tt> <tt class="py-op">+</tt> <tt class="py-name">releasefolder</tt><tt class="py-op">.</tt><tt id="link-77" class="py-name"><a title="buildtools.Command.name |
|
390 ccm.FourPartName.name |
|
391 symrec.ServicePack.name |
|
392 sysdef.api.Configuration.name |
|
393 sysdef.api.Option.name |
|
394 sysdef.api.SpecialInstruction.name |
|
395 sysdef.api.Target.name |
|
396 sysdef.api.TargetList.name |
|
397 sysdef.api.Unit.name |
|
398 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-77', 'name', 'link-35');">name</a></tt><tt class="py-op">)</tt> </tt> |
|
399 <a name="L116"></a><tt class="py-lineno">116</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> |
|
400 <a name="L117"></a><tt class="py-lineno">117</tt> <tt class="py-line"> <tt class="py-name">releasefolder</tt> <tt class="py-op">=</tt> <tt id="link-78" class="py-name"><a title="ccm" class="py-name" href="#" onclick="return doclink('link-78', 'ccm', 'link-1');">ccm</a></tt><tt class="py-op">.</tt><tt id="link-79" class="py-name"><a title="ccm.Folder" class="py-name" href="#" onclick="return doclink('link-79', 'Folder', 'link-37');">Folder</a></tt><tt class="py-op">(</tt><tt id="link-80" class="py-name"><a title="build.model.SessionCreator.session |
|
401 ccm.CCMObject.session |
|
402 preparation.PreparationBuilder.session" class="py-name" href="#" onclick="return doclink('link-80', 'session', 'link-8');">session</a></tt><tt class="py-op">,</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'project.release.folder'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt> |
|
403 <a name="L118"></a><tt class="py-lineno">118</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt id="link-81" class="py-name" targets="Method build.io.AbldLogWhatReader.task()=build.io.AbldLogWhatReader-class.html#task,Method integration.quality.AbldWhatParser.task()=integration.quality.AbldWhatParser-class.html#task,Method integration.quality.InternalExportParser.task()=integration.quality.InternalExportParser-class.html#task,Method symbian.log.Parser.task()=symbian.log.Parser-class.html#task"><a title="build.io.AbldLogWhatReader.task |
|
404 integration.quality.AbldWhatParser.task |
|
405 integration.quality.InternalExportParser.task |
|
406 symbian.log.Parser.task" class="py-name" href="#" onclick="return doclink('link-81', 'task', 'link-81');">task</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">releasefolder</tt><tt class="py-op">.</tt><tt id="link-82" class="py-name" targets="Method build.model.Project.tasks()=build.model.Project-class.html#tasks,Method ccm.Folder.tasks()=ccm.Folder-class.html#tasks,Method ccm.Project.tasks()=ccm.Project-class.html#tasks,Method sysdef.api.Configuration.tasks()=sysdef.api.Configuration-class.html#tasks"><a title="build.model.Project.tasks |
|
407 ccm.Folder.tasks |
|
408 ccm.Project.tasks |
|
409 sysdef.api.Configuration.tasks" class="py-name" href="#" onclick="return doclink('link-82', 'tasks', 'link-82');">tasks</a></tt><tt class="py-op">:</tt> </tt> |
|
410 <a name="L119"></a><tt class="py-lineno">119</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt id="link-83" class="py-name"><a title="build.io.AbldLogWhatReader.task |
|
411 integration.quality.AbldWhatParser.task |
|
412 integration.quality.InternalExportParser.task |
|
413 symbian.log.Parser.task" class="py-name" href="#" onclick="return doclink('link-83', 'task', 'link-81');">task</a></tt><tt class="py-op">.</tt><tt id="link-84" class="py-name" targets="Method ccm.Task.get_release_tag()=ccm.Task-class.html#get_release_tag"><a title="ccm.Task.get_release_tag" class="py-name" href="#" onclick="return doclink('link-84', 'get_release_tag', 'link-84');">get_release_tag</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'task.release.tag.from'</tt><tt class="py-op">]</tt><tt class="py-op">:</tt> </tt> |
|
414 <a name="L120"></a><tt class="py-lineno">120</tt> <tt class="py-line"> <tt id="link-85" class="py-name"><a title="archive.scanners.logger |
|
415 archive.selectors.logger |
|
416 buildmanagement.logger |
|
417 flash_config.logger |
|
418 helium.logger |
|
419 imaker.iqrf.logger |
|
420 integration.templatebuilder.logger |
|
421 rom.logger" class="py-name" href="#" onclick="return doclink('link-85', 'logger', 'link-6');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">"Changing release tag of %s to %s"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt id="link-86" class="py-name"><a title="build.io.AbldLogWhatReader.task |
|
422 integration.quality.AbldWhatParser.task |
|
423 integration.quality.InternalExportParser.task |
|
424 symbian.log.Parser.task" class="py-name" href="#" onclick="return doclink('link-86', 'task', 'link-81');">task</a></tt><tt class="py-op">.</tt><tt id="link-87" class="py-name"><a title="buildtools.Command.name |
|
425 ccm.FourPartName.name |
|
426 symrec.ServicePack.name |
|
427 sysdef.api.Configuration.name |
|
428 sysdef.api.Option.name |
|
429 sysdef.api.SpecialInstruction.name |
|
430 sysdef.api.Target.name |
|
431 sysdef.api.TargetList.name |
|
432 sysdef.api.Unit.name |
|
433 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-87', 'name', 'link-35');">name</a></tt><tt class="py-op">,</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'task.release.tag.to'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
434 <a name="L121"></a><tt class="py-lineno">121</tt> <tt class="py-line"> <tt id="link-88" class="py-name"><a title="build.io.AbldLogWhatReader.task |
|
435 integration.quality.AbldWhatParser.task |
|
436 integration.quality.InternalExportParser.task |
|
437 symbian.log.Parser.task" class="py-name" href="#" onclick="return doclink('link-88', 'task', 'link-81');">task</a></tt><tt class="py-op">.</tt><tt id="link-89" class="py-name" targets="Method ccm.Task.set_release_tag()=ccm.Task-class.html#set_release_tag"><a title="ccm.Task.set_release_tag" class="py-name" href="#" onclick="return doclink('link-89', 'set_release_tag', 'link-89');">set_release_tag</a></tt><tt class="py-op">(</tt><tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'task.release.tag.to'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt> |
|
438 <a name="L122"></a><tt class="py-lineno">122</tt> <tt class="py-line"> <tt id="link-90" class="py-name"><a title="archive.scanners.logger |
|
439 archive.selectors.logger |
|
440 buildmanagement.logger |
|
441 flash_config.logger |
|
442 helium.logger |
|
443 imaker.iqrf.logger |
|
444 integration.templatebuilder.logger |
|
445 rom.logger" class="py-name" href="#" onclick="return doclink('link-90', 'logger', 'link-6');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">"Finished updating release tags in folder: "</tt> <tt class="py-op">+</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'project.release.folder'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt> |
|
446 </div><a name="L123"></a><tt class="py-lineno">123</tt> <tt class="py-line"> </tt> |
|
447 <a name="create_baseline"></a><div id="create_baseline-def"><a name="L124"></a><tt class="py-lineno">124</tt> <a class="py-toggle" href="#" id="create_baseline-toggle" onclick="return toggle('create_baseline');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="buildmanagement-module.html#create_baseline">create_baseline</a><tt class="py-op">(</tt><tt class="py-param">session</tt><tt class="py-op">,</tt> <tt class="py-param">config</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
448 </div><div id="create_baseline-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="create_baseline-expanded"><a name="L125"></a><tt class="py-lineno">125</tt> <tt class="py-line"> <tt class="py-docstring">""" Create baseline """</tt> </tt> |
|
449 <a name="L126"></a><tt class="py-lineno">126</tt> <tt class="py-line"> <tt id="link-91" class="py-name"><a title="archive.scanners.logger |
|
450 archive.selectors.logger |
|
451 buildmanagement.logger |
|
452 flash_config.logger |
|
453 helium.logger |
|
454 imaker.iqrf.logger |
|
455 integration.templatebuilder.logger |
|
456 rom.logger" class="py-name" href="#" onclick="return doclink('link-91', 'logger', 'link-6');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">"Start creating the baseline(s): "</tt> <tt class="py-op">+</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'project.name'</tt><tt class="py-op">]</tt> <tt class="py-op">+</tt> <tt class="py-string">"-"</tt> <tt class="py-op">+</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'baseline.tag'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt> |
|
457 <a name="L127"></a><tt class="py-lineno">127</tt> <tt class="py-line"> <tt id="link-92" class="py-name" targets="Method ccm.ProjectCheckoutResult.project()=ccm.ProjectCheckoutResult-class.html#project"><a title="ccm.ProjectCheckoutResult.project" class="py-name" href="#" onclick="return doclink('link-92', 'project', 'link-92');">project</a></tt> <tt class="py-op">=</tt> <tt id="link-93" class="py-name"><a title="ccm" class="py-name" href="#" onclick="return doclink('link-93', 'ccm', 'link-1');">ccm</a></tt><tt class="py-op">.</tt><tt id="link-94" class="py-name"><a title="build.model.Project |
|
458 ccm.Project" class="py-name" href="#" onclick="return doclink('link-94', 'Project', 'link-31');">Project</a></tt><tt class="py-op">(</tt><tt id="link-95" class="py-name"><a title="build.model.SessionCreator.session |
|
459 ccm.CCMObject.session |
|
460 preparation.PreparationBuilder.session" class="py-name" href="#" onclick="return doclink('link-95', 'session', 'link-8');">session</a></tt><tt class="py-op">,</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'project.four.part.name'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt> |
|
461 <a name="L128"></a><tt class="py-lineno">128</tt> <tt class="py-line"> <tt id="link-96" class="py-name"><a title="archive.scanners.logger |
|
462 archive.selectors.logger |
|
463 buildmanagement.logger |
|
464 flash_config.logger |
|
465 helium.logger |
|
466 imaker.iqrf.logger |
|
467 integration.templatebuilder.logger |
|
468 rom.logger" class="py-name" href="#" onclick="return doclink('link-96', 'logger', 'link-6');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">"Project: "</tt> <tt class="py-op">+</tt> <tt id="link-97" class="py-name"><a title="ccm.ProjectCheckoutResult.project" class="py-name" href="#" onclick="return doclink('link-97', 'project', 'link-92');">project</a></tt><tt class="py-op">.</tt><tt id="link-98" class="py-name"><a title="buildtools.Command.name |
|
469 ccm.FourPartName.name |
|
470 symrec.ServicePack.name |
|
471 sysdef.api.Configuration.name |
|
472 sysdef.api.Option.name |
|
473 sysdef.api.SpecialInstruction.name |
|
474 sysdef.api.Target.name |
|
475 sysdef.api.TargetList.name |
|
476 sysdef.api.Unit.name |
|
477 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-98', 'name', 'link-35');">name</a></tt><tt class="py-op">)</tt> </tt> |
|
478 <a name="L129"></a><tt class="py-lineno">129</tt> <tt class="py-line"> <tt id="link-99" class="py-name"><a title="ccm.ProjectCheckoutResult.project" class="py-name" href="#" onclick="return doclink('link-99', 'project', 'link-92');">project</a></tt><tt class="py-op">.</tt><tt id="link-100" class="py-name" targets="Function buildmanagement.create_baseline()=buildmanagement-module.html#create_baseline,Method ccm.Project.create_baseline()=ccm.Project-class.html#create_baseline"><a title="buildmanagement.create_baseline |
|
479 ccm.Project.create_baseline" class="py-name" href="#" onclick="return doclink('link-100', 'create_baseline', 'link-100');">create_baseline</a></tt><tt class="py-op">(</tt><tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'project.name'</tt><tt class="py-op">]</tt> <tt class="py-op">+</tt> <tt class="py-string">"-"</tt> <tt class="py-op">+</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'baseline.tag'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'project.release.tag'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'baseline.tag'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'baseline.purpose'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'baseline.state'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt> |
|
480 <a name="L130"></a><tt class="py-lineno">130</tt> <tt class="py-line"> <tt id="link-101" class="py-name"><a title="archive.scanners.logger |
|
481 archive.selectors.logger |
|
482 buildmanagement.logger |
|
483 flash_config.logger |
|
484 helium.logger |
|
485 imaker.iqrf.logger |
|
486 integration.templatebuilder.logger |
|
487 rom.logger" class="py-name" href="#" onclick="return doclink('link-101', 'logger', 'link-6');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">debug</tt><tt class="py-op">(</tt><tt class="py-string">"Finished creating the baseline: "</tt> <tt class="py-op">+</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'project.name'</tt><tt class="py-op">]</tt> <tt class="py-op">+</tt> <tt class="py-string">"-"</tt> <tt class="py-op">+</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'baseline.tag'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt> |
|
488 </div><a name="L131"></a><tt class="py-lineno">131</tt> <tt class="py-line"> </tt> |
|
489 <a name="force_list"></a><div id="force_list-def"><a name="L132"></a><tt class="py-lineno">132</tt> <a class="py-toggle" href="#" id="force_list-toggle" onclick="return toggle('force_list');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="buildmanagement-module.html#force_list">force_list</a><tt class="py-op">(</tt><tt class="py-param">myobject</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
490 </div><div id="force_list-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="force_list-expanded"><a name="L133"></a><tt class="py-lineno">133</tt> <tt class="py-line"> <tt class="py-docstring">""" force list of objects """</tt> </tt> |
|
491 <a name="L134"></a><tt class="py-lineno">134</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt class="py-name">myobject</tt><tt class="py-op">,</tt> <tt class="py-name">list</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
492 <a name="L135"></a><tt class="py-lineno">135</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">myobject</tt> </tt> |
|
493 <a name="L136"></a><tt class="py-lineno">136</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> |
|
494 <a name="L137"></a><tt class="py-lineno">137</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-op">[</tt><tt class="py-name">myobject</tt><tt class="py-op">]</tt> </tt> |
|
495 </div><a name="L138"></a><tt class="py-lineno">138</tt> <tt class="py-line"> </tt><script type="text/javascript"> |
|
496 <!-- |
|
497 expandto(location.href); |
|
498 // --> |
|
499 </script> |
|
500 </pre> |
|
501 <br /> |
|
502 <!-- ==================== NAVIGATION BAR ==================== --> |
|
503 <table class="navbar" border="0" width="100%" cellpadding="0" |
|
504 bgcolor="#a0c0ff" cellspacing="0"> |
|
505 <tr valign="middle"> |
|
506 |
|
507 <!-- Tree link --> |
|
508 <th> <a |
|
509 href="module-tree.html">Trees</a> </th> |
|
510 |
|
511 <!-- Index link --> |
|
512 <th> <a |
|
513 href="identifier-index.html">Indices</a> </th> |
|
514 |
|
515 <!-- Help link --> |
|
516 <th> <a |
|
517 href="help.html">Help</a> </th> |
|
518 |
|
519 <th class="navbar" width="100%"></th> |
|
520 </tr> |
|
521 </table> |
|
522 <table border="0" cellpadding="0" cellspacing="0" width="100%%"> |
|
523 <tr> |
|
524 <td align="left" class="footer"> |
|
525 Generated by Epydoc 3.0beta1 on Wed Sep 09 13:44:21 2009 |
|
526 </td> |
|
527 <td align="right" class="footer"> |
|
528 <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a> |
|
529 </td> |
|
530 </tr> |
|
531 </table> |
|
532 |
|
533 <script type="text/javascript"> |
|
534 <!-- |
|
535 // Private objects are initially displayed (because if |
|
536 // javascript is turned off then we want them to be |
|
537 // visible); but by default, we want to hide them. So hide |
|
538 // them unless we have a cookie that says to show them. |
|
539 checkCookie() |
|
540 // --> |
|
541 </script> |
|
542 |
|
543 </body> |
|
544 </html> |