doc/api/python/buildmanagement-pysrc.html
author Louis Henry Nayegon <louisn@symbian.org>
Mon, 14 Sep 2009 10:21:34 +0100
changeset 438 6832752a1de3
parent 432 f2ddfa555b0f
permissions -rw-r--r--
Update script header commnets Add system software tests

<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>buildmanagement</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        Module&nbsp;buildmanagement
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="buildmanagement-pysrc.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="buildmanagement-module.html">Module buildmanagement</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno">  1</tt>  <tt class="py-line"><tt class="py-comment">#============================================================================ </tt> </tt>
<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>
<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>
<a name="L4"></a><tt class="py-lineno">  4</tt>  <tt class="py-line"><tt class="py-comment"></tt> </tt>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<a name="L19"></a><tt class="py-lineno"> 19</tt>  <tt class="py-line"><tt class="py-comment"></tt> </tt>
<a name="L20"></a><tt class="py-lineno"> 20</tt>  <tt class="py-line"><tt class="py-docstring">""" BuildManagement module """</tt> </tt>
<a name="L21"></a><tt class="py-lineno"> 21</tt>  <tt class="py-line"> </tt>
<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>
<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>
<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>
<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>
<a name="L26"></a><tt class="py-lineno"> 26</tt>  <tt class="py-line"> </tt>
<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
imaker.ant
integration.ant" class="py-name" href="#" onclick="return doclink('link-0', 'ant', 'link-0');">ant</a></tt> </tt>
<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>
<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>
<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>
<a name="L31"></a><tt class="py-lineno"> 31</tt>  <tt class="py-line"> </tt>
<a name="L32"></a><tt class="py-lineno"> 32</tt>  <tt class="py-line"> </tt>
<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>
<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
configuration_model.MissingFromDataModelItem.level
configuration_model.UndefinedRequiredInGroupItem.level
configuration_model.UsingDeprecatedItem.level
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>
<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
archive.selectors.logger
buildmanagement.logger
flash_config.logger
helium.logger
imaker.iqrf.logger
integration.templatebuilder.logger
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>
<a name="L36"></a><tt class="py-lineno"> 36</tt>  <tt class="py-line"> </tt>
<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>
</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>
<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
archive.selectors.logger
buildmanagement.logger
flash_config.logger
helium.logger
imaker.iqrf.logger
integration.templatebuilder.logger
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>
<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
ccm.CCMObject.session
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>
<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
ccm.CCMObject.session
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
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>
<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
ccm.CCMObject.session
preparation.PreparationBuilder.session" class="py-name" href="#" onclick="return doclink('link-13', 'session', 'link-8');">session</a></tt><tt class="py-op">)</tt> </tt>
<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
ccm.CCMObject.session
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>
<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>
<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
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>
<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
archive.selectors.logger
buildmanagement.logger
flash_config.logger
helium.logger
imaker.iqrf.logger
integration.templatebuilder.logger
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>
<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
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>
<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>
<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
configuration.Configuration.keys
configuration.NestedConfiguration.keys
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>
<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>
<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>
<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>
<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>
<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
archive.selectors.logger
buildmanagement.logger
flash_config.logger
helium.logger
imaker.iqrf.logger
integration.templatebuilder.logger
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>
<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
ccm.CCMObject.session
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>
<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
archive.selectors.logger
buildmanagement.logger
flash_config.logger
helium.logger
imaker.iqrf.logger
integration.templatebuilder.logger
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>
<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
archive.selectors.logger
buildmanagement.logger
flash_config.logger
helium.logger
imaker.iqrf.logger
integration.templatebuilder.logger
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>
<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
ccm.CCMObject.session
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
build.model.SessionCreator.close
buildtools.AbstractOutputWriter.close
ccm.AbstractSession.close
ccm.Session.close
ccm.SessionPool.close
ccm.extra.CachedSessionProvider.close
ccm.extra.SessionProvider.close
log2xml.LogWriter.close
preparation.PreparationBuilder.close
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>
<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
ccm.CCMObject.session
preparation.PreparationBuilder.session" class="py-name" href="#" onclick="return doclink('link-28', 'session', 'link-8');">session</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L60"></a><tt class="py-lineno"> 60</tt>  <tt class="py-line"> </tt>
<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>
</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>
<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
archive.selectors.logger
buildmanagement.logger
flash_config.logger
helium.logger
imaker.iqrf.logger
integration.templatebuilder.logger
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>
<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>
<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>
<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
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
ccm.CCMObject.session
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>
<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
ccm.Project.folders" class="py-name" href="#" onclick="return doclink('link-33', 'folders', 'link-33');">folders</a></tt> </tt>
<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>
<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
archive.selectors.logger
buildmanagement.logger
flash_config.logger
helium.logger
imaker.iqrf.logger
integration.templatebuilder.logger
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
ccm.FourPartName.name
symrec.ServicePack.name
sysdef.api.Configuration.name
sysdef.api.Option.name
sysdef.api.SpecialInstruction.name
sysdef.api.Target.name
sysdef.api.TargetList.name
sysdef.api.Unit.name
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>
<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>
<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
ccm.CCMObject.session
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>
<a name="L72"></a><tt class="py-lineno"> 72</tt>  <tt class="py-line"> </tt>
<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>
<a name="L74"></a><tt class="py-lineno"> 74</tt>  <tt class="py-line"> </tt>
<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>
<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
ccm.CCMObject.session
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>
<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
archive.selectors.logger
buildmanagement.logger
flash_config.logger
helium.logger
imaker.iqrf.logger
integration.templatebuilder.logger
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
ccm.FourPartName.name
symrec.ServicePack.name
sysdef.api.Configuration.name
sysdef.api.Option.name
sysdef.api.SpecialInstruction.name
sysdef.api.Target.name
sysdef.api.TargetList.name
sysdef.api.Unit.name
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
ccm.FourPartName.name
symrec.ServicePack.name
sysdef.api.Configuration.name
sysdef.api.Option.name
sysdef.api.SpecialInstruction.name
sysdef.api.Target.name
sysdef.api.TargetList.name
sysdef.api.Unit.name
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>
<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>
<a name="L79"></a><tt class="py-lineno"> 79</tt>  <tt class="py-line">         </tt>
<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
archive.selectors.logger
buildmanagement.logger
flash_config.logger
helium.logger
imaker.iqrf.logger
integration.templatebuilder.logger
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>
</div><a name="L81"></a><tt class="py-lineno"> 81</tt>  <tt class="py-line">     </tt>
<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>
</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>
<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
archive.selectors.logger
buildmanagement.logger
flash_config.logger
helium.logger
imaker.iqrf.logger
integration.templatebuilder.logger
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>
<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
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
ccm.CCMObject.session
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>
<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
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>
<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
archive.selectors.logger
buildmanagement.logger
flash_config.logger
helium.logger
imaker.iqrf.logger
integration.templatebuilder.logger
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>
</div><a name="L88"></a><tt class="py-lineno"> 88</tt>  <tt class="py-line">     </tt>
<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>
</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>
<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
archive.selectors.logger
buildmanagement.logger
flash_config.logger
helium.logger
imaker.iqrf.logger
integration.templatebuilder.logger
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>
<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
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
ccm.CCMObject.session
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>
<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>
<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
archive.selectors.logger
buildmanagement.logger
flash_config.logger
helium.logger
imaker.iqrf.logger
integration.templatebuilder.logger
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>
<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>
<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
archive.selectors.logger
buildmanagement.logger
flash_config.logger
helium.logger
imaker.iqrf.logger
integration.templatebuilder.logger
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>
</div><a name="L97"></a><tt class="py-lineno"> 97</tt>  <tt class="py-line"> </tt>
<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>
</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>
<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
archive.selectors.logger
buildmanagement.logger
flash_config.logger
helium.logger
imaker.iqrf.logger
integration.templatebuilder.logger
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>
<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
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
ccm.CCMObject.session
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>
<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>
<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>
<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>
<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
ccm.Project.update
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>
<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
archive.selectors.logger
buildmanagement.logger
flash_config.logger
helium.logger
imaker.iqrf.logger
integration.templatebuilder.logger
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>
</div><a name="L107"></a><tt class="py-lineno">107</tt>  <tt class="py-line">     </tt>
<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>
</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>
<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
archive.selectors.logger
buildmanagement.logger
flash_config.logger
helium.logger
imaker.iqrf.logger
integration.templatebuilder.logger
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>
<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>
<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
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
ccm.CCMObject.session
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>
<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
ccm.Project.folders" class="py-name" href="#" onclick="return doclink('link-75', 'folders', 'link-33');">folders</a></tt> </tt>
<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>
<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
archive.selectors.logger
buildmanagement.logger
flash_config.logger
helium.logger
imaker.iqrf.logger
integration.templatebuilder.logger
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
ccm.FourPartName.name
symrec.ServicePack.name
sysdef.api.Configuration.name
sysdef.api.Option.name
sysdef.api.SpecialInstruction.name
sysdef.api.Target.name
sysdef.api.TargetList.name
sysdef.api.Unit.name
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>
<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>
<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
ccm.CCMObject.session
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>
<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
integration.quality.AbldWhatParser.task
integration.quality.InternalExportParser.task
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
ccm.Folder.tasks
ccm.Project.tasks
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>
<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
integration.quality.AbldWhatParser.task
integration.quality.InternalExportParser.task
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>
<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
archive.selectors.logger
buildmanagement.logger
flash_config.logger
helium.logger
imaker.iqrf.logger
integration.templatebuilder.logger
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
integration.quality.AbldWhatParser.task
integration.quality.InternalExportParser.task
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
ccm.FourPartName.name
symrec.ServicePack.name
sysdef.api.Configuration.name
sysdef.api.Option.name
sysdef.api.SpecialInstruction.name
sysdef.api.Target.name
sysdef.api.TargetList.name
sysdef.api.Unit.name
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>
<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
integration.quality.AbldWhatParser.task
integration.quality.InternalExportParser.task
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>
<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
archive.selectors.logger
buildmanagement.logger
flash_config.logger
helium.logger
imaker.iqrf.logger
integration.templatebuilder.logger
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>
</div><a name="L123"></a><tt class="py-lineno">123</tt>  <tt class="py-line">     </tt>
<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>
</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>
<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
archive.selectors.logger
buildmanagement.logger
flash_config.logger
helium.logger
imaker.iqrf.logger
integration.templatebuilder.logger
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>
<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
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
ccm.CCMObject.session
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>
<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
archive.selectors.logger
buildmanagement.logger
flash_config.logger
helium.logger
imaker.iqrf.logger
integration.templatebuilder.logger
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
ccm.FourPartName.name
symrec.ServicePack.name
sysdef.api.Configuration.name
sysdef.api.Option.name
sysdef.api.SpecialInstruction.name
sysdef.api.Target.name
sysdef.api.TargetList.name
sysdef.api.Unit.name
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>
<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
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>
<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
archive.selectors.logger
buildmanagement.logger
flash_config.logger
helium.logger
imaker.iqrf.logger
integration.templatebuilder.logger
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>
</div><a name="L131"></a><tt class="py-lineno">131</tt>  <tt class="py-line"> </tt>
<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>
</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>
<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>
<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>
<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>
<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>
</div><a name="L138"></a><tt class="py-lineno">138</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0beta1 on Wed Sep 09 13:44:21 2009
    </td>
    <td align="right" class="footer">
      <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie()
  // -->
</script>
  
</body>
</html>