<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/classes/buildhistory.bbclass, branch 3.2_M2</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=3.2_M2</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=3.2_M2'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2020-07-25T14:11:05+00:00</updated>
<entry>
<title>buildhistory: use pid for temporary txt file name</title>
<updated>2020-07-25T14:11:05+00:00</updated>
<author>
<name>Lee Chee Yang</name>
<email>chee.yang.lee@intel.com</email>
</author>
<published>2020-07-23T01:16:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=4eef15704a58f65514d7e7b43d8abe3b3f78fcca'/>
<id>urn:sha1:4eef15704a58f65514d7e7b43d8abe3b3f78fcca</id>
<content type='text'>
buildhistory create .txt file bh_installed_pkgs.txt and
bh_installed_pkgs_deps.txt while listing down installed package.
These file is later removed in buildhistory_get_installed().

when multiple process runs in parellal there are chances to race for
the file where one process created the file while another task remove
the file right after it.

using different file name for each process should avoid the race. So
add PID to the file name to make it unique.

[yocto #13709]

(From OE-Core rev: 214d236d93700abffa2d586cc744a00455818fa4)

Signed-off-by: Lee Chee Yang &lt;chee.yang.lee@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>classes/buildhistory: capture package config</title>
<updated>2020-06-04T12:27:32+00:00</updated>
<author>
<name>Jan Luebbe</name>
<email>jlu@pengutronix.de</email>
</author>
<published>2020-06-03T08:12:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e4faf3b3d00ec11e39e76120617e5a782c322920'/>
<id>urn:sha1:e4faf3b3d00ec11e39e76120617e5a782c322920</id>
<content type='text'>
As the PACKAGECONFIG variable has a large influence on the resulting
package sizes and dependencies, it's useful to capture it in the
recipe-level buildhistory. This makes it straightforward to analyze the
impact of PACKAGECONFIG changes on the resulting image size.

(From OE-Core rev: 189fae9f2df58759e9d66a3877c9ef30df4854bf)

Signed-off-by: Jan Luebbe &lt;jlu@pengutronix.de&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>buildhistory: Allow customising buildhistory tags</title>
<updated>2020-02-04T15:56:29+00:00</updated>
<author>
<name>Daniel McGregor</name>
<email>daniel.mcgregor@vecima.com</email>
</author>
<published>2020-01-23T21:44:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0a99a2e2da76bff9edec3193af11f35506b2a88c'/>
<id>urn:sha1:0a99a2e2da76bff9edec3193af11f35506b2a88c</id>
<content type='text'>
Allow setting custom buildhistory tag prefixes. This allows multiple
build directories to share one buildhistory git repository with multiple
worktrees.

(From OE-Core rev: 1bb2aa53a74e36dc3ba901b9d8ce780e7880cef8)

Signed-off-by: Daniel McGregor &lt;daniel.mcgregor@vecima.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>buildhistory: fix "version went backwards" QA error message</title>
<updated>2019-11-14T13:20:59+00:00</updated>
<author>
<name>Denys Dmytriyenko</name>
<email>denys@ti.com</email>
</author>
<published>2019-11-08T20:59:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d71fb563c182f241511fe968405375fdac93611f'/>
<id>urn:sha1:d71fb563c182f241511fe968405375fdac93611f</id>
<content type='text'>
Fix parentheses placement in the message from:
Package version for package X went backwards which would break package feeds from (Y to Z)
to this one:
Package version for package X went backwards which would break package feeds (from Y to Z)

(From OE-Core rev: 3a5a61fb6b3f811bd4f7232ba902afcfd2019154)

Signed-off-by: Denys Dmytriyenko &lt;denys@ti.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>buildhistory: filter out the unexpected prefix for native/cross sysroots</title>
<updated>2019-07-10T08:56:22+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2019-07-08T23:46:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=628c03af41c7d24d6149da522ceb52ff70513884'/>
<id>urn:sha1:628c03af41c7d24d6149da522ceb52ff70513884</id>
<content type='text'>
For various technical reasons, native and cross builds have a prefix that
includes the full path to the sysroot.  As these are stripped away before the
files are used in the sysroot, we should also filter them out of the
buildhistory report.  This both removes noise when sharing a buildhistory
repository between different build directories, and improves the accuracy of the
reports.

(From OE-Core rev: 8bf53fbb62749b5d77c246fab6e1246b93f8c50f)

Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>buildhistory: don't output ownership for the sysroot</title>
<updated>2019-07-10T08:56:22+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2019-07-08T23:46:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f74e8081ad229b07b19b205d73748e56b5b73d5e'/>
<id>urn:sha1:f74e8081ad229b07b19b205d73748e56b5b73d5e</id>
<content type='text'>
As the sysroot isn't ran inside pseudo the ownership is whoever is running the
builds.  In a setup where multiple builders all contribute to a shared
buildhistory writing the ownership data isn't useful, so just replace it with "-
-".

(From OE-Core rev: fadb7ae78876a7cf25c48481ff4ed3131e53415f)

Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>buildhistory: write the contents of the sysroot</title>
<updated>2019-06-28T12:28:37+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2019-04-25T23:35:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d533ffb82c9585037a6bae6fd862d53222fecb0e'/>
<id>urn:sha1:d533ffb82c9585037a6bae6fd862d53222fecb0e</id>
<content type='text'>
Changes to the sysroot are just as interesting during development, so write the
file listing for the sysroot to buildhistory too.

(From OE-Core rev: b3ac82a27ab70ed6996fe3087a578ac637820329)

Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>buildhistory: show time spent writting buildhistory</title>
<updated>2019-06-19T11:46:43+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>martin.jansa@gmail.com</email>
</author>
<published>2019-06-18T07:51:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=37e5436e1e7802347aaed18b9fd5cb4496f6cc1c'/>
<id>urn:sha1:37e5436e1e7802347aaed18b9fd5cb4496f6cc1c</id>
<content type='text'>
* especially when pushing longer history to slow remote git server or when
  it timeouts during the push, it's useful to see where the time was actually
  spent

(From OE-Core rev: 96f1225d47985d94d9ed91eb5e7affdd70671c79)

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>classes/buildhistory: display modified git branches</title>
<updated>2019-01-14T17:38:24+00:00</updated>
<author>
<name>André Draszik</name>
<email>andre.draszik@jci.com</email>
</author>
<published>2019-01-14T10:31:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=181e3a8446a93e94a4dbc4a564adbf9f5b4c08ad'/>
<id>urn:sha1:181e3a8446a93e94a4dbc4a564adbf9f5b4c08ad</id>
<content type='text'>
When collecting the git revision of repositories, also take
note of whether or not that repository has uncommited
changes.

This makes it a bit clearer what went on when looking at
diffs.

(From OE-Core rev: b9d780c7eeda0fefb13edde8bdba4f1d91e7823c)

Signed-off-by: André Draszik &lt;andre.draszik@jci.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>buildhistory: simplify buildhistory_list_files()</title>
<updated>2019-01-11T10:39:09+00:00</updated>
<author>
<name>Jacob Kroon</name>
<email>jacob.kroon@gmail.com</email>
</author>
<published>2019-01-06T18:13:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=18c1b63cb2d317f6f60ab19c65b16f330f8ceb0a'/>
<id>urn:sha1:18c1b63cb2d317f6f60ab19c65b16f330f8ceb0a</id>
<content type='text'>
Avoid duplicating shell code for the two cases, fakeroot/non-fakeroot.

(From OE-Core rev: c4a931df28f45f95f19a13062b8dc38db60da342)

Signed-off-by: Jacob Kroon &lt;jacob.kroon@gmail.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
