Skip to content

Conversation

@kix
Copy link
Contributor

@kix kix commented Jan 22, 2016

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets none
License MIT
Doc PR none

Reopened against 2.7 instead of #17490

This makes the behaviour of config commands a bit more user-friendly. Scanning through an ordered list should be a lot easier for the user, especially if she knows what's the exact bundle they're looking for. The sort is applied to the bundle name, as the extension alias might not always be present.

Before:
before
After:
after

@xabbuh
Copy link
Member

xabbuh commented Jan 22, 2016

👍

Status: Reviewed

I think we should do something similar in the ConfigDumpReferenceCommand for the 2.3 branch.

@paradajozsef
Copy link
Contributor

👍

@fabpot
Copy link
Member

fabpot commented Jan 23, 2016

Thank you @kix.

@fabpot fabpot merged commit 80d51e0 into symfony:2.7 Jan 23, 2016
fabpot added a commit that referenced this pull request Jan 23, 2016
…ands (kix)

This PR was merged into the 2.7 branch.

Discussion
----------

[2.7] [FrameworkBundle] [DX] Sort bundles in config commands

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | none
| License       | MIT
| Doc PR        | none

Reopened against `2.7` instead of #17490

This makes the behaviour of config commands a bit more user-friendly. Scanning through an ordered list should be a lot easier for the user, especially if she knows what's the exact bundle they're looking for. The sort is applied to the bundle name, as the extension alias might not always be present.

Before:
![before](https://cloud.githubusercontent.com/assets/345754/12498061/8e0ff30a-c0c1-11e5-9c96-561065eedc79.png)
After:
![after](https://cloud.githubusercontent.com/assets/345754/12498064/93019bde-c0c1-11e5-8bbc-c85a74b3f5e8.png)

Commits
-------

80d51e0 Sort bundles in config commands
@kix kix deleted the sort-bundles-in-configdump-2.7 branch January 23, 2016 10:39
@kix
Copy link
Contributor Author

kix commented Jan 23, 2016

Thanks for the merge!

xabbuh added a commit to xabbuh/symfony that referenced this pull request Jan 23, 2016
fabpot added a commit that referenced this pull request Jan 25, 2016
This PR was merged into the 2.3 branch.

Discussion
----------

sort bundles in config:dump-reference command

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

This backports #17495 to the `2.3` branch.

Commits
-------

a5c8811 sort bundles in config:dump-reference command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants