On 8/1/20 9:01 AM, Lucas Nussbaum wrote: > Hi Baptiste, > > I think that it would be better if mentors.d.n would provide a JSON > export of its data that it useful for UDD. Would a JSON rest api work? UDD could fetch something like https://mentors.debian.net/api/uploads/ and retrieve all information needed. > Regarding data that should be replicated in UDD, I would prefer > something simpler that is enough, typically for DMD, to notify that > there's a new version waiting, but that still requires going to > mentors.d.n for details. I wonder if we should have more than one table, > that just describes the last upload for a given source or (source,user) > (it's not clear to me if several users can simultaneously upload > competing versions of the same source package). Yes, several users can upload the same package using different version and distributions. From what I can see in the DMD page, it fetches from UDD's tables: - package name - version - distribution - uploaded date From that, distribution is actually unused. So fetching the list of all uploads and storing that into a single table sould be sufficient. -- Baptiste BEAUPLAT - lyknode
Attachment:
signature.asc
Description: OpenPGP digital signature