Example #1
0
def lobo_entry():

    parser = ToolkitBase( [WorkOn, NewFeature, Commit, Daily, Submit, PreLand, Land, Backout, Freeze, ApproveCR,
                           ApproveQA, CherryPick, Test, Info, Reopen, RejectCR, CheckConfig, Update,
                           ApproveUITests, Sync, Release, ShowOpenIssues, PostBuildForPreLand, PostBuildForSubmit,
                           configuration.SetEnv, configuration.Config, configuration.GetConfig,
                           UpdateQA, Abort, NotifyBugs] )
    started = time.time()
    parser.parse()
    elapsed = time.time() - started
    if elapsed > 1:
        print pretty_elapsed(elapsed)
Example #2
0
def git_tool_entry():
    parser = ToolkitBase(
        [
            TreeRoot,
            CompareBranches,
            RecurseSubmodules,
            GetRemote,
            NewBranch,
            CheckoutRemote,
            GetCurrentBranch,
            RebaseIfNeeded,
            Squash,
            Push,
            FixRefs,
            GetRepo,
            Tag,
            Cleanup,
        ]
    )
    parser.parse()
Example #3
0
def version_tool_entry():
    parser = ToolkitBase([CalcVersionName, CalcVersionCode])
    parser.parse()
Example #4
0
def version_tool_entry():
    parser = ToolkitBase([CalcVersionName, CalcVersionCode])
    parser.parse()
Example #5
0
def git_tool_entry():
    parser = ToolkitBase([TreeRoot, CompareBranches, RecurseSubmodules,
                          GetRemote, NewBranch, CheckoutRemote, GetCurrentBranch,
                          RebaseIfNeeded, Squash, Push, FixRefs, GetRepo, Tag, Cleanup])
    parser.parse()