Exemplo n.º 1
0
def getReleaseLocalesForChunk(productName, appName, version, buildNumber,
                              sourceRepo, platform, chunks, thisChunk,
                              hg='https://hg.mozilla.org'):
    possibleLocales = getPlatformLocales(
        getShippedLocales(productName, appName, version, buildNumber,
                          sourceRepo, hg),
        (platform,)
    )[platform]
    return getLocalesForChunk(possibleLocales, chunks, thisChunk)
Exemplo n.º 2
0
def getReleaseLocalesForChunk(productName,
                              appName,
                              version,
                              buildNumber,
                              sourceRepo,
                              platform,
                              chunks,
                              thisChunk,
                              hg='https://hg.mozilla.org'):
    possibleLocales = getPlatformLocales(
        getShippedLocales(productName, appName, version, buildNumber,
                          sourceRepo, hg), (platform, ))[platform]
    return getLocalesForChunk(possibleLocales, chunks, thisChunk)
Exemplo n.º 3
0
def getReleaseLocalesFromJsonForChunk(stage_platform, chunks, thisChunk, jsonFile):
    possibleLocales = getPlatformLocalesFromJson(
        jsonFile, (stage_platform,))[stage_platform]
    return getLocalesForChunk(possibleLocales, chunks, thisChunk)
Exemplo n.º 4
0
def getReleaseLocalesFromJsonForChunk(stage_platform, chunks, thisChunk,
                                      jsonFile):
    possibleLocales = getPlatformLocalesFromJson(
        jsonFile, (stage_platform, ))[stage_platform]
    return getLocalesForChunk(possibleLocales, chunks, thisChunk)