generic-poky/bitbake/lib/bb/fetch2
Bruce Ashfield 408fd37529 fetch2/git: create bareclone option
For similar reasons as the nocheckout option, packages that need
enhanced control over the checkout and branch creation on a repository
may want a complete mirror/bareclone created of the repository when
performing the unpack.

This is useful/required when a local respository is being used, but
local tracking branches have not been created for all branches that
a given recipe needs to manipulate. The standard git clone operations
will create remote branches for the branches that are local to the
source repository, but branches that are remote do not translate to
the destination repository. Doing a mirror/bare clone of the source,
makes all branches available to the repository.

This is a particular use case, but the ability to do a bare clone
creates great flexibility in recipe space, with no impact to recipes
that don't need this functionality.

To implement this, a new option 'bareclone' is craeted which creates
a mirror copy of the repository and leaves it bare in the unpacking
phase. A recipe that uses this option must both checkout and debare
the repository itself.

(Bitbake rev: 82482aae6f311c994275fb0b6b32d954bbfc78c3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-24 16:40:08 +00:00
..
__init__.py bitbake/fetch2: allow resuming interrupted fetch 2012-01-20 16:47:39 +00:00
bzr.py bitbake/fetch2: Fix the problems introduced by the git fetcher AUTOREV fix 2011-04-20 02:13:26 +01:00
cvs.py fetch, fetch2: Get rid of DeprecationWarning notice 2011-03-03 22:51:33 +00:00
git.py fetch2/git: create bareclone option 2012-02-24 16:40:08 +00:00
hg.py Fix mercurial fetcher in fetch2 2011-09-21 14:07:31 +01:00
local.py fetch2/local: Don't default to files in DL_DIR for file:// urls 2011-11-24 22:11:44 +00:00
osc.py Fix more incorrect usages of 'is' 2011-03-31 12:23:23 +01:00
perforce.py fetch, fetch2: Get rid of DeprecationWarning notice 2011-03-03 22:51:33 +00:00
repo.py fetch, fetch2: Get rid of DeprecationWarning notice 2011-03-03 22:51:33 +00:00
ssh.py bitbake/fetch2: Add explict network access exception and handling to give users usable error messages 2011-02-11 22:08:21 +00:00
svk.py fetch, fetch2: Get rid of DeprecationWarning notice 2011-03-03 22:51:33 +00:00
svn.py bitbake/fetch2: Fix the problems introduced by the git fetcher AUTOREV fix 2011-04-20 02:13:26 +01:00
wget.py fetch2/wget: make checkstatus() quieter 2011-09-20 22:24:09 +01:00