<?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>9916</bug_id>
          
          <creation_ts>2016-07-12 16:13:24 +0000</creation_ts>
          <short_desc>Show git clone progress in most recent builds area</short_desc>
          <delta_ts>2017-07-12 15:26:53 +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>2.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.4 M2</target_milestone>
          <dependson>9631</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Elliot Smith">elliot.smith</reporter>
          <assigned_to name="David Reyna">david.reyna</assigned_to>
          <cc>belen.barros.pena</cc>
    
    <cc>brian.avery</cc>
    
    <cc>david.reyna</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>stanciux.mihail</cc>
          
          <qa_contact name="Libertad">libertad.gonzalez.de.la.cruz</qa_contact>
          <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>63851</commentid>
    <comment_count>0</comment_count>
    <who name="Elliot Smith">elliot.smith</who>
    <bug_when>2016-07-12 16:13:24 +0000</bug_when>
    <thetext>At the moment, if a project has a lot of additional layers, the build may appear to hang while those layers are checked out.

Add another progress bar to the most recent builds area during the time while the git cloning is going on.

Suggest that we wait until after Toaster has been refactored to use the bitbake fetcher for cloning git repos.

Also suggest that we put data about git cloning into the database, attached to the BuildRequest (we can&apos;t put this data onto the build, as the git clone happens before we have a Build object).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68369</commentid>
    <comment_count>1</comment_count>
    <who name="David Reyna">david.reyna</who>
    <bug_when>2016-11-16 16:15:09 +0000</bug_when>
    <thetext>Want to keep as one story, but break up commits into front end and backend.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74442</commentid>
    <comment_count>2</comment_count>
    <who name="David Reyna">david.reyna</who>
    <bug_when>2017-06-21 21:40:29 +0000</bug_when>
    <thetext>We actually do have the build object while the cloning is performed. If we did not there would be any progress bar at all, since in the current implementation all progress information is shared with the GUI via the build record.

FYI, this is actually a long term problem in that Toaster is inappropriately using the database as an RPC, and every incremental progress update for parsing and tasks causes a record update. This results in massive database transactions for purely transient data.

Brian had looked at a long term solution using perhaps Rabbit (message queues) and Celery (multi-threading python support).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74958</commentid>
    <comment_count>3</comment_count>
    <who name="David Reyna">david.reyna</who>
    <bug_when>2017-07-12 15:26:53 +0000</bug_when>
    <thetext>commit 43aaa802c35ecc9d972f3b9adcd060033de1d9de

Removing dependency on Bug 9918, since it does not block this implementation.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>