From ralph at inputplus.co.uk Fri Mar 15 11:04:12 2019 From: ralph at inputplus.co.uk (Ralph Corderoy) Date: Fri, 15 Mar 2019 11:04:12 +0000 Subject: pactree(8) and Optional Depends. Message-ID: <20190315110412.2B63D22086@orac.inputplus.co.uk> Hi, It would be nice if pactree(8) had an option to include optional dependencies, i.e. treat them as dependencies. I was trying to obtain them as part of `pactree -s -r', but non-reverse would be useful too. I'm not sure if they should be marked as optional in the output somehow, e.g. a trailing ` ?', reminiscent of an extended regular expression's operator. Please keep me CC'd. -- Cheers, Ralph. From johannes at kyriasis.com Sat Mar 16 15:58:37 2019 From: johannes at kyriasis.com (Johannes =?iso-8859-1?q?L=F6thberg?=) Date: Sat, 16 Mar 2019 16:58:37 +0100 Subject: pactree(8) and Optional Depends. In-Reply-To: <20190315110412.2B63D22086@orac.inputplus.co.uk> References: <20190315110412.2B63D22086@orac.inputplus.co.uk> Message-ID: <1552746553.5j4mpblala.astroid@hydrogen.kyriasis.com.none> Hey, Excerpts from Ralph Corderoy's message of March 15, 2019 12:04: > It would be nice if pactree(8) had an option to include optional > dependencies, i.e. treat them as dependencies. I was trying to obtain > them as part of `pactree -s -r', but non-reverse would be useful too. > I'm not sure if they should be marked as optional in the output somehow, > e.g. a trailing ` ?', reminiscent of an extended regular expression's > operator. > Indeed, and we have a feature request[0] open for this already. I additionally threw something together for it years ago, but there were some edge cases that patch didn't handle. I might have time to implement it properly some day, but patches would be welcome. [0]: https://bugs.archlinux.org/task/61336 -- Sincerely, Johannes L?thberg :: SA0DEM -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 1727 bytes Desc: not available URL: