235 Commits (fb6f6fd26c39b385a6feb087ff39238bc3ce67b2)

Author SHA1 Message Date
Pádraic Brady 306ba77e93 Implement the RemoteFilesystem Factory everywhere...
- also fixes impacted test
10 years ago
Pádraic Brady 9881d76216 Adds Composer\Factory::createRemoteFilesystem():
- Implemented in self-update command
- Added to Composer\IO\BaseIO the getInputOption() and getInputArgument() getters to allow access to input
- Fixed some minor bugs
10 years ago
Pádraic Brady d8cbd9f057 Expand cli TLS options to other commands + misc fixes 10 years ago
Pavel Puchkin 3811fe7d8b Resolves #2521. First and simple attempt to make a gzip downloader 10 years ago
Pádraic Brady 30c6aa3183 Merge branch 'master' of github.com:composer/composer into tls-config 11 years ago
Pádraic Brady 83d4e3a940 Fixes from functional testing (need to automate this stuff!) 11 years ago
Pádraic Brady 600b6c8cb3 TLS support for Factory::createComposer() - for JsonFile remotes 11 years ago
Nils Adermann 5ed18d9aa2 Fail over from source to dist and vice versa when downloads fail
Any RuntimeException descendent will be caught and cause another
download attempt using either source or dist depending on what was
attempted first.
11 years ago
Pádraic Brady 0a8180674e Adding some HTTPS check to diagnose command (stash) 11 years ago
Jan Prieser d57e2b9ffb added ZipArchiver to actually compress zip files 11 years ago
Pascal Borreli 2f4df9d459 Fixed typos 11 years ago
Jérémy JOURDIN fbadc19bf6 Add preFileDownload event on package.json fetch 11 years ago
Christian Schiffler fc4cc79a52 Fix cache directory upgrading - do not try to remove the destination directory. 11 years ago
Jordi Boggiano ce8b475f4c Minor tweaks to perforce support, refs #2329 11 years ago
Jordi Boggiano 11a0d16ccc CS fixes 11 years ago
Jordi Boggiano 9a806658d6 Merge remote-tracking branch 'vuhl/master'
Conflicts:
	src/Composer/Factory.php
11 years ago
Nicolas Bastien 52711d121c Remove unused use statement. 11 years ago
Jordi Boggiano cb79b55434 Merge pull request #2263 from drrcknlsn/rar
RAR archive downloader
11 years ago
Derrick Nelson 2ba8042986 Added package type rar. 11 years ago
Martin Hasoň af53ab94ad Default installers are available in the factory for a plugin manager 11 years ago
matt-whittom a980228b76 Added Perforce VCS to Composer.
Added Perforce utility class, PerforceDriver and PeforceDownloader
Added PerforceDriverTest
Updated Factory, VcsRepository to incorporate Perforce classes.
Modified ArchivableFilesFinderTest to skip Mercurial test that does not work for me.
11 years ago
Nils Adermann bf08019292 Load plugins and installers prior to checking installed packages 11 years ago
Nils Adermann 5993450d5a Load plugin code from global vendor dir correctly 11 years ago
Nils Adermann c5c180fdd2 Load plugins from global vendor dir too 11 years ago
Nils Adermann 15ac7be6f1 Fix disabling plugins which has to happen in the factory now 11 years ago
Nils Adermann f0b45099c1 Correct authorship info for files I edited 11 years ago
Nils Adermann 3960edd64e Turn EventDispatcher into generic solution handling plugins as well 11 years ago
Nils Adermann 2f43e9aefb Load installed plugins at appropriate time and adapt tests accordingly 11 years ago
Nils Adermann eb966d347f Implement a plugin manager and interface, update installer plugin tests 11 years ago
Nils Adermann 01a08a2ff3 As preparation for composer plugins, rename custom installers to plugins 11 years ago
Ben Davies 91d9e91c0a load IO configuration 11 years ago
Jordi Boggiano 14fcff8aa8 Allow the authentications to be loaded in the IO independently 11 years ago
Jordi Boggiano c082e5aec8 Fix display of commands in ProcessExecutor, refs #2146 11 years ago
Nils Adermann c6aa97ed8a Merge pull request #2153 from renanbr/archive-prefer-dist
prefer-dist and archive synchronized
11 years ago
Jordi Boggiano 565e216afb Adjust cache-dir docs, fixes #1667 11 years ago
Jordi Boggiano e99b327342 Clarify that composer.json is being read and not downloaded, refs #2096 11 years ago
Jordi Boggiano bd345c3b43 Add IO to proc executor in a few more places to get more debug info out 11 years ago
Renan de Lima 8e8e9d3719 Factory uses "prefered-install" configuration when creating
DownloadManager
11 years ago
Jordi Boggiano 8d0b7f278e CS fixes 11 years ago
Pavel Savinov 831bd844bd Almost PHPDoc problems fixed 11 years ago
Jordi Boggiano e50173ff93 Merge remote-tracking branch 'nfx/artefact-repo-type' 11 years ago
Jordi Boggiano e8c362c273 Throw exception if HOME or APPDATA is not available to create the composer home dir 11 years ago
Serge Smertin 4b176f11f2 added artifact repository initial functionality 11 years ago
Nils Adermann 3e26502561 Remove Mercurial and Git Archivers as they cannot implement exclude rules 11 years ago
Nils Adermann 526f48ecb8 Implement a basic archive command
It allows creating archives with the archive manager given a package/version
pair.
11 years ago
Nils Adermann ba51027680 Reorder ArchiveManager parameters to make the download manager optional 11 years ago
Matthieu Moquet c248115e04 Fix how download manager is constructed
This fixes tests due to upstream changes.
The createDownloadManager in the Factory now takes the config as extra
parameter.
11 years ago
Matthieu Moquet 60b1cc7d24 Create ArchiveManager with the Factory 11 years ago
Jordi Boggiano a0a9536d90 Avoid failing if COMPOSER env var is empty, refs #1720 11 years ago
Jordi Boggiano 4207fc3b19 Refactor require-dev handling to use one single repository and a one pass solving, fixes #719, fixes #1185, fixes #1330, fixes #789, fixes #640 12 years ago
Jordi Boggiano 8d55b9cced Merge remote-tracking branch 'ronnylt/script-event-post-dump-autoload'
Conflicts:
	tests/Composer/Test/Autoload/AutoloadGeneratorTest.php
