Skip to content
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

changed version from 2.3.0 --> 2.3.7 #3252

Closed
wants to merge 1 commit into from

Conversation

luebbert42
Copy link
Contributor

just for convenience (i.e. people not reading the text carefully but copying the example and starting with an "old" Symfony version by accident)

just for convenience (i.e. people not reading the text carefully but copying the example and starting with an "old" Symfony version)
@weaverryan
Copy link
Member

I agree completely - a lot of people just copy and paste. But, this would require us to change this on each minor release, which is not something we want to maintain. I would love for there to be some syntax we could use like ~2.3.0, which would grab the latest 2.3.* version, but I don't believe anything exists.

I'm going to leave this open, because I think it deserves conversation and perhaps we can find a nice solution.

Thanks!

@petk
Copy link
Contributor

petk commented Dec 2, 2013

Hi, that is interesting one and I don't think either composer supports a 2.3.* syntax with create-project. I've opened an issue ticket here:
composer/composer#2470
Regards.

@lyrixx
Copy link
Member

lyrixx commented Dec 2, 2013

>[~] composer create-project symfony/framework-standard-edition /tmp/foobar 2.3.*
Installing symfony/framework-standard-edition (v2.3.7)
  - Installing symfony/framework-standard-edition (v2.3.7)
    Downloading: 100%    

works ;)

ping @weaverryan

@petk
Copy link
Contributor

petk commented Dec 2, 2013

I see, thanks for the info. 2.3.* works indeed. I was using old version of composer. 👍

@weaverryan
Copy link
Member

Ha, awesome - I didn't know the wildcard worked either :).

I've patched this commit into the 2.3 branch at sha: 2812e68 and then updated to use the wildcard at sha: e15226e

Thanks everyone!

@weaverryan weaverryan closed this Dec 3, 2013
@wouterj
Copy link
Member

wouterj commented Dec 3, 2013

It must be a new feature, as it didn't work 6 months ago #2688 (comment)

@weaverryan
Copy link
Member

It didn't work when I tried it - I had to selfupdate - looks like it's brand new :).

composer/composer#2431

And it's funny, because the PR references this exact spot as the motivation 🆒

@luebbert42 luebbert42 deleted the patch-1 branch December 7, 2013 13:46
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.

5 participants