Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1169104
D296.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Sep 25, 7:23 PM
Size
1 KB
Mime Type
text/x-diff
Expires
Fri, Sep 26, 7:23 PM (8 h, 26 m)
Engine
blob
Format
Raw Data
Handle
757444
Attached To
D296: INP-1693 - Show all performed actions during deployment in synchronization mode
D296.id.diff
View Options
Index: branches/5.2.x/core/units/helpers/deployment_helper.php
===================================================================
--- branches/5.2.x/core/units/helpers/deployment_helper.php
+++ branches/5.2.x/core/units/helpers/deployment_helper.php
@@ -308,7 +308,14 @@
/** @var LanguageImportHelper $language_import_helper */
$language_import_helper = $this->Application->recallObject('LanguageImportHelper');
- $language_import_helper->performExport(EXPORT_PATH . '/' . $this->moduleName . '.lang', '|0|1|2|', $languages, '|' . $this->moduleName . '|');
+ $this->out('Exporting LanguagePack ... ');
+ $language_import_helper->performExport(
+ EXPORT_PATH . '/' . $this->moduleName . '.lang',
+ '|0|1|2|',
+ $languages,
+ '|' . $this->moduleName . '|'
+ );
+ $this->displayStatus('OK');
}
/**
@@ -484,6 +491,15 @@
}
if ( $this->dryRun ) {
+ $this->out('Simulating Database Upgrade ... ', true);
+
+ foreach ( $this->revisionSqls as $revision => $sqls ) {
+ echo PHP_EOL . $this->colorText($this->revisionTitles[$revision], 'gray', true) . PHP_EOL;
+ echo '...' . PHP_EOL;
+ }
+
+ echo PHP_EOL;
+
$this->appliedRevisions = array_merge($this->appliedRevisions, array_keys($this->revisionSqls));
return true;
Event Timeline
Log In to Comment