Re: How to get list of retired packages?
On Wed, Sep 22, 2021 at 08:27:07AM -0600, Jerry James wrote: > On Wed, Sep 22, 2021 at 3:07 AM Petr Pisar wrote: > > That's a random failure (of Fedora's HTTPS load balancer?). I always get 500 > > once in a few dozens of requests: > > > > $ while wget -O /dev/null 'https://pdc.fedoraproject.org/rest_api/v1/'; do > > N=$((N+1)); echo "$N"; done > > Interesting. I think that's the first time I've ever seen that error. It's not the load balancer. It's pdc throwing the 500 about every 10 requests. :( filed: https://pagure.io/fedora-infrastructure/issue/10236 on it. kevin signature.asc Description: PGP signature ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: How to get list of retired packages?
On Wed, Sep 22, 2021 at 3:07 AM Petr Pisar wrote: > That's a random failure (of Fedora's HTTPS load balancer?). I always get 500 > once in a few dozens of requests: > > $ while wget -O /dev/null 'https://pdc.fedoraproject.org/rest_api/v1/'; do > N=$((N+1)); echo "$N"; done Interesting. I think that's the first time I've ever seen that error. -- Jerry James http://www.jamezone.org/ ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: How to get list of retired packages?
V Tue, Sep 21, 2021 at 01:31:52PM -0600, Jerry James napsal(a): > On Tue, Sep 21, 2021 at 1:29 PM Miroslav Suchý wrote: > > And PDC is either misbehaving or I cannot use it properly: > > The former, I think. I just tried to launch a build and got: > > $ fedpkg build > Could not execute build: The following error occurred while trying to > get the active release branches in PDC: "-//IETF//DTD HTML 2.0//EN"> > > 500 Internal Server Error That's a random failure (of Fedora's HTTPS load balancer?). I always get 500 once in a few dozens of requests: $ while wget -O /dev/null 'https://pdc.fedoraproject.org/rest_api/v1/'; do N=$((N+1)); echo "$N"; done -- Petr signature.asc Description: PGP signature ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: How to get list of retired packages?
V Tue, Sep 21, 2021 at 09:28:55PM +0200, Miroslav Suchý napsal(a): > And PDC is either misbehaving or I cannot use it properly: > > https://pdc.fedoraproject.org/rest_api/v1/component-branches/?name=flatpak-runtime-config=rpms#tab_list > > What is current status of this package? And how can I verify it? > You have the query parameter names wrong. Correct query is: https://pdc.fedoraproject.org/rest_api/v1/component-branches/?global_component=flatpak-runtime-config=rpm "name" is a branch name. Not component name. A type is "rpm". Not "rpms". I recommend to try a query with a very few arguments and guess semantics of the parameters from response. PDC documentation on semantics of the parameters is sparse. -- Petr signature.asc Description: PGP signature ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: How to get list of retired packages?
On Tue, Sep 21, 2021 at 1:29 PM Miroslav Suchý wrote: > And PDC is either misbehaving or I cannot use it properly: The former, I think. I just tried to launch a build and got: $ fedpkg build Could not execute build: The following error occurred while trying to get the active release branches in PDC: 500 Internal Server Error Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. -- Jerry James http://www.jamezone.org/ ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: How to get list of retired packages?
Dne 16. 09. 21 v 14:50 Pierre-Yves Chibon napsal(a): What is the best way to get list of retired packages in F35? I can get list of all retired packages by scanning dist-git. But if I want it for one release of Fedora? And I do not want to do that manually; I rather want to script it. PDC would be your source of truth for this info. You'll need to look at the "active" state of the package/branch. I got to weird package flatpak-runtime-config This: https://src.fedoraproject.org/rpms/flatpak-runtime-config indicate that the package is retired (because it is only module package). And indeed: https://koji.fedoraproject.org/koji/packageinfo?packageID=24302 It seems to be built in MBS. But repoquery cannot find it: repoquery --releasever 34 --repo={fedora,fedora-modular,updates,updates-modular}-source flatpak-runtime-config And PDC is either misbehaving or I cannot use it properly: https://pdc.fedoraproject.org/rest_api/v1/component-branches/?name=flatpak-runtime-config=rpms#tab_list What is current status of this package? And how can I verify it? Miroslav ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: How to get list of retired packages?
Dne 16. 09. 21 v 15:37 Miro Hrončok napsal(a): Do you want a list of retired components or a list of removed packages? Both are doable with repoquery (use the source repo for components): $ comm -23 <(repoquery --releasever 34 --repo={fedora,updates}-source -a | pkgname | sort | uniq) <(repoquery --releasever 35 --repo={fedora,updates}-source -a | pkgname | sort | uniq) Wow, this is awesome way. And exactly what I need. Thank you. Miroslav ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: How to get list of retired packages?
On 16. 09. 21 14:36, Miroslav Suchý wrote: Hi. What is the best way to get list of retired packages in F35? I can get list of all retired packages by scanning dist-git. But if I want it for one release of Fedora? And I do not want to do that manually; I rather want to script it. Hello. Do you want a list of retired components or a list of removed packages? Both are doable with repoquery (use the source repo for components): $ comm -23 <(repoquery --releasever 34 --repo={fedora,updates}-source -a | pkgname | sort | uniq) <(repoquery --releasever 35 --repo={fedora,updates}-source -a | pkgname | sort | uniq) -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: How to get list of retired packages?
On Thu, Sep 16, 2021 at 02:36:58PM +0200, Miroslav Suchý wrote: > Hi. > > What is the best way to get list of retired packages in F35? I can get list > of all retired packages by scanning dist-git. But if I want it for one > release of Fedora? And I do not want to do that manually; I rather want to > script it. > PDC would be your source of truth for this info. You'll need to look at the "active" state of the package/branch. Pierre ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: How to get list of retired packages?
On Thu, Sep 16, 2021 at 8:37 AM Miroslav Suchý wrote: > > Hi. > > What is the best way to get list of retired packages in F35? I can get list > of all retired packages by scanning > dist-git. But if I want it for one release of Fedora? And I do not want to do > that manually; I rather want to script it. > You can poke Pagure via the API for the presence of the dead.package file in the "f35" branch, as you're probably aware. But PDC would have the collection of active source packages for a release, though I'm not sure you can get that from its API. If you can, then you can derive the retired package set by removing the intersection of the total set of packages from Pagure and the set of active packages in PDC. -- 真実はいつも一つ!/ Always, there's only one truth! ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
How to get list of retired packages?
Hi. What is the best way to get list of retired packages in F35? I can get list of all retired packages by scanning dist-git. But if I want it for one release of Fedora? And I do not want to do that manually; I rather want to script it. Miroslav ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure