OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
manifest_ocssw Namespace Reference

Functions

def add_subparser_init_dir (subparsers)
 
def add_subparser_status (subparsers)
 
def add_subparser_push (subparsers)
 
def add_subparser_pull (subparsers)
 
def add_subparser_list (subparsers)
 
def init_dir (options)
 
def runCommand (command, pipe=False, shellVal=False)
 
def tagExists (tag)
 
def bundleExists (tag, name)
 
def findBundleInList (name, bundleList)
 
def status (options, bundleInfo)
 
def push (options, bundleInfo)
 
def pull (options, bundleInfo)
 
def list_tags (options)
 
def run ()
 

Variables

string MANIFEST_BASENAME = "manifest.json"
 
string BUNDLELIST_BASENAME = "bundleList.json"
 
dictionary configInfo = {}
 
string configInfoFilename = ".manifest_ocssw.json"
 
string startingDir = ""
 
string manifestCommand = os.path.dirname(__file__) + "/manifest.py"
 
string manifestFilename = "manifest.json"
 
list remoteHosts = ["ocssw@gs616-container101"]
 
string remoteRepoDir = "/manifest/tags"
 
list initialBundleList
 

Function Documentation

◆ add_subparser_init_dir()

def manifest_ocssw.add_subparser_init_dir (   subparsers)

Definition at line 109 of file manifest_ocssw.py.

◆ add_subparser_list()

def manifest_ocssw.add_subparser_list (   subparsers)

Definition at line 131 of file manifest_ocssw.py.

◆ add_subparser_pull()

def manifest_ocssw.add_subparser_pull (   subparsers)

Definition at line 125 of file manifest_ocssw.py.

◆ add_subparser_push()

def manifest_ocssw.add_subparser_push (   subparsers)

Definition at line 119 of file manifest_ocssw.py.

◆ add_subparser_status()

def manifest_ocssw.add_subparser_status (   subparsers)

Definition at line 114 of file manifest_ocssw.py.

◆ bundleExists()

def manifest_ocssw.bundleExists (   tag,
  name 
)

Definition at line 184 of file manifest_ocssw.py.

◆ findBundleInList()

def manifest_ocssw.findBundleInList (   name,
  bundleList 
)

Definition at line 192 of file manifest_ocssw.py.

◆ init_dir()

def manifest_ocssw.init_dir (   options)

Definition at line 136 of file manifest_ocssw.py.

◆ list_tags()

def manifest_ocssw.list_tags (   options)

Definition at line 392 of file manifest_ocssw.py.

◆ pull()

def manifest_ocssw.pull (   options,
  bundleInfo 
)

Definition at line 371 of file manifest_ocssw.py.

◆ push()

def manifest_ocssw.push (   options,
  bundleInfo 
)

Definition at line 290 of file manifest_ocssw.py.

◆ run()

def manifest_ocssw.run ( )

Definition at line 397 of file manifest_ocssw.py.

◆ runCommand()

def manifest_ocssw.runCommand (   command,
  pipe = False,
  shellVal = False 
)

Definition at line 163 of file manifest_ocssw.py.

◆ status()

def manifest_ocssw.status (   options,
  bundleInfo 
)

Definition at line 199 of file manifest_ocssw.py.

◆ tagExists()

def manifest_ocssw.tagExists (   tag)

Definition at line 175 of file manifest_ocssw.py.

Variable Documentation

◆ BUNDLELIST_BASENAME

string BUNDLELIST_BASENAME = "bundleList.json"

Definition at line 18 of file manifest_ocssw.py.

◆ configInfo

dictionary configInfo = {}

Definition at line 23 of file manifest_ocssw.py.

◆ configInfoFilename

string configInfoFilename = ".manifest_ocssw.json"

Definition at line 24 of file manifest_ocssw.py.

◆ initialBundleList

list initialBundleList

WARNING - The initialBundleList should match the latest bundleList.json.

this is written to the bundle list json file when initializing a new manifest_ocssw dir

Definition at line 38 of file manifest_ocssw.py.

◆ MANIFEST_BASENAME

string MANIFEST_BASENAME = "manifest.json"

Definition at line 17 of file manifest_ocssw.py.

◆ manifestCommand

string manifestCommand = os.path.dirname(__file__) + "/manifest.py"

Definition at line 27 of file manifest_ocssw.py.

◆ manifestFilename

string manifestFilename = "manifest.json"

Definition at line 28 of file manifest_ocssw.py.

◆ remoteHosts

list remoteHosts = ["ocssw@gs616-container101"]

Definition at line 31 of file manifest_ocssw.py.

◆ remoteRepoDir

string remoteRepoDir = "/manifest/tags"

Definition at line 32 of file manifest_ocssw.py.

◆ startingDir

string startingDir = ""

Definition at line 25 of file manifest_ocssw.py.