Re: [gentoo-dev] Common options missed in OpenRC declarative scripts and how to improve them

2021-12-02 Thread Michael Orlitzky
On 2021-12-02 08:12:55, Alec Warner wrote: > > Can we automate any of it? Emit QA warnings? etc. > I would love to be proven wrong, but I don't think so. We have two main problems. First, The service scripts are POSIX sh, which is better than bash, but still can't easily be parsed for semantic

Re: [gentoo-dev] Common options missed in OpenRC declarative scripts and how to improve them

2021-12-02 Thread Alec Warner
On Thu, Dec 2, 2021 at 4:34 AM Michael Orlitzky wrote: > > On 2021-12-01 21:02:20, Brian Evans wrote: > > After a cursory scan of the Gentoo repository, I've noticed an > > overabundance of start_stop_daemon_args being declared in scripts committed. > > > > I would like to draw attention and see

Re: [gentoo-dev] Common options missed in OpenRC declarative scripts and how to improve them

2021-12-02 Thread Brian Evans
On 12/2/2021 7:34 AM, Michael Orlitzky wrote: On 2021-12-01 21:02:20, Brian Evans wrote: After a cursory scan of the Gentoo repository, I've noticed an overabundance of start_stop_daemon_args being declared in scripts committed. I would like to draw attention and see if we can clean these up

[gentoo-portage-dev] [PATCH] emerge: Do not resolve ambiguous package names via installed pkgs

2021-12-02 Thread Michał Górny
When dealing with ambiguous package names on command-line, do not use installed packages to resolve them. This is counterintuitive in the best case, and probably the wrong answer most of the time. After all, if a user calls emerge with a specific package name, it is quite likely that he intends

Re: [gentoo-dev] Common options missed in OpenRC declarative scripts and how to improve them

2021-12-02 Thread Michael Orlitzky
On 2021-12-01 21:02:20, Brian Evans wrote: > After a cursory scan of the Gentoo repository, I've noticed an > overabundance of start_stop_daemon_args being declared in scripts committed. > > I would like to draw attention and see if we can clean these up together. A lot of this is covered in the