Dato un repo github che contiene solamente il composer delle dipendenze di altri repo, l'obiettivo è esporre un changelog delle modifiche di tutti i repo.
git clone https://github.com/Opencontent/composer-lock-diff.git
cd composer-lock-diff
| -- dbupdate-4.6.0-to-4.7.0.sql | |
| SET storage_engine=InnoDB; | |
| UPDATE ezsite_data SET value='4.7.0' WHERE name='ezpublish-version'; | |
| UPDATE ezsite_data SET value='1' WHERE name='ezpublish-release'; | |
| ALTER TABLE ezpending_actions ADD COLUMN id int(11) AUTO_INCREMENT PRIMARY KEY; | |
| php update/common/scripts/5.0/deduplicatecontentstategrouplanguage.php -sbackend; | |
| php update/common/scripts/5.0/disablesuspicioususers.php -sbackend; | |
| php update/common/scripts/5.0/restorexmlrelations.php -sbackend; | |
| php update/common/scripts/5.1/fiximagesoutsidevardir.php -sbackend; | |
| php update/common/scripts/5.3/recreateimagesreferences.php -sbackend; | |
| php update/common/scripts/5.3/updatenodeassignmentparentremoteids.php -sbackend; | |
| php update/common/scripts/5.4/cleanuntranslatablerelations.php -sbackend; |
| <?php | |
| /* | |
| Esempio: | |
| cd <ez_doc_root>; | |
| php list_zone_and_block_in_use.php -sbackend --exclude-subtree=541500,595702,515441,165686,212,581893,27411 | |
| Restitusce qualcosa simile a: | |
| Zone | |
| 10ZonesLayout1 | |
| 2ZonesLayout1 |
| <?php | |
| /* | |
| [ImportSettings] | |
| AvailableSourceHandlers[]=xmlimporter | |
| [xmlimporter-HandlerSettings] | |
| Enabled=true | |
| Name=OCExportAs XML Import Handler | |
| ClassName=OCExportasXMLImporter |
| <?php | |
| require 'autoload.php'; | |
| $cli = eZCLI::instance(); | |
| $script = eZScript::instance( array( 'description' => ( "OpenContent Change VarDir name" ), | |
| 'use-session' => false, | |
| 'use-modules' => true, | |
| 'use-extensions' => true ) ); | |
| $script->startup(); |
| <?php | |
| $path = '/Users/luca/git/AWS/solr-consorzioweb/java/solr'; | |
| $objects = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($path), RecursiveIteratorIterator::SELF_FIRST); | |
| foreach ($objects as $entry){ | |
| if ($entry->getFilename() == "schema.xml" ){ | |
| chdir($entry->getPath()); | |
| $path = $entry->getPath() . "/schema.xml"; | |
| $content = file_get_contents($path); |
Dato un repo github che contiene solamente il composer delle dipendenze di altri repo, l'obiettivo è esporre un changelog delle modifiche di tutti i repo.
git clone https://github.com/Opencontent/composer-lock-diff.git
cd composer-lock-diff