generic-poky/bitbake/lib/bb/fetch2
Richard Purdie 84d5924012 bitbake: fetch2: Handle lockfiles for file:// urls redirected to mirrors
We recently dropped lockfiles for file:// urls which in itself makes
sense.

If a file url redirects to something like an http:// mirror, we'd have
no lock taken for the original file and could race against others
trying to download the file. We therefore need to ensure there is a
lock taken in the mirror handling code.

This adds code to take such a lock, assuming it isn't the same lock
as the parent url.

(Bitbake rev: 913b6ce22cd50eac96e8937c5ffc704bfce2c023)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-26 07:34:58 +00:00
..
__init__.py bitbake: fetch2: Handle lockfiles for file:// urls redirected to mirrors 2016-03-26 07:34:58 +00:00
bzr.py bitbake: fetch2: Correct a few calls to latest_revision() 2013-11-25 13:02:27 +00:00
clearcase.py bitbake: bitbake: Add explict getVar param for (non) expansion 2015-06-23 11:57:53 +01:00
cvs.py bitbake: fetch2: Stop passing around the pointless url parameter 2013-11-22 12:03:02 +00:00
git.py bitbake: Revert "fetch/git: Change to use clearer ssh url syntax for broken servers" 2016-01-15 15:02:40 +00:00
gitannex.py bitbake: fetch2/gitannex: Fix function arguments to match bitbake master 2014-01-08 15:27:37 +00:00
gitsm.py bitbake: bitbake: fetch2/gitsm: Fix fetch when the repository contains nested submodules 2016-03-26 07:34:58 +00:00
hg.py bitbake: fetch2/hg: Include missing errno import 2015-10-16 14:13:24 +01:00
local.py bitbake: fetch2: Skip lockfiles and donestamps for local files 2016-02-28 11:34:38 +00:00
npm.py bitbake: fetch2/npm: fix ud.registry so that alternative registries can be handled 2016-03-12 09:35:52 +00:00
osc.py bitbake: fetch2/osc: Clean up old variable syntax 2016-02-06 23:13:47 +00:00
perforce.py bitbake: fetch/perforce: Fix single file checkouts 2015-06-27 22:51:20 +01:00
repo.py bitbake: fetch2: Stop passing around the pointless url parameter 2013-11-22 12:03:02 +00:00
sftp.py bitbake: fetch2/sftp: Set BatchMode=yes as argument to sftp 2015-07-12 22:50:41 +01:00
ssh.py bitbake: bb/fetch2/ssh.py: Fix urldata.localpath use os.path.normpath 2015-01-14 11:32:01 +00:00
svn.py bitbake: fetcher: svn: Add support for checkout to a custom path 2015-10-27 07:24:30 +00:00
wget.py bitbake: fetch2/wget: Set localfile for directories 2016-02-28 11:34:38 +00:00