From: "Joshua Watt" <JPEWhacker@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Joshua Watt <JPEWhacker@gmail.com>
Subject: [OE-core][PATCH 0/2] classes/reproducible: Fix error when no git HEAD
Date: Mon, 20 Jul 2020 12:56:30 -0500 [thread overview]
Message-ID: <20200720175632.25568-1-JPEWhacker@gmail.com> (raw)
Fixes a bug where getting the source date epoch would fail if there was
no git HEAD (such as when 'subdir=' is used).
Also takes the opportunity to move many of the anonymous python
functions to library code to reducing the parsing burden
Joshua Watt (2):
classes/reproducible: Move to library code
lib/oe/reproducible: Fix error when no git HEAD
meta/classes/reproducible_build.bbclass | 90 +-------------------
meta/lib/oe/reproducible.py | 104 ++++++++++++++++++++++++
2 files changed, 107 insertions(+), 87 deletions(-)
create mode 100644 meta/lib/oe/reproducible.py
--
2.27.0
next reply other threads:[~2020-07-20 17:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-20 17:56 Joshua Watt [this message]
2020-07-20 17:56 ` [OE-core][PATCH 1/2] classes/reproducible: Move to library code Joshua Watt
2020-07-20 17:56 ` [OE-core][PATCH 2/2] lib/oe/reproducible: Fix error when no git HEAD Joshua Watt
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=20200720175632.25568-1-JPEWhacker@gmail.com \
--to=jpewhacker@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.