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

Minor improvement for symfony-installer with LTS #5032

Closed
wants to merge 2 commits into from
Closed

Minor improvement for symfony-installer with LTS #5032

wants to merge 2 commits into from

Conversation

94noni
Copy link
Contributor

@94noni 94noni commented Feb 20, 2015

Minor improvement for symfony-installer with LTS

based on the symfony-installer PR symfony/symfony-installer#105

@stof
Copy link
Member

stof commented Feb 20, 2015

note for maintainers, this should be merged in the 2.3 branch (and it should be flagged as WCM for now)

@xabbuh xabbuh added the On hold label Feb 20, 2015
@xabbuh xabbuh changed the title Minor improvement for symfony-installer with LTS [WCM] Minor improvement for symfony-installer with LTS Feb 20, 2015
@xabbuh
Copy link
Member

xabbuh commented Feb 20, 2015

@94noni Thank your for creating this pull request. FYI, I prefixed the PR title with "[WCM]" to indicate that we are waiting for your PR to be merged into the Symfony Installer code.

@@ -98,6 +98,16 @@ number as the second argument of the ``new`` command:
# Windows
c:\projects\> php symfony.phar new my_project_name 2.3.23

If you want your project to be based on the last Symfony LTS version, pass ``lts`` as the second argument of the ``new`` command:
Copy link
Member

Choose a reason for hiding this comment

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

Can you please wrap lines after the first word that crosses the 72nd character?

@94noni
Copy link
Contributor Author

94noni commented Feb 20, 2015

@xabbuh ok for the PR
i've changed but not use if a really understand what you meant :s

javiereguiluz added a commit to symfony/symfony-installer that referenced this pull request Mar 2, 2015
This PR was squashed before being merged into the 1.0-dev branch (closes #105).

Discussion
----------

Allow last LTS version to be installed.

Hi,

I just wanted to add the possibility to install the latest Symfony LTS version directly via the installer (new command).

Docs PR symfony/symfony-docs#5032

Feedbacks welcome :)

Commits
-------

6c08849 Allow last LTS version to be installed.
@xabbuh xabbuh removed the On hold label Mar 2, 2015
@xabbuh xabbuh changed the title [WCM] Minor improvement for symfony-installer with LTS Minor improvement for symfony-installer with LTS Mar 2, 2015
@@ -98,6 +98,17 @@ number as the second argument of the ``new`` command:
# Windows
c:\projects\> php symfony.phar new my_project_name 2.3.23

If you want your project to be based on the last Symfony LTS version, pass
Copy link
Member

Choose a reason for hiding this comment

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

Is it better to use "latest" instead of "last"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Latest could be interpreted as "they are a lot of LTS versions", but there is only one
For me last is ok, or nothing at all

Copy link
Member

Choose a reason for hiding this comment

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

Well, if you look at each patch version as its own version, there are a lot of LTS versions. However, at least this will be true when Symfony 2.7 is released because we then have two LTS versions.

Copy link
Member

Choose a reason for hiding this comment

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

IIRC what my English teachers told me, last would mean that there won't be any other LTS version after this one, which is wrong.
But I will let a native speaker confirm this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I understand your point of view
Can you confirm that https://github.com/symfony/symfony-installer/blob/master/src/Symfony/Installer/NewCommand.php#L223 will download automatically the 2.7 when it will be published, even if the 2.3 will still be maintained?
If yes, latest is the best option imo

Copy link
Member

Choose a reason for hiding this comment

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

@94noni I can confirm that lts will always be the most recent LTS version (2.3 today and 2.7 in a few months). This version switch will be transparent to the installer and it will be done immediately after the new LTS version is published.

@94noni
Copy link
Contributor Author

94noni commented Mar 2, 2015

ping @xabbuh cc @stof @javiereguiluz

@xabbuh
Copy link
Member

xabbuh commented Mar 2, 2015

👍 Looks great @94noni!

weaverryan added a commit that referenced this pull request Mar 14, 2015
This PR was submitted for the 2.6 branch but it was merged into the 2.3 branch instead (closes #5032).

Discussion
----------

Minor improvement for symfony-installer with LTS

Minor improvement for symfony-installer with LTS

based on the symfony-installer PR symfony/symfony-installer#105

Commits
-------

18c08f3 Better wording
8e41e73 Minor improvement for symfony-installer with LTS
@weaverryan
Copy link
Member

Great feature and great addition. Thanks so much for this Antoine!

I also added a link for "lts" to the releases page at sha: 912682a

Cheers!

@weaverryan weaverryan closed this Mar 14, 2015
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.

5 participants