Standardize chrome history column order; update data transfer apps (#1361)

This commit is contained in:
Ross Scroggs
2021-04-08 04:50:52 -07:00
committed by GitHub
parent 7ac15042d8
commit 703530ce7f
3 changed files with 14 additions and 8 deletions

View File

@ -989,6 +989,8 @@ gam info customer
<DataTransferService> ::=
calendar|
currents|
datastudio|"google data studio"|
googledrive|gdrive|drive|"drive and docs"
<DataTransferServiceList> ::= "<DataTransferService>(,<DataTransferService>)*"

View File

@ -64,12 +64,12 @@ CHROME_VERSIONHISTORY_ORDERBY_CHOICE_MAP = {
CHROME_VERSIONHISTORY_TITLES = {
'platforms': ['name', 'platformType'],
'channels': ['name', 'channelType', 'platformType'],
'versions': ['name', 'version', 'platformType', 'channelType',
'channels': ['name', 'platformType', 'channelType'],
'versions': ['name', 'platformType', 'channelType', 'version',
'major_version', 'minor_version', 'build', 'patch'],
'releases': ['name', 'version', 'fraction', 'serving.startTime',
'serving.endTime', 'platformType', 'channelType',
'major_version', 'minor_version', 'build', 'patch']
'releases': ['name', 'platformType', 'channelType', 'version',
'major_version', 'minor_version', 'build', 'patch',
'fraction', 'serving.startTime','serving.endTime']
}
def get_relative_milestone(channel='stable', minus=0):
@ -78,7 +78,6 @@ def get_relative_milestone(channel='stable', minus=0):
returns current given milestone number
'''
cv = build()
svc = cv.platforms().channels().versions().releases()
parent = f'chrome/platforms/all/channels/{channel}/versions/all'
releases = gapi.get_all_pages(cv.platforms().channels().versions().releases(),
'list',

View File

@ -384,16 +384,21 @@ ADDRESS_FIELDS_ARGUMENT_MAP = {
}
SERVICE_NAME_TO_ID_MAP = {
'Calendar': '435070579839',
'Currents': '553547912911',
'Drive and Docs': '55656082996',
'Calendar': '435070579839'
'Google Data Studio': '810260081642',
}
SERVICE_NAME_CHOICES_MAP = {
'calendar': 'Calendar',
'currents': 'Currents',
'datastudio': 'Google Data Studio',
'google data studio': 'Google Data Studio',
'drive': 'Drive and Docs',
'drive and docs': 'Drive and Docs',
'googledrive': 'Drive and Docs',
'gdrive': 'Drive and Docs',
'calendar': 'Calendar',
}
PRINTJOB_ASCENDINGORDER_MAP = {