> > > We *could* do something about repo metadata: only install the "main" 
> > > metadata,
> > > and not the "filepath" metadata. This would reduce the metadata size by 
> > > ~80%.
> > > It'd also have huge benefits for speed: on small dnf operations a 
> > > significant
> > > portion of time is spent just loading metadata.
> > >
> > > We had some discussions on this a few years ago, but this never went 
> > > anywhere.
> > > (I did a quick search, but can't find the ticket now.)  But the idea was 
> > > that
> > > dnf would load "main" metadata by default, and then load "filepath" 
> > > metadata
> > > if needed and restart the transaction. Our Packaging Guidelines forbid 
> > > filepath
> > > dependencies (except for a small set of directories which are in the 
> > > "main" part),
> > > so normal rpm transactions don't need the "filepath" metadata. It is only
> > > needed for non-confirming rpms and when the user does something like
> > > 'dnf install /some/strange/path'.
> >
> > AIUI this is already a part of dnf5.
>
> I would love to hear more about this.

The original yum used to do this
_______________________________________________
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, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to