[OE-core] [OE-Core][master][PATCH] devtool: Add --remove-work option for devtool reset command

Paul Eggleton paul.eggleton at linux.intel.com
Wed Oct 9 02:02:37 UTC 2019


On Wednesday, 9 October 2019 6:39:34 AM NZDT Khem Raj wrote:
> On Tue, Oct 8, 2019 at 10:37 AM Peter Kjellerstedt <
> peter.kjellerstedt at axis.com> wrote:
> 
> > > -----Original Message-----
> > > From: openembedded-core-bounces at lists.openembedded.org <openembedded-
> > > core-bounces at lists.openembedded.org> On Behalf Of Chandana Kalluri
> > > Sent: den 8 oktober 2019 04:14
> > > To: Paul Eggleton <paul.eggleton at linux.intel.com>
> > > Cc: Patches and discussions about the oe-core layer <openembedded-
> > > core at lists.openembedded.org>
> > > Subject: Re: [OE-core] [OE-Core][master][PATCH] devtool: Add --remove-
> > > work option for devtool reset command
> > >
> > > Hi Paul,
> > >
> > > Any thoughts on implementing this as a separate command  as suggested
> > > by Khem?
> >
> > For what it's worth, I think the original suggested solution with a new
> > option to the existing `devtool reset` and `devtool finish` commands is
> > the better one.
> 
> 
> Yeah thinking about it again we already have two commands which would need
> same functionality it’s not good to introduce a third one although I think
> the usability of current solution will be a bit nicer if it was independent
> option

devtool reset does have a -a option:
  --all, -a       Reset all recipes (clear workspace)

It won't delete anything that no longer corresponds to a recipe in the 
workspace (i.e. previously reset/finished), but is that the issue that people 
are trying to solve here?

(I could see the utility of having an option to completely remove the 
workspace and everything in it - I've had to write a script to do that to save 
time for running the devtool oe-selftest tests for example, but I don't know 
how common that use case actually is for others.)

Cheers
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre




More information about the Openembedded-core mailing list