All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Seebach <peter.seebach@windriver.com>
To: bitbake-devel <bitbake-devel@lists.openembedded.org>
Subject: v3 or so [PATCH 0/1] File inclusion tracking (cleaned up)
Date: Fri, 14 Sep 2012 16:09:37 -0500	[thread overview]
Message-ID: <cover.1347656669.git.peter.seebach@windriver.com> (raw)

This is *just* the file inclusion tracking. Spent a while looking
at it, improved it, got some great advice from a friend who is
better at Python, improved it more, and ended up with something I think
is much more maintainable and much clearer. The include tracking
cost is minimal (the expensive stuff went away), so it's currently
done unconditionally.

As before, the main implication is that bitbake -e output starts out:

        #
        # INCLUDE HISTORY:
        #
        # /home/seebs/poky/build/conf/bblayers.conf
        # /home/seebs/poky/meta/conf/layer.conf
        # /home/seebs/poky/meta-yocto/conf/layer.conf
        # /home/seebs/poky/meta-yocto-bsp/conf/layer.conf
        # conf/bitbake.conf includes:
        #   /home/seebs/poky/meta/conf/abi_version.conf
        [...]

The idea is that if you are getting syntax errors in a file, and you
don't even know *why*, this makes it possible to see. For a smallish
build, the include history is only maybe 50-60 lines, so it's not a
big impact on the size of the bitbake -e output.

The following changes since commit ac75b06744e73399ca1fbda322ef851ae5754b0a:
  Valentin Popa (1):
        Implement 'settings' dialog as designed

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib seebs/include
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=seebs/include

Peter Seebach (1):
  data_smart.py and friends: Track file inclusions for bitbake -e

 lib/bb/cooker.py         |    5 +++++
 lib/bb/data_smart.py     |   44 ++++++++++++++++++++++++++++++++++++++++++++
 lib/bb/parse/__init__.py |    3 ++-
 3 files changed, 51 insertions(+), 1 deletions(-)




             reply	other threads:[~2012-09-14 21:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-14 21:09 Peter Seebach [this message]
2012-09-14 21:09 ` [PATCH 1/1] data_smart.py and friends: Track file inclusions for bitbake -e Peter Seebach

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=cover.1347656669.git.peter.seebach@windriver.com \
    --to=peter.seebach@windriver.com \
    --cc=bitbake-devel@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.