8000 [2.3] Add missing development dependencies by romainneutron · Pull Request #11340 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[2.3] Add missing development dependencies #11340

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

Closed
wants to merge 2 commits into from

Conversation

romainneutron
Copy link
Contributor
Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets n/a
License MIT

I've also added a run of the test suite in every component scope.

@romainneutron romainneutron changed the ti 8000 tle Add missing development dependencies [2.3] Add missing development dependencies Jul 6, 2014
- php: 5.4
env: components=yes
- php: 5.6
env: components=yes
Copy link
Member

Choose a reason for hiding this comment

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

instead of using lots of excludes, I would use an include rule instead (you forgot to exclyde the HHVM builds here for instance)

@romainneutron
Copy link
Contributor Author

Thanks for the tip @stof, PR has been updated


services: mongodb

env:
- components=yes
- components=no
Copy link
Member

Choose a reason for hiding this comment

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

you can simplify this:

env:
    global:
        - components=no

matrix:
    include:
        - php: 5.5
          env: components=yes

this avoids excluding the components=yes from the build

@romainneutron
Copy link
Contributor Author

thanks again @stof ! PR has been upadted

"symfony/finder": "~2.0",
"symfony/security": "~2.3",
"symfony/form": "~2.3",
"symfony/form": "~2.3.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

This looks wrong IMO, IIRC you will lock the FrameworkBundle with 2.3.x versions, and not allow any newer.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is actually needed on branch 2.3 - latest versions of the form component are not compatible anymore. We'll have to update this dependency in other branches after merge

@fabpot
Copy link
Member
fabpot commented Jul 19, 2014

Is it ready to be merged?

@fabpot
Copy link
Member
fabpot commented Jul 23, 2014

ping @romainneutron

@romainneutron
Copy link
Contributor Author

Yes it is, ping @symfony/deciders

- echo "Running tests requiring tty"; phpunit --group tty
- sh -c 'if [ "$components" = "no" ]; then sh -c "ls -d src/Symfony/*/* | parallel --gnu --keep-order '\''echo \"Running {} tests\"; phpunit --exclude-group tty,benchmark {};'\''"; fi;'
- sh -c 'if [ "$components" = "no" ]; then sh -c "echo "\""Running tests requiring tty"\""; phpunit --group tty"; fi;'
- sh -c 'if [ "$components" = "yes" ]; then sh -c "find src/Symfony -mindepth 3 -maxdepth 3 -type f -name '\''phpunit.xml.dist'\'' | sed '\''s#\(.*\)/.*#\1#'\'' | parallel --gnu --keep-order '\''echo \"Running {} tests\"; cd {}; COMPOSER_ROOT_VERSION=dev-master composer --prefer-source --dev install; phpunit --exclude-group tty,benchmark;'\''"; fi;'
Copy link
Member

Choose a reason for hiding this comment

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

are you sure about -mindepth 3 -maxdepth 3 ? The security/core, security/http, security/csrf and security/acl components are at a deeper level than other components

@romainneutron romainneutron force-pushed the dev-dependencies branch 7 times, most recently from 60b3413 to 3c742b7 Compare September 21, 2014 13:34
@romainneutron
Copy link
Contributor Author

PR updated and comments addressed. Build is still failing because HttpFoundation master in not sync'd anymore with current master (@fabpot alerted)

After fixing this issue, test will pass and this PR should be mergeable

@fabpot
Copy link
Member
fabpot commented Sep 22, 2014

@romainneutron the HttpFoundation split has been fixed now.

@fabpot
Copy link
Member
fabpot commented Sep 22, 2014

@romainneutron Can you trigger another build on Travis?

@romainneutron
Copy link
Contributor Author

@fabpot I just triggered it :) https://travis-ci.org/symfony/symfony/builds/35861815

@fabpot
Copy link
Member
fabpot commented Sep 22, 2014

Thank you @romainneutron.

fabpot added a commit that referenced this pull request Sep 22, 2014
This PR was squashed before being merged into the 2.3 branch (closes #11340).

Discussion
----------

[2.3] Add missing development dependencies

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

I've also added a run of the test suite in every component scope.

Commits
-------

3b02af9 [2.3] Add missing development dependencies
@fabpot fabpot closed this Sep 22, 2014
@romainneutron romainneutron deleted the dev-dependencies branch September 22, 2014 15:16
@stof
Copy link
Member
stof commented Sep 25, 2014

I see an issue here: for PRs introducing new features in several components, this could fail because subtree splits will not be updated until the PR is merged. Should we avoid running these tests in PRs ?

ostrolucky pushed a commit to ostrolucky/symfony that referenced this pull request Mar 25, 2018
…nneutron)

This PR was squashed before being merged into the 2.3 branch (closes symfony#11340).

Discussion
----------

[2.3] Add missing development dependencies

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

I've also added a run of the test suite in every component scope.

Commits
-------

3b02af9 [2.3] Add missing development dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0