<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/BaseTools/Source/Python/Common/LongFilePathOs.py, branch trunk</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=trunk</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=trunk'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2024-06-04T03:43:08+00:00</updated>
<entry>
<title>Renormalized end-of-lines from master@27b044605cd5f6b33a3d231576003850b3fe305b</title>
<updated>2024-06-04T03:43:08+00:00</updated>
<author>
<name>kx</name>
<email>kx@radix.pro</email>
</author>
<published>2024-06-04T03:43:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=7e2ccccace24636f29ddc210b94606abd4c7e42b'/>
<id>urn:sha1:7e2ccccace24636f29ddc210b94606abd4c7e42b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>BaseTools:Introduce CopyFileOnChange() function to copy cache files</title>
<updated>2019-06-17T09:00:46+00:00</updated>
<author>
<name>Shi, Steven</name>
<email>steven.shi@intel.com</email>
</author>
<published>2019-06-17T08:43:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=2378ea55151eef8284b4cf35e95b058b0e591ea0'/>
<id>urn:sha1:2378ea55151eef8284b4cf35e95b058b0e591ea0</id>
<content type='text'>
BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=1894

Basetool need a CopyFileOnChange() function to avoid cache
file writing race in multi-thread build. Some platforms
build fail with file IO writing race issue when the
build cache is enabled to store cache files in multi-threads.
This is because common same library cache files (e.g. some
libs in MdePkg) can be stored by many different driver modules'
build threads at same time. Current build cache need a function
to check whether the same cache file already exist, and only
copy source file if it is different from the destination file.

This patch introduces an atomic copy function to avoid duplicated
cache files copy.

Cc: Liming Gao &lt;liming.gao@intel.com&gt;
Cc: Bob Feng &lt;bob.c.feng@intel.com&gt;
Cc: Christian Rodriguez &lt;christian.rodriguez@intel.com&gt;
Signed-off-by: Steven Shi &lt;steven.shi@intel.com&gt;
Reviewed-by: Bob Feng &lt;bob.c.feng@intel.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: Replace BSD License with BSD+Patent License</title>
<updated>2019-04-09T16:10:20+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2019-04-03T23:03:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=2e351cbe8e190271b3716284fc1076551d005472'/>
<id>urn:sha1:2e351cbe8e190271b3716284fc1076551d005472</id>
<content type='text'>
https://bugzilla.tianocore.org/show_bug.cgi?id=1373

Replace BSD 2-Clause License with BSD+Patent License.  This change is
based on the following emails:

  https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html
  https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html

RFCs with detailed process for the license change:

  V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html
  V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html
  V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Reviewed-by: Bob Feng &lt;bob.c.feng@intel.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: Handle the bytes and str difference</title>
<updated>2019-02-01T03:09:24+00:00</updated>
<author>
<name>Feng, Bob C</name>
<email>bob.c.feng@intel.com</email>
</author>
<published>2019-01-23T02:16:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=d943b0c339fe3d35ffdf9f580ccb7a55915c6854'/>
<id>urn:sha1:d943b0c339fe3d35ffdf9f580ccb7a55915c6854</id>
<content type='text'>
Deal with bytes and str is different, remove the unicode(),
correct open file parameter.
Using utcfromtimestamp instead of fromtimestamp.

Cc: Bob Feng &lt;bob.c.feng@intel.com&gt;
Cc: Liming Gao &lt;liming.gao@intel.com&gt;
Cc: Yonghong Zhu &lt;yonghong.zhu@intel.com&gt;
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Zhiju.Fan &lt;zhijux.fan@intel.com&gt;
Tested-by: Laszlo Ersek &lt;lersek@redhat.com&gt;
Tested-by: Ard Biesheuvel &lt;ard.biesheuvel@linaro.org&gt;
Reviewed-by: Liming Gao &lt;liming.gao@intel.com&gt;
Reviewed-by: Bob Feng &lt;bob.c.feng@intel.com&gt;
</content>
</entry>
<entry>
<title>Revert BaseTools: PYTHON3 migration</title>
<updated>2018-10-15T00:29:14+00:00</updated>
<author>
<name>Liming Gao</name>
<email>liming.gao@intel.com</email>
</author>
<published>2018-10-15T00:27:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=1ccc4d895dd8d659d016efcd6ef8a48749aba1d0'/>
<id>urn:sha1:1ccc4d895dd8d659d016efcd6ef8a48749aba1d0</id>
<content type='text'>
This reverts commit 6693f359b3c213513c5096a06c6f67244a44dc52..
678f85131238622e576705117e299d81cff755c9.

