зеркало из https://github.com/mozilla/pjs.git
bug 406627: adjust Bootstrap to use patcher configs in mozilla/tools/patcher-configs. r=rhelmer, patch=me
This commit is contained in:
Родитель
be6867661d
Коммит
21a5aa5db7
|
@ -28,7 +28,7 @@ sub Execute {
|
|||
my $configBumpDir = $config->Get(var => 'configBumpDir');
|
||||
my $version = $config->Get(var => 'version');
|
||||
my $oldVersion = $config->Get(var => 'oldVersion');
|
||||
my $mofoCvsroot = $config->Get(var => 'mofoCvsroot');
|
||||
my $mozillaCvsroot = $config->Get(var => 'mozillaCvsroot');
|
||||
my $patcherConfig = $config->Get(var => 'patcherConfig');
|
||||
my $ftpServer = $config->Get(var => 'ftpServer');
|
||||
my $bouncerServer = $config->Get(var => 'bouncerServer');
|
||||
|
@ -40,9 +40,10 @@ sub Execute {
|
|||
}
|
||||
|
||||
# checkout config to bump
|
||||
$this->CvsCo(cvsroot => $mofoCvsroot,
|
||||
$this->CvsCo(cvsroot => $mozillaCvsroot,
|
||||
checkoutDir => 'patcher',
|
||||
modules => [CvsCatfile('release', 'patcher', $patcherConfig)],
|
||||
modules => [CvsCatfile('mozilla', 'tools', 'patcher-configs',
|
||||
$patcherConfig)],
|
||||
logFile => catfile($logDir, 'patcherconfig-checkout.log'),
|
||||
workDir => $configBumpDir
|
||||
);
|
||||
|
@ -65,7 +66,7 @@ sub Execute {
|
|||
|
||||
$this->Shell(
|
||||
cmd => 'cvs',
|
||||
cmdArgs => ['-d', $mofoCvsroot,
|
||||
cmdArgs => ['-d', $mozillaCvsroot,
|
||||
'ci', '-m', "\"Automated configuration bump: $patcherConfig, "
|
||||
. "from $oldVersion to $version\"", $patcherConfig],
|
||||
logFile => catfile($logDir, 'patcherconfig-checkin.log'),
|
||||
|
|
|
@ -24,7 +24,6 @@ sub Execute {
|
|||
my $oldVersion = $config->Get(var => 'oldVersion');
|
||||
my $version = $config->Get(var => 'version');
|
||||
my $mozillaCvsroot = $config->Get(var => 'mozillaCvsroot');
|
||||
my $mofoCvsroot = $config->Get(var => 'mofoCvsroot');
|
||||
my $updateDir = $config->Get(var => 'updateDir');
|
||||
my $patcherConfig = $config->Get(var => 'patcherConfig');
|
||||
my $patcherToolsRev = $config->Get(var => 'patcherToolsRev');
|
||||
|
@ -56,9 +55,10 @@ sub Execute {
|
|||
);
|
||||
|
||||
# config lives in private repo
|
||||
$this->CvsCo(cvsroot => $mofoCvsroot,
|
||||
$this->CvsCo(cvsroot => $mozillaCvsroot,
|
||||
checkoutDir => 'config',
|
||||
modules => [CvsCatfile('release', 'patcher', $patcherConfig)],
|
||||
modules => [CvsCatfile('mozilla', 'tools', 'patcher-configs',
|
||||
$patcherConfig)],
|
||||
logFile => catfile($logDir,
|
||||
'updates_patcher-config-checkout.log'),
|
||||
workDir => $versionedUpdateDir
|
||||
|
|
Загрузка…
Ссылка в новой задаче