Igor Wiedler
96104971d0
Merge branch 'master' of https://github.com/composer/composer into autoload
...
* 'master' of https://github.com/composer/composer :
Fix documentation layout
Add basic specification of the default solver policy behaviour
DefaultPolicy test: pick package providing newest virtual package version
Complete the policy tests with provider and replacement tests
Adding tests for the default policy specifying its desired behaviour
2011-10-22 15:19:04 +02:00
Nils Adermann
e4c94dd415
Adding tests for the default policy specifying its desired behaviour
2011-10-21 14:44:24 +02:00
Igor Wiedler
dd3e11ed81
[composer] wrap UniversalClassLoader require in if class_exists
2011-10-16 21:43:19 +02:00
Igor Wiedler
e71fcdc0f5
[autoload] refactor getFullPackage into populateAutoloadInformation
2011-10-16 20:10:50 +02:00
Igor Wiedler
b5f1bffcfa
[autoload] refactor autoload generation code into a AutoloadGenerator
2011-10-16 20:04:29 +02:00
Igor Wiedler
774e8584fd
rename installAs to target-dir
2011-10-16 18:52:08 +02:00
Igor Wiedler
3e12d2f64b
return early (this is very important)
2011-10-16 18:46:37 +02:00
Igor Wiedler
4d7e012e2f
Merge branch 'master' of https://github.com/composer/composer into autoload
...
* 'master' of https://github.com/composer/composer :
Add a few solver tests regarding "replace"
Fix missing support for the symfony-bundle package type.
Fix up version parsing
Add some more version normalization and support for branch names
2011-10-16 18:44:45 +02:00
Jordi Boggiano
e09f6900da
Fix up version parsing
2011-10-11 11:49:32 +02:00
Jordi Boggiano
19f89069a4
Add some more version normalization and support for branch names
2011-10-11 09:30:10 +02:00
Igor Wiedler
7a32860871
[autoload] autoloading prototype
2011-10-09 16:43:16 +02:00
Jordi Boggiano
b3fe30200b
Remove validation for now since it's doing more harm than good
2011-10-02 23:54:13 +02:00
Jordi Boggiano
7d4e67b335
Fix phar compiler
2011-10-02 23:38:54 +02:00
Jordi Boggiano
be769ea1ac
Add user-agent header to json fetches, fixes #39
2011-10-02 22:44:10 +02:00
Jordi Boggiano
2ebc795754
Error out when a package can not be found, refs #30
2011-10-02 21:24:09 +02:00
Jordi Boggiano
1a9de17a88
Detect and report common mistakes in json syntax, refs #36
2011-10-02 21:14:00 +02:00
Jordi Boggiano
cad0967788
json_decode returns null on error, not false
2011-10-02 21:04:37 +02:00
Jordi Boggiano
9210500714
Handle false and empty decoded json values as valid
2011-10-02 20:49:26 +02:00
Jordi Boggiano
18e28a2a9f
Make sure .composer dir is created before writing in it
2011-10-02 20:46:33 +02:00
Jordi Boggiano
806c5f200a
Fix var name
2011-10-02 20:18:46 +02:00
Jordi Boggiano
e109213dfa
Merge remote-tracking branch 'everzet/json-abstraction'
2011-10-02 19:57:25 +02:00
Jordi Boggiano
9e3c2a7e22
Skip platform packages from the lock file
...
This should maybe be done in a better way, but it'll do for now.
2011-10-02 19:55:45 +02:00
Jordi Boggiano
cc769af923
Reuse normal installer logic for locked installs
2011-10-02 19:54:53 +02:00
everzet
d5ba884f8b
fixed potential error
2011-10-01 17:06:14 +03:00
everzet
1cca62dc97
move json parsing instructions into single class object
2011-10-01 16:01:33 +03:00
everzet
96122aada8
refactored install command to use new Locker
2011-10-01 15:34:10 +03:00
everzet
cc2f2b79ca
added findPackage() method to the RepositoryManager and RepositoryInterface
2011-10-01 15:34:09 +03:00
everzet
21191ffa00
refactored PackageLock to Locker and stabilized it
2011-10-01 15:34:09 +03:00
everzet
1fcb833902
added Json parsing abstraction
2011-10-01 15:34:09 +03:00
Igor Wiedler
2c1605925b
ArrayLoader should not use require content for all other properties
2011-09-30 18:05:28 +02:00
Jordi Boggiano
9cbd74bf90
Merge remote-tracking branch 'everzet/downloader-interface-refactoring'
2011-09-29 20:50:41 +02:00
everzet
195272da09
refactored DownloaderInterface to be mono-installation-type
2011-09-29 04:11:51 +03:00
everzet
cc740249ff
don't return useless info
2011-09-29 02:01:06 +03:00
Jordi Boggiano
ebe2a25ec6
Merge remote-tracking branch 'wilmoore/feature/memory-package-test-refactor'
...
Conflicts:
src/Composer/Package/MemoryPackage.php
2011-09-29 00:55:28 +02:00
Jordi Boggiano
fda206400a
Fix constraint parsing
2011-09-29 00:50:01 +02:00
Jordi Boggiano
f48634d074
Add source/dist reference information to package
2011-09-29 00:49:23 +02:00
Jordi Boggiano
00a4fe2a14
Refactor downloaders, git installs actually work well now
2011-09-29 00:48:52 +02:00
Wil Moore III
b70bb1a9bc
memory-package-test-refactor: refactored the memory package test to be a bit more DRY and "hopefully" re-usable in anticipation of more package types being adding in the future.
2011-09-26 22:05:57 -06:00
Jordi Boggiano
c863c31881
Rename platform packages so they avoid conflicts with any vendor
2011-09-27 01:10:21 +02:00
Jordi Boggiano
da6566b343
Minor improvements to VersionParser
2011-09-26 20:34:58 +02:00
Jordi Boggiano
2e10b5c17e
Expand normalization feature and adjust tests
2011-09-26 00:59:32 +02:00
Jordi Boggiano
46a67733f8
Adjust codebase to the new VersionParser
2011-09-26 00:01:22 +02:00
Jordi Boggiano
f761cfe525
Refactored VersionParser
2011-09-26 00:01:14 +02:00
Jordi Boggiano
d455eef82c
Fix pear & zip downloaders
2011-09-25 23:43:49 +02:00
Jordi Boggiano
544067ced9
Packages can't be added to two repos at once
2011-09-25 23:43:21 +02:00
Jordi Boggiano
e5907a3431
Remove WrapperRepository in favor of PlatformRepository wrapping the local repo
2011-09-25 23:42:40 +02:00
Jordi Boggiano
b9114e16be
Fix typos, short var names etc
2011-09-25 23:20:31 +02:00
Jordi Boggiano
c6d7760145
Merge branch 'refactoring'
2011-09-25 23:09:07 +02:00
Jordi Boggiano
5623f3e69c
Fix refactoring bugs
2011-09-25 23:07:42 +02:00
Jordi Boggiano
4fe80d7abb
Add WrapperRepository class
2011-09-25 23:05:29 +02:00