On Thu, Mar 17, 2022 at 5:35 PM Petr Pisar <[email protected]> wrote:

> V Thu, Mar 17, 2022 at 04:13:44PM +0100, Tomas Hrcka napsal(a):
> > On Thu, Mar 17, 2022 at 3:09 PM Petr Pisar <[email protected]> wrote:
> > > Having the dist-git retirement as a primary source of truth has the
> problem
> > > that you need to clone a dist-git branch to get the data. And then for
> each
> > > package you are interested again and again. Whereas PDC, being a
> database
> > > underneath, have the data centralized at one place, and readily
> available
> > > in
> > > no time.
> > >
> >
> > distgit is basically pagure in it has a DB we were thinking about moving
> > package-specific data like EOL to in information already stored in the DB
> > for each repository.
>
> I cannot parse your sentence. Does it mean there is one database which
> stores all the data about all repositories, or does it mean that each
> repository has its own database?
>

Sorry about that. Let me be more clear. distgit is actually
pagure-distgit[1] that is a plugin for pagure.
It has its own model definitions[2]. It uses the beefy PSQL server that
most apps use. Currently, we do not store much information about packages.



>
> Is this Pagure/dist-git database publically accessible for reading?
>

No the DB itself but pagure has API.


>
> > This would allow us to use specific EOL for modules.
> >
> In modularity I want to deliver the EOL dates to user's YUM repositories so
> that "dnf module list" can list them and alert users about EOLed module
> stream
> they use (bug #2054662).
>
> We already have a mechanism for delivering the data to the YUM repositories
> <
> https://docs.fedoraproject.org/en-US/modularity/building-modules/fedora/module-obsoletes/
> >.
> But the mechanism relies on a manual input
> <https://pagure.io/releng/fedora-module-defaults/blob/main/f/obsoletes>.
> It's
> manual because one of the purposes if the mechanism is delivering which
> stream
> replaces which one. But the EOL dates could be filled automaticaly.
>
> That's why I'm so obsessed with PDC.
>
> -- Petr
> _______________________________________________
> devel mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> 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/[email protected]
> Do not reply to spam on the list, report it:
> https://pagure.io/fedora-infrastructure
>

[1] - https://pagure.io/pagure-dist-git/
[2] -
https://pagure.io/pagure-dist-git/blob/master/f/pagure_distgit/model.py
-- 
Tomas Hrcka
role: CPE Team - Senior Software Engineer
fas: humaton
freenode: jednorozec
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to