Skip to content

Fixed composer create-project command (windows) #4505

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
Closed

Fixed composer create-project command (windows) #4505

wants to merge 2 commits into from

Conversation

Epskampie
Copy link
Contributor

The composer create-project command as it was doesn't work on windows because of the single astrophes ' . The error returned is:

Could not parse version constraint '2.5.*': Invalid version string "'2.5.*'"

This is resolved by switching to double astrophes ". The new command is verified to work on ubuntu linux as well.

The composer create-project command as it was doesn't work on windows because of the single astrophes ' . The error returned is:

    Could not parse version constraint '2.5.*': Invalid version string "'2.5.*'"

This is resolved by switching to double astrophes ". The new command is verified to work on ubuntu linux as well.
@xabbuh
Copy link
Member

xabbuh commented Nov 21, 2014

Thanks for investigating this @Epskampie! Could you please also update the use of composer create-project in /cookbook/workflow/new_project_git.rst in the same way?

The composer create-project command as it was doesn't work on windows because of the single astrophes ' . The error returned is:

    Could not parse version constraint '2.5.*': Invalid version string "'2.5.*'"

This is resolved by switching to double astrophes ". The new command is verified to work on ubuntu linux as well.
@Epskampie
Copy link
Contributor Author

Of course, I've added the change to /cookbook/workflow/new_project_git.rst as well.

I noticed that the command in the 2.3 branch mentions symfony 2.5, but that is another issue.

@xabbuh
Copy link
Member

xabbuh commented Jan 2, 2015

@Epskampie First, I want to wish you a happy new year! Unfortunately, the composer command has been removed from the cookbook in the meantime. This means that your pull request actually needs a rebase. Will you be able to do that?

@Epskampie Epskampie closed this Jan 23, 2015
@xabbuh
Copy link
Member

xabbuh commented Jan 23, 2015

@Epskampie Is there a specific reason you closed your pull request?

@Epskampie
Copy link
Contributor Author

A few reasons:

  • I don't know how to rebase :-) , and it seems like a lot of work for a 4 character change.
  • My pull requests are focussed mostly on removing roadblocks for newbies. Since they are unlikely to read an old version of the docs, I don't consider this change really neccesary anymore.

@xabbuh
Copy link
Member

xabbuh commented Jan 26, 2015

@Epskampie Sure, no worries. :) I finished your work in #4926. Thank you for contributing to the Symfony docs!

wouterj added a commit that referenced this pull request Jan 31, 2015
…s) (Epskampie)

This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #4926).

Discussion
----------

Finish #4505: Fixed composer create-project command (windows)

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets | #4505

The composer create-project command as it was doesn't work on windows because of the single astrophes ' . The error returned is:

    Could not parse version constraint '2.5.*': Invalid version string "'2.5.*'"

This is resolved by switching to double astrophes ". The new command is verified to work on ubuntu linux as well.

Commits
-------

e2efc6b Fixed composer create-project command (windows)
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.

2 participants