Beispiel #1
0
def html():
    # disable Flask RSTPAGES due to sphins incompatibility
    os.environ['RSTPAGES'] = 'FALSE'
    api()
    man()
    # build the docs locally and view
    local("cd docs; make html")
    cursor_on()
Beispiel #2
0
def check(search=""):
    check_list = [("openstack", "'OS_PASSWORD': '******'"),
                  ("aws", "'EC2_SECRET_KEY': '[a-zA-Z0-9]+'")]
    for pair in check_list:
        platform = pair[0]
        _search = pair[1]
        _grep(_search, platform)
    if search:
        _grep(search, 'CUSTOMIZED_SEARCH')
    cursor_on()
Beispiel #3
0
def check(search=""):
    check_list = [("openstack", "'OS_PASSWORD': '******'"),
                  ("aws", "'EC2_SECRET_KEY': '[a-zA-Z0-9]+'")]
    for pair in check_list:
        platform = pair[0]
        _search = pair[1]
        _grep(_search, platform)
    if search:
        _grep(search, 'CUSTOMIZED_SEARCH')
    cursor_on()
Beispiel #4
0
def html():
    # disable Flask RSTPAGES due to sphins incompatibility
    os.environ['RSTPAGES'] = 'FALSE'
    banner("API Generation")
    api()
    banner("Manual Pages")
    man()
    # build the docs locally and view
    banner("Make the sphinx documentation")
    local("cd docs; make html")
    cursor_on()
Beispiel #5
0
def html():
    # disable Flask RSTPAGES due to sphins incompatibility
    os.environ['RSTPAGES'] = 'FALSE'
    banner("API Generation")
    api()
    banner("Manual Pages")
    man()
    # build the docs locally and view
    banner("Make the sphinx documentation")
    local("cd docs; make html")
    cursor_on()
Beispiel #6
0
def stop(server="server"):
    """sma e as the kill command"""
    kill(server)
    cursor_on()
Beispiel #7
0
def stop(server="server"):
    """sma e as the kill command"""
    kill(server)
    cursor_on()