diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2019-01-15 16:31:36 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-16 15:35:08 +0000 |
commit | a9cf611e7a689571a5b4a70c0fe76de89476cc7d (patch) | |
tree | 6d507dbe9e5ba59be9f2f0ef2878708e50e3cb73 /bitbake/lib/bb/fetch2/clearcase.py | |
parent | cd1430e379c9c63bacd4d0ccce0fc567d98a1e4a (diff) | |
download | poky-a9cf611e7a689571a5b4a70c0fe76de89476cc7d.tar.gz |
bitbake: gitsm.py: Rework the shallow fetcher and test case
A custom shallow submodule is no longer necessary, as the regular git
fetcher is used and shallow handling works with the same code.
The only general difference between the regular change is simply declaring a
clone as shallow, when appropriate.
This also removes a potential race condition in copying repositories
vs cloning them.
The gitsm shallow fetcher test was revised to verify that the submodule
is shallow cloned along with the primary repository.
The first step of this change was to be sure to clean the gitsubmodule download
directory, as was previously done with the may gitsource directory.
Additional test components were added to verify commit counts, and an
obsolete (and likely incorrect) test for the .git/modules directory to be
empty was also removed.
(Bitbake rev: f9cc4684dcf4281acc557cda8cb35602354ac3d6)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/clearcase.py')
0 files changed, 0 insertions, 0 deletions