<?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>8346</bug_id>
          
          <creation_ts>2015-09-20 22:58:43 +0000</creation_ts>
          <short_desc>Check for package list update before downloading (old issue #117)</short_desc>
          <delta_ts>2021-07-08 15:32:35 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>opkg</product>
          <component>opkg</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>ACCEPTED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>next-minor</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alejandro del Castillo">alejandro.delcastillo</reporter>
          <assigned_to name="Alex Stewart">alex.stewart</assigned_to>
          
          
          
          <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>54324</commentid>
    <comment_count>0</comment_count>
    <who name="Alejandro del Castillo">alejandro.delcastillo</who>
    <bug_when>2015-09-20 22:58:43 +0000</bug_when>
    <thetext>Calling `opkg update` several times will download package lists each time.
When there is a need to check for updates continuously it could lead to download big amount of redundant data.
It would be great if `opkg update` could check if package list had been changed on the server by downloading only HTTP HEAD before actual downloading.

Originally reported by KirGeNe, Dec 30, 2013
-----------------------------------------------------------------------------

#1 paul.betafive (Jan 1, 2014)
This would definitely be beneficial, it&apos;s less important than fixing some of the current bugs though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90894</commentid>
    <comment_count>1</comment_count>
    <who name="Alex Stewart">alex.stewart</who>
    <bug_when>2021-07-08 15:32:35 +0000</bug_when>
    <thetext>The implementation of this enhancement should include a way for a system admin to disable the optimization (force re-downloading the index). This could maybe be a per-source tag?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>