12 years ago
Jordi Boggiano c55c9e4e8d Use strtr instead of str_replace 12 years ago
johnstevenson a2525c8fbe Replace backslashes in Window directories for config --list 12 years ago
Jordi Boggiano 49c839d780 Fix cache blasting on nix 12 years ago
johnstevenson ff1cf15cb4 Fix unlink(folder) failure on Windows using removeDirectory() 12 years ago
Ronny López e5cbf83185 Added post-autoload-dump script event. 12 years ago
Jordi Boggiano 514a3cde77 CS fixes 12 years ago
ntoniazzi 6821e3efcc Conforming to XDG Base Directory Specification (http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html) 12 years ago
ntoniazzi 770292a42c Conforming to XDG Base Directory Specification (http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html) 12 years ago
Jordi Boggiano 0b94fd209a Warn users if github tokens contain invalid chars 12 years ago
Beau Simensen 8d1d060d66 Made getComposerFile static. 12 years ago
Jordi Boggiano a8f74a0983 Allow notification from locked installs, fixes #1368, fixes #1372, fixes #1369 12 years ago
Jordi Boggiano 488624675c Prevent exception when glob fails to return an array, fixes #1357 12 years ago
Jordi Boggiano 15475f0ef2 Rename cache dirs to consolidate them by purpose 12 years ago
Jordi Boggiano b05a554883 Add cache-files-ttl setting, and docs for the cache 12 years ago
Jordi Boggiano 5a9d986e67 Implement cache GC and fix keys 12 years ago
Igor Wiedler 4959c2bdc6 Replace references of a11n with a12n where appropriate
Authorization => Authentication.
12 years ago
Jordi Boggiano aecf4ffe91 Move creation of custom styles to the factory 12 years ago
Pascal Borreli 83fd3967f0 Fixed PHPDoc 12 years ago
Jordi Boggiano 39e69a3b12 Refactor OAuth acquisition code to generalize it 12 years ago
Jordi Boggiano a9811c4e40 Store and reload the github token to/from the config 12 years ago
Jordi Boggiano e410da786e Add ConfigSourceInterface and matching class 12 years ago
Jordi Boggiano 247d1aca41 Avoid double slashes if HOME ends with a slash, fixes #1227 12 years ago
Jordi Boggiano 056dc5d690 Move config to all VcsDownloaders, enforce array for github-protocols 12 years ago
Martin Hasoň 3b6bd761ec Set protocols for github in composer config file 12 years ago
Bilal Amarni 5669419416 fixed typo 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 a4c829749e Expose the whole composer context to the custom installers, fixes #672 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 66e9dcddf4 CS fixes 12 years ago
Jordi Boggiano de449aa144 Merge remote-tracking branch 'PSeiffert/master'
Conflicts:
	src/Composer/Factory.php
	src/Composer/Repository/RepositoryManager.php
