From: Robert Yang <liezhi.yang@windriver.com>
To: Martin Jansa <martin.jansa@gmail.com>,
Henning Heinold <heinold@inf.fu-berlin.de>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 0/5] refactor the archive*.bbcalss
Date: Tue, 14 Jan 2014 10:13:00 +0800 [thread overview]
Message-ID: <52D49D2C.6020904@windriver.com> (raw)
In-Reply-To: <20140113115856.GL16995@jama>
On 01/13/2014 07:58 PM, Martin Jansa wrote:
> On Mon, Jan 13, 2014 at 12:52:49PM +0100, Henning Heinold wrote:
>> On Mon, Jan 13, 2014 at 06:47:39PM +0800, Robert Yang wrote:
>>>
>>> On 01/13/2014 06:21 PM, Martin Jansa wrote:
>>>> On Tue, Jan 14, 2014 at 12:20:14AM +0800, Robert Yang wrote:
>>>>> * The archive*.bbclass didn't work, and there were a few problems, for
>>>>> example:
>>>>> 1) There were a few duplicated code
>>>>> 2) There was no src_dir.org (or orig), but the diff command still use
>>>>> it, and it is not easy to fix this issue if we don't change a lot
>>>>> of the code.
>>>>> 3) It didn't archive the source for the native or gcc
>>>>> 4) The work flow is not very well
>>>>> 5) The "subprocess.call('fakeroot cp xxxx'" should be removed
>>>>> 6) And others ...
>>>>>
>>>>> * So that we have to refactor it, the benefits are:
>>>>> 1) Fix the problems and make it work well.
>>>>> 2) Reduce more than 400 lines in total.
>>>>> 3) Make it easy to use.
>>>>
>>>> Have you seen
>>>> http://lists.openembedded.org/pipermail/openembedded-core/2013-December/087729.html
>>>> ?
>>>>
>>>> Could you review it/integrate changes from it?
>>>
>>> I've looked at it just now, I think the problems that you mentioned have been
>>> fixed during the refactor. It won't install/remove the files manually any more,
>>> they will be installed/removed by the sstate. And the usage become easier, just
>>> this would be OK by default:
>>>
>>> INHERIT += "archiver"
>>>
>>> And we can easily add other functions when needed.
>>>
>>> // Robert
>>>
>>
>> Hi Robert,
>>
>> does the whole thread means it is broken in dora too? Are there plans to backport the patches?
>
> AFAIK it's broken everywhere, I would like to have it backported to
> dylan as well (after testing that it indeed fixes source files being
> removed)
>
Yes, Martin is right, but I'm not sure whether we should backport them
since we have change a lot of the code, and there should be bugs, usually,
though, I've done as many testing as I can.
BTW., I've updated the code a little in the PULL:
Use "1" or "0" rather than "yes" or "no", which seems more popular in oe,
for example:
ARCHIVER_MODE[dumpdata] = "1" (it was "yes" before).
// Robert
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
next prev parent reply other threads:[~2014-01-14 2:13 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-13 16:20 [PATCH 0/5] refactor the archive*.bbcalss Robert Yang
2014-01-13 10:21 ` Martin Jansa
2014-01-13 10:47 ` Robert Yang
2014-01-13 11:52 ` Henning Heinold
2014-01-13 11:58 ` Martin Jansa
2014-01-14 2:13 ` Robert Yang [this message]
2014-01-13 16:20 ` [PATCH 1/5] classes/archive*.bbclass: remove archive-*-source.bbclass Robert Yang
2014-01-13 16:20 ` [PATCH 2/5] archiver.bbclass: refactor it Robert Yang
2014-01-13 16:20 ` [PATCH 3/5] package_rpm.bbclass: archive the source to srpm package Robert Yang
2014-01-13 16:20 ` [PATCH 4/5] archiver.bbclass: move a few code to copyleft_compliance.bbclass Robert Yang
2014-01-13 16:20 ` [PATCH 5/5] local.conf.sample.extended: update for the archiver Robert Yang
2014-01-15 16:55 ` [PATCH 0/5] refactor the archive*.bbcalss Martin Jansa
2014-01-16 2:14 ` Robert Yang
2014-01-16 9:25 ` Martin Jansa
2014-01-16 9:33 ` Robert Yang
2014-01-18 12:26 ` Martin Jansa
2014-01-21 10:40 ` Robert Yang
2014-01-21 10:41 ` Robert Yang
2014-01-21 12:37 ` Martin Jansa
2014-01-22 2:59 ` Robert Yang
2014-01-22 10:13 ` Robert Yang
2014-01-31 15:57 ` Martin Jansa
2014-02-13 9:54 ` Robert Yang
2014-02-13 10:14 ` Henning Heinold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52D49D2C.6020904@windriver.com \
--to=liezhi.yang@windriver.com \
--cc=heinold@inf.fu-berlin.de \
--cc=martin.jansa@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.