<?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>15468</bug_id>
          
          <creation_ts>2024-04-09 14:15:20 +0000</creation_ts>
          <short_desc>[opkg-utils] opkg-feed list operation returns no feeds, in all cases.</short_desc>
          <delta_ts>2026-09-29 21:31:30 +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>0.6.2</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>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>next-patch</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alex Stewart">alex.stewart</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>98729</commentid>
    <comment_count>0</comment_count>
    <who name="Alex Stewart">alex.stewart</who>
    <bug_when>2024-04-09 14:15:20 +0000</bug_when>
    <thetext>This bug is against the opkg-utils repo here (https://git.yoctoproject.org/opkg-utils/).

The `opkg-feeds` script in that project provides an independent interface to manage opkg feed sources on a system. That script&apos;s `list` operation is supposed to parse the opkg configuration files for feed sources, and present them to the user via stdout. Since 0.6.2, this operation always prints no output, even if there are valid feed configurations.

The offending commit is 67994e62dc598282830385da75ba9b1abbbda941 [1]. When Petar changed the `sourceTypePattern` regex string, he also invalidated assumptions made elsewhere in the script about how the regex match groups correlate to the feed source information. (Basically, he changed the number and order of the groups.) Though the `list` operation still matches feed sources, it now doesn&apos;t understand how to parse them.

Reverting commit [1] resolves this bug. But I assume it would also break Petar&apos;s use-case.

[1] https://git.yoctoproject.org/opkg-utils/commit/?id=67994e62dc598282830385da75ba9b1abbbda941

NOTE: There is a sketchy test for the opkg-feed script at `:/tests/testOpkgFeedManagement.sh`. But it didn&apos;t pass even before this regression and it is not very helpful for debugging :(.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>