Bug 1119099
Summary: | "packagedb-cli list --user ... --branch ..." lists packages that don't have the specified branch | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jens Petersen <petersen> |
Component: | packagedb-cli | Assignee: | Pierre-YvesChibon <pingou> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 20 | CC: | lmacken, pingou |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | packagedb-cli-2.4-1.fc19 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-07-19 06:01:35 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jens Petersen
2014-07-14 01:39:42 UTC
I don't think this is a bug server side: https://admin.fedoraproject.org/pkgdb/api/package/ghc-Agda I suspect it is more a problem of using both arguments at the same time, I'll investigate. Thanks for the report When you said that it was working before, did you mean in pkgdb2? I suspect it never worked with pkgdb2. I found that the easiest solution to this problem is to expand `/api/packager/package` [1] to support filtering per branch I have just implemented it, I will update pkgdb-cli (it is a minor change) and make a new release as of both. Thanks for the report! [1] https://admin.fedoraproject.org/pkgdb/api/#user%27s_packages (In reply to Pierre-YvesChibon from comment #2) > When you said that it was working before, did you mean in pkgdb2? I am not certain but I thought the results had changed. But maybe I only noticed the problem now after F21 branched. > I found that the easiest solution to this problem is to expand > `/api/packager/package` [1] to support filtering per branch > > I have just implemented it, I will update pkgdb-cli (it is a minor change) > and make a new release as of both. Great thanks! Testing with the git version: packagedb-cli]$ python pkgdb2_cli.py list --user haskell-sig --branch f21 --nameonly | grep ghc-Agda ghc-Agda packagedb-cli]$ python pkgdb2_cli.py --test list --user haskell-sig --branch f21 --nameonly | grep ghc-Agda packagedb-cli]$ python pkgdb2_cli.py list --user haskell-sig --branch f21 --nameonly | wc -l 282 packagedb-cli]$ python pkgdb2_cli.py --test list --user haskell-sig --branch f21 --nameonly | wc -l 255 Note: --test queries https://admin.stg.fedoraproject.org/pkgdb which is the pre-prod instance (staging) instead of the prod one. Stg runs 1.15, while prod still has 1.14.4 :) pkgdb in prod updated. packagedb-cli-2.4-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/packagedb-cli-2.4-1.fc20 packagedb-cli-2.4-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/packagedb-cli-2.4-1.fc19 packagedb-cli-2.4-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/packagedb-cli-2.4-1.el6 Thanks looks good now! Probably good to build it for epel7 too. :) Package packagedb-cli-2.4-1.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing packagedb-cli-2.4-1.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-1904/packagedb-cli-2.4-1.el6 then log in and leave karma (feedback). packagedb-cli-2.4-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. packagedb-cli-2.4-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. packagedb-cli-2.4-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |