All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Seebach <peter.seebach@windriver.com>
To: <bitbake-devel@lists.openembedded.org>
Subject: [PATCH 0/2] improve recovery when something goes horribly wrong
Date: Tue, 19 Nov 2013 18:31:38 -0600	[thread overview]
Message-ID: <cover.1384907121.git.peter.seebach@windriver.com> (raw)

Certain early failures can result in things going wrong in ways that
prevent "bitbake -e" from running, creating strange or cryptic failures,
and even when they're not all that cryptic, lack of include tracking
or variable history tracking can be a significant disadvantage.

These patches address one of the failure modes, and make it possible for
an oe-core change to address another.

The first patch makes run.* scripts work even when the path name generated
contains unexpanded variable names, by quoting the argument to cd. The
second provides an isTracking() to DataSmart to allow the sanity checks
to be normal errors rather than fatal errors when trying to run with
tracking enabled (which only occurs when you want to dump the results of
the tracking).

The following changes since commit a66ee0994645aa5658b2f5ea134ed17d89f8751a:

  fetch2: Fix handling of SCM mirrors in MIRRORS (2013-11-19 13:22:10 +0000)

are available in the git repository at:
  git://git.yoctoproject.org/poky-contrib seebs/warning_helper
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=seebs/warning_helper

Peter Seebach (2):
  build.py: add single-quotes around already-expanded directory name
  data_smart.py: Add isTracking() to datasmart

 lib/bb/build.py      |    2 +-
 lib/bb/data_smart.py |    3 +++
 2 files changed, 4 insertions(+), 1 deletions(-)



             reply	other threads:[~2013-11-20  0:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-20  0:31 Peter Seebach [this message]
2013-11-20  0:31 ` [PATCH 1/2] build.py: add single-quotes around already-expanded directory name Peter Seebach
2013-11-20  0:31 ` [PATCH 2/2] data_smart.py: Add isTracking() to datasmart 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.1384907121.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.