Skip to content

Add a link.sh script to ease debugging Flex apps #24708

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 3 commits into from

Conversation

dunglas
Copy link
Member

@dunglas dunglas commented Oct 27, 2017

Q A
Branch? 3.4
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets n/a
License MIT
Doc PR n/a

It's painful to debug and patch Flex apps because symfony/symfony isn't installed by default (only components are) but PRs must be opened against the monolithic repository.

This tiny tool, inspired by npm link, scan the vendor/ directory of the project, and replace symfony/ dependencies by symlinks to the local clone of the symfony/symfony repositories.

Usage:

git clone git@github.com:symfony/symfony.git
cd symfony
./link.sh /path/to/the/project

@dunglas dunglas closed this Oct 28, 2017
@dunglas dunglas deleted the linker branch October 28, 2017 07:56
@sroze
Copy link
Contributor

sroze commented Oct 29, 2017

@dunglas why did you close this PR?

nicolas-grekas added a commit that referenced this pull request Nov 20, 2017
This PR was merged into the 2.7 branch.

Discussion
----------

Add a link script to ease debugging Flex apps

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | no
| New feature?  | no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks?    | no
| Deprecations? | no <!-- don't forget to update UPGRADE-*.md files -->
| Tests pass?   | yes
| Fixed tickets | #24708
| License       | MIT
| Doc PR        | n/a

(Reopened because of mishandling in the previous PR)

It's painful to debug and patch Flex apps because `symfony/symfony` isn't installed by default (only components are) but PRs must be opened against the monolithic repository.

This tiny tool, inspired by `npm link`, scan the `vendor/` directory of the project, and replace `symfony/` dependencies by symlinks to the local clone of the `symfony/symfony` repositories.

Usage:

```
git clone git@github.com:symfony/symfony.git
cd symfony
./link /path/to/the/project
```

Commits
-------

381f5d1 Add a "link" script to ease debugging Flex apps
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.

3 participants