<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>51635</bug_id>
          
          <creation_ts>2024-10-04 12:14:32 +0300</creation_ts>
          <short_desc>incorrect data in response on /dependencies/what_depends_src</short_desc>
          <delta_ts>2024-10-04 12:14:32 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Infrastructure</classification>
          <product>Infrastructure</product>
          <component>rdb.altlinux.org</component>
          <version>unspecified</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stanislav Levin">slev</reporter>
          <assigned_to name="Danil Shein">dshein</assigned_to>
          
          
          <qa_contact name="Andrey Cherepanov">cas</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>252516</commentid>
    <comment_count>0</comment_count>
    <who name="Stanislav Levin">slev</who>
    <bug_when>2024-10-04 12:14:32 +0300</bug_when>
    <thetext>Making request /dependencies/what_depends_src,
but an answer is not always correct.

For example,

```console
$ curl -X &apos;GET&apos; &apos;https://rdb.altlinux.org/api/dependencies/what_depends_src?name=python3-module-click-didyoumean&amp;branch=sisyphus&amp;dp_type=binary&apos; -H &apos;accept: application/json&apos;

{&quot;request_args&quot;: {&quot;name&quot;: &quot;python3-module-click-didyoumean&quot;, &quot;branch&quot;: &quot;sisyphus&quot;, &quot;dp_type&quot;: &quot;binary&quot;}, &quot;length&quot;: 0, &quot;dependencies&quot;: []}
```

Actually,
```console
$ apt-cache whatdepends python3-module-click-didyoumean
python3-module-click-didyoumean-0.0.3-alt2:sisyphus+277452.20.3.1@1625573021
  python3-module-celery-5.3.6-alt1:sisyphus+340975.100.2.3@1708283551
    Depends: &lt;python3(click_didyoumean)&gt;
      python3-module-click-didyoumean-0.0.3-alt2:sisyphus+277452.20.3.1@1625573021
```</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>