Rob Bast
a1427d7fd6
replace all occurences in code and comments
9 years ago
Rob Bast
1ccfc8eb96
add semver, deprecated existing classes
9 years ago
Jordi Boggiano
74e56fd5c6
Merge remote-tracking branch 'szeber/master'
9 years ago
Jordi Boggiano
89c6a68a76
Updates to path repository and path downloader, refs #4365
9 years ago
Samuel ROZE
bb81e3721a
Move the `proc_open` test in setUp
9 years ago
Zsolt Szeberenyi
d7a94bda1b
Change short array syntax to long for 5.3 compatibility
9 years ago
Zsolt Szeberenyi
bfb83f1fb7
Add name and version to the relevant fields, move content hash checking to the Locker
9 years ago
Samuel ROZE
dfccb686ce
Replace usage of brackets by legacy array notation
9 years ago
Samuel ROZE
5261a5fa03
Move version guessing in `VersionGuesser` class
9 years ago
Rob Bast
ef37b86c81
closes #1508 - updated tests
9 years ago
Kunal Mehta
14d1f0f3f6
Move VersionParser::parseLinks() to ArrayLoader::parseLinks()
...
Working towards #3545 .
parseLinks is a wrapper around VersionParser::parseConstraints() that
creates Link objects, and better belongs in ArrayLoader.
9 years ago
Kunal Mehta
f634c6946d
Update callers of VersionParser::formatVersion()
...
Tests were moved to BasePackageTest.
9 years ago
Kunal Mehta
99dab8aebd
Move VersionParser::formatVersion() to BasePackage::getFullPrettyVersion()
...
Working towards #3545 .
formatVersion() does not belong in VersionParser since it depends upon a
Package object, and is creating a more complete pretty formatted
version, not parsing anything.
The new getFullPrettyVersion() method can be seen as an extension to
getPrettyVersion(), and is located in BasePackage as a result.
Callers to VersionParser::formatVersion() were not updated in this
commit to demonstrate that no functionality was changed in this
refactor. They will be updated in a follow up commit.
9 years ago
Jordi Boggiano
6a64041055
CS fixes
9 years ago
Jordi Boggiano
a8e004c7e7
Merge pull request #4199 from sminnee/version-comparison-docs
...
>=2.3.0 now includes pre-releases, added docs for this and -stable suffix Fixes #4080 .
9 years ago
Sam Minnee
2cd698874f
Include pre-releases in >=2.3.0 comparison. Fixes #4080 .
...
This is a change to the >=2.3.0 comparison. Without this change, such a
comparison will exclude pre-release versions.
The rationale is that this makes the comparison more consistent with
<2.3.0 (which excludes all pre-releases) and ~2.3.0 (which includes
pre-releases).
9 years ago
Rob Bast
0298cdc60d
change delimiter to curly braces
9 years ago
Rob Bast
e698636af4
added test to reproduce #4183
9 years ago
Jordi Boggiano
a943827371
Show that no version was found in composer show/license if root package is auto-versioned, fixes #4158
9 years ago
Zsolt Szeberenyi
50b560fe4c
Add the hash of the parsed content of the composer.json to the lock file, and use it to verify the json is not changed
9 years ago
nevvermind
12c833864c
Revert converting `1.0.0` to `^1.0`.
9 years ago
Jordi Boggiano
17c2a8019e
Merge pull request #4089 from nevvermind/plugin-api-versions
...
Make plugins have actual constraints instead of fixed versions
9 years ago
nevvermind
eb2aa14830
Make plugins have actual constraints instead of fixed versions
...
Instead of developing plugins against a single, fixed Plugin API version - `"composer-plugin-api": "1.0.0"`, this change will allow plugin developers to use versions like `"composer-plugin-api": "~1.1"` or `"composer-plugin-api": ">=2.1 <3.0"`, aka actual Composer-compatible constraints.
Only the "1.0", "1.0.0" and "1.0.0" Plugin API versions will be regarded as BC versions, and internally converted to "^1.0"; every other declared version string will be kept as it is.
Because of this new constraint flexibility, plugin version mismatches will be skipped, which means those plugin will NOT be registered to the system. Previously, a mismatch triggered a warning, but plugins were still registered.
9 years ago
Rob Bast
89885140d3
Created a failing test case
9 years ago
Rob Bast
46e0a506b9
Added another testcase + fix
9 years ago
Rob Bast
a256f3dfca
Added one failing testcase and one successful
...
Demonstrates that it handles x.y.z properly as long as z !== 0
9 years ago
Possum
2e99b9fdf5
Use https where possible
10 years ago
Jordi Boggiano
4ce0adb23c
Use the caret operator for all require operations
10 years ago
Jordi Boggiano
43c1caad0d
Merge remote-tracking branch 'Seldaek/caret-op-for-semver'
...
Conflicts:
tests/Composer/Test/Package/Version/VersionSelectorTest.php
10 years ago
Jordi Boggiano
a57c51e8d7
Finalize platform override feature
...
- Added tests, docs
- Persist to lock file
- Add support in config command
- Added to json schema
10 years ago
Jordi Boggiano
0b4a9235f4
CS fixes
10 years ago
David Prévot
e5ede671d2
Config Git repository user
...
One can’t assume a Git user is already setup for the tests.
10 years ago
Jordi Boggiano
53925295c3
Merge pull request #3699 from trivago/non_feature_branches
...
added non-feature-branches
10 years ago
rkerner
abc9d60fcc
added non-feature-branches to handle non-numeric branches matching configured patterns not been handled as feature branches
10 years ago
Jordi Boggiano
cd38d1e096
Tweaks to also support 1.0-dev style aliases, refs #3480
10 years ago
Damian Mooyman
7bb85ff21e
Support aliases for numeric branches. Fixes #3461
10 years ago
Christophe Coevoet
267af928df
Add a failing testcase for stability flags in complex constraints
...
Refs #3570
10 years ago
Nicolas Grekas
e821ac2772
Persist prefer-lowest in composer.lock
10 years ago
Jordi Boggiano
d4523119ea
Use caret operator for 0.x releases when guessing versions, fixes #3518
10 years ago
Jordi Boggiano
06e96a78e2
Update ranges for 0.N versions, refs #3518
10 years ago
Jordi Boggiano
9438f3a58f
Use better semver ranges for 0.x versions, fixes #3518
10 years ago
Jordi Boggiano
92f4c1fb35
Allow and ignore semver build metadata, fixes #2422
10 years ago
Jordi Boggiano
f363f9d370
Add support for caret (^) operator
10 years ago
Jordi Boggiano
ebab9db27a
Add support for hyphen ranges
10 years ago
Jordi Boggiano
69ef80124f
Add support for capital X in 3.X and || for OR
10 years ago
Jordi Boggiano
4c713978e9
Add more tests and validate that there is only one comma
10 years ago
Jordi Boggiano
ca168d478b
Spaces are now equivalent to comma in constraints and mean AND
10 years ago
Jordi Boggiano
029f709300
Fix parsing stability suffixes in multi constraints, fixes #1732
10 years ago
Nils Adermann
6f4be698a5
Merge pull request #3325 from rdohms/implementing-abandoned-packages
...
Abandoned Package Warnings
10 years ago
Jordi Boggiano
94926218e8
CS fixes
10 years ago