Re: Depend on git-core instead of git if possible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 3 Nov 2020 at 21:22, clime <clime@xxxxxxxxxxxxxxxxx> wrote:
>
> On Tue, 3 Nov 2020 at 19:25, Neal Gompa <ngompa13@xxxxxxxxx> wrote:
> >
> > On Tue, Nov 3, 2020 at 1:08 PM clime <clime@xxxxxxxxxxxxxxxxx> wrote:
> > >
> > > On Tue, 3 Nov 2020 at 17:42, Florian Weimer <fweimer@xxxxxxxxxx> 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.

Well, i should have read what Vit recommended first :):
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_file_and_directory_dependencies

Packages SHOULD NOT include file dependencies outside of the following
directories:

/usr/bin
/usr/sbin
/etc

So I guess...nevermind...
clime

>
> Thank you
> clime
>
> >
> >
> >
> >
> >
> > --
> > 真実はいつも一つ!/ Always, there's only one truth!
> > _______________________________________________
> > devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> > To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
> > 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@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux