Re: [OE-core] [PATCH] devtool: execute associated functions while preparing the source tree

2016-11-29 Thread Jiajie Hu
Hi, Paul On Wednesday, November 30, 2016 07:01:30 AM Paul Eggleton wrote: > So this in itself looks reasonable in theory, but I have to warn you that > when we switch to tinfoil2 [1] these commits are going to be done via the > metadata instead, and beyond a possible hack that I'd really rather no

Re: [OE-core] [PATCH] devtool: execute associated functions while preparing the source tree

2016-11-28 Thread Jiajie Hu
On Monday, November 28, 2016 11:04:40 PM Christopher Larson wrote: > This will do the commit after the first postfunc is done, so won’t the > changes from the main func and the first postfunc both be included in that > commit? I suppose all changes from the main func have already been committed in

[OE-core] [PATCH] devtool: execute associated functions while preparing the source tree

2016-11-28 Thread Jiajie Hu
Execute prefuncs and postfuncs associated with the task while preparing the source tree. If any changes are made to the source tree by these prefuncs or postfuncs, a separate commit will be created so that the changes won't get incorporated with other patches. Signed-off-by: Jiaj

[OE-core] [PATCH] devtool: fix handling of unicode characters from subprocess stdout

2016-11-10 Thread Jiajie Hu
e just the first byte is provided for decoding: devtool add recipe http://example.com/source.tar.xz The patch fixes the issue by avoiding such kind of incomplete decoding. Signed-off-by: Jiajie Hu --- scripts/lib/devtool/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletion