From owner-freebsd-ports@freebsd.org Sun Mar 4 23:46:24 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C71E4F3F9D1 for ; Sun, 4 Mar 2018 23:46:24 +0000 (UTC) (envelope-from abi@abinet.ru) Received: from mail.abinet.ru (mail.abinet.ru [84.52.119.162]) by mx1.freebsd.org (Postfix) with ESMTP id 577AB77637 for ; Sun, 4 Mar 2018 23:46:24 +0000 (UTC) (envelope-from abi@abinet.ru) Received: from [10.0.0.1] (unknown [10.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.abinet.ru (Postfix) with ESMTPSA id 3132D14997; Sun, 4 Mar 2018 20:06:49 +0000 (UTC) Subject: Re: poudriere options: -c flag explanation To: =?UTF-8?Q?Le_Baron_d=e2=80=99Merde?= , freebsd-ports@freebsd.org References: <66224ba1-ccd8-9520-199c-5e4a5f4b4a44@abinet.ru> <20180303232601.ga4b6237ezqalcpu@privacychain.ch> From: abi Message-ID: Date: Sun, 4 Mar 2018 23:06:47 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20180303232601.ga4b6237ezqalcpu@privacychain.ch> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=abinet.ru; s=dkim; t=1520194009; h=from:subject:date:message-id:to:mime-version:content-type:content-transfer-encoding:in-reply-to:references; bh=IrVGW5GCeJzRobo9hdHYQD6zMw2dbTjKBmAOEulRJsY=; b=c6i/Hgu1Wwk9l10VLvu+OsVq9iCL/oFM6VP2zTlPDzwZPV3TE9LqTuluD4PuHdS3T3ynK6 IeBGMCVQyaLRd7HE5hMPUV5TLu7oFRt/GKEuFtwbderkEUnNE9CCwuBrSEK+fs1Y5PHF8H 680BlnUtbeC+3t5hhq+/tn1bAid+g2Y= X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2018 23:46:24 -0000 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).