<?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>6791</bug_id>
          
          <creation_ts>2014-10-02 20:42:24 +0000</creation_ts>
          <short_desc>Integrate the fetcher with a gitexternalsrc class for large team development</short_desc>
          <delta_ts>2015-09-11 06:40: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>BitBake</product>
          <component>bitbake</component>
          <version>unspecified</version>
          <rep_platform>All</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>1.9</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jason Wessel">jason.wessel</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>bogdanx.a.voiculescu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          <qa_contact name="Lucian Musat">georgex.l.musat</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>46050</commentid>
    <comment_count>0</comment_count>
    <who name="Jason Wessel">jason.wessel</who>
    <bug_when>2014-10-02 20:42:24 +0000</bug_when>
    <thetext>In a large team setting is often more desirable to use an external source project.  The externalsrc.bbclass today disables all the setscene tasks and integration with the fetcher.

For a large team the CM integration with the fetcher is much more desirable for a couple of reasons.

  1) sstate resuse
  2) branch and track changes in the external git area


It would be ideal to allow a recipe to operate with either AUTOREV or a specific rev but instead of looking at the upstream to look for any of the revision information in the local archive.


The requirements for the gitexternalsrc:
  1) The fetcher looks locally instead of remotely
     ** It might be nice to optionally fetch the remote upstream in the 
        case that 
  2) If using a specific rev, it will get checked out at fetch time
     just like an upstream recipe would work
  3) Allow for a separated build area if needed or allow for an in-tree build
  4) Conditionally, allow for a cleanup rule which will actually clean up 
     using operations like &quot;git clean -f -d&quot;
  5) sstate works properly
  6) Allow the ls-remote to be local for computation of recipes that
     use a SRCREV in the version and or name</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50709</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-05-01 14:06:23 +0000</bug_when>
    <thetext>Much of this has been implemented through devtool in the 1.8 cycle, certainly 1-4, 5 may not be possible. I&apos;d suggest we resolve this as fixed and open specific issues against devtool and the other classes for any further development.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>