<?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>7796</bug_id>
          
          <creation_ts>2015-05-20 16:34:48 +0000</creation_ts>
          <short_desc>SState: wget improvements</short_desc>
          <delta_ts>2015-10-26 15:48:01 +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>OE-Core</product>
          <component>core</component>
          <version>unspecified</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>enhancement</bug_severity>
          <target_milestone>1.9 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Benjamin Esquivel">benjamin.esquivel</reporter>
          <assigned_to name="Aníbal Limón">anibal.limon</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>benjamin.esquivel</cc>
    
    <cc>bogdanx.a.voiculescu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
          
          <qa_contact name="Daniel Istrate">daniel.alexandrux.istrate</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>51173</commentid>
    <comment_count>0</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2015-05-20 16:34:48 +0000</bug_when>
    <thetext>Try to clean-up this code for merging

http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=rpurdie/t222&amp;id=1e8f440ac5c2f0232286a6533a8e5052863e9fdf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51510</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-06-04 14:25:34 +0000</bug_when>
    <thetext>There are two stages for this. One is parallelising the &quot;present in sstate&quot; checks. The patches for this have been separated out, cleaned up and merged.

There are also improvements to the wget fetcher, particularly so it can reuse conections rather than making a connection attempt per url. There is improved code for this in the branch which now uses TLS to hold the connection cache. 

To work correctly, the code had to be switched from wget to urllib2. We have to hack the class to make it reuse connections though (and also to support HEAD requests). We need to use the class to ensure proxy information is handled correctly.

My rpurdie/t222 branch has the improved code but more cleanup needs to be done, along with better tests before it can be submitted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51886</commentid>
    <comment_count>2</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2015-06-23 20:02:57 +0000</bug_when>
    <thetext>In review at,

http://lists.openembedded.org/pipermail/openembedded-core/2015-June/106430.html
http://lists.openembedded.org/pipermail/openembedded-core/2015-June/106439.html
http://lists.openembedded.org/pipermail/bitbake-devel/2015-June/005912.html

Integration branch at,

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=alimon/fetch2-wget-checkstatus</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52315</commentid>
    <comment_count>3</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2015-07-13 15:47:08 +0000</bug_when>
    <thetext>Merged at,

http://cgit.openembedded.org/bitbake/commit/?id=9fa6407e6cefe66c77467419a8040d6957a6bb01

http://cgit.openembedded.org/openembedded-core/commit/?id=e6f66370c6ce15aca18ef64491bab3dc92b80c57</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55758</commentid>
    <comment_count>4</comment_count>
    <who name="Daniel Istrate">daniel.alexandrux.istrate</who>
    <bug_when>2015-10-26 15:48:01 +0000</bug_when>
    <thetext>Verified on master: 505a82673ac2487df5ea343a6422c2fc47018831

The tests from bitbake/lib/bb/tests/fetch.py --&gt; FetchCheckStatusTest validate this feature.

[daniel@fedora-ws poky-build]$ bitbake-selftest -v bb.tests.fetch.FetchCheckStatusTest
test_wget_checkstatus (bb.tests.fetch.FetchCheckStatusTest) ... ok
test_wget_checkstatus_connection_cache (bb.tests.fetch.FetchCheckStatusTest) ... ok

----------------------------------------------------------------------
Ran 2 tests in 23.763s

OK
[daniel@fedora-ws poky-build]$</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>