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] Dont create empty bundles directory by default#25033

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 1 commit intosymfony:3.4fromro0NL:assets-install
Nov 20, 2017
Merged

[FrameworkBundle] Dont create empty bundles directory by default#25033

fabpot merged 1 commit intosymfony:3.4fromro0NL:assets-install
Nov 20, 2017

Conversation

@ro0NL
Copy link
Contributor

QA
Branch?3.4 / 4.1?
Bug fix?yes?
New feature?no
BC breaks?no?
Deprecations?no
Tests pass?yes
Fixed tickets#...
LicenseMIT
Doc PRsymfony/symfony-docs#...

we still runassets:install by default, which in bundle-less apps gives this annoying empty public/bundles dir and some useless cli output, all the time. This fixes it.

yceruto reacted with thumbs up emoji

// Create the bundles directory otherwise symlink will fail.
$bundlesDir =$targetArg.'/bundles/';
$this->filesystem->mkdir($bundlesDir,0777);
Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

given symlink() creates the parent directory, and mkdir() handles parents recursively, we could drop this line.

Copy link
Member

@nicolas-grekasnicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

ok for 3.4 to me

@fabpot
Copy link
Member

Thank you@ro0NL.

@fabpotfabpot merged commitf8e7478 intosymfony:3.4Nov 20, 2017
fabpot added a commit that referenced this pull requestNov 20, 2017
…efault (ro0NL)This PR was merged into the 3.4 branch.Discussion----------[FrameworkBundle] Dont create empty bundles directory by default| Q             | A| ------------- | ---| Branch?       | 3.4 / 4.1?| Bug fix?      | yes?| New feature?  | no| BC breaks?    | no?| Deprecations? | no| Tests pass?   | yes| Fixed tickets | #... <!-- #-prefixed issue number(s), if any -->| License       | MIT| Doc PR        | symfony/symfony-docs#... <!--highly recommended for new features-->we still run `assets:install` by default, which in bundle-less apps gives this annoying empty public/bundles dir and some useless cli output, all the time. This fixes it.Commits-------f8e7478 [FrameworkBundle] Dont create empty bundles directory
@ro0NLro0NL deleted the assets-install branchNovember 20, 2017 07:49
This was referencedNov 21, 2017
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

3.4

Development

Successfully merging this pull request may close these issues.

4 participants

@ro0NL@fabpot@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp