Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[FrameworkBundle] Support use of hyphen in asset package name#30007

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 2 commits intosymfony:3.4fromXuruDragon:pr-28122
Jan 29, 2019

Conversation

@XuruDragon
Copy link

This PR is a continuity of#28128

QA
Branch?master
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#29122
LicenseMIT
Doc PRn/a

According to issuesymfony/symfony-docs#10442, we tested in a demo bundle, for example in src/AppBundle/Resources/config/config.yml a package using hyphens: app-client-frontend, and withouth the patch it fails because the package is not recognized. With the patch, it works as expected.

framework:    assets:        packages:            app-client-frontend:                version:"%env(FRONTEND_VERSION)%"                version_format:'%%2$s/dist/%%1$s'                base_urls:                  - "%env(FRONTEND_URL)%"

@nicolas-grekasnicolas-grekas added this to thenext milestoneJan 28, 2019
@nicolas-grekasnicolas-grekas changed the titleFix #28122 Support use of hyphen in asset package name[FrameworkBundle] Support use of hyphen in asset package nameJan 28, 2019
@nicolas-grekas
Copy link
Member

What about rebasing on 3.4 and consider it a bug fix?

damayaand others added2 commitsJanuary 28, 2019 15:09
| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | yes| New feature?  | no| BC breaks?    | no     <!-- seehttps://symfony.com/bc -->| Deprecations? | no| Tests pass?   | yes (Manual tests only)| Fixed tickets |symfony#28122| License       | MIT| Doc PR        | n/aAccording to issuesymfony/symfony-docs#10442, we tested in a demo bundle, for example in src/AppBundle/Resources/config/config.yml a package using hyphens: app-client-frontend, and withouth the patch it fails because the package is not recognized. With the patch, it works as expected.```framework:    assets:        packages:            app-client-frontend:                version: "%env(FRONTEND_VERSION)%"                version_format: '%%2$s/dist/%%1$s'                base_urls:                  - "%env(FRONTEND_URL)%"```
@XuruDragon
Copy link
Author

@nicolas-grekas rebase on 3.4 is done

@fabpot
Copy link
Member

Thank you@XuruDragon.

@fabpotfabpot merged commit5c58b6e intosymfony:3.4Jan 29, 2019
fabpot added a commit that referenced this pull requestJan 29, 2019
…ame (damaya, XuruDragon)This PR was merged into the 3.4 branch.Discussion----------[FrameworkBundle] Support use of hyphen in asset package nameThis PR is a continuity of#28128| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#29122| License       | MIT| Doc PR        | n/aAccording to issuesymfony/symfony-docs#10442, we tested in a demo bundle, for example in src/AppBundle/Resources/config/config.yml a package using hyphens: app-client-frontend, and withouth the patch it fails because the package is not recognized. With the patch, it works as expected.```yamlframework:    assets:        packages:            app-client-frontend:                version: "%env(FRONTEND_VERSION)%"                version_format: '%%2$s/dist/%%1$s'                base_urls:                  - "%env(FRONTEND_URL)%"```Commits-------5c58b6e Add PackageNameTest to ConfigurationTest also add in the changelog the corresponding entry to this PR30b6a4f Support use of hyphen in asset package name
@XuruDragonXuruDragon deleted the pr-28122 branchJanuary 29, 2019 09:11
This was referencedJan 29, 2019
@nicolas-grekasnicolas-grekas modified the milestones:next,4.3Apr 30, 2019
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

4.3

Development

Successfully merging this pull request may close these issues.

5 participants

@XuruDragon@nicolas-grekas@fabpot@carsonbot@damaya

[8]ページ先頭

©2009-2025 Movatter.jp