Bug 51635

Summary: incorrect data in response on /dependencies/what_depends_src
Product: Infrastructure Reporter: Stanislav Levin <slev>
Component: rdb.altlinux.orgAssignee: Danil Shein <dshein>
Status: NEW --- QA Contact: Andrey Cherepanov <cas>
Severity: normal    
Priority: P5    
Version: unspecified   
Hardware: x86_64   
OS: Linux   

Description Stanislav Levin 2024-10-04 12:14:32 MSK
Making request /dependencies/what_depends_src,
but an answer is not always correct.

For example,

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

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

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: <python3(click_didyoumean)>
      python3-module-click-didyoumean-0.0.3-alt2:sisyphus+277452.20.3.1@1625573021
```