Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Mar 2018 23:06:47 +0300
From:      abi <abi@abinet.ru>
To:        =?UTF-8?Q?Le_Baron_d=e2=80=99Merde?= <lebarondemerde@privacychain.ch>, freebsd-ports@freebsd.org
Subject:   Re: poudriere options: -c flag explanation
Message-ID:  <acd96930-68a1-26e6-99d9-1c73e5037818@abinet.ru>
In-Reply-To: <20180303232601.ga4b6237ezqalcpu@privacychain.ch>
References:  <66224ba1-ccd8-9520-199c-5e4a5f4b4a44@abinet.ru> <20180303232601.ga4b6237ezqalcpu@privacychain.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04.03.2018 02:26, Le Baron d’Merde wrote:
> On Sat, Mar 03, 2018 at 01:02:23PM +0300, abi wrote:
>> Hello,
>>
>> Assuming that -n flag suggests that options run recursivly for deps chain,
>> isn't  -c flag should always invoke dialog4ports for every port with options ?
>>
>> For example, poudriere options -c editors/libreoffice asks for options
>> through all dep chain if runs the first time, on subsequent run it asks for
>> options only for original port or if it find no cached options.
>>
>> This looks confusing, is it intended?
> The default behavior of ports-mgmt/poudriere is to open the dialog to set OPTIONS
> for each selected port (targets) and all its dependencies, unless they were
> already set.
>
> Issuing 'poudriere options -n' will just open the dialog to the target(s) and not its
> dependencies. Again, but for those which already have OPTIONS set.
>
> The -c flag in 'poudriere options' delete the previous selected options to the
> specified target(s) and open the dialog to set them again - what may include
> dependencies without OPTINOS set already.
>
Isn't this behaviour incorrect? If -c skips dependencies with OPTIONS, 
it is impossible to revisit them? For example, if I want to re-think all 
dependencies of java and check their options, how can I do this? Man 
suggests that -c behaviour is recursive (if -n is not provided).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?acd96930-68a1-26e6-99d9-1c73e5037818>