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

[Asset] ability to set assets_version_strategy as service#16522

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

Closed
ewgRa wants to merge9 commits intosymfony:2.8fromewgRa:assets_version_strategy
Closed

[Asset] ability to set assets_version_strategy as service#16522

ewgRa wants to merge9 commits intosymfony:2.8fromewgRa:assets_version_strategy

Conversation

@ewgRa
Copy link
Contributor

QA
Bug fix?no
New feature?yes
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets
LicenseMIT
Doc PR

While I working on#14832 I realize that all this problems and hidden magic can be avoided, if we will have ability to set asset version strategy as service.

This PR implementation of this idea.

Now it is possible to do something like this:

framework:    assets:        version_strategy: assets.custom_version_strategy        base_urls: http://cdn.example.com        packages:            foo:                base_urls: ["https://example.com"]                version_strategy: assets.custom_version_strategy

There is can be some conflicts with#16511, I will fix it, depends on which one PR will be merged first (or not merged) :)

@ewgRa
Copy link
ContributorAuthor

Test fail seems not related to this PR

@ewgRaewgRa changed the title[Asset] ability to set assets_version_strategy[Asset] ability to set assets_version_strategy as serviceNov 11, 2015
@ewgRa
Copy link
ContributorAuthor

ping@fabpot, what do you think? I think it is great feature

@xabbuhxabbuh added the Asset labelDec 9, 2015
Conflicts:src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.phpsrc/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.phpsrc/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/php/assets.phpsrc/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/php/legacy_templating_assets.phpsrc/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/xml/assets.xmlsrc/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/xml/legacy_templating_assets.xmlsrc/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/yml/assets.ymlsrc/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/yml/legacy_templating_assets.ymlsrc/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTest.php
@fabpot
Copy link
Member

As this is a new feature, it should be done on master instead.@ewgRa Can you rebase and submit a new PR? Thanks.

@ewgRa
Copy link
ContributorAuthor

Closed in favor#17532

@ewgRaewgRa closed thisJan 25, 2016
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@ewgRa@fabpot@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp