public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Steven Shi" <steven.shi@intel.com>
To: devel@edk2.groups.io
Cc: liming.gao@intel.com, bob.c.feng@intel.com,
	christian.rodriguez@intel.com
Subject: [PATCH v2 0/1] BaseTools:Introduce CopyFileOnChange() function to copy cache files
Date: Mon, 17 Jun 2019 16:43:57 +0800	[thread overview]
Message-ID: <20190617084358.6168-1-steven.shi@intel.com> (raw)

V2:
set shallow=False in filecmp.cmp() to compare the src and dsc files content
use shutil.copy() replace the  shutil.copyfile() to do the file copy, which
is better to reserve the dsc file metadata

V1:
Initial fix

Steven Shi (1):
  BaseTools:Introduce CopyFileOnChange() function to copy cache files

 BaseTools/Source/Python/AutoGen/AutoGen.py    | 10 ++--
 .../Source/Python/Common/LongFilePathOs.py    |  4 ++
 BaseTools/Source/Python/Common/Misc.py        | 55 +++++++++++++++++++
 3 files changed, 64 insertions(+), 5 deletions(-)

-- 
2.17.1.windows.2


             reply	other threads:[~2019-06-17  8:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-17  8:43 Steven Shi [this message]
2019-06-17  8:43 ` [PATCH v2 1/1] BaseTools:Introduce CopyFileOnChange() function to copy cache files Steven Shi
2019-06-17  8:55   ` Bob Feng

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-list 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=20190617084358.6168-1-steven.shi@intel.com \
    --to=devel@edk2.groups.io \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox