Feature #13358

Add option to the build nested set task to exclude types

Added by José Raddaoui Marín 4 months ago. Updated 4 months ago.

Status:VerifiedStart date:06/15/2020
Priority:MediumDue date:
Assignee:-% Done:

100%

Category:Data model / ORM
Target version:Release 2.6.0
Google Code Legacy ID: Tested version:
Sponsored:No Requires documentation:

Description

While the build nested set task is quite fast considering what it does, I'd like to have an option to only do the rebuild in some of the models (descriptions only for example). This will improve the inclusion of the build in other tasks, like suggested in #13354.

History

#1 Updated by José Raddaoui Marín 4 months ago

  • Status changed from New to Code Review
  • Target version set to Release 2.6.0

#2 Updated by José Raddaoui Marín 4 months ago

  • Status changed from Code Review to QA/Review

Merged in qa/2.6.x.

$ php symfony help propel:build-nested-set
Usage:
 symfony propel:build-nested-set [--application[="..."]] [--env="..."] [--connection="..."] [--exclude-tables[="..."]] 

Options:
 --application     The application name (default: 1)
 --env             The environment (default: cli)
 --connection      The connection name (default: propel)
 --exclude-tables  Exclude tables (comma-separated). Options: information_object, term, menu

Description:
 Build nested set values. Optionally excluding tables (information_object, term, menu).

#3 Updated by Dan Gillean 4 months ago

  • Status changed from QA/Review to Verified

Looks good! Still needs a doc update

#4 Updated by Dan Gillean 4 months ago

  • % Done changed from 0 to 100
  • Requires documentation deleted (Yes)

Also available in: Atom PDF