On Tue, 3 Nov 2020 at 19:25, Neal Gompa <ngomp...@gmail.com> wrote:
>
> On Tue, Nov 3, 2020 at 1:08 PM clime <cl...@fedoraproject.org> wrote:
> >
> > On Tue, 3 Nov 2020 at 17:42, Florian Weimer <fwei...@redhat.com> wrote:
> > >
> > > >> Or switch to depend on `%{_bindir}/git`?
> > > >
> > > > If we do it like this, we will never be able drop repo download times
> > > > for Fedora users.
> > >
> > > Files in %{_bindir} already end up in the primary metadata, don't they?
> >
> > Ok, I didn't know that. Do you happen to know if there is
> > documentation of what ends up in primary metadata and what not?
> >
>
> There is not, but it's generally supposed to be */bin and */lib.

I think it might be a good idea to state this in packaging guidelines...

i.e. "Packages should either specify their requirements explicitly by
package names or optionally by a filesystem path for files under
/usr/bin and /usr/lib paths. Requirements on files at other paths are
technically also possible but they might trigger the need for download
of additional repodata files by dnf when such a package is being
installed, therefore they are not recommended."

... or something like that. I will need to check the exact paths etc.
but after some more polish....could i open a pull request for this
somewhere? I think it doesn't matter that lazy loading is not
implemented yet.

Thank you
clime

>
>
>
>
>
> --
> 真実はいつも一つ!/ 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
_______________________________________________
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

Reply via email to