<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/scripts/lib/bsp/engine.py, branch yocto-2.2.1</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=yocto-2.2.1</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=yocto-2.2.1'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2016-07-07T12:38:13+00:00</updated>
<entry>
<title>yocto-bsp: Refactor script to use argparse instead of optparse</title>
<updated>2016-07-07T12:38:13+00:00</updated>
<author>
<name>Humberto Ibarra</name>
<email>humberto.ibarra.lopez@intel.com</email>
</author>
<published>2016-07-04T20:33:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=479d15b32691def9de4f4d792ee077168b956635'/>
<id>urn:sha1:479d15b32691def9de4f4d792ee077168b956635</id>
<content type='text'>
Optparse is deprecated and should be avoided. The arparse library is better suited and has more tools to handling the parsing of arguments. This patch makes necessary changes to migrate to the better library and uses arparse subcommand feature to improve organization of this script.

[YOCTO #8321]

(From meta-yocto rev: 3f45993b96d4d960da0efe8672dc323c9db091a2)

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>scripts/lib/bsp/engine.py: Add error message for wrong input file</title>
<updated>2016-07-07T12:38:13+00:00</updated>
<author>
<name>Humberto Ibarra</name>
<email>humberto.ibarra.lopez@intel.com</email>
</author>
<published>2016-07-04T19:54:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=4252ec78a491f2828fb39d2087ace6e4c1339414'/>
<id>urn:sha1:4252ec78a491f2828fb39d2087ace6e4c1339414</id>
<content type='text'>
Format of properties file is expected to be a simple json detailing properties, if this format fails an exception is thrown. This patch adds a graceful error message to the case when the properties file has a wrong format.

[YOCTO #9750]

(From meta-yocto rev: 7e543aa19d0d4b2112e6316783fb31b76df3493e)

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>scripts/lib/bsp/engine.py: Added missing parentheses to string formatting</title>
<updated>2016-06-12T22:47:19+00:00</updated>
<author>
<name>Humberto Ibarra</name>
<email>humberto.ibarra.lopez@intel.com</email>
</author>
<published>2016-06-09T17:07:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a1a0ce1a0064e29159555011ebd667192132e0ce'/>
<id>urn:sha1:a1a0ce1a0064e29159555011ebd667192132e0ce</id>
<content type='text'>
Commit ab75075e7941c8c2ec429c180976702cd311c978 broke the string formatting
for multiple arguments. Since parentheses were removed the formatting considers
only first argument instead of all of them. Fixed parentheses on the formatting.

[YOCTO #9723]

(From meta-yocto rev: d6d641d5b4bb0c8b9acd5cd1341a4a3214bff086)

Signed-off-by: Humberto Ibarra &lt;humberto.ibarra.lopez@intel.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>
<entry>
<title>scripts/lib/bsp/engine.py: Rename raw_input commands to input</title>
<updated>2016-06-12T22:47:19+00:00</updated>
<author>
<name>Humberto Ibarra</name>
<email>humberto.ibarra.lopez@intel.com</email>
</author>
<published>2016-06-09T17:07:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=dd20de9c3e70628612db1ebab36bf25fa5d80779'/>
<id>urn:sha1:dd20de9c3e70628612db1ebab36bf25fa5d80779</id>
<content type='text'>
According to https://docs.python.org/3/whatsnew/3.0.html python3
renamed 'raw_input' to 'input'. Making the appropiate changes for
this.

[YOCTO #9723]

(From meta-yocto rev: 76efeeeac7fb30b44ee7057b3b3d1fd84329dae1)

Signed-off-by: Humberto Ibarra &lt;humberto.ibarra.lopez@intel.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>
<entry>
<title>scripts/lib/bsp/engine.py: Added missing keyword to fix syntax error</title>
<updated>2016-06-07T14:16:02+00:00</updated>
<author>
<name>Humberto Ibarra</name>
<email>humberto.ibarra.lopez@intel.com</email>
</author>
<published>2016-06-06T17:33:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c2dbcbbac48127cd014592443a6ac6062c95566f'/>
<id>urn:sha1:c2dbcbbac48127cd014592443a6ac6062c95566f</id>
<content type='text'>
Commit af9f6b88fcc5d7fddff01595f9bcf2aba548720 introduced a syntax
error in engine.py by removing keyword "in". This patch adds it back.

[Yocto #9719]

(From meta-yocto rev: 49f02f3344617f8b077edf61e8f5ead05e8405eb)

Signed-off-by: Humberto Ibarra &lt;humberto.ibarra.lopez@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>engine: python3: replace iteritems() -&gt; items()</title>
<updated>2016-06-03T12:13:31+00:00</updated>
<author>
<name>Ed Bartosh</name>
<email>ed.bartosh@linux.intel.com</email>
</author>
<published>2016-06-02T10:12:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3af9f6b88fcc5d7fddff01595f9bcf2aba548720'/>
<id>urn:sha1:3af9f6b88fcc5d7fddff01595f9bcf2aba548720</id>
<content type='text'>
Used items() as iteritems() doesn't exist in python 3.

(From meta-yocto rev: 0fd2e739cd14c6a02b6f4610176a0ad29b2ecc0e)

Signed-off-by: Ed Bartosh &lt;ed.bartosh@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>scripts: python3: replace exec statement with builtin</title>
<updated>2016-06-03T12:13:31+00:00</updated>
<author>
<name>Ed Bartosh</name>
<email>ed.bartosh@linux.intel.com</email>
</author>
<published>2016-06-02T10:12:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c67597468057745534f2b6ee1b2dbd9fb00ac12d'/>
<id>urn:sha1:c67597468057745534f2b6ee1b2dbd9fb00ac12d</id>
<content type='text'>
Used exec() builtin instead of 'exec' statement as
this statement doesn't exist in python 3.

(From meta-yocto rev: ceb6c6fac212c5e1e76bf58b793dc2b9420b4a66)

Signed-off-by: Ed Bartosh &lt;ed.bartosh@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>scripts: python3: use explicit relative imports</title>
<updated>2016-06-03T12:13:31+00:00</updated>
<author>
<name>Ed Bartosh</name>
<email>ed.bartosh@linux.intel.com</email>
</author>
<published>2016-06-02T10:12:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=059dd9f733d295f9e7c6f3cb737f66f9cf3dd984'/>
<id>urn:sha1:059dd9f733d295f9e7c6f3cb737f66f9cf3dd984</id>
<content type='text'>
Implicit relative imports within packages are not supported in
python 3. They have to be converted to explicit imports.

Used 'from .module import' syntax for relative imports.

(From meta-yocto rev: 8eb2befc544e29fd87ac1fc75886cc6d7f40ad90)

Signed-off-by: Ed Bartosh &lt;ed.bartosh@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>engine.py: python3: rename sys.maxint to sys.maxsize</title>
<updated>2016-06-03T12:13:31+00:00</updated>
<author>
<name>Ed Bartosh</name>
<email>ed.bartosh@linux.intel.com</email>
</author>
<published>2016-06-02T10:12:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d1421dfbd2136d7c87824b383eaba9fb8ec3a926'/>
<id>urn:sha1:d1421dfbd2136d7c87824b383eaba9fb8ec3a926</id>
<content type='text'>
Renamed sys.maxint -&gt; sys.maxsize as sys.maxint doesn't
exist in python 3.

(From meta-yocto rev: b165be8c7f6d44c03bc76dd25c2b9e4cb54bb65a)

Signed-off-by: Ed Bartosh &lt;ed.bartosh@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>scripts: python3: use new metaclass syntax</title>
<updated>2016-06-03T12:13:31+00:00</updated>
<author>
<name>Ed Bartosh</name>
<email>ed.bartosh@linux.intel.com</email>
</author>
<published>2016-06-02T10:12:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ecc91840bfe37f2ff549cce931b98a4d7e37f193'/>
<id>urn:sha1:ecc91840bfe37f2ff549cce931b98a4d7e37f193</id>
<content type='text'>
Used metaclass=&lt;metaclass&gt; syntax instead old
__metaclass__ = &lt;metaclass&gt; as only new one is supported
in python 3.

(From meta-yocto rev: 70ba79981d904b4b67440c0b5755b5449cddb025)

Signed-off-by: Ed Bartosh &lt;ed.bartosh@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
