Commit graph

57 commits

Author SHA1 Message Date
Tim Nagel b6e01cd332 Fix issues with Provider's batch_size and PopulateCommand's batch_size 2015-03-27 11:45:03 +11:00
Tim Nagel 8d8b04ead8 Fixes populate command error 2015-03-23 21:39:13 +11:00
Tim Nagel ac98549eb5 Fix translation of option keys for the Provider 2015-03-14 19:54:23 +11:00
Tim Nagel 89db88c2a0 CS fixes for 3.1 2015-03-12 21:58:02 +11:00
Tim Nagel 345b5d423d Merge cs-fixes-30 into cs-fixes-31 2015-03-12 21:57:26 +11:00
Tim Nagel dd388e4b25 CS fixes 2015-03-12 21:20:00 +11:00
Tim Nagel 14af748840 Fix bad merge 2015-03-12 18:22:04 +11:00
Tim Nagel 5b88baeca6 Merge branch 'pr/744'
Conflicts:
	CHANGELOG-3.1.md
	Command/PopulateCommand.php
2015-03-11 22:17:14 +11:00
Tim Nagel ef2671dd36 Moved the progress helper closure building to a dedicated class 2015-03-11 15:11:42 +11:00
Tim Nagel 47785260a4 Fix an error that PopulateCommand would always ignore errors 2015-03-11 15:11:13 +11:00
Tim Nagel cb7b4c1dca Configurable ProgressBar format definition overrides 2015-03-11 15:09:48 +11:00
Tim Nagel 4c87d24fc1 Changes after review 2015-03-11 14:55:13 +11:00
Tim Nagel f6df88cc67 Merge branch 'master' into pr/744
Conflicts:
	Command/PopulateCommand.php
2015-03-11 14:11:18 +11:00
Tim Nagel 797d066286 Additional change for 2.5 ProgressBar support
getProgress() is not available and getStep() throws a deprecation warning.
2015-02-06 23:50:39 +11:00
Tim Nagel 72589f8341 Fix ProgressBar for Symfony 2.5 2015-02-06 22:07:13 +11:00
Allan Brault 58eed2dc7f Update PopulateCommand.php
in the case i have 110 objects, it was doing :
Populating abc/Index 90.9% (100/110)
Populating abc/index 181.8% (200/110)

now :
Populating abc/Index 90.9% (100/110)
Populating abc/index 100.0% (110/110)
2015-01-26 16:59:55 +01:00
Tim Nagel 67c0b79505 Tidy up ProgressBar use, move most calculations for loggerClosure
into PopulateCommand rather than in AbstractProvider
2015-01-25 19:53:58 +11:00
Pablo Martelletti 6bb2def21e Use ProgressBar in populate commande when available. 2015-01-25 19:53:06 +11:00
Oleg Andreyev 303af508b2 adding populate events 2015-01-04 14:17:25 +02:00
Tim Nagel ad37a28356 Fix populating command setting alias before population 2014-06-27 15:08:56 +10:00
Tim Nagel e74acb1e4f Revert "Avoid index reset error in case of unexistant index"
This reverts commit a121a77774.
2014-04-03 08:00:52 +11:00
Tim Nagel 49521e9fc4 Merge branch 'master' into add-hotswapping-aliased-indexes-on-populate
Conflicts:
	Resetter.php
2014-03-17 09:18:57 +11:00
Tim Nagel 6f8b3a5a0f Fix populate command option 2014-02-21 08:58:43 +11:00
Karel Souffriau 891dd51abe Fixed bug made in #479 2014-02-19 12:50:48 +01:00
Karel Souffriau 63cca11a0b Tweak: use hasOption() in PopulateCommand instead of checking for booleans 2014-02-19 12:43:44 +01:00
Karel Souffriau 41bf07ec59 Fixed issues in #426 2014-02-19 12:19:34 +01:00
Tim Nagel d03d494d30 Merge remote-tracking branch 'tgabi/stop-on-error' 2014-02-19 13:50:33 +11:00
Tim Nagel efc1794d3f Merge pull request #447 from astina-forks/populate_interactive_fix
Populate command: use isInteractive() instead of option
2014-02-19 13:46:09 +11:00
Richard Miller 3b1a756e6f Add support for using aliases to allow hot swapping of indexes when populating 2014-02-06 21:11:12 +00:00
Fabien Somnier a121a77774 Avoid index reset error in case of unexistant index 2014-02-03 17:50:35 +01:00
pkraeutli 62dc3aaca0 Populate command: use isInteractive() instead of option 2014-01-24 14:20:10 +01:00
Tóth Gábor bbacad4bab no-stop-on-error option added to populate command 2014-01-21 18:38:51 +01:00
Luis Cordova cacb40286c clean ups 2013-11-20 08:11:15 -05:00
Matyas Somfai 43e026500c added new options to fos:elastica:populate command and options array parameter to ProviderInterface
removed assume-yes option as the no-interaction option has the same purpose
2013-10-30 00:02:34 +01:00
Antonio J. García Lagar 0bf6e0b09a Fix output colors 2013-06-18 09:52:44 +02:00
Jeremy Mikola 440c36f537 Merge remote-tracking branch 'cevou/master' into pr/245
Conflicts:
	Command/PopulateCommand.php
	Command/SearchCommand.php
	DependencyInjection/Configuration.php
	Doctrine/AbstractElasticaToModelTransformer.php
	Doctrine/AbstractListener.php
	Doctrine/MongoDB/ElasticaToModelTransformer.php
	Doctrine/ORM/ElasticaToModelTransformer.php
	Doctrine/RepositoryManager.php
	Finder/TransformedFinder.php
	Paginator/PaginatorAdapterInterface.php
	Paginator/RawPaginatorAdapter.php
	Persister/ObjectPersister.php
	Propel/ElasticaToModelTransformer.php
	Subscriber/PaginateElasticaQuerySubscriber.php
	Tests/DataCollector/ElasticaDataCollectorTest.php
	Tests/Doctrine/AbstractProviderTest.php
	Tests/Doctrine/RepositoryManagerTest.php
	Tests/Manager/RepositoryManagerTest.php
	Tests/RepositoryTest.php
	Transformer/ElasticaToModelTransformerCollection.php
	composer.json
2013-03-27 14:58:34 -04:00
Jeremy Mikola 3fb9aaa56a Rename FOQ namespaces and services to FOS 2013-03-27 13:44:06 -04:00
cevou cbe6071969 Code cleanup
- updated deprecated calls
- cleaned up PHPDoc comments
2013-03-02 12:23:44 +01:00
Evan Owens 1992d6f0d6 Fix odd grammar 2013-02-22 14:03:40 -05:00
matteosister 23c96510d8 colorized output for the foq:elastica:populate command 2012-09-19 14:33:16 +02:00
Geoffrey Brier 9dd4943af7 Fixed missing argument concerning the foq:elastica:populate command 2012-06-14 13:36:48 +02:00
Richard Miller 9f3b3daea2 Merge branch '2.0'
Conflicts:
	Command/PopulateCommand.php
2012-06-13 17:08:08 +01:00
Richard Miller abe282550e Tidying up no-reset option for populate command 2012-06-13 16:52:34 +01:00
Richard Miller e61d0aac0f Updated no-reset option description 2012-05-15 07:48:04 +01:00
pdaether 486e78f3ee New Option no-reset for the populate command 2012-05-07 18:10:26 +02:00
pdaether becc902864 New Option no-reset for the populate command 2012-05-07 17:48:06 +02:00
Matteo Giachino 4a087e2b83 a small typo already fixed in master but not here 2012-04-08 01:19:48 +03:00
Jeremy Mikola 4a80e27283 Enable PopulateCommand to target indexes and types
This makes the Populator service obsolete.
2012-03-12 12:07:51 -04:00
Jeremy Mikola 43eda480c5 Rename "reseter" to "Resetter" (BC break) 2012-03-12 12:07:51 -04:00
ornicar 451a5b4fc2 Remove mapping and setting registries, use the reseter to configure the indexes 2011-09-12 18:28:59 +02:00