Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: FIREFOX_5_0b1_…
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (28 sloc) 0.913 kB
import time, uuid
def getCodesighsPlatforms():
return ('linux', 'linuxqt','linux64',
'win32', 'win64', 'macosx', 'macosx64')
def getSupportedPlatforms():
return ('linux', 'linuxqt','linux64',
'win32', 'macosx', 'macosx64',
'wince', 'win64', 'android')
def getPlatformFtpDir(platform):
platform_ftp_map = {
'linux': 'linux-i686',
'linux64': 'linux-x86_64',
'macosx': 'mac',
'macosx64': 'mac',
'win32': 'win32',
'win64': 'win64-x86_64',
'wince': 'wince-arm',
'android': 'android-r7',
}
return platform_ftp_map.get(platform)
def genBuildID(now=None):
"""Return a buildid based on the current time"""
if not now:
now = time.time()
return time.strftime("%Y%m%d%H%M%S", time.localtime(now))
def genBuildUID():
"""Return a unique build uid"""
return uuid.uuid4().hex
Jump to Line
Something went wrong with that request. Please try again.