<?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>5604</bug_id>
          
          <creation_ts>2013-11-27 11:14:50 +0000</creation_ts>
          <short_desc>toaster UI MUST be able to run remotely</short_desc>
          <delta_ts>2014-01-15 08:13:32 +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.6</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.6 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandru Damian">alexandru.damian</reporter>
          <assigned_to name="Alexandru Damian">alexandru.damian</assigned_to>
          <cc>alexandru.damian</cc>
    
    <cc>andreea.b.proca</cc>
    
    <cc>belen.barros.pena</cc>
    
    <cc>bluelightning</cc>
    
    <cc>cristiana.voicu</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</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>39110</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2013-11-27 11:14:50 +0000</bug_when>
    <thetext>Toaster UI must be able to run remotely as a precursor for remoteing a bitbake server.

This means that the UI must not run any commands or read any files on the local filesystem. All the code that reads data from the local system must be executed in toaster.bbclass and send data through asynchronous events.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39186</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2013-12-02 14:06:35 +0000</bug_when>
    <thetext>In review poky-contrib: toaster/master.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39620</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2013-12-30 13:29:57 +0000</bug_when>
    <thetext>All needed changes merged in origin/master.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39699</commentid>
    <comment_count>3</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2014-01-09 10:22:05 +0000</bug_when>
    <thetext>Test case for this bug (provided by Alex):

Start everything manually, with the UI in another directory.

e.g.

&gt; Terminal 1

source oe-build-init-env 
bitbake --postread conf/toaster.conf --server-only -t xmlrpc -B localhost:8200

&gt; Terminal 2, a different build/ directory, maybe on a different machine 

export BBASEDIR=  [ location of poky/bitbake directory checkout ]
python $BBBASEDIR/lib/toaster/manage.py syncdb
python $BBBASEDIR/lib/toaster/manage.py migrate orm
export BBSERVER=localhost:8200
BBSERVER= bitbake --observe-only -u toasterui &amp;
python $BBBASEDIR/lib/toaster/manage.py runserver 0.0.0.0:8000

Toaster should be available on port  8000 of the machine hosting Terminal 2.

Alex</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39820</commentid>
    <comment_count>4</comment_count>
    <who name="Andreea Brandusa Proca">andreea.b.proca</who>
    <bug_when>2014-01-15 08:13:32 +0000</bug_when>
    <thetext>Verified in master:1b636173ca88e5ccca1992f9a12367a1189fa674.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>