From 9a4e25f4602868678f70544b1b4f623de2d24f89 Mon Sep 17 00:00:00 2001 From: Gaetan Semet Date: Thu, 7 Nov 2013 10:09:44 +0100 Subject: [PATCH] update repo plusing and intel plugin after new env in cactus --- .../plugins/buildbot_dev/buildbot_dev.plugin.zsh | 3 +++ custom/plugins/intel-repo/_repo | 14 ++++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/custom/plugins/buildbot_dev/buildbot_dev.plugin.zsh b/custom/plugins/buildbot_dev/buildbot_dev.plugin.zsh index f445eae1c..b3ac4b9b6 100644 --- a/custom/plugins/buildbot_dev/buildbot_dev.plugin.zsh +++ b/custom/plugins/buildbot_dev/buildbot_dev.plugin.zsh @@ -3,6 +3,9 @@ BUILDBOT_PROJECT_PATH="$HOME/projects/buildbot/" alias cdb='cd $BUILDBOT_PROJECT_PATH/main' alias cdp='cd $BUILDBOT_PROJECT_PATH' +alias c='cactus' +alias cj='cactus jump' + function bb_env() { BBDIR=$1 diff --git a/custom/plugins/intel-repo/_repo b/custom/plugins/intel-repo/_repo index 1d9a02d7d..d5f9fb0b1 100644 --- a/custom/plugins/intel-repo/_repo +++ b/custom/plugins/intel-repo/_repo @@ -38,23 +38,23 @@ _repo() 'branch:View current topic branches' 'branches:View current topic branches' 'checkout:Checkout a branch for development' - 'checkout-manifest:for every project in a manifest tag file check out the sha1 listed in the file' + 'checkout-manifest:for every project in a manifest tag file check out the sha1 listed in the file' 'cherry-pick:Cherry-pick a change.' 'diff:Show changes between commit and working tree' 'download:Download and checkout a change' 'forall:execute command on several project' - 'format-patch:build patch sets for each project common to a manifest baseline' + 'format-patch:build patch sets for each project common to a manifest baseline' 'grep:Print lines matching a pattern' 'help:Display detailed help on a command' 'init:Initialize repo in the current directory' - # 'info:Get info on the manifest branch, current branch or unmerged branches' + # 'info:Get info on the manifest branch, current branch or unmerged branches' 'list:List projects and their associated directories' 'manifest:Manifest inspection utility' 'overview:Display overview of unmerged project branches' 'prune:Prune (delete) already merged topics' 'push:Push the local branch' 'rebase:Rebase local branches on upstream branch' - #- 'selfupdate:Update repo to the latest version' + 'selfupdate:Update repo to the latest version' 'smartsync:Update working tree to the latest known good revision' 'stage:Stage file(s) for commit' 'start:Start a new branch for development' @@ -197,6 +197,12 @@ _repo() "(-c --command -h --help -v --verbose -p)"{-c,--command}"[Command (and arguments) to execute]" \ && ret=0 ;; + (selfupdate) + _arguments : \ + "(-h --help)"{-h,--help}"[Show help]" \ + "(--no-repo-verif)--no-repo-verif[do not verify repo source code]" \ + && ret=0 + ;; *) ret=0 esac