This repository was archived by the owner on Nov 14, 2019. It is now read-only.
Commit f0d03d5
committed
feature #185 Improve the installation of -dev and -BETA versions (94noni, javiereguiluz)
This PR was merged into the 1.0-dev branch.
Discussion
----------
Improve the installation of -dev and -BETA versions
This finishes #159, which is related to #144 and #143.
The new behavior of the installer:
1) When installing a regular Symfony version, nothing changes from the previous installer.
2) When you install a `beta` version, you see a warning message:

3) When you try to install a `dev` version, you get a better error message and a link to the article that will solve your problem:

Commits
-------
6751701 Fixed again one test
3ea393a Fixed one test
f45a29a Fixed again the version parser regexp
165813c Added new tests for BETA and RC versions
9e41335 Updated the version parser regular expression
b26b217 Added support for RC versions and normalized version names
31765ca Made comparisons case insensitive because Composer doesn't differentiate 'BETA1' from 'beta1'
9b3cdc1 The trailing number is only available for BETA versions not for 'dev' versions
d03938f Fixed syntax issues
d67b4ad Improved the error message for "-dev" versions
4c26d2b Warn the user when downloading an unstable version
94a1f98 Simplified the new feature a bit
d58812a Installation dev/beta versions (143)File tree
2 files changed
+28
-8
lines changed- src/Symfony/Installer
- tests/Symfony/Installer/Tests
2 files changed
+28
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | 108 | | |
114 | | - | |
| 109 | + | |
115 | 110 | | |
116 | 111 | | |
117 | 112 | | |
118 | 113 | | |
119 | | - | |
120 | | - | |
| 114 | + | |
| 115 | + | |
121 | 116 | | |
122 | 117 | | |
123 | 118 | | |
| |||
175 | 170 | | |
176 | 171 | | |
177 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
178 | 192 | | |
179 | 193 | | |
180 | 194 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
109 | 115 | | |
110 | 116 | | |
111 | 117 | | |
0 commit comments