Bug 51635 - incorrect data in response on /dependencies/what_depends_src
Summary: incorrect data in response on /dependencies/what_depends_src
Status: NEW
Alias: None
Product: Infrastructure
Classification: Infrastructure
Component: rdb.altlinux.org (show other bugs)
Version: unspecified
Hardware: x86_64 Linux
: P5 normal
Assignee: Danil Shein
QA Contact: Andrey Cherepanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-04 12:14 MSK by Stanislav Levin
Modified: 2024-10-04 12:14 MSK (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
```