} if releaseConfig['venkmanRepoPath']: repositories[releaseConfig['venkmanRepoPath']] = { 'revision': releaseConfig['venkmanRepoRevision'], 'relbranchOverride': releaseConfig['venkmanRelbranchOverride'], 'bumpFiles': [] } if releaseConfig['chatzillaRepoPath']: repositories[releaseConfig['chatzillaRepoPath']] = { 'revision': releaseConfig['chatzillaRepoRevision'], 'relbranchOverride': releaseConfig['chatzillaRelbranchOverride'], 'bumpFiles': [] } if len(releaseConfig['l10nPlatforms']) > 0: l10n_repos = get_l10n_repositories(releaseConfig['l10nRevisionFile'], releaseConfig['l10nRepoPath'], releaseConfig['l10nRelbranchOverride']) repositories.update(l10n_repos) # dummy factory for TESTING purposes from buildbot.process.factory import BuildFactory from buildbot.steps.dummy import Dummy dummy_factory = BuildFactory() dummy_factory.addStep(Dummy()) tag_factory = ReleaseTaggingFactory( hgHost=branchConfig['hghost'], buildToolsRepoPath=branchConfig['build_tools_repo_path'], repositories=repositories, productName=releaseConfig['productName'], appName=releaseConfig['appName'], version=releaseConfig['version'],
} if venkmanRepoPath: repositories[venkmanRepoPath] = { 'revision': venkmanRepoRevision, 'relbranchOverride': venkmanRelbranchOverride, 'bumpFiles': [] } if chatzillaRepoPath: repositories[chatzillaRepoPath] = { 'revision': chatzillaRepoRevision, 'relbranchOverride': chatzillaRelbranchOverride, 'bumpFiles': [] } if len(l10nPlatforms) > 0: l10n_repos = get_l10n_repositories(l10nRevisionFile, l10nRepoPath, relbranchOverride) repositories.update(l10n_repos) # dummy factory for TESTING purposes from buildbot.process.factory import BuildFactory from buildbot.steps.dummy import Dummy dummy_factory = BuildFactory() dummy_factory.addStep(Dummy()) tag_factory = ReleaseTaggingFactory( hgHost=branchConfig['hghost'], buildToolsRepoPath=branchConfig['build_tools_repo_path'], repositories=repositories, productName=productName, appName=appName, version=version,