Jordi Boggiano
573e4b2a7c
Merge branch 'newrepo'
12 years ago
Jordi Boggiano
a59a5c4581
Merge remote-tracking branch 'simensen/sem-version-support'
12 years ago
Jordi Boggiano
beb9a5bd72
Code optimizations: avoid loops in match()
12 years ago
Beau Simensen
081ead1635
Version Parsing: Consider <x.y.z to be <x.y.z-dev
...
> Consider `<x.y.z` to be `<x.y.z-dev.` Because in 99%
> of the cases that's what the intent is. Could be
> overriden with `<x.y.z-stable`.
- @Seldaek
refs #643
12 years ago
Beau Simensen
96a76eeffc
Semantic Version Parsing: ~version
...
Implemented `~` according to #643 and used the following versions
as a test case as defined by @Seldaek:
* "~1.2.3.4" = ">=1.2.3.4 <1.2.4.0-dev"
* "~1.2.3" = ">=1.2.3 <1.3.0-dev"
* "~1.2" = ">=1.2.0 <2.0.0-dev"
* "~1" = ">=1.0.0 <2.0.0-dev"
Refs #643
12 years ago
Jordi Boggiano
62bb5b339b
Allow parsing of stability modifiers combined with multi-constraints
12 years ago
Martin Hasoň
29034ea3e0
Added support for the root package in the array dumper
12 years ago
Jordi Boggiano
8d7e5cdda5
Fix target-dir with multiple slashes too
12 years ago
Jordi Boggiano
a9195eb05f
Add a couple test cases
12 years ago
Jordi Boggiano
f377e9ca87
Fix possible vendor-dir "evasion" via target-dir
12 years ago
Jordi Boggiano
83239aa338
Update lock file to contain the complete package info, fixes #890
12 years ago
Jordi Boggiano
0932f65a17
Return 7 chars and not 6 for short git hashes, formatting fixes
12 years ago
Jordi Boggiano
338730b19b
Merge remote-tracking branch 'zczapran/issue/1043_wrong_output_for_versions_when_updating'
12 years ago
Jordi Boggiano
e01a9c564d
Fix parsing of stability for lowercased RC versions
12 years ago
Zbigniew Czapran
730f206cea
removed unneccesary PackageMock and trailing whitespaces
12 years ago
Zbigniew Czapran
80c2736021
in VersionParser only truncate the version if hash
12 years ago
Jordi Boggiano
d6de4a0036
Rename Package interfaces to reduce BC issues
12 years ago
Jordi Boggiano
fe15c6a827
Make dev version matches preserve the proper case, fixes #935
12 years ago
Jordi Boggiano
c65af3e3a1
Add ValidatingArrayLoader and more validation for the validate command
12 years ago
Kirill chEbba Chebunin
c62d4179b3
Remove unnecessary use statement from ArrayDumperTet
12 years ago
Kirill chEbba Chebunin
75d756f665
Add getSupport method to the PackageInterface.
12 years ago
Jordi Boggiano
d87b8d3493
Merge pull request #886 from palex-fpt/pear-binaries
...
Pear binaries
12 years ago
Nils Adermann
560c3254d4
Correctly treat dev versions for other types of comparisons and add tests
12 years ago
Jordi Boggiano
2f7130200a
Prevent seeing dev versions as equal when they are not, fixes #848
12 years ago
Alexey Prilipko
75d3d57117
Version parser stability regexp update
12 years ago
Alexey Prilipko
22aef0124e
Revert Locker change, ignore PEAR packages whose version cannot be parsed.
12 years ago
Alexey Prilipko
ac3cebc633
Update PEAR Package Extractor to use 'task:replace', 'phprelease' commands and install role='script' files
...
Add PearInstaller
Change PEAR packages type from 'library' to 'pear-library' and dist type from 'pear' to 'file'
Remove PearDownloader
Refactor Channel Installer
12 years ago
Jordi Boggiano
ffecd39d33
Refactor repositories handling in config/factory/loader, fixes #828 , fixes #826
12 years ago
Jordi Boggiano
3ac11b932c
Expose default repositories in system config file
12 years ago
Jordi Boggiano
4a6ae454c2
Merge remote-tracking branch 'dpb587/multiple-repos'
...
Conflicts:
src/Composer/Factory.php
src/Composer/Package/Loader/RootPackageLoader.php
tests/Composer/Test/Package/Loader/RootPackageLoaderTest.php
12 years ago
Jordi Boggiano
4fcc114f97
Merge pull request #808 from palex-fpt/not-equal-operator
...
Add '<>' operator to Version Parser
12 years ago
Nils Adermann
a756f7f880
Merge pull request #798 from cs278/dev-hash-detached-head
...
Ensure composer works with a detached head
12 years ago
Jordi Boggiano
73a865bf2a
Fix tests
12 years ago
Alexey Prilipko
9f08764e9a
Add '!=' handling to VersionConstraint::matchSpecific
12 years ago
Alexey Prilipko
e130386612
Add '<>' operator for Version Parser
12 years ago
Grégoire Pineau
f4e9dd4fb8
Fixed PSR rules
12 years ago
Chris Smith
5e4b2fcc8d
Test for detached heads yielding an invalid version
12 years ago
Nils Adermann
41215a0e47
Require first version of a root package alias, rather than alias
...
This makes sure that the alias will always be installed, even if it isn't
technically needed.
13 years ago
Jordi Boggiano
c10eb66ac4
Ignore references when parsing dev versions
13 years ago
Jordi Boggiano
0936670213
Add support for stabilities in lock file
13 years ago
Jordi Boggiano
ef28f3b067
Basic handling of stability flags
13 years ago
Jordi Boggiano
70a3c68f73
Add package stability
13 years ago
Michael Cullum
2653ece028
Adding author role to ArrayLoader Test
13 years ago
Danny Berger
8d6d155153
Add internal support for multiple default composer repositories.
13 years ago
Jordi Boggiano
a1306091f2
Fix locking behavior with --dev
13 years ago
Jordi Boggiano
89e095b4b5
Handle --dev installs/updates
13 years ago
Jordi Boggiano
e922404f19
Update/add tests
13 years ago
Jordi Boggiano
595182aec0
Add/fix tests
13 years ago
Jordi Boggiano
8654c43c62
Fix version parser regression, fixes #550
13 years ago
Jordi Boggiano
f604ca5762
Allow .x in version constraints as alias for .*
13 years ago