Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fields/auto-merge command #15472

Merged
merged 3 commits into from
Aug 3, 2024
Merged

Conversation

brandonkelly
Copy link
Member

Description

Adds a new fields/auto-merge command, which looks for custom fields that are configured identically and are mergeable, and suggests merging them (as a shortcut for calling fields/merge manually a bunch of times).

CLI output for the fields/auto-merge command

Related issues

Copy link

linear bot commented Aug 3, 2024

@brandonkelly brandonkelly merged commit 8175f1d into 5.3 Aug 3, 2024
@brandonkelly brandonkelly deleted the feature/cms-1329-fieldsauto-merge-command branch August 3, 2024 21:38
@mikolamin
Copy link

mikolamin commented Aug 25, 2024

@brandonkelly there is a typo !$first->canmergeFrom($other, $reason) instead !$first->canMergeFrom($other, $reason)
in file cms/src/console/controllers/FieldsController.php:187

@brandonkelly
Copy link
Member Author

@mikolamin Thanks for pointing that out! Fixed in 5.3.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants