| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/fetch2/ |
| H A D | repo.py | 53 repodir = d.getVar("REPODIR") or (d.getVar("DL_DIR") + "/repo") 55 codir = os.path.join(repodir, gitsrcname, ud.manifest) 62 repodir = os.path.join(codir, "repo") 63 bb.utils.mkdirhier(repodir) 64 if not os.path.exists(os.path.join(repodir, ".repo")): 66 …" % (ud.basecmd, ud.manifest, ud.branch, ud.proto, username, ud.host, ud.path), d, workdir=repodir) 69 runfetchcmd("%s sync" % ud.basecmd, d, workdir=repodir)
|
| /OK3568_Linux_fs/yocto/poky/scripts/lib/devtool/ |
| H A D | __init__.py | 190 def setup_git_repo(repodir, version, devbranch, basetag='devtool-base', d=None): argument 196 if not os.path.exists(os.path.join(repodir, '.git')): 197 bb.process.run('git init', cwd=repodir) 198 bb.process.run('git config --local gc.autodetach 0', cwd=repodir) 199 bb.process.run('git add -f -A .', cwd=repodir) 203 stdout, _ = bb.process.run('git status --porcelain', cwd=repodir) 212 bb.process.run(commit_cmd, cwd=repodir) 215 gitinfodir = os.path.join(repodir, '.git', 'info') 233 bb.process.run('git checkout -b %s' % devbranch, cwd=repodir) 234 bb.process.run('git tag -f %s' % basetag, cwd=repodir) [all …]
|
| H A D | standard.py | 368 def _git_ls_tree(repodir, treeish='HEAD', recursive=False): argument 374 out, _ = bb.process.run(cmd, cwd=repodir)
|
| /OK3568_Linux_fs/yocto/poky/scripts/contrib/ |
| H A D | image-manifest | 108 def get_git_remote_branch(repodir): argument 110 …= bb.process.run(['git', 'rev-parse', '--abbrev-ref', '--symbolic-full-name', '@{u}'], cwd=repodir) 118 def get_git_head_commit(repodir): argument 120 stdout, _ = bb.process.run(['git', 'rev-parse', 'HEAD'], cwd=repodir) 128 def get_git_repo_url(repodir, remote='origin'): argument 132 stdout, _ = bb.process.run(['git', 'remote', '-v'], cwd=repodir) 158 repodir = find_git_repo(layerdir) 159 if repodir: 160 remotebranch = get_git_remote_branch(repodir) 166 layerdata['vcs_url'] = get_git_repo_url(repodir, remote) [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bblayers/ |
| H A D | layerindex.py | 33 repodir = os.path.join(fetchdir, layername) 34 layerdir = os.path.join(repodir, subdir) 35 if not os.path.exists(repodir): 42 cmd.extend([url, repodir])
|
| /OK3568_Linux_fs/yocto/poky/scripts/lib/ |
| H A D | scriptutils.py | 104 def git_convert_standalone_clone(repodir): argument 107 if os.path.exists(os.path.join(repodir, '.git')): 108 alternatesfile = os.path.join(repodir, '.git', 'objects', 'info', 'alternates') 112 bb.process.run('git repack -a', cwd=repodir)
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/classes/ |
| H A D | gitpkgv.bbclass | 88 vars = { 'repodir' : quote(url.localpath), 96 "git --git-dir=%(repodir)s rev-list %(rev)s -- 2>/dev/null | wc -l" 112 … "git --git-dir=%(repodir)s describe %(rev)s --tags --exact-match 2>/dev/null"
|
| /OK3568_Linux_fs/yocto/poky/scripts/ |
| H A D | combo-layer | 39 def get_current_branch(repodir=None): argument 41 if not os.path.exists(os.path.join(repodir if repodir else '', ".git")): 44 branchname = runcmd("git symbolic-ref HEAD 2>/dev/null", repodir).strip() 480 def check_repo_clean(repodir): argument 485 output=runcmd("git status --porcelain", repodir) 489 logger.error("git repo %s is dirty, please fix it first", repodir) 546 def check_rev_branch(component, repodir, rev, branch): argument 548 actualbranch = runcmd("git branch --contains %s" % rev, repodir, printerr=False)
|