<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>7013</bug_id>
          
          <creation_ts>2014-12-02 16:33:27 +0000</creation_ts>
          <short_desc>Toaster project mode: default release is not properly set in database</short_desc>
          <delta_ts>2015-02-11 14:58:16 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Toaster</product>
          <component>toaster</component>
          <version>1.8</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.8</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ionut Chisanovici">ionutx.chisanovici</reporter>
          <assigned_to name="Alexandru Damian">alexandru.damian</assigned_to>
          <cc>alexandru.damian</cc>
    
    <cc>belen.barros.pena</cc>
    
    <cc>bluelightning</cc>
    
    <cc>bogdanx.a.voiculescu</cc>
    
    <cc>cristiana.voicu</cc>
          
          <qa_contact name="Ionut Chisanovici">ionutx.chisanovici</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>New (Never tested)</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>47295</commentid>
    <comment_count>0</comment_count>
    <who name="Ionut Chisanovici">ionutx.chisanovici</who>
    <bug_when>2014-12-02 16:33:27 +0000</bug_when>
    <thetext>Hi,

After starting toaster in project mode and importing configurations from meta-yocto/conf/toasterconf.json file, the default release for a new project is: local (Local Yocto Project) instead of master(Yocto Project master) as it is in the toasterconf.json file.

From toasterconf.json:

Build configuration saved
 -- Do you want to import basic layer configuration from &quot;/home/ionut/work/weekly/poky/meta-yocto/conf/toasterconf.json&quot; ? (y/N):y

$ cat toasterconf.json | grep defaultrelease -A 12
    &quot;defaultrelease&quot;: &quot;master&quot;,

    &quot;releases&quot;: [
        {
            &quot;name&quot;: &quot;master&quot;,
            &quot;description&quot;: &quot;Yocto Project master&quot;,
            &quot;bitbake&quot;: &quot;master&quot;,
            &quot;branch&quot;: &quot;master&quot;,
            &quot;defaultlayers&quot;: [ &quot;openembedded-core&quot;, &quot;meta-yocto&quot;, &quot;meta-yocto-bsp&quot;],
	    &quot;layersourcepriority&quot;: { &quot;User Imported Layers&quot;: 99, &quot;Local Poky&quot; : 10, &quot;OpenEmbedded&quot; :  0 },
            &quot;helptext&quot;: &quot;Toaster will run your builds using the &lt;a href=\&quot;http://git.yoctoproject.org/cgit/cgit.cgi/poky/log/\&quot;&gt;Yocto Project master branch&lt;/a&gt;, where active development takes place. This is not a stable branch, so your builds might not work as expected.&quot;
        }
$ pwd
/home/ionut/work/weekly/poky/meta-yocto/conf

From database:

sqlite&gt; select release_id from orm_project;
release_id = 3
sqlite&gt; select * from orm_release where id=3;
       description = Local Yocto Project
       branch_name = HEAD
          helptext = Toaster will run your builds with the version of the Yocto Project you have cloned or downloaded to your computer.
bitbake_version_id = 3
                id = 3
              name = local

Cheers,
Ionut C</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47388</commentid>
    <comment_count>1</comment_count>
    <who name="Ionut Chisanovici">ionutx.chisanovici</who>
    <bug_when>2014-12-05 08:24:05 +0000</bug_when>
    <thetext>Hi,

This is not a bug.
Prior creating the project, I changed the default release to Local.
Closed.

Cheers,
Ionut C</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47389</commentid>
    <comment_count>2</comment_count>
    <who name="Ionut Chisanovici">ionutx.chisanovici</who>
    <bug_when>2014-12-05 08:24:26 +0000</bug_when>
    <thetext>Closed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>