-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Move SEAL to CMS-IG namespace (BC Break) #458
Move SEAL to CMS-IG namespace (BC Break) #458
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -24,7 +24,7 @@ | |||
/** | |||
* @experimental | |||
*/ | |||
#[AsCommand(name: 'schranz:search:index-create', description: 'Create configured search indexes.')] | |||
#[AsCommand(name: 'seal:index-create', description: 'Create configured search indexes.')] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unsure about this one seal:index-create
, cmsig-seal:index-create
vs cmsig:seal:index-create
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like cmsig:seal:*
. We also do this in Contao, e.g. contao:backup:create
etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cmsig:seal:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I go with cmsig:seal:
@@ -32,7 +32,7 @@ | |||
*/ | |||
final class SearchBundle extends AbstractBundle | |||
{ | |||
protected string $extensionAlias = 'schranz_search'; | |||
protected string $extensionAlias = 'seal'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unsure about this based on flysystem
bundle I would go with just seal
. alternative would be cmsig_seal
like it is for fos_rest
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's unlikely going to be another seal
but cmsig_seal
would be more namespace-likey.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think "seal" is good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to be consistent with command and namespace I also choiced here cmsig_seal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
personally think yii framework is doing the best, where module config name = composer.json name think more frameworks should adopt that.
85049eb
to
e285a3a
Compare
244edf4
to
365099c
Compare
365099c
to
b97c512
Compare
after moving repositories in #458 to php-cmsig organisation. we can make migration easier by add replace to the composer.json.
after moving repositories in PHP-CMSIG/search#458 to php-cmsig organisation. we can make migration easier by add replace to the composer.json.
after moving repositories in PHP-CMSIG/search#458 to php-cmsig organisation. we can make migration easier by add replace to the composer.json.
after moving repositories in PHP-CMSIG/search#458 to php-cmsig organisation. we can make migration easier by add replace to the composer.json.
after moving repositories in PHP-CMSIG/search#458 to php-cmsig organisation. we can make migration easier by add replace to the composer.json.
after moving repositories in PHP-CMSIG/search#458 to php-cmsig organisation. we can make migration easier by add replace to the composer.json.
after moving repositories in PHP-CMSIG/search#458 to php-cmsig organisation. we can make migration easier by add replace to the composer.json.
after moving repositories in PHP-CMSIG/search#458 to php-cmsig organisation. we can make migration easier by add replace to the composer.json.
after moving repositories in PHP-CMSIG/search#458 to php-cmsig organisation. we can make migration easier by add replace to the composer.json.
after moving repositories in PHP-CMSIG/search#458 to php-cmsig organisation. we can make migration easier by add replace to the composer.json.
after moving repositories in PHP-CMSIG/search#458 to php-cmsig organisation. we can make migration easier by add replace to the composer.json.
after moving repositories in PHP-CMSIG/search#458 to php-cmsig organisation. we can make migration easier by add replace to the composer.json.
after moving repositories in PHP-CMSIG/search#458 to php-cmsig organisation. we can make migration easier by add replace to the composer.json.
after moving repositories in PHP-CMSIG/search#458 to php-cmsig organisation. we can make migration easier by add replace to the composer.json.
after moving repositories in PHP-CMSIG/search#458 to php-cmsig organisation. we can make migration easier by add replace to the composer.json.
after moving repositories in PHP-CMSIG/search#458 to php-cmsig organisation. we can make migration easier by add replace to the composer.json.
after moving repositories in PHP-CMSIG/search#458 to php-cmsig organisation. we can make migration easier by add replace to the composer.json.
after moving repositories in PHP-CMSIG/search#458 to php-cmsig organisation. we can make migration easier by add replace to the composer.json.
fix #428
BC Breaks
To upgrade use search and replace also have a look at the .examples changes to better understand the upgrade.
Package names:
schranz-search/seal
->cmsig/seal
schranz-search/seal-...-adapter
->cmsig/seal-...-adapter
schranz-search/laravel-package
->cmsig/seal-laravel-package
schranz-search/mezzio-module
->cmsig/seal-mezzio-module
schranz-search/spiral-bridge
->cmsig/seal-spiral-bridge
schranz-search/yii-module
->cmsig/seal-yii-module
schranz-search/symfony-bundle
->cmsig/seal-symfony-bundle
Namespaces:
Schranz\Search\SEAL
->CmsIg\Seal\
Schranz\Search\Integration
->CmsIg\Seal\Integration
Config Files:
schranz_search.*
->cmsig_seal.*
Config, Service names, Tagged Services:
schranz_search.*
->cmsig_seal.*
Commands:
schranz:search:*
->cmsig:seal:*
Spiral Integration Changes:
SearchBootloader
->SealBootloader
SearchConfig
->SealConfig
seal.php
->cmsig_seal.php
Symfony Integration Changes:
SearchBundle
->SealBundle
seal.yaml
->cmsig_seal.yaml
Laravel Integration Changes:
SearchProvider
->SealProvider
seal.php
->cmsig_seal.php