<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openembedded-core.git/meta/lib/oe/distro_check.py, branch 2011-1</title>
<subtitle>Mirror of openembedded-core</subtitle>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/'/>
<entry>
<title>distrodata: fix distro_check code</title>
<updated>2011-09-21T12:27:35+00:00</updated>
<author>
<name>Saul Wold</name>
<email>sgw@linux.intel.com</email>
</author>
<published>2011-09-20T20:40:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=edb2a11994ac21e790155ea519bded4b37ef9307'/>
<id>edb2a11994ac21e790155ea519bded4b37ef9307</id>
<content type='text'>
This fixes a problem with package names from inherits showing up

Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes a problem with package names from inherits showing up

Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a new task checklicense and fix some bugs in distro_check.py</title>
<updated>2011-05-17T13:38:52+00:00</updated>
<author>
<name>Mei Lei</name>
<email>lei.mei@intel.com</email>
</author>
<published>2011-05-16T11:06:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=b41148cda9f0cc292b662a8473f26bc1ee0148f3'/>
<id>b41148cda9f0cc292b662a8473f26bc1ee0148f3</id>
<content type='text'>
distro_check.py: Create a new function called create_log_file to reduce a lot of repeat code in distrodata.bbclass.
                 We needn't to create log file in function save_distro_check_result, because the log file has been generated in check_eventhandler.
                 Another bug is that we maybe access the /tmp/Meego-1.0 before we create this file.
                 Add a judge statement to decide whether we need to create this file firstly.
distrodata.bbclass: Add a new task checklicense to collect missing text license information.
                    This can help package-report system to know how many recipes are missing license text.

Signed-off-by: Mei Lei &lt;lei.mei@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
distro_check.py: Create a new function called create_log_file to reduce a lot of repeat code in distrodata.bbclass.
                 We needn't to create log file in function save_distro_check_result, because the log file has been generated in check_eventhandler.
                 Another bug is that we maybe access the /tmp/Meego-1.0 before we create this file.
                 Add a judge statement to decide whether we need to create this file firstly.
distrodata.bbclass: Add a new task checklicense to collect missing text license information.
                    This can help package-report system to know how many recipes are missing license text.

Signed-off-by: Mei Lei &lt;lei.mei@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>distro_check.py: Fix some bugs in distro_check.py</title>
<updated>2011-05-03T23:49:22+00:00</updated>
<author>
<name>Mei Lei</name>
<email>lei.mei@intel.com</email>
</author>
<published>2011-04-28T14:14:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=123a7f49753aef4d5ccb5f5a5590c3c88775c6d0'/>
<id>123a7f49753aef4d5ccb5f5a5590c3c88775c6d0</id>
<content type='text'>
The recipe meta-ide-support's alias is Poky, but not defined in distro_exceptions, this will lead an error.
The compare_in_distro_packages_list function omit a split process, this will lead to a form issue.
Change the log file generate way, use symbolic links link to the latest log file, instead of appending every log file in old log.

Signed-off-by: Mei Lei &lt;lei.mei@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The recipe meta-ide-support's alias is Poky, but not defined in distro_exceptions, this will lead an error.
The compare_in_distro_packages_list function omit a split process, this will lead to a form issue.
Change the log file generate way, use symbolic links link to the latest log file, instead of appending every log file in old log.

Signed-off-by: Mei Lei &lt;lei.mei@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/oe/distro_check.py: Fixup Poky references</title>
<updated>2011-04-21T11:49:36+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-04-21T11:49:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=41c813e0cd5a0de63db325a5926846b67e88c85a'/>
<id>41c813e0cd5a0de63db325a5926846b67e88c85a</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>distrodata: Modify Distro tracking spreadsheet</title>
<updated>2010-10-15T20:55:46+00:00</updated>
<author>
<name>Saul Wold</name>
<email>Saul.Wold@intel.com</email>
</author>
<published>2010-10-15T20:51:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=77176d56fdd4158b34769fecca764a5b9c87e04b'/>
<id>77176d56fdd4158b34769fecca764a5b9c87e04b</id>
<content type='text'>
Signed-off-by: Saul Wold &lt;Saul.Wold@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Saul Wold &lt;Saul.Wold@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>distro_check.py: Added additional support for distro checking</title>
<updated>2010-09-27T15:59:16+00:00</updated>
<author>
<name>Saul Wold</name>
<email>Saul.Wold@intel.com</email>
</author>
<published>2010-09-27T15:41:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=055a7203595821bab051c144cc58e904c1a1df3a'/>
<id>055a7203595821bab051c144cc58e904c1a1df3a</id>
<content type='text'>
    Now tells which section a macth occurs (main vs contrib)
    Keywords for Poky, OpenedHand, ...

Signed-off-by: Saul Wold &lt;Saul.Wold@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    Now tells which section a macth occurs (main vs contrib)
    Keywords for Poky, OpenedHand, ...

Signed-off-by: Saul Wold &lt;Saul.Wold@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Distro Tracking: Updated and add Poky Alias info</title>
<updated>2010-09-17T18:30:43+00:00</updated>
<author>
<name>Saul Wold</name>
<email>Saul.Wold@intel.com</email>
</author>
<published>2010-09-15T01:06:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=ad972a787c4254bde4612710c558dcf76da079a2'/>
<id>ad972a787c4254bde4612710c558dcf76da079a2</id>
<content type='text'>
distro_check.py: Add DISTRO_PN_ALIAS check for Poky, OpenedHand,
                 Intel and Upstream, to mark packages that are
                 not in known upstreams
distro_tracking_fields.inc:
                Merged private files into 1 master file
                Added additional Maintainer Info
                Added Distro Alias information for Poky and OpenedHand

Signed-off-by: Saul Wold &lt;Saul.Wold@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
distro_check.py: Add DISTRO_PN_ALIAS check for Poky, OpenedHand,
                 Intel and Upstream, to mark packages that are
                 not in known upstreams
distro_tracking_fields.inc:
                Merged private files into 1 master file
                Added additional Maintainer Info
                Added Distro Alias information for Poky and OpenedHand

Signed-off-by: Saul Wold &lt;Saul.Wold@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>distro_check: fix for natives, cross, and initial recipe types</title>
<updated>2010-09-02T08:38:35+00:00</updated>
<author>
<name>Saul Wold</name>
<email>Saul.Wold@intel.com</email>
</author>
<published>2010-08-27T02:46:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=68385456af93a6a80c558676fd176e3ec81c9183'/>
<id>68385456af93a6a80c558676fd176e3ec81c9183</id>
<content type='text'>
datetime checking is changed to be once per day

Signed-off-by: Saul Wold &lt;Saul.Wold@intel.com&gt;

distro_check: fix for natives, cross, and initial recipe types

Signed-off-by: Saul Wold &lt;Saul.Wold@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
datetime checking is changed to be once per day

Signed-off-by: Saul Wold &lt;Saul.Wold@intel.com&gt;

distro_check: fix for natives, cross, and initial recipe types

Signed-off-by: Saul Wold &lt;Saul.Wold@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>distro_check: use space as the delimiter for aliases</title>
<updated>2010-09-02T08:38:34+00:00</updated>
<author>
<name>Kevin Tian</name>
<email>kevin.tian@intel.com</email>
</author>
<published>2010-08-31T10:15:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=444e44806530e90300135cc66cf7d160beb1b4be'/>
<id>444e44806530e90300135cc66cf7d160beb1b4be</id>
<content type='text'>
Signed-off-by: Kevin Tian &lt;kevin.tian@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Kevin Tian &lt;kevin.tian@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>do_distro_check: Recipe exists in other distros?</title>
<updated>2010-06-02T13:06:02+00:00</updated>
<author>
<name>Nitin A Kamble</name>
<email>nitin.a.kamble@intel.com</email>
</author>
<published>2010-05-27T19:18:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=5ae3f6553141aecce3b98e0f06e4b99f36764917'/>
<id>5ae3f6553141aecce3b98e0f06e4b99f36764917</id>
<content type='text'>
This adds a new task (distro_check) for each recipe.
The task generates the source package list for Fedora OpenSuSE
Ubuntu Debian &amp; Mandriva Linux distros.

As one recipe or source package can generate multiple target packages
the recipe name is compared with the source package name list of LInux
distributions.

Thread locking is used to avoid multiple threads racing for the
package list update.

Then the recipe name (PN) is checked if it exists in the package
list of distros. And if the DISTRO_PN_ALIAS then it is used to copmare
pacakge_name instead of the PN variable. Just for example the
DISTRO_PN_ALIAS can be defined in the recipe (.bb) files like this

In the file xset_1.0.4.bb:

DISTRO_PN_ALIAS = "Fedora=xorg-x11-server-utils;\
   Ubuntu=x11-xserver-utils; Debian=x11-xserver-utils;Opensuse=xorg-x11"

The final results are stored in the tmp/log/distro_check-${DATETIME}.result
file.

FYI this command will generate the results for all recipies:
bitbake world -f -c distro_check

Signed-off-by: Nitin A Kamble &lt;nitin.a.kamble@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a new task (distro_check) for each recipe.
The task generates the source package list for Fedora OpenSuSE
Ubuntu Debian &amp; Mandriva Linux distros.

As one recipe or source package can generate multiple target packages
the recipe name is compared with the source package name list of LInux
distributions.

Thread locking is used to avoid multiple threads racing for the
package list update.

Then the recipe name (PN) is checked if it exists in the package
list of distros. And if the DISTRO_PN_ALIAS then it is used to copmare
pacakge_name instead of the PN variable. Just for example the
DISTRO_PN_ALIAS can be defined in the recipe (.bb) files like this

In the file xset_1.0.4.bb:

DISTRO_PN_ALIAS = "Fedora=xorg-x11-server-utils;\
   Ubuntu=x11-xserver-utils; Debian=x11-xserver-utils;Opensuse=xorg-x11"

The final results are stored in the tmp/log/distro_check-${DATETIME}.result
file.

FYI this command will generate the results for all recipies:
bitbake world -f -c distro_check

Signed-off-by: Nitin A Kamble &lt;nitin.a.kamble@intel.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
