<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/scripts/combo-layer, branch 2.2_M1</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=2.2_M1</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=2.2_M1'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2016-06-03T12:13:29+00:00</updated>
<entry>
<title>scripts: python3: change python to python3 in shebang</title>
<updated>2016-06-03T12:13:29+00:00</updated>
<author>
<name>Ed Bartosh</name>
<email>ed.bartosh@linux.intel.com</email>
</author>
<published>2016-06-02T10:13:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=cdff6bc0c154a5d58a6e6892979af4f99d5a0d74'/>
<id>urn:sha1:cdff6bc0c154a5d58a6e6892979af4f99d5a0d74</id>
<content type='text'>
(From OE-Core rev: 4b544ff388497cac82b0585f237900595523e1cb)

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: decode subprocess output</title>
<updated>2016-06-03T12:13:29+00:00</updated>
<author>
<name>Ed Bartosh</name>
<email>ed.bartosh@linux.intel.com</email>
</author>
<published>2016-06-02T10:13:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=4e36eeee7797ed1e3418b3ccb81797211edab573'/>
<id>urn:sha1:4e36eeee7797ed1e3418b3ccb81797211edab573</id>
<content type='text'>
stdeout and stderr content returned by subprocess API has different
types in Python 3(bytes) and Python 2(string). Decoding it to
'utf-8' makes it unicode on both pythons.

(From OE-Core rev: ae4d36375683b6cfd48af25bfca70b2e77f7ade5)

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>combo-layer: python3: use tempfile.TemporaryFile</title>
<updated>2016-06-03T12:13:29+00:00</updated>
<author>
<name>Ed Bartosh</name>
<email>ed.bartosh@linux.intel.com</email>
</author>
<published>2016-06-02T10:13:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a8314b9531c82d8e9a33792af8a804da2ad2a8fb'/>
<id>urn:sha1:a8314b9531c82d8e9a33792af8a804da2ad2a8fb</id>
<content type='text'>
Used tempfile.TemporaryFile() API instead of deprecated
os.tmpfile().

(From OE-Core rev: bf1b411eb1cd2cc960325d5fdb0cb4f4f7b1e40e)

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>combo-layer: python3: import reduce</title>
<updated>2016-06-03T12:13:29+00:00</updated>
<author>
<name>Ed Bartosh</name>
<email>ed.bartosh@linux.intel.com</email>
</author>
<published>2016-06-02T10:12:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a4045424afbb0634bce0e1d22d73839128020983'/>
<id>urn:sha1:a4045424afbb0634bce0e1d22d73839128020983</id>
<content type='text'>
Reduce is not a builtin function in python3.
It has to be imported from functools.

(From OE-Core rev: f9bda8b36decb5a837adcfeb1173092401988801)

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 style except statement</title>
<updated>2016-06-03T12:13:28+00:00</updated>
<author>
<name>Ed Bartosh</name>
<email>ed.bartosh@linux.intel.com</email>
</author>
<published>2016-06-02T10:12:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ee31bad7627a7c8590a5a7dd3ffc210872067f44'/>
<id>urn:sha1:ee31bad7627a7c8590a5a7dd3ffc210872067f44</id>
<content type='text'>
Changed old syle except statements 'except &lt;exception&gt;, var'
to new style 'except &lt;exception&gt; as var' as old style is not
supported in python3.

(From OE-Core rev: 438eabc248f272e3d272aecaa4c9cec177b172d5)

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: convert iterables to lists</title>
<updated>2016-06-03T12:13:28+00:00</updated>
<author>
<name>Ed Bartosh</name>
<email>ed.bartosh@linux.intel.com</email>
</author>
<published>2016-06-02T10:12:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=07c97db27288cf806900b13e55fe37e4bf22e889'/>
<id>urn:sha1:07c97db27288cf806900b13e55fe37e4bf22e889</id>
<content type='text'>
Converted return value of items() keys() and values() to
lists when dictionary is modified in the loop and when
the result is added to the list.

(From OE-Core rev: 874a269eb1d70060c2f3b3f8b70800e2aea789f4)

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: Rename ConfigParser -&gt; configparser for python3</title>
<updated>2016-06-02T07:24:01+00:00</updated>
<author>
<name>Ed Bartosh</name>
<email>ed.bartosh@linux.intel.com</email>
</author>
<published>2016-05-19T09:28:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=fa4275bbc0098124f3b44e0eafae83692db778b9'/>
<id>urn:sha1:fa4275bbc0098124f3b44e0eafae83692db778b9</id>
<content type='text'>
The ConfigParser API was renamed to configparser in python 3.
Renamed ConfigParser -&gt; configparser in scripts/ to make the
code working in python 3.

(From OE-Core rev: de6e98f272e623ce72e724e66920eecf10cb2d41)

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: Fix deprecated dict methods for python3</title>
<updated>2016-06-02T07:24:01+00:00</updated>
<author>
<name>Ed Bartosh</name>
<email>ed.bartosh@linux.intel.com</email>
</author>
<published>2016-05-18T18:39:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7eab022d4b484aec40998f95835ba46c5da168cf'/>
<id>urn:sha1:7eab022d4b484aec40998f95835ba46c5da168cf</id>
<content type='text'>
Replaced iteritems -&gt; items, itervalues -&gt; values,
iterkeys -&gt; keys or 'in'

(From OE-Core rev: 25d4d8274bac696a484f83d7f3ada778cf95f4d0)

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 print function</title>
<updated>2016-06-01T11:47:10+00:00</updated>
<author>
<name>Ed Bartosh</name>
<email>ed.bartosh@linux.intel.com</email>
</author>
<published>2016-05-30T15:14:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=2e388048b61f6029bae1913cbb546ac40b9cfe51'/>
<id>urn:sha1:2e388048b61f6029bae1913cbb546ac40b9cfe51</id>
<content type='text'>
Used print function instead of print statement to make
the code work in python 3.

(From OE-Core rev: 80fecc44761fa38ccf2e4dc6897b9f1f0c9c1ed0)

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>combo-layer: avoid too long command lines in update with history</title>
<updated>2016-05-14T22:05:13+00:00</updated>
<author>
<name>Patrick Ohly</name>
<email>patrick.ohly@intel.com</email>
</author>
<published>2016-05-13T16:56:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=4dadbbdd46195fc60cd91f589102bca31cea3c2e'/>
<id>urn:sha1:4dadbbdd46195fc60cd91f589102bca31cea3c2e</id>
<content type='text'>
As suspected, invoking "git archive" with all intended files as
parameters can run into command line length limitations. Splitting up
the parameters into multiple invocations (xargs-style) works and was
tested after encountering the situation in practice.

(From OE-Core rev: 1cb484ab99eabb5c24792757ab09d7f170f2e614)

Signed-off-by: Patrick Ohly &lt;patrick.ohly@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
