![]() |
PhoenixMock
1.8.7
Tools to split/merge/print mock used in Phoenix
|
Functions | |
| def | createReleaseCurlCommand (projectIdOwn, projectName, projectTagName, basePackageDir, token) |
| def | getListArchiveFile (inputDirectory, projectName) |
| def | getListArchiveLinks (projectIdOwn, listPackage, useComma, token) |
| def | uploadFileCommand (projectIdOwn, fileName, token) |
Variables | |
| string | apiProject = "/api/v4/projects/" |
| args = parser.parse_args() | |
| default | |
| False | |
| help | |
| parser = argparse.ArgumentParser(description="Program which creates release with given tag") | |
| required | |
| string | server = "gitlab.in2p3.fr" |
| str | |
| True | |
| type | |
| def createReleaseCurl.createReleaseCurlCommand | ( | projectIdOwn, | |
| projectName, | |||
| projectTagName, | |||
| basePackageDir, | |||
| token | |||
| ) |
Create a release of the given project
Parameters:
projectIdOwn : id of the project on gitlab
projectName : name of the project
projectTagName : tag name of the project
basePackageDir : base directory wher eto find binary packages
token : token to be used to create the release
Definition at line 92 of file createReleaseCurl.py.
References getListArchiveFile(), getListArchiveLinks(), and str.
Here is the call graph for this function:| def createReleaseCurl.getListArchiveFile | ( | inputDirectory, | |
| projectName | |||
| ) |
Get the list of the archives file for a given project name
Parameters:
inputDirectory : directory (for one OS) where all the binary packages are created
projectName : name of the project
Return:
list of corresponding binary packages
Definition at line 15 of file createReleaseCurl.py.
Referenced by createReleaseCurlCommand().
Here is the caller graph for this function:| def createReleaseCurl.getListArchiveLinks | ( | projectIdOwn, | |
| listPackage, | |||
| useComma, | |||
| token | |||
| ) |
Create the list of link to the archive uploaded binary packages
Parameters:
projectIdOwn : id of the project to be used
listPackage : list of the binary packages to be uploaded and linked
useComma : True to add a comma in the first place, false otherwise
token : token to be used to create the release
Return:
string of the list of archive links corresponding to the given list of packages
Definition at line 58 of file createReleaseCurl.py.
References uploadFileCommand().
Referenced by createReleaseCurlCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| def createReleaseCurl.uploadFileCommand | ( | projectIdOwn, | |
| fileName, | |||
| token | |||
| ) |
Upload a file in the given gitlab project
Parameters:
projectIdOwn : id of the project
fileName : name of the file to be uploaded
token : token to be used to create the release
Return:
url of the uploaded file
Definition at line 30 of file createReleaseCurl.py.
References str.
Referenced by getListArchiveLinks().
Here is the caller graph for this function:| string createReleaseCurl.apiProject = "/api/v4/projects/" |
Definition at line 12 of file createReleaseCurl.py.
| createReleaseCurl.args = parser.parse_args() |
Definition at line 129 of file createReleaseCurl.py.
| createReleaseCurl.default |
Definition at line 128 of file createReleaseCurl.py.
| createReleaseCurl.False |
Definition at line 128 of file createReleaseCurl.py.
| createReleaseCurl.help |
Definition at line 124 of file createReleaseCurl.py.
| createReleaseCurl.parser = argparse.ArgumentParser(description="Program which creates release with given tag") |
Definition at line 123 of file createReleaseCurl.py.
Referenced by createOptionParser(), OptionParser.getParserMode(), main(), OptionParser.parseArgument(), OptionParser.parseArgumentBashCompletion(), OptionParser.parseArgumentNormalUse(), OptionMode.parseOption(), Option.parseOption(), Option.parsePartOption(), and printConstParser().
| createReleaseCurl.required |
Definition at line 124 of file createReleaseCurl.py.
| string createReleaseCurl.server = "gitlab.in2p3.fr" |
Definition at line 11 of file createReleaseCurl.py.
| createReleaseCurl.str |
Definition at line 128 of file createReleaseCurl.py.
Referenced by PLog.appendLog(), checkValue(), colorString(), convertToString(), copyStr(), countNbChar(), createReleaseCurlCommand(), cutStringList(), cutStringOnSpacesList(), cutStringOnSpacesVector(), cutStringVector(), eraseCharInStr(), eraseCharsInStr(), eraseFirstCharsInStr(), eraseFirstLastChars(), eraseLastCharsInStr(), findCharsInString(), findInListString(), findInString(), findInVectorString(), firstToLower(), firstToUpper(), getCurrentDirectory(), isSameBegining(), isStringMatchRegex(), isStrLowerCase(), isStrNumber(), isStrNumberDotMinusPlusE(), isStrNumberOrDot(), isStrUpperCase(), phoenix_charToString(), phoenix_strToLogLevel(), phoenix_whoami(), printColor(), printColorCerr(), printDelire(), replaceCharInStr(), replaceCharsInStr(), stringToValue(), stringToValue< std::string >(), strToLower(), strToLowerUnderscore(), strToUpper(), testSimpleTableFile(), testSimpleTableMessage(), testStringColor(), testStringDataFile(), testStringDataMessage(), testStringDataSize(), and uploadFileCommand().
| createReleaseCurl.True |
Definition at line 124 of file createReleaseCurl.py.
| createReleaseCurl.type |
Definition at line 124 of file createReleaseCurl.py.
Referenced by Option.checkArgument(), convertOptionTypeToString(), OptionValue.initialisationOptionValue(), isOptionFloatingPoint(), isOptionInteger(), isOptionSignedInteger(), isOptionStringFileDir(), isOptionUnsignedInteger(), OptionValue.OptionValue(), Option.print(), and OptionValue.setType().