Lines Matching full:git

201         "git:///path/example.git": {
202 'uri': 'git:///path/example.git',
203 'scheme': 'git',
207 'path': '/path/example.git',
216 "git:path/example.git": {
217 'uri': 'git:path/example.git',
218 'scheme': 'git',
222 'path': 'path/example.git',
231 "git://example.net/path/example.git": {
232 'uri': 'git://example.net/path/example.git',
233 'scheme': 'git',
237 'path': '/path/example.git',
246 "git://tfs-example.org:22/tfs/example%20path/example.git": {
247 'uri': 'git://tfs-example.org:22/tfs/example%20path/example.git',
248 'scheme': 'git',
252 'path': '/tfs/example path/example.git',
397 def git(self, cmd, cwd=None): member in FetcherTest
399 cmd = 'git ' + cmd
401 cmd = ['git'] + cmd
407 self.git('init', cwd=cwd)
408 if not self.git(['config', 'user.email'], cwd=cwd):
409 self.git(['config', 'user.email', 'you@example.com'], cwd=cwd)
410 if not self.git(['config', 'user.name'], cwd=cwd):
411 self.git(['config', 'user.name', 'Your Name'], cwd=cwd)
416 …("git://git.invalid.infradead.org/mtd-utils.git;tag=1234567890123456789012345678901234567890", "gi…
417 : "http://somewhere.org/somedir/git2_git.invalid.infradead.org.mtd-utils.git.tar.gz",
418 …("git://git.invalid.infradead.org/mtd-utils.git;tag=1234567890123456789012345678901234567890", "gi…
419 …: "git://somewhere.org/somedir/mtd-utils.git;tag=1234567890123456789012345678901234567890;protocol…
420 …("git://git.invalid.infradead.org/foo/mtd-utils.git;tag=1234567890123456789012345678901234567890",…
421 …: "git://somewhere.org/somedir/mtd-utils.git;tag=1234567890123456789012345678901234567890;protocol…
422 …("git://git.invalid.infradead.org/foo/mtd-utils.git;tag=1234567890123456789012345678901234567890",…
423 … : "git://somewhere.org/mtd-utils.git;tag=1234567890123456789012345678901234567890;protocol=http",
424 …("git://someserver.org/bitbake;tag=1234567890123456789012345678901234567890", "git://someserver.or…
425 : "git://git.openembedded.org/bitbake;tag=1234567890123456789012345678901234567890",
438 …("git://git.invalid.infradead.org/mtd-utils.git;tag=1234567890123456789012345678901234567890", "gi…
439 …: "git://somewhere.org/somedir/mtd-utils.git;tag=1234567890123456789012345678901234567890;protocol…
440 …("git://git.invalid.infradead.org/foo/mtd-utils.git;tag=1234567890123456789012345678901234567890",…
441 …: "git://somewhere.org/somedir/mtd-utils.git;tag=1234567890123456789012345678901234567890;protocol…
442 …("git://git.invalid.infradead.org/foo/mtd-utils.git;tag=1234567890123456789012345678901234567890",…
443 …: "git://somewhere.org/somedir/git.invalid.infradead.org.foo.mtd-utils.git;tag=1234567890123456789…
448 …("git://someserver.org/bitbake;tag=1234567890123456789012345678901234567890;branch=master", "git:/…
449 …: "git://git.openembedded.org/bitbake;tag=1234567890123456789012345678901234567890;branch=master;p…
450git://user1@someserver.org/bitbake;tag=1234567890123456789012345678901234567890;branch=master", "g…
451 …: "git://user2@git.openembedded.org/bitbake;tag=1234567890123456789012345678901234567890;branch=ma…
452 …("git://someserver.org/bitbake;tag=1234567890123456789012345678901234567890;protocol=git;branch=ma…
453 …: "git://someotherserver.org/bitbake;tag=1234567890123456789012345678901234567890;protocol=https;b…
454git.qemu.org/git/seabios.git/;protocol=https;name=roms/seabios;subpath=roms/seabios;bareclone=1;no…
466 "git://someserver.org/bitbake git://git.openembedded.org/bitbake " \
518 self.recipe_url = "git://git.openembedded.org/bitbake;branch=master"
519 self.recipe_dir = "git.openembedded.org.bitbake"
520 self.mirror_url = "git://github.com/openembedded/bitbake.git;protocol=https;branch=master"
521 self.mirror_dir = "github.com.openembedded.bitbake.git"
566 self.recipe_url = "git://git.openembedded.org/bitbake;branch=master"
568 self.mirror_url = "git://github.com/openembedded/bitbake.git;protocol=https;branch=master"
569 self.mirror_tarball = "git2_github.com.openembedded.bitbake.git.tar.gz"
600 self.recipe_url = "git://git.openembedded.org/bitbake;branch=master"
602 self.mirror_url = "git://github.com/openembedded/bitbake.git;protocol=https;branch=master"
635 self.recipe_url = "git://git.openembedded.org/bitbake"
648 mtime = bb.process.run('git log --all -1 --format=%ct',
649 cwd=os.path.join(self.unpackdir, 'git'))
750 # Create dummy local Git repo
755 self.git(['commit', '--allow-empty', '-m', 'Dummy commit'])
757 self.git(['checkout', '-b', 'my-devel'])
758 self.git(['commit', '--allow-empty', '-m', 'Dummy commit 2'])
759 orig_rev = self.git(['rev-parse', 'HEAD']).strip()
764 url = "git://" + self.gitdir + ";branch=master;protocol=file;" + suffix
768 unpack_rev = self.git(['rev-parse', 'HEAD'],
769 cwd=os.path.join(self.unpackdir, 'git')).strip()
780 alt = os.path.join(self.unpackdir, 'git/.git/objects/info/alternates')
787 alt = os.path.join(self.unpackdir, 'git/.git/objects/info/alternates')
969 revision = self.git(['rev-parse', 'HEAD'],
970 cwd=os.path.join(self.unpackdir, 'git')).strip()
988 url1 = url2 = "git://git.openembedded.org/bitbake;branch=master"
994 …url1 = url2 = "git://git.openembedded.org/bitbake;rev=270a05b0b4ba0959fe0624d2a4885d7b70426da5;bra…
1000 …url1 = url2 = "git://git.openembedded.org/bitbake;rev=dead05b0b4ba0959fe0624d2a4885d7b70426da5;bra…
1006 …url1 = url2 = "git://git.openembedded.org/bitbake;rev=270a05b0b4ba0959fe0624d2a4885d7b70426da5;tag…
1015 url = "git://git.openembedded.org/bitbake;usehead=1;branch=master"
1024 url = "git://git.openembedded.org/bitbake;usehead=1;name=newName;branch=master"
1029 recipeurl = "git://git.openembedded.org/bitbake;branch=master"
1030 mirrorurl = "git://someserver.org/bitbake;branch=master"
1031 … self.d.setVar("PREMIRRORS", "git://someserver.org/bitbake git://git.openembedded.org/bitbake")
1036 recipeurl = "git://someserver.org/bitbake;branch=master"
1037 … self.d.setVar("PREMIRRORS", "git://someserver.org/bitbake git://git.openembedded.org/bitbake")
1042 realurl = "git://git.openembedded.org/bitbake"
1043 recipeurl = "git://someserver.org/bitbake"
1044 self.sourcedir = self.unpackdir.replace("unpacked", "sourcemirror.git")
1046 self.git(['clone', realurl, self.sourcedir], cwd=self.tempdir)
1047 self.d.setVar("PREMIRRORS", "%s git://%s;protocol=file" % (recipeurl, self.sourcedir))
1053 …url = "gitsm://git.yoctoproject.org/git-submodule-test;branch=ssh-gitsm-tests;rev=049da4a6cb198d7c…
1054 # Original URL (comment this if you have ssh access to git.yoctoproject.org)
1055 …url = "gitsm://git.yoctoproject.org/git-submodule-test;branch=master;rev=a2885dd7d25380d23627e7544…
1062 repo_path = os.path.join(self.tempdir, 'unpacked', 'git')
1082 repo_path = os.path.join(self.tempdir, 'unpacked', 'git')
1083 …self.assertTrue(os.path.exists(os.path.join(repo_path, '.git/modules/subprojects/c-dvar/config')),…
1084 …self.assertTrue(os.path.exists(os.path.join(repo_path, '.git/modules/subprojects/c-list/config')),…
1085 …self.assertTrue(os.path.exists(os.path.join(repo_path, '.git/modules/subprojects/c-rbtree/config')…
1086 …self.assertTrue(os.path.exists(os.path.join(repo_path, '.git/modules/subprojects/c-sundry/config')…
1087 …self.assertTrue(os.path.exists(os.path.join(repo_path, '.git/modules/subprojects/c-utf8/config')),…
1098 repo_path = os.path.join(self.tempdir, 'unpacked', 'git')
1099 …self.assertTrue(os.path.exists(os.path.join(repo_path, '.git/modules/extern/googletest/config')), …
1100 …self.assertTrue(os.path.exists(os.path.join(repo_path, '.git/modules/extern/json/config')), msg='M…
1101 …self.assertTrue(os.path.exists(os.path.join(repo_path, '.git/modules/extern/sanitizers/config')), …
1118 repo_path = os.path.join(self.tempdir, 'unpacked', 'git')
1119 …self.assertTrue(os.path.exists(os.path.join(repo_path, '.git/modules/extern/googletest/config')), …
1120 …self.assertTrue(os.path.exists(os.path.join(repo_path, '.git/modules/extern/json/config')), msg='M…
1121 …self.assertTrue(os.path.exists(os.path.join(repo_path, '.git/modules/extern/sanitizers/config')), …
1132 repo_path = os.path.join(self.tempdir, 'unpacked', 'git')
1133 …self.assertTrue(os.path.exists(os.path.join(repo_path, '.git/modules/partial/extern/isotp-c/config…
1134 …self.assertTrue(os.path.exists(os.path.join(repo_path, '.git/modules/partial/extern/isotp-c/module…
1135 …th.exists(os.path.join(repo_path, 'partial/extern/isotp-c/deps/bitfield-c/.git')), msg="Submodule …
1136 …self.assertTrue(os.path.exists(os.path.join(repo_path, '.git/modules/tests/tuf-test-vectors/config…
1137 …self.assertTrue(os.path.exists(os.path.join(repo_path, '.git/modules/third_party/googletest/config…
1138 …self.assertTrue(os.path.exists(os.path.join(repo_path, '.git/modules/third_party/HdrHistogram_c/co…
1145 …url = "gitsm://github.com/azure/iotedge.git;protocol=https;rev=d76e0316c6f324345d77c48a83ce836d093…
1152 repo_path = os.path.join(self.tempdir, 'unpacked', 'git')
1203 … bb.process.run("svn propset svn:externals 'bitbake https://github.com/PhilipHazel/pcre2.git' .",
1251 url = "git://Someserver.org/foo;rev=1;branch=master"
1257 url = "git://Someserver.org/foo;rev=1;branch=master"
1263 url = "git://git.Someserver.org/foo;rev=1;branch=master"
1269 url = "git://something.git.Someserver.org/foo;rev=1;branch=master"
1275 url = "git://someserver.org:8080/foo;rev=1;branch=master"
1281 url = "git://someserver.org/foo;rev=1;branch=master"
1287 url = "git://*.someserver.org/foo;rev=1;branch=master"
1297 …"git://git.openembedded.org/bitbake;branch=@foo" : ('git', 'git.openembedded.org', '/bitbake', '',…
1321 …("mx-1.0", "git://github.com/clutter-project/mx.git;branch=mx-1.4;protocol=https", "9b1db6b8060bd0…
1324 # mirror of git.infradead.org since network issues interfered with testing
1325 …("mtd-utils", "git://git.yoctoproject.org/mtd-utils.git;branch=master", "ca39eb1d98e736109c64ff9c1…
1328 …# mirror of git://anongit.freedesktop.org/git/xorg/proto/presentproto since network issues interfe…
1329 …("presentproto", "git://git.yoctoproject.org/bbfetchtests-presentproto;branch=master", "24f3a56e54…
1332 …("dtc", "git://git.yoctoproject.org/bbfetchtests-dtc.git;branch=master", "65cc4d2748a2c2e6f27f1cf3…
1335 …("sysprof", "git://gitlab.gnome.org/GNOME/sysprof.git;protocol=https;branch=master", "cd44ee6644c3…
1337 …("u-boot-mkimage", "git://git.denx.de/u-boot.git;branch=master;protocol=git", "62c175fbb8a0f9a926c…
1340 …("mobile-broadband-provider-info", "git://gitlab.gnome.org/GNOME/mobile-broadband-provider-info.gi…
1343 …# mirror of git://anongit.freedesktop.org/xorg/driver/xf86-video-omap since network issues interfe…
1344 …("xf86-video-omap", "git://git.yoctoproject.org/bbfetchtests-xf86-video-omap;branch=master", "ae03…
1346 …("build-appliance-image", "git://git.yoctoproject.org/poky;branch=master", "b37dd451a52622d5b57018…
1348 …("chkconfig-alternatives-native", "git://github.com/kergoth/chkconfig;branch=sysroot;protocol=http…
1350 …("remake", "git://github.com/rocky/remake.git;protocol=https;branch=master", "f05508e521987c8494c9…
1490 actual_refs = self.git(['for-each-ref', '--format=%(refname)']).splitlines()
1491 full_expected = self.git(['rev-parse', '--symbolic-full-name'] + expected_refs).splitlines()
1497 revs = self.git(['rev-list'] + args)
1504 return bb.process.run([bb.fetch2.git.Git.make_shallow_path] + args, cwd=self.gitdir)
1510 self.git(['add', path])
1511 self.git(['commit', '-m', msg, path])
1523 self.git('checkout -b a_branch')
1525 self.git('checkout master')
1527 self.git('merge --no-ff --no-edit a_branch')
1528 self.git('branch -d a_branch')
1536 self.git('checkout -b a_branch')
1538 self.git('checkout master')
1539 self.git('merge --no-ff --no-edit a_branch')
1540 self.git('branch -d a_branch')
1548 self.git('tag -a -m a_tag a_tag')
1556 self.git('checkout -b a_branch')
1558 self.git('checkout master')
1560 self.git('checkout -b a_branch_2')
1562 self.git('tag a_tag')
1563 self.git('checkout master')
1564 self.git('branch -D a_branch_2')
1572 self.git('checkout -b a_branch')
1574 self.git('checkout master')
1590 self.git('remote add origin https://github.com/openembedded/bitbake')
1591 self.git('fetch --tags origin')
1592 orig_revs = len(self.git('rev-list --all').splitlines())
1599 self.gitdir = os.path.join(self.tempdir, 'git')
1609 uri = 'git://%s;protocol=file;subdir=${S};branch=master' % self.srcdir
1622 actual_refs = self.git(['for-each-ref', '--format=%(refname)'], cwd=cwd).splitlines()
1623 …full_expected = self.git(['rev-parse', '--symbolic-full-name'] + expected_refs, cwd=cwd).splitline…
1631 revs = self.git(['rev-list'] + args, cwd=cwd)
1641 self.git(['add', path], cwd)
1642 self.git(['commit', '-m', msg, path], cwd)
1669 …assert os.path.exists(ud.clonedir), 'Git clone in DLDIR (%s) does not exist for uri %s' % (ud.clon…
1681 # confirm that the unpacked repo is used when no git clone or git
1685 …assert os.path.exists(os.path.join(self.gitdir, '.git', 'shallow')), 'Unpacked git repository at %…
1687 …assert not os.path.exists(os.path.join(self.gitdir, '.git', 'shallow')), 'Unpacked git repository …
1704 srcrev = self.git('rev-parse HEAD', cwd=self.srcdir).strip()
1717 # Create initial git repo
1756 # Create initial git repo
1766 self.git('update-ref refs/heads/master refs/heads/master~1', cwd=ud.clonedir)
1792 assert not self.git('fsck --dangling')
1797 b_commit = self.git('rev-parse HEAD', cwd=self.srcdir).rstrip()
1806 self.assertEqual(self.git('rev-parse HEAD').strip(), b_commit)
1814 self.git('branch a_branch', cwd=self.srcdir)
1831 self.git('config --add remote.origin.url "%s"' % smdir, cwd=smdir)
1832 … self.git('config --add remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"', cwd=smdir)
1836 self.git('submodule init', cwd=self.srcdir)
1837 self.git('-c protocol.file.allow=always submodule add file://%s' % smdir, cwd=self.srcdir)
1838 self.git('submodule update', cwd=self.srcdir)
1839 self.git('commit -m submodule -a', cwd=self.srcdir)
1861 self.git('config --add remote.origin.url "%s"' % smdir, cwd=smdir)
1862 … self.git('config --add remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"', cwd=smdir)
1866 self.git('submodule init', cwd=self.srcdir)
1867 self.git('-c protocol.file.allow=always submodule add file://%s' % smdir, cwd=self.srcdir)
1868 self.git('submodule update', cwd=self.srcdir)
1869 self.git('commit -m submodule -a', cwd=self.srcdir)
1895 if any(os.path.exists(os.path.join(p, 'git-annex')) for p in os.environ.get('PATH').split(':')):
1899 self.git('annex init', cwd=self.srcdir)
1901 self.git('annex add c', cwd=self.srcdir)
1902 self.git('commit --author "Foo Bar <foo@bar>" -m annex-c -a', cwd=self.srcdir)
1909 …assert './.git/annex/' in bb.process.run('tar -tzf %s' % os.path.join(self.dldir, ud.mirrortarball…
1913 # Create initial git repo
1916 self.git('checkout -b a_branch', cwd=self.srcdir)
1919 self.git('checkout master', cwd=self.srcdir)
1920 self.git('tag v0.0 a_branch', cwd=self.srcdir)
1922 self.git('merge --no-ff --no-edit a_branch', cwd=self.srcdir)
1940 # Create initial git repo
1943 self.git('checkout -b a_branch', cwd=self.srcdir)
1946 self.git('checkout master', cwd=self.srcdir)
1948 self.git('merge --no-ff --no-edit a_branch', cwd=self.srcdir)
1980 assert not os.path.exists(os.path.join(self.gitdir, '.git', 'shallow'))
1994 self.d.setVar('PREMIRRORS', 'git://.*/.* file://%s/' % mirrordir)
2024 self.git('branch a_branch', cwd=self.srcdir)
2037 self.git('branch a_branch', cwd=self.srcdir)
2038 self.git('tag v1.0', cwd=self.srcdir)
2064 # Create initial git repo
2067 self.git('checkout -b a_branch', cwd=self.srcdir)
2070 self.git('checkout master', cwd=self.srcdir)
2071 self.git('tag v0.0 a_branch', cwd=self.srcdir)
2073 self.git('merge --no-ff --no-edit a_branch', cwd=self.srcdir)
2074 self.git('branch -d a_branch', cwd=self.srcdir)
2099 self.git('tag v0.0 master', cwd=self.srcdir)
2117 …self.git('remote add --mirror=fetch origin https://github.com/openembedded/bitbake', cwd=self.srcd…
2118 self.git('config core.bare true', cwd=self.srcdir)
2119 self.git('fetch', cwd=self.srcdir)
2129 orig_revs = len(self.git('rev-list master', cwd=self.srcdir).splitlines())
2130 revs = len(self.git('rev-list master').splitlines())
2152 fetcher = bb.fetch.Fetch(["git://git.yoctoproject.org/fstests;branch=master"], self.d)
2158 dir = os.listdir(self.unpackdir + "/git/")
2165 self.gitdir = os.path.join(self.tempdir, 'git')
2181 self.git(['add', '.gitattributes'], cwd=self.srcdir)
2182 self.git(['commit', '-m', "attributes", '.gitattributes'], cwd=self.srcdir)
2198 uri = 'git://%s;protocol=file;lfs=1;branch=master' % self.srcdir
2202 # we know whether git-lfs is installed.
2206 # If git-lfs can be found, the unpack should be successful. Only
2207 # attempt this with the real live copy of git-lfs installed.
2213 # If git-lfs cannot be found, the unpack should throw an error
2223 uri = 'git://%s;protocol=file;lfs=0;branch=master' % self.srcdir
2229 # repository has Git LFS usage configured.
2233 # If git-lfs can be found, the unpack should be successful. A
2234 # live copy of git-lfs is not required for this case, so
2240 # If git-lfs cannot be found, the unpack should be successful
2247 "git://tfs-example.org:22/tfs/example%20path/example.git;branch=master" : {
2248 'url': 'git://tfs-example.org:22/tfs/example%20path/example.git;branch=master',
2249 'gitsrcname': 'tfs-example.org.22.tfs.example_path.example.git',
2250 'path': '/tfs/example path/example.git'
2252 "git://tfs-example.org:22/tfs/example%20path/example%20repo.git;branch=master" : {
2253 'url': 'git://tfs-example.org:22/tfs/example%20path/example%20repo.git;branch=master',
2254 'gitsrcname': 'tfs-example.org.22.tfs.example_path.example_repo.git',
2255 'path': '/tfs/example path/example repo.git'
2261 # Set fake SRCREV to stop git fetcher from trying to contact non-existent git repo
2555 … 'version': 'git+https://github.com/jshttp/cookie.git#aec1177c7da67e3b3273df96cf476824dbc9ae09',
2556 'from': 'git+https://github.com/jshttp/cookie.git'
2568 … self.assertTrue(os.path.exists(os.path.join(self.dldir, 'git2', 'github.com.jshttp.cookie.git')))
2782 self.recipe_url = "git://git.openembedded.org/bitbake;branch=master"
2792 alt = os.path.join(self.unpackdir, 'git/.git/objects/info/alternates')
2803 alt = os.path.join(self.unpackdir, 'git/.git/objects/info/alternates')