12 years ago
Jordi Boggiano c9ef7479c4 Keep track of commit dates in the lock file in case the reference disappears 12 years ago
Jordi Boggiano 4bbb168d44 Remove BC code 12 years ago
Jordi Boggiano 7cd5f4c142 Add Factory::getComposerFile 12 years ago
Jordi Boggiano c440b4594a More PSR-2 goodness 12 years ago
Jordi Boggiano 1bd4ccbd54 php-cs-fixer magic 12 years ago
Jordi Boggiano 9dc61be28c Merge pull request #683 from ktomk/patch-4
Minor fixes while running along.
12 years ago
Tom Klingenberg 296123db26 CS Fixes 12 years ago
Jordi Boggiano 11edea8aee Add deprecation warning to old .composer files 12 years ago
Paul Seiffert 1713acf011 Coding standards and Cosmetics
Processing feedback given by @stof and @Seldaek.
12 years ago
Paul Seiffert 16941adb49 Added comments to Composer/Factory class in order to make it IDE friendlier. 12 years ago
Jordi Boggiano f3df4772f9 Make sure htaccess is created 12 years ago
Jerome Tamarelle 1139b5c306 Protect composer home against web access 12 years ago
Danny Berger 8d6d155153 Add internal support for multiple default composer repositories. 12 years ago
Jordi Boggiano 15ab5868a3 Move composer metafiles back in a composer dir, except autoload.php 12 years ago
Jordi Boggiano 22fe296ad0 Move .composer files out into the vendor dir, fixes #497 12 years ago
Jordi Boggiano 7837be0621 Fix creation of ComposerRepository, refs #587 12 years ago
Jordi Boggiano 89e095b4b5 Handle --dev installs/updates 12 years ago
Jordi Boggiano 48ae8bf3ec Use pathinfo instead of substr 12 years ago
Jordi Boggiano fc29487a2a Add home config key and use it to create the cache instance 12 years ago
Jordi Boggiano e638182397 Add Config class and system-wide config management, fixes #513 12 years ago
Jordi Boggiano f7affa21b0 Fix indenting 12 years ago
Jordi Boggiano ab55490254 Merge remote-tracking branch 'hason/metapackage' 12 years ago
Igor Wiedler 0fe90c5d87 update some links to point to getcomposer.org 12 years ago
Jordi Boggiano 7f65dd7409 Use RemoteFilesystem everywhere we do http requests 12 years ago
Jordi Boggiano a5edc9e357 Extract package purging in a method and fix variable overriding 12 years ago
Jordi Boggiano 3b77d25a3c Merge remote-tracking branch 'hason/priority'
Conflicts:
	src/Composer/Factory.php
12 years ago
Jordi Boggiano 96b07ffb7b Ensure missing packages are reinstalled if they are deleted from the filesystem, fixes #355, fixes #437 12 years ago
Jordi Boggiano 7ab3a96874 Micro-optimization 12 years ago
Jordi Boggiano 1d544630b6 Allow requesting a particular vcs driver to bypass github/bitbucket ones 12 years ago
Jordi Boggiano cb57c7bf42 Merge branch 'InstallAppCommand' of https://github.com/beberlei/composer 12 years ago
Martin Hasoň 9021c86237 Added packagist repository as the last repository with the lowest priority 13 years ago
Jordi Boggiano 82dd1c1f7f Add relaxed schema for application packages that do not need to be distributed 13 years ago
Jordi Boggiano bd54e43d37 Rework JsonFile API slightly, avoid tokenizing in php if the syntax is valid 13 years ago
Jordi Boggiano 07a82c9223 Merge remote-tracking branch 'digitalkaoz/json_schema_validator' 13 years ago
Martin Hasoň f1618df349 Added downloader for simple files and refactor FileDownloader into ArchiveDownloader 13 years ago
Benjamin Eberlei 1c67633c70 Refactored downloader code and made packagist configuration flexible and validated. 13 years ago
Jordi Boggiano 8ba76fe6d2 Boost default timeout to 5min 13 years ago
Jordi Boggiano e26f7f5ec4 Fix syntax error 13 years ago
Martin Hasoň 9b03b7e915 Added config directive 'process-timeout' 13 years ago
Jordi Boggiano 0b7ee194c6 Remove persistence of alias data, make abstract branch aliasing and keep it in composer only 13 years ago
Martin Hasoň 528a058e40 Added installer for metapackages 13 years ago
digitalkaoz 6929c42848 added schema/syntax validation for composer.json 13 years ago
Martin Hasoň 56c0e511da Added support for change the process timeout 13 years ago
Jordi Boggiano eb35244230 Fix repositories warning 13 years ago
Jordi Boggiano 44e76e06fc Refactor repositories configuration 13 years ago
Jordi Boggiano 70bea8fe57 Fix previous commit 13 years ago
Jordi Boggiano b2076c2462 Re-order repos so that packagist always has the lowest priority 13 years ago
Jordi Boggiano d3d16789d0 Enable tar/phar downloaders 13 years ago
François Pluchino 8053878b6a Merge branch 'master'
Conflicts:
	src/Composer/Console/Application.php
13 years ago
Jordi Boggiano d1416a35a2 Fix missing arg 13 years ago
Jordi Boggiano 3bed815b19 Restore bindir/vendordir behavior, fixes #216 13 years ago
Igor Wiedler 81f9adc596 Refactor Application::bootstrapComposer into a factory class (split from #178) 13 years ago