Python3 migration is the fundamental change. It requires every developer
to install Python3. Before this migration, the well communication and wide
verification must be done. But now, most people is not aware of this change,
and not try it. So, Python3 migration is reverted and be moved to edk2-staging
Python3 branch for the edk2 user evaluation.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao &lt;liming.gao@intel.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: Handle the bytes and str difference</title>
<updated>2018-10-13T01:54:07+00:00</updated>
<author>
<name>Yunhua Feng</name>
<email>yunhuax.feng@intel.com</email>
</author>
<published>2018-10-11T03:20:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=86e6cf98a8493574878286522078050ac4dd505d'/>
<id>urn:sha1:86e6cf98a8493574878286522078050ac4dd505d</id>
<content type='text'>
Deal with bytes and str is different, remove the unicode()
Using utcfromtimestamp instead of fromtimestamp.

Cc: Liming Gao &lt;liming.gao@intel.com&gt;
Cc: Yonghong Zhu &lt;yonghong.zhu@intel.com&gt;
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yunhua Feng &lt;yunhuax.feng@intel.com&gt;
Reviewed-by: Liming Gao &lt;liming.gao@intel.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: Remove the "from __future__ import" items</title>
<updated>2018-10-13T01:50:40+00:00</updated>
<author>
<name>Yunhua Feng</name>
<email>yunhuax.feng@intel.com</email>
</author>
<published>2018-09-21T07:36:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=487062c048809420de1b008bc9d17815a8c4fbdb'/>
<id>urn:sha1:487062c048809420de1b008bc9d17815a8c4fbdb</id>
<content type='text'>
Cc: Liming Gao &lt;liming.gao@intel.com&gt;
Cc: Yonghong Zhu &lt;yonghong.zhu@intel.com&gt;
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yunhua Feng &lt;yunhuax.feng@intel.com&gt;
Reviewed-by: Liming Gao &lt;liming.gao@intel.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: Use absolute import in Common</title>
<updated>2018-07-16T03:22:16+00:00</updated>
<author>
<name>Gary Lin</name>
<email>glin@suse.com</email>
</author>
<published>2018-07-13T10:18:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=f3fc5b47ad195dd9e2b644cb294448a386e18a53'/>
<id>urn:sha1:f3fc5b47ad195dd9e2b644cb294448a386e18a53</id>
<content type='text'>
Based on "futurize -f libfuturize.fixes.fix_absolute_import

Contributed-under: TianoCore Contribution Agreement 1.1
Cc: Yonghong Zhu &lt;yonghong.zhu@intel.com&gt;
Cc: Liming Gao &lt;liming.gao@intel.com&gt;
Signed-off-by: Gary Lin &lt;glin@suse.com&gt;
Reviewed-by: Jaben Carsey &lt;jaben.carsey@intel.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: Migrate to the new octal literal</title>
<updated>2018-06-27T08:33:27+00:00</updated>
<author>
<name>Gary Lin</name>
<email>glin@suse.com</email>
</author>
<published>2018-06-25T10:31:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=2617a73c3628473bacea887d885bdd1e7808ccc6'/>
<id>urn:sha1:2617a73c3628473bacea887d885bdd1e7808ccc6</id>
<content type='text'>
Change the octal literals according to PEP3127
https://www.python.org/dev/peps/pep-3127/

Contributed-under: TianoCore Contribution Agreement 1.1
Cc: Yonghong Zhu &lt;yonghong.zhu@intel.com&gt;
Cc: Liming Gao &lt;liming.gao@intel.com&gt;
Signed-off-by: Gary Lin &lt;glin@suse.com&gt;
Reviewed-by: Yonghong Zhu &lt;yonghong.zhu@intel.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: loop to retry remove when it fails.</title>
<updated>2018-05-28T01:16:03+00:00</updated>
<author>
<name>Jaben Carsey</name>
<email>jaben.carsey@intel.com</email>
</author>
<published>2018-05-10T15:14:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=efa88d51da7163200f13dfc796a328847c45a058'/>
<id>urn:sha1:efa88d51da7163200f13dfc796a328847c45a058</id>
<content type='text'>
There is a common race condition when the OS fails to release a file
fast enough.  this adds a retry loop.

v2 - Add a timeout.

Cc: Mike Kinney &lt;michael.d.kinney@intel.com&gt;
Cc: Liming Gao &lt;liming.gao@intel.com&gt;
Cc: Yonghong Zhu &lt;yonghong.zhu@intel.com&gt;
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey &lt;jaben.carsey@intel.com&gt;
Reviewed-by: Yonghong Zhu &lt;yonghong.zhu@intel.com&gt;
</content>
</entry>
</feed>
