poky/bitbake/lib/bb/fetch2
Christopher Larson 35ecff3cf0 bitbake: fetch/git: add support for removing arbitrary revs for shallow
In certain cases, it's valuable to be able to exert more control over what
history is removed, beyond srcrev+depth. As one example, you can remove most
of the upstream kernel history from a kernel repository, keeping predominently
the non-publically-accessible content. If the repository is private, the
history in that repo couldn't be restored via `git fetch --unshallow`, but
upstream history could be.

Example usage:

    # Remove only these revs, not at a particular depth
    BB_GIT_SHALLOW_DEPTH_pn-linux-foo = "0"
    BB_GIT_SHALLOW_REVS_pn-linux-foo = "v4.1"

(Bitbake rev: 97f856f0455d014ea34c28b1c25f09e13cdc851b)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-02 13:36:57 +01:00
..
__init__.py bitbake: fetch: support multiple mirror tarball filenames 2017-06-02 13:36:57 +01:00
bzr.py bitbake: fetch2: don't use deprecated bb.data APIs 2017-03-01 11:16:07 +00:00
clearcase.py bitbake: fetch2: don't use deprecated bb.data APIs 2017-03-01 11:16:07 +00:00
cvs.py bitbake: fetch2: don't use deprecated bb.data APIs 2017-03-01 11:16:07 +00:00
git.py bitbake: fetch/git: add support for removing arbitrary revs for shallow 2017-06-02 13:36:57 +01:00
gitannex.py bitbake: fetch/gitannex: add support for shallow mirror tarballs 2017-06-02 13:36:57 +01:00
gitsm.py bitbake: fetch/gitsm: add support for shallow mirror tarballs 2017-06-02 13:36:57 +01:00
hg.py bitbake: fetch: support multiple mirror tarball filenames 2017-06-02 13:36:57 +01:00
local.py bitbake: fetch/local: Drop FILESDIR 2017-04-05 23:20:03 +01:00
npm.py bitbake: fetch: support multiple mirror tarball filenames 2017-06-02 13:36:57 +01:00
osc.py bitbake: fetch2: don't use deprecated bb.data APIs 2017-03-01 11:16:07 +00:00
perforce.py bitbake: fetch2: don't use deprecated bb.data APIs 2017-03-01 11:16:07 +00:00
repo.py bitbake: fetch2: don't use deprecated bb.data APIs 2017-03-01 11:16:07 +00:00
s3.py bitbake: s3.py: Remove hardcoded aws 2017-03-30 10:42:18 +01:00
sftp.py bitbake: fetch2: don't use deprecated bb.data APIs 2017-03-01 11:16:07 +00:00
ssh.py bitbake: fetch2: don't use deprecated bb.data APIs 2017-03-01 11:16:07 +00:00
svn.py bitbake: fetch2: don't use deprecated bb.data APIs 2017-03-01 11:16:07 +00:00
wget.py bitbake: wget: Fix handling of urls with user/password 2017-03-31 10:08:36 +01:00