All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Lehtonen <markus.lehtonen@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 1/7] scripts/oe-build-perf-report: better guessing of args
Date: Mon,  3 Apr 2017 18:58:33 +0300	[thread overview]
Message-ID: <20170403155839.14067-2-markus.lehtonen@linux.intel.com> (raw)
In-Reply-To: <20170403155839.14067-1-markus.lehtonen@linux.intel.com>

When getting info from the latest commit, don't search all refs but only
branches. We don't get correct data from refs/tags/* or refs/notest/*,
for example.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
---
 scripts/oe-build-perf-report | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report
index 3976613..ca9cf1d 100755
--- a/scripts/oe-build-perf-report
+++ b/scripts/oe-build-perf-report
@@ -380,7 +380,7 @@ def auto_args(repo, args):
     """Guess arguments, if not defined by the user"""
     # Get the latest commit in the repo
     log.debug("Guessing arguments from the latest commit")
-    msg = repo.run_cmd(['log', '-1', '--all', '--format=%b'])
+    msg = repo.run_cmd(['log', '-1', '--branches', '--format=%b'])
     for line in msg.splitlines():
         split = line.split(':', 1)
         if len(split) != 2:
-- 
2.10.2



  reply	other threads:[~2017-04-03 15:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-03 15:58 [PATCH 0/7] Build perf test enhancements Markus Lehtonen
2017-04-03 15:58 ` Markus Lehtonen [this message]
2017-04-03 15:58 ` [PATCH 2/7] scripts/oe-build-perf-report: fix 'charts ready' console message Markus Lehtonen
2017-04-03 15:58 ` [PATCH 3/7] scripts/oe-build-perf-report: fix typo Markus Lehtonen
2017-04-03 15:58 ` [PATCH 4/7] build-perf-test-wrapper.sh: make it possible to specify Git branch name Markus Lehtonen
2017-04-03 15:58 ` [PATCH 5/7] build-perf-test-wrapper.sh: correctly check test script exit status Markus Lehtonen
2017-04-03 15:58 ` [PATCH 6/7] build-perf-test-wrapper.sh: support pushing to remote Git Markus Lehtonen
2017-04-03 15:58 ` [PATCH 7/7] build-perf-test-wrapper.sh: support sending email reports Markus Lehtonen

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=20170403155839.14067-2-markus.lehtonen@linux.intel.com \
    --to=markus.lehtonen@linux.intel.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.