<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/bitbake/lib/bb/fetch2/hg.py, branch 1.1_M1</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=1.1_M1</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=1.1_M1'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2011-04-20T01:13:26+00:00</updated>
<entry>
<title>bitbake/fetch2: Fix the problems introduced by the git fetcher AUTOREV fix</title>
<updated>2011-04-20T01:13:26+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-04-20T01:13:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c4371138f7444ecaa1fdd2b1ee4949fbc819f886'/>
<id>urn:sha1:c4371138f7444ecaa1fdd2b1ee4949fbc819f886</id>
<content type='text'>
The ordering constrains on the urldata_init functions are not straight
forward. To avoid further problems, create a helper function to setup
the source revisions which the init functions can all at the appropriate
point.

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Fix more incorrect usages of 'is'</title>
<updated>2011-03-31T11:23:23+00:00</updated>
<author>
<name>Chris Larson</name>
<email>chris_larson@mentor.com</email>
</author>
<published>2011-03-08T19:07:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=67fac77e10269099796a6bd03ddaf1580949a4b8'/>
<id>urn:sha1:67fac77e10269099796a6bd03ddaf1580949a4b8</id>
<content type='text'>
(Bitbake rev: a26a2f548419af0e971ad21ec0a29e5245fe307f)

Signed-off-by: Chris Larson &lt;chris_larson@mentor.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>fetch, fetch2: Get rid of DeprecationWarning notice</title>
<updated>2011-03-03T22:51:33+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2011-03-02T08:33:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=54e10127c495bdb31cfef234cd2def0c4f8cf0b0'/>
<id>urn:sha1:54e10127c495bdb31cfef234cd2def0c4f8cf0b0</id>
<content type='text'>
* This patch fixes a cosmetic issue currently we get with master

WARNING: /home/kraj/work/bitbake/lib/bb/fetch2/__init__.py:733:
DeprecationWarning: Call to deprecated function bb.mkdirhier: Please use bb.utils.mkdirhier instead.  bb.mkdirhier("%s/%s" % (rootdir, destdir))

(Bitbake rev: 36fe59ce314c295d239b76de34c8714def2c32d5)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Chris Larson &lt;chris_larson@mentor.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake/fetch2: Add explict network access exception and handling to give users usable error messages</title>
<updated>2011-02-11T22:08:21+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-02-11T22:08:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=029f19bd3d4dc09fb48bf6e5322d48bb84c4eb34'/>
<id>urn:sha1:029f19bd3d4dc09fb48bf6e5322d48bb84c4eb34</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake/fetch2: Update forcefetch and mirror handling to clean up, simplfy and bug fix the code</title>
<updated>2011-02-07T16:52:42+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-02-07T12:08:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=37624b97450f2ba3d6fad3e1e51818486451447e'/>
<id>urn:sha1:37624b97450f2ba3d6fad3e1e51818486451447e</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake/fetch2: Rename Fetch class to FetchMethod</title>
<updated>2011-02-07T09:06:36+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-02-04T10:49:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ab0dd1397491478ee6149283e5ba8775dd8cdc3b'/>
<id>urn:sha1:ab0dd1397491478ee6149283e5ba8775dd8cdc3b</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake/fetch2: Rewrite and improve exception handling, reusing core functions for common operations where possible</title>
<updated>2011-02-07T09:06:36+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-02-04T10:26:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d08397ba4d1331993300eacbb2f78fcfef19c1cf'/>
<id>urn:sha1:d08397ba4d1331993300eacbb2f78fcfef19c1cf</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake/fetch2: Define a sane localpath function and remove code duplication</title>
<updated>2011-02-07T09:06:35+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-02-03T21:20:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=5a52cb80d6d62c704692ad6cfa93426c4a17bc52'/>
<id>urn:sha1:5a52cb80d6d62c704692ad6cfa93426c4a17bc52</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake/fetch2: Move ud.localfile setup into urldata_init</title>
<updated>2011-02-07T09:06:35+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-02-03T21:17:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=972eb5fababb33b5537fcfbbaf8e33ea820f0fee'/>
<id>urn:sha1:972eb5fababb33b5537fcfbbaf8e33ea820f0fee</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>fetch2: Allow multiple src rev to be used in one src_uri</title>
<updated>2011-02-02T17:19:18+00:00</updated>
<author>
<name>Yu Ke</name>
<email>ke.yu@intel.com</email>
</author>
<published>2011-01-26T12:14:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0e837e6844be449659bb96a1498e54a8b9442d13'/>
<id>urn:sha1:0e837e6844be449659bb96a1498e54a8b9442d13</id>
<content type='text'>
* SRC_URI format:
the SRC_URI are extended to allow multiple src rev:
name=&lt;name1&gt;,&lt;name2&gt;,...&lt;name-n&gt;
branch=&lt;branch1&gt;,&lt;branch2&gt;,...,&lt;branch-n&gt;
also SRCREV can be defined with
SRCREV_&lt;name1&gt; = xxxxx
SRCREV_&lt;name2&gt; = xxxxx

* FetchData extention
to support multiple src rev, several FetchData data are added:
- FetchData.names: list of name in SRC_URI,  one name per srcrev. name is the index of revision and branch
- FetchData.revisions: dictionary of name-&gt;revision.
- FetchData.branches: dictionary of name-&gt;branch.

For example, linux-yocto recipes becomes:
SRC_URI = "git://git.pokylinux.org/linux-yocto-2.6.37;protocol=git;branch=${KBRANCH},meta;name=machine,meta"

FetchData.names = ['machine', 'meta']
FetchData.revisions = { 'machine':xxxxx, 'meta':xxxxxx }
FetchData.branches = { 'machine':${KBRANCH}, 'meta':'meta'}

* generic revision handling extension
the related revision handling code in fetch2.__init__.py are changed accordingly. the major change is add name parameter to indicate which src rev to handling. originally there is one src rev per FetchData, so FetchData parameter is enough. now since one FetchData has multiple src rev, it is necessary to use FetchData + name to specifiy src rev.

* git extension
git fetcher are also revised to take advantage of the multiple src rev in FetchData. especially the download() method are enhanced to fetch multiple src rev.

* other fetcher (svn, hg, ...) does not support multiple src rev. they just sync the API to add name, and then simply ignore the name. no actually functional change

Signed-off-by: Yu Ke &lt;ke.yu@intel.com&gt;
</content>
</entry>
</feed>
