<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/bitbake/lib/bb/fetch/git.py, branch laverne-4.0</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=laverne-4.0</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=laverne-4.0'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2010-10-20T17:10:51+00:00</updated>
<entry>
<title>bitbake/fetch/git: Ensure fullclone repositories are fully fetched</title>
<updated>2010-10-20T17:10:51+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>rpurdie@linux.intel.com</email>
</author>
<published>2010-10-19T16:17:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=476242adc4a3745dd2f829380e530e15ec3c9a0a'/>
<id>urn:sha1:476242adc4a3745dd2f829380e530e15ec3c9a0a</id>
<content type='text'>
The git fetcher was failing to pull in new branches into a git
repository mirror tarball as the git fetch command being used didn't
add new remote branches.

This patch uses "git fetch --all" for fullclones to ensure any
new remote branches are cloned correctly.

Signed-off-by: Richard Purdie &lt;rpurdie@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>bitbake/fetcher: Deal with a ton of different bugs</title>
<updated>2010-10-20T17:09:12+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>rpurdie@linux.intel.com</email>
</author>
<published>2010-10-19T11:30:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e9ef9424a3fea464c9d44465118ca043ed69303d'/>
<id>urn:sha1:e9ef9424a3fea464c9d44465118ca043ed69303d</id>
<content type='text'>
The more we try and patch up the fetcher code, the more things break. The
code blocks in question are practically unreadable and are full of corner
cases where fetching could fail. In summary the issues noticed included:

a) Always fetching strange broken urls from the premirror for "noclone"
   git repositories
b) Not creating or rewriting .md5 stamp files inconsistently
c) Always fetching git source mirror tarballs from the premirror even
   if they already exist but the checkout directory does now
d) Passing "None" values to os.access() and os.path.extsts() checks under
   certain circumstances
e) Not using fetched git mirror tarballs if the preexist and always
   try and fetch them.

This patch rewrites the sections of code in question to be simpler and
more readable, fixing the above problems and most likely other odd
corner cases.

Signed-off-by: Richard Purdie &lt;rpurdie@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>bitbake/fetch/git.py: Fix git fetcher to correctly use mirror tarballs</title>
<updated>2010-10-20T17:09:01+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>rpurdie@linux.intel.com</email>
</author>
<published>2010-10-18T23:12:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=fc9c11de286b0cff76c190a7ed892b7a2caae42c'/>
<id>urn:sha1:fc9c11de286b0cff76c190a7ed892b7a2caae42c</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;rpurdie@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>bitbake/fetch/git: fix try_premirror() definition .Method takes 4 parameters.</title>
<updated>2010-09-08T14:14:07+00:00</updated>
<author>
<name>Joshua Lock</name>
<email>josh@linux.intel.com</email>
</author>
<published>2010-09-08T14:14:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=04b85116143037ad446011c828a22257fa74f626'/>
<id>urn:sha1:04b85116143037ad446011c828a22257fa74f626</id>
<content type='text'>
Signed-off-by: Joshua Lock &lt;josh@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>bitbake/fetch: add try_premirror method and special case git fetcher</title>
<updated>2010-09-08T13:25:24+00:00</updated>
<author>
<name>Joshua Lock</name>
<email>josh@linux.intel.com</email>
</author>
<published>2010-09-08T13:03:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7117a4458b0bf25dbe380f01e98e236ec3856e26'/>
<id>urn:sha1:7117a4458b0bf25dbe380f01e98e236ec3856e26</id>
<content type='text'>
Add a new method, try_premirror, to the Fetch object which checks to see
whether the file needs to be fetched from a premirror.
Override this in the Git fetcher to only require a pre-mirror fetch when the
clone directory does not exist.

Fixes [BUGID 290]

Signed-off-by: Joshua Lock &lt;josh@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>bitbake/git: define a forcefetch method</title>
<updated>2010-09-01T10:14:41+00:00</updated>
<author>
<name>Joshua Lock</name>
<email>josh@linux.intel.com</email>
</author>
<published>2010-08-27T13:06:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=5c229f921fbd6f1ffae4038c05bf32f9b4051684'/>
<id>urn:sha1:5c229f921fbd6f1ffae4038c05bf32f9b4051684</id>
<content type='text'>
The git fetcher should force a fetch if the required tag is not present in
the local clone, or if the fullclone parameter is set.

Signed-off-by: Joshua Lock &lt;josh@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>bitbake/git.py: Make sure different branches can have different revisions without triggering build count increases</title>
<updated>2010-08-13T10:35:11+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>rpurdie@linux.intel.com</email>
</author>
<published>2010-08-13T10:18:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f3292fa11723c748ef1b4270384abf6d586a822e'/>
<id>urn:sha1:f3292fa11723c748ef1b4270384abf6d586a822e</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;rpurdie@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>bitbake/git.py: Allow tracking of branches in SRC_URI without cloning for use with fullclone</title>
<updated>2010-08-13T10:35:11+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>rpurdie@linux.intel.com</email>
</author>
<published>2010-08-13T10:18:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a18e9b4f9336ac733265f83db68fc17659d7433c'/>
<id>urn:sha1:a18e9b4f9336ac733265f83db68fc17659d7433c</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;rpurdie@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>bitbake/git.py: Make sure a full clone checkout always updates</title>
<updated>2010-08-13T10:35:11+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>rpurdie@linux.intel.com</email>
</author>
<published>2010-08-13T10:08:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0ea4b896495be47e6403595d8419648f2aae68dc'/>
<id>urn:sha1:0ea4b896495be47e6403595d8419648f2aae68dc</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;rpurdie@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>Apply the 2to3 print function transform</title>
<updated>2010-07-02T14:41:33+00:00</updated>
<author>
<name>Chris Larson</name>
<email>chris_larson@mentor.com</email>
</author>
<published>2010-04-10T02:46:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ad543e2e41b7e86d83cf0518b096ef82627bf891'/>
<id>urn:sha1:ad543e2e41b7e86d83cf0518b096ef82627bf891</id>
<content type='text'>
(Bitbake rev: ff2e28d0d9723ccd0e9dd635447b6d889cc9f597)

Signed-off-by: Chris Larson &lt;chris_larson@mentor.com&gt;
Signed-off-by: Richard Purdie &lt;rpurdie@linux.intel.com&gt;
</content>
</entry>
</feed>
