Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list-accepted-pkgs is returning all packages not only the accepted ones #21

Open
gyr opened this issue Dec 5, 2022 · 0 comments · May be fixed by #36
Open

list-accepted-pkgs is returning all packages not only the accepted ones #21

gyr opened this issue Dec 5, 2022 · 0 comments · May be fixed by #36
Labels
bug Something isn't working

Comments

@gyr
Copy link
Member

gyr commented Dec 5, 2022

list-accepted-pkgs is returning all packages not only the accepted ones.

Expected output using the old shell script:

$ list-accepted-pkgs -p SUSE:SLE-15-SP5:GA -d 1
==============================
SUBMIT REQUESTS
==============================
000package-groups (2022-12-05T13:10:57) https://build.suse.de/request/show/285730
==============================
DELETE REQUESTS
==============================
$ date
Mon Dec  5 07:42:08 PM -03 2022

Current output using sle-prjmgr-tools tool:

$ sle-prjmgr-tools list_accepted_pkgs -p SUSE:SLE-15-SP5:GA -d 1
==============================
SUBMIT REQUESTS
==============================
000package-groups (2022-12-05T22:05:16) https://api.suse.de/285140
kernel-source (2022-12-05T08:39:00) https://api.suse.de/285625
000package-groups (2022-12-05T22:05:03) https://api.suse.de/285699
gmmlib (2022-12-05T11:00:42) https://api.suse.de/285714
sudo (2022-12-05T10:57:27) https://api.suse.de/285716
000package-groups (2022-12-05T13:10:57) https://api.suse.de/285730
containerized-data-importer (2022-12-05T10:56:30) https://api.suse.de/285734
kubevirt (2022-12-05T10:56:28) https://api.suse.de/285735
yast2-installation (2022-12-05T14:29:47) https://api.suse.de/285739
drbd (2022-12-05T12:07:39) https://api.suse.de/285749
drbd (2022-12-05T15:09:14) https://api.suse.de/285753
000package-groups (2022-12-05T22:16:33) https://api.suse.de/285780
==============================
DELETE REQUESTS
==============================
$ date
Mon Dec  5 07:42:05 PM -03 2022

Other issues found:

  • the URL is not correct, should be https://build.suse.de/request/show/ instead of https://api.suse.de/
  • should be sorted in ascending order by timestamp
@gyr gyr added the bug Something isn't working label Dec 5, 2022
gyr added a commit to gyr/sle-prjmgr-tools that referenced this issue Feb 9, 2023
gyr added a commit to gyr/sle-prjmgr-tools that referenced this issue Feb 10, 2023
@SchoolGuy SchoolGuy linked a pull request Mar 14, 2023 that will close this issue
@SchoolGuy SchoolGuy mentioned this issue Mar 14, 2023
gyr added a commit to gyr/sle-prjmgr-tools that referenced this issue Mar 15, 2023
gyr added a commit to gyr/sle-prjmgr-tools that referenced this issue Mar 15, 2023
@SchoolGuy SchoolGuy linked a pull request Mar 15, 2023 that will close this issue
@SchoolGuy SchoolGuy linked a pull request Mar 15, 2023 that will close this issue
gyr added a commit to gyr/sle-prjmgr-tools that referenced this issue Apr 3, 2023
gyr added a commit to gyr/sle-prjmgr-tools that referenced this issue Apr 3, 2023
gyr added a commit to gyr/sle-prjmgr-tools that referenced this issue Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant