Issue #3382598: Deprecate farmOS v1 migrations

This commit is contained in:
Michael Stenta 2023-08-22 10:39:39 -04:00
parent b3c4d0e550
commit f6d195d9c8
15 changed files with 61 additions and 0 deletions

View File

@ -28,6 +28,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [QuickFormInterface::getId() is replaced by QuickFormInterface::getQuickId()](https://www.drupal.org/node/3379686) - [QuickFormInterface::getId() is replaced by QuickFormInterface::getQuickId()](https://www.drupal.org/node/3379686)
- [Issue #3359452: Deprecate farm_log_asset_names_summary()](https://www.drupal.org/project/farm/issues/3359452) - [Issue #3359452: Deprecate farm_log_asset_names_summary()](https://www.drupal.org/project/farm/issues/3359452)
- [farmOS v1 migrations are deprecated and will be removed in farmOS 3.x](https://www.drupal.org/node/3382609)
### Fixed ### Fixed

View File

@ -8,6 +8,10 @@ use Drupal\migrate_tools\Drush\MigrateToolsCommands;
* Farm Migrate Drush commands. * Farm Migrate Drush commands.
* *
* @ingroup farm * @ingroup farm
*
* @deprecated in farm:2.2.0 and is removed from farm:3.0.0. Migrate from farmOS
* v1 to v2 before upgrading to farmOS v3.
* @see https://www.drupal.org/node/3382609
*/ */
class FarmMigrateCommands extends MigrateToolsCommands { class FarmMigrateCommands extends MigrateToolsCommands {

View File

@ -17,6 +17,10 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface;
/** /**
* Farm migration event subscriber. * Farm migration event subscriber.
*
* @deprecated in farm:2.2.0 and is removed from farm:3.0.0. Migrate from farmOS
* v1 to v2 before upgrading to farmOS v3.
* @see https://www.drupal.org/node/3382609
*/ */
class FarmMigrationSubscriber implements EventSubscriberInterface { class FarmMigrationSubscriber implements EventSubscriberInterface {

View File

@ -12,6 +12,10 @@ use Drupal\migrate\Row;
* @MigrateProcessPlugin( * @MigrateProcessPlugin(
* id = "get_lab" * id = "get_lab"
* ) * )
*
* @deprecated in farm:2.2.0 and is removed from farm:3.0.0. Migrate from farmOS
* v1 to v2 before upgrading to farmOS v3.
* @see https://www.drupal.org/node/3382609
*/ */
class FarmMigrateGetLab extends ProcessPluginBase { class FarmMigrateGetLab extends ProcessPluginBase {

View File

@ -34,6 +34,10 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
* *
* @todo Remove if migrate_plus incorporates this plugin upstream. * @todo Remove if migrate_plus incorporates this plugin upstream.
* See: https://gitlab.com/drupalspoons/migrate_plus/-/issues/240 * See: https://gitlab.com/drupalspoons/migrate_plus/-/issues/240
*
* @deprecated in farm:2.2.0 and is removed from farm:3.0.0. Migrate from farmOS
* v1 to v2 before upgrading to farmOS v3.
* @see https://www.drupal.org/node/3382609
*/ */
class FarmMigrationGroupLookup extends MigrationLookup { class FarmMigrationGroupLookup extends MigrationLookup {

View File

@ -19,6 +19,10 @@ use Drupal\migrate\Row;
* @MigrateProcessPlugin( * @MigrateProcessPlugin(
* id = "skip_map_on_empty" * id = "skip_map_on_empty"
* ) * )
*
* @deprecated in farm:2.2.0 and is removed from farm:3.0.0. Migrate from farmOS
* v1 to v2 before upgrading to farmOS v3.
* @see https://www.drupal.org/node/3382609
*/ */
class SkipMapOnEmpty extends SkipOnEmpty { class SkipMapOnEmpty extends SkipOnEmpty {

View File

@ -11,6 +11,12 @@ use Drupal\migrate\Row;
* id = "d7_animal_asset", * id = "d7_animal_asset",
* source_module = "farm_asset" * source_module = "farm_asset"
* ) * )
*
* @deprecated in farm:2.2.0 and is removed from farm:3.0.0. Migrate from farmOS
* v1 to v2 before upgrading to farmOS v3.
* @see https://www.drupal.org/node/3382609
*
* @phpstan-ignore-next-line
*/ */
class AnimalAsset extends FarmAsset { class AnimalAsset extends FarmAsset {

View File

@ -11,6 +11,10 @@ use Drupal\taxonomy\Plugin\migrate\source\d7\Term;
* id = "d7_farm_area", * id = "d7_farm_area",
* source_module = "taxonomy" * source_module = "taxonomy"
* ) * )
*
* @deprecated in farm:2.2.0 and is removed from farm:3.0.0. Migrate from farmOS
* v1 to v2 before upgrading to farmOS v3.
* @see https://www.drupal.org/node/3382609
*/ */
class FarmArea extends Term { class FarmArea extends Term {

View File

@ -16,6 +16,10 @@ use Drupal\migrate\Row;
* id = "d7_farm_asset", * id = "d7_farm_asset",
* source_module = "farm_asset" * source_module = "farm_asset"
* ) * )
*
* @deprecated in farm:2.2.0 and is removed from farm:3.0.0. Migrate from farmOS
* v1 to v2 before upgrading to farmOS v3.
* @see https://www.drupal.org/node/3382609
*/ */
class FarmAsset extends Asset { class FarmAsset extends Asset {

View File

@ -19,6 +19,10 @@ use Drupal\migrate\Row;
* id = "d7_farm_log", * id = "d7_farm_log",
* source_module = "log" * source_module = "log"
* ) * )
*
* @deprecated in farm:2.2.0 and is removed from farm:3.0.0. Migrate from farmOS
* v1 to v2 before upgrading to farmOS v3.
* @see https://www.drupal.org/node/3382609
*/ */
class FarmLog extends Log { class FarmLog extends Log {

View File

@ -11,6 +11,10 @@ use Drupal\migrate_drupal\Plugin\migrate\source\d7\FieldableEntity;
* id = "d7_farm_inventory", * id = "d7_farm_inventory",
* source_module = "farm_inventory" * source_module = "farm_inventory"
* ) * )
*
* @deprecated in farm:2.2.0 and is removed from farm:3.0.0. Migrate from farmOS
* v1 to v2 before upgrading to farmOS v3.
* @see https://www.drupal.org/node/3382609
*/ */
class Inventory extends FieldableEntity { class Inventory extends FieldableEntity {

View File

@ -11,6 +11,10 @@ use Drupal\migrate_drupal\Plugin\migrate\source\d7\FieldableEntity;
* id = "d7_farm_quantity", * id = "d7_farm_quantity",
* source_module = "farm_quantity" * source_module = "farm_quantity"
* ) * )
*
* @deprecated in farm:2.2.0 and is removed from farm:3.0.0. Migrate from farmOS
* v1 to v2 before upgrading to farmOS v3.
* @see https://www.drupal.org/node/3382609
*/ */
class Quantity extends FieldableEntity { class Quantity extends FieldableEntity {

View File

@ -14,6 +14,12 @@ use Drupal\migrate\Row;
* id = "d7_sensor_asset", * id = "d7_sensor_asset",
* source_module = "farm_sensor" * source_module = "farm_sensor"
* ) * )
*
* @deprecated in farm:2.2.0 and is removed from farm:3.0.0. Migrate from farmOS
* v1 to v2 before upgrading to farmOS v3.
* @see https://www.drupal.org/node/3382609
*
* @phpstan-ignore-next-line
*/ */
class SensorAsset extends FarmAsset { class SensorAsset extends FarmAsset {

View File

@ -11,6 +11,10 @@ use Drupal\migrate\Plugin\migrate\source\SqlBase;
* id = "d7_sensor_listener_data_names", * id = "d7_sensor_listener_data_names",
* source_module = "farm_sensor_listener" * source_module = "farm_sensor_listener"
* ) * )
*
* @deprecated in farm:2.2.0 and is removed from farm:3.0.0. Migrate from farmOS
* v1 to v2 before upgrading to farmOS v3.
* @see https://www.drupal.org/node/3382609
*/ */
class SensorListenerDataNames extends SqlBase { class SensorListenerDataNames extends SqlBase {

View File

@ -6,6 +6,10 @@ use Drupal\migrate\Row;
/** /**
* Asset source from database. * Asset source from database.
*
* @deprecated in farm:2.2.0 and is removed from farm:3.0.0. Migrate from farmOS
* v1 to v2 before upgrading to farmOS v3.
* @see https://www.drupal.org/node/3382609
*/ */
trait FarmQuickEntity { trait FarmQuickEntity {