Re: Concerning /etc/opt usage
On Sun, May 06, 2018 at 01:28:39PM +0200, Kalev Lember wrote: > The spirit of the guidelines is to avoid using /opt and /etc/opt for > software that fedora ships (and instead install to /usr and /etc). But > this is a different case; Fedora doesn't ship Chrome and the package in > question is an extension to Chrome and needs to put files in > /etc/opt/chrome. This should be perfectly in line with the spirit of the > guidelines. And /etc/opt is in the FHS as appropriate for software which is itself stored in /opt. http://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s07.html#etcoptConfigurationFilesForOpt -- Matthew Miller Fedora Project Leader ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Re: Concerning /etc/opt usage
On 05/06/2018 04:29 AM, Rex Dieter wrote: Rex Dieter wrote: Germano Massullo wrote: Today I have received pull request [1]. Since line 62 %dir %{_sysconfdir}/opt/chrome/native-messaging-hosts/ means /etc/opt/chrome/native-messaging-hosts/ and since packaging guidelines [2] say that a package may only use directories in the |/opt/fedora,| I don't think that guideline applies, as it concerns only stuff under /opt, not /etc (or /etc/opt) Having actually read the guideline now, it *does* apply to /etc/opt too. Sorry I think it's perfectly fine to drop a config file in /etc/opt/chrome to interact with Chrome that uses that directory. The spirit of the guidelines is to avoid using /opt and /etc/opt for software that fedora ships (and instead install to /usr and /etc). But this is a different case; Fedora doesn't ship Chrome and the package in question is an extension to Chrome and needs to put files in /etc/opt/chrome. This should be perfectly in line with the spirit of the guidelines. Kalev ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Re: Concerning /etc/opt usage
Il 05/06/18 04:29, Rex Dieter ha scritto: > Rex Dieter wrote: > >> Germano Massullo wrote: >> >>> Today I have received pull request [1]. >>> Since line 62 >>> %dir %{_sysconfdir}/opt/chrome/native-messaging-hosts/ >>> means >>> /etc/opt/chrome/native-messaging-hosts/ >>> and since packaging guidelines [2] say that a package may only use >>> directories in the |/opt/fedora,| >> I don't think that guideline applies, as it concerns only stuff under >> /opt, not /etc (or /etc/opt) > Having actually read the guideline now, it *does* apply to /etc/opt too. > Sorry Thank you! Have a nice day ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Re: Concerning /etc/opt usage
Rex Dieter wrote: > Germano Massullo wrote: > >> Today I have received pull request [1]. >> Since line 62 >> %dir %{_sysconfdir}/opt/chrome/native-messaging-hosts/ >> means >> /etc/opt/chrome/native-messaging-hosts/ >> and since packaging guidelines [2] say that a package may only use >> directories in the |/opt/fedora,| > > I don't think that guideline applies, as it concerns only stuff under > /opt, not /etc (or /etc/opt) Having actually read the guideline now, it *does* apply to /etc/opt too. Sorry -- REx ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Re: Concerning /etc/opt usage
Germano Massullo wrote: > Today I have received pull request [1]. > Since line 62 > %dir %{_sysconfdir}/opt/chrome/native-messaging-hosts/ > means > /etc/opt/chrome/native-messaging-hosts/ > and since packaging guidelines [2] say that a package may only use > directories in the |/opt/fedora,| I don't think that guideline applies, as it concerns only stuff under /opt, not /etc (or /etc/opt) -- Rex ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Concerning /etc/opt usage
Today I have received pull request [1]. Since line 62 %dir %{_sysconfdir}/opt/chrome/native-messaging-hosts/ means /etc/opt/chrome/native-messaging-hosts/ and since packaging guidelines [2] say that a package may only use directories in the |/opt/fedora,| I would reject this pull request. What do you think about? Best regards [1]: https://src.fedoraproject.org/rpms/webextension-token-signing/pull-request/1 [2]: https://fedoraproject.org/wiki/Packaging:Guidelines#Limited_usage_of_.2Fopt.2C_.2Fetc.2Fopt.2C_and_.2Fvar.2Fopt ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org