Created
July 5, 2014 08:11
-
-
Save michaelcullum/d66c34ccf3ce30aef4b0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<MichaelC> naderman: Is there no nicer syntax in composer than: `>=3.1.0-RC2@dev, <3.2.*` for anything in the 3.1.* branch >= 3.1.0-RC2? | |
--> VSE (~VSE@phpbb/extensions/vse-mattfriedman) has joined #phpBB-dev | |
*** Mode #phpBB-dev +o VSE by ChanServ | |
<naderman> MichaelC: "~3.1.0-RC2" | |
<MichaelC> Ah | |
<naderman> actually not sure if that works with the RC2 but should I think | |
<MichaelC> i thought that only applied to major versions | |
<MichaelC> i.e. 1.2 vs 2.0 | |
<naderman> works at any level | |
<naderman> ~1.1.0 == 1.1.*, >= 1.1.0 | |
<naderman> ~1.1.3.5 == 1.1.3.*, >= 1.1.3.5 | |
<MichaelC> ah nice | |
<naderman> so I think ~3.1.0-RC2 might actually not work | |
<naderman> as that would be 3.1.0.*, >= 3.1.0-RC2 | |
<MichaelC> https://getcomposer.org/doc/01-basic-usage.md#next-significant-release-tilde-operator- | |
<naderman> yes | |
<MichaelC> 'Last specified digit' | |
<MichaelC> i guess yeah | |
<naderman> so '>=3.1.0-RC2,<3.2.*' it is | |
<naderman> the @dev part is to be added at the end if at all | |
<naderman> could be @rc in this case | |
<MichaelC> hm... I'm surprised inclusion of -RC or -beta or -alpha doesn't lower the minimum stability by itself. *shrug* | |
<VSE> So '>=3.1.0-RC2@dev, <3.2.*' ? | |
<naderman> MichaelC: well then >= 3.1.3, < 3.1-dev would just make it @dev which you don't want | |
<naderman> VSE: no at the end like I said | |
<naderman> '>=3.1.0-RC2,<3.2.*@dev' | |
<MichaelC> true | |
<VSE> naderman: thx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment