1
0
Fork 0
Commit Graph

1503 Commits (b7d0892e46df4ab7321d39c9dbe7450fbafd3d0c)

Author SHA1 Message Date
Jordi Boggiano d80180c2b9 Allow notifyUrl to be a complete URL 2012-07-18 14:57:17 +02:00
Jordi Boggiano 5ec41d83b4 Fix non-array return value in some cases on php 5.3.2, fixes #927 2012-07-18 14:23:05 +02:00
Nils Adermann 84dd1fc1bf Merge pull request #898 from Seldaek/providefix
Fix hijacking possibility via provide bug
2012-07-17 12:27:18 -07:00
Jordi Boggiano 1f31810901 Prevent duplicate PEAR replaces if the given vendorAlias equals the channel alias 2012-07-17 16:49:02 +02:00
Beau Simensen 2e9f57b6dd Get links from the pacakge 2012-07-16 10:11:09 -07:00
Nils Adermann 9b8efc9fe3 Merge pull request #916 from chEbba/downloadmanager-filesystem
Add missed docblock for the  parameter in the DownloadManager constructor
2012-07-15 17:41:51 -07:00
Jordi Boggiano 354b82bb8c Fix git checkouts of custom branches, fixes #889 2012-07-15 21:31:29 +02:00
Kirill chEbba Chebunin 2f7e064e99 Add missed docblock for the parameter in the DownloadManager constructor 2012-07-15 23:26:47 +04:00
Nils Adermann f12818233d Merge pull request #909 from missinglink/master
Minor copy change
2012-07-15 10:22:17 -07:00
Jordi Boggiano 5e1c01e132 Merge pull request #911 from adrienbrault/patch-1
Fix Solver CS
2012-07-15 08:44:58 -07:00
WanWizard e24226162d fixed getContext() choking on empty HTTP_PROXY environment variable
Signed-off-by: WanWizard <wanwizard@wanwizard.eu>
2012-07-15 17:24:27 +02:00
Adrien Brault 4263fe9255 Fix Solver CS 2012-07-15 17:31:03 +03:00
Peter Johnson 2f26d2a749 Copy change 2012-07-15 05:06:44 +01:00
Kirill chEbba Chebunin 75d756f665 Add getSupport method to the PackageInterface. 2012-07-14 15:51:45 +04:00
Ismael Ambrosi b368031657 Fixed typos 2012-07-13 17:16:17 -03:00
Jordi Boggiano d87b8d3493 Merge pull request #886 from palex-fpt/pear-binaries
Pear binaries
2012-07-13 12:46:46 -07:00
Nils Adermann 560c3254d4 Correctly treat dev versions for other types of comparisons and add tests 2012-07-11 20:49:53 +02:00
Nils Adermann bbdbfc97ea Remove useless ternary operator 2012-07-11 20:36:44 +02:00
Jordi Boggiano 2f7130200a Prevent seeing dev versions as equal when they are not, fixes #848 2012-07-11 20:25:22 +02:00
Jordi Boggiano 2d19cf2a00 Fix hijacking possibility via provide bug 2012-07-11 19:31:30 +02:00
Adel d3b9f5c33f Fix phpdocs 2012-07-10 19:09:56 +00:00
Jordi Boggiano eb283b34e4 Revert "Fix git checkouts of custom branches, fixes #889"
This reverts commit cbf27bb422.
2012-07-10 19:27:17 +02:00
Jordi Boggiano cbf27bb422 Fix git checkouts of custom branches, fixes #889 2012-07-10 19:02:36 +02:00
Alexey Prilipko 75d3d57117 Version parser stability regexp update 2012-07-10 21:50:58 +11:00
Alexey Prilipko 490b2c0295 Add package name prefix for non 'php', 'script' and 'www' roles 2012-07-09 08:47:27 +11:00
Alexey Prilipko 22d41845ae Exclude dirs from list of binaries 2012-07-08 15:20:35 +11:00
Sylvain Filteau 51404659ef Change the order of the include paths
Composer installed libraries should have precedence over other libraries in the
system (like PEAR installed libraries).

Made composer prepend it's include_path configuration instead of appending it.
2012-07-06 14:17:27 -04:00
Alexey Prilipko bc2d30492a Add php proxies to replacement vars. 2012-07-06 22:14:10 +11:00
Jordi Boggiano 6573fd3f77 Add hint in solver exceptions as to what may be wrong 2012-07-04 15:57:51 +02:00
Jordi Boggiano f4409d9168 Fix problem output formatting, fixes #871 2012-07-04 14:27:26 +02:00
Jordi Boggiano e6f7150196 Change default minimum-stability to "stable", fixes #744 2012-07-04 14:22:09 +02:00
Jordi Boggiano f8d671a07a Tweak exception message 2012-07-04 14:15:57 +02:00
Henrik Bjørnskov 0e73f3187b Validate the name.
If uppercase characters is found suggest a new name with all lowercase
and using - as a seperator where the camelcased characters was found.
2012-07-03 18:39:24 +02:00
till 2823c78856 Allow absolute paths in composer.json and don't prepend them with a funny $baseDir variable. 2012-07-03 17:50:41 +02:00
Jordi Boggiano 0a55707f3e Merge pull request #868 from palex-fpt/pear-binaries
Add php proxies that add all locally installed packages to include_path
2012-07-03 06:49:17 -07:00
Alexey Prilipko 3bdae180f6 Add php proxies that add all locally installed packages to include_path. PEAR binaries are run through these proxies. 2012-07-04 00:38:29 +11:00
Jordi Boggiano 74da2f6730 Remove unnecessary code 2012-07-04 00:35:25 +11:00
Jordi Boggiano db16f68fbf Tweak exception messages 2012-07-03 14:21:10 +02:00
Robert Schönthal 0cd453449b minor changes to JsonFile::parseJson for Drivers 2012-07-03 12:45:07 +02:00
Robert Schönthal c517ac6404 fixed issue #347 added file to json validation exception 2012-07-03 12:37:58 +02:00
Jordi Boggiano b82b9b53f7 Remove unnecessary code 2012-07-03 10:43:34 +02:00
Alexey Prilipko 22aef0124e Revert Locker change, ignore PEAR packages whose version cannot be parsed. 2012-07-03 19:18:58 +11:00
Alexey Prilipko 9ba3deb91b Fix text spacing and remove excess getInstallPath call in LibraryInstaller::update 2012-07-03 19:18:58 +11:00
Alexey Prilipko 59773dd9f6 Use trim filter on 'php' location 2012-07-03 19:18:58 +11:00
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
2012-07-03 19:18:58 +11:00
Alexey Prilipko 0117108efb Fix Locker to store exact package version. 2012-07-03 19:11:58 +11:00
Alexey Prilipko 77715e254a Fix exception message template 2012-07-03 19:11:58 +11:00
Alexey Prilipko f2853c842b Review fixes 2012-07-03 19:11:57 +11:00
Alexey Prilipko e173f11b37 Add PEAR channel reader & Update PearRepository to use it. 2012-07-03 19:11:57 +11:00
Robert Schönthal fdf30c424b rebased to latest master 2012-07-02 09:52:09 +02:00
Robert Schönthal e21ce860df fixed issue #627 (autoload dump command) 2012-07-02 09:48:25 +02:00
Jordi Boggiano 2ede0a3b54 Merge remote-tracking branch 'naderman/fix-duplicate-alias' 2012-07-01 19:07:14 +02:00
Nils Adermann d84273ee34 Merge pull request #833 from Seldaek/installmgr_cleanup
Use the config object to define the vendor dir and not the installation manager
2012-07-01 10:04:09 -07:00
Nils Adermann 11e67bdf52 Merge pull request #832 from Seldaek/instinterface
Expose the whole composer context to the custom installers
2012-07-01 09:58:05 -07:00
Nils Adermann 297bc914fc Merge pull request #859 from Seldaek/whitelist_fix
Fix update whitelist behavior, fixes #782
2012-07-01 09:55:58 -07:00
Nils Adermann 4eb5f73718 Only create alias package in repositories on the fly if necessary, fixes #793 2012-07-01 18:51:13 +02:00
Jordi Boggiano 5c30fcb777 Fix update whitelist behavior, fixes #782 2012-07-01 18:03:01 +02:00
Nils Adermann f0345f0592 Aliases cannot be updated, they must be uninstalled, fixes #803 2012-07-01 17:43:56 +02:00
Jordi Boggiano 011db77876 Output message before altering the source ref, fixes #851 2012-06-29 14:56:38 +02:00
Jordi Boggiano 890e60c614 Allow multiple configs to disable the same repo 2012-06-29 11:45:06 +02:00
Jordi Boggiano e0edd882c5 Add --self flag to composer show to see the root package info 2012-06-29 11:13:49 +02:00
Jordi Boggiano 656feda837 Revert previous change, use GIT_ASKPASS env var instead 2012-06-27 18:28:49 +02:00
Jordi Boggiano 4ee1ff46a8 Try ssh before http auth, and make sure ssh fails fast if no login is possible 2012-06-27 18:00:52 +02:00
Jordi Boggiano 9333579ef1 Notify installs via create-project 2012-06-26 19:30:22 +02:00
Jordi Boggiano 07a266793d Fix invalid function call 2012-06-25 15:57:34 +02:00
Jordi Boggiano 698c642a9f Deduplicate packages with a similar name/version in the error output 2012-06-25 15:55:56 +02:00
Jordi Boggiano adaa788955 Require file autoloads after the autoloader is registered 2012-06-25 11:39:51 +02:00
Jordi Boggiano b876dcbafb Use the config object to define the vendor dir and not the installation manager 2012-06-24 21:58:51 +02:00
Jordi Boggiano a4c829749e Expose the whole composer context to the custom installers, fixes #672 2012-06-24 20:11:17 +02:00
Jordi Boggiano fd776853a4 Show version for platform/installed packages, fixes #825 2012-06-24 17:13:50 +02:00
Jordi Boggiano fc8d92e7a2 Make sure no error is output if env is missing 2012-06-24 15:55:23 +02:00
Jordi Boggiano c28f3aa5c5 Merge remote-tracking branch 'smasty/patch-1' 2012-06-24 15:51:18 +02:00
Jordi Boggiano 96bff33aa9 Merge remote-tracking branch 'Partugal/dev-warning' 2012-06-24 15:09:36 +02:00
Jordi Boggiano ffecd39d33 Refactor repositories handling in config/factory/loader, fixes #828, fixes #826 2012-06-24 13:06:13 +02:00
Sergey Linnik 2448c5a7c2 don't display dev expiration time warning when running self-update command 2012-06-24 14:18:07 +04:00
Smasty 58f0d4aeac fix CS 2012-06-24 13:00:35 +03:00
Smasty bd83eb93bf ConsoleIO::askAndHideAnswer - added support for zsh, ksh and csh shells. 2012-06-24 12:14:13 +03:00
Jordi Boggiano 74c2fd5f06 Merge pull request #824 from beryllium/bug823
PECL-UUID does not define a version constant, use phpversion() instead
2012-06-23 10:26:38 -07:00
Jordi Boggiano 488e794c9b Merge repos instead of replacing 2012-06-23 13:04:23 +02:00
Jordi Boggiano 3ac11b932c Expose default repositories in system config file 2012-06-23 12:55:05 +02:00
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
2012-06-23 12:09:31 +02:00
Jordi Boggiano 66e9dcddf4 CS fixes 2012-06-23 11:58:18 +02:00
Jordi Boggiano b566ba77ac Fix behavior broken by #665 2012-06-23 11:47:53 +02:00
Jordi Boggiano de449aa144 Merge remote-tracking branch 'PSeiffert/master'
Conflicts:
	src/Composer/Factory.php
	src/Composer/Repository/RepositoryManager.php
2012-06-23 11:42:13 +02:00
Kevin Boyd 09be4ed936 PECL-UUID does not define a version constant, so we should use phpversion() to fetch the required information 2012-06-22 23:09:57 -07:00
Jordi Boggiano 6e90c0be51 CS fixes 2012-06-22 20:08:26 +02:00
Jordi Boggiano 95bc5c4898 Fix openssl/pcre matches, and skip other exts properly 2012-06-22 20:07:41 +02:00
Jordi Boggiano 887d913eb6 Merge remote-tracking branch 'ChristianRiesen/master' 2012-06-22 19:48:51 +02:00
Jordi Boggiano 383c3f0153 Avoid tokenizing files for nothing 2012-06-22 18:59:15 +02:00
Christian Riesen 70e7194b07 Changes after excellent feedback from Jordi 2012-06-22 17:16:07 +02:00
Jordi Boggiano 4fcc114f97 Merge pull request #808 from palex-fpt/not-equal-operator
Add '<>' operator to Version Parser
2012-06-22 07:00:18 -07:00
Christian Riesen 432815df67 Added more libraries to PlatformRepository 2012-06-22 15:46:36 +02:00
Jordi Boggiano ccc6fa3714 Merge pull request #775 from palex-fpt/PR-746
PEAR Packages extraction based on package.xml format
2012-06-22 06:15:38 -07:00
Christian Riesen 8d3c85225f Changed PlatformRepository to handle libraries as well now 2012-06-22 14:54:03 +02:00
Christian Riesen 7b49b013ec PlatformRepository now knows curl and libxml versions 2012-06-22 13:51:26 +02:00
Jordi Boggiano 6f576d4d4f Add update <package> example to docs of update 2012-06-21 16:13:52 +02:00
Nils Adermann cb27a1f308 Merge pull request #812 from Seldaek/recover-refs
Recover to an older commit if a locked reference is not found
2012-06-20 16:18:02 -07:00
Nils Adermann cc7632489d Make problem report messages more readable
Added pretty strings to constraints
2012-06-20 19:06:36 +02:00
Jordi Boggiano 54054365e0 Add some comments 2012-06-20 12:09:09 +02:00
Jordi Boggiano 73a865bf2a Fix tests 2012-06-20 12:05:18 +02:00