2701 Commits (7343198817f365b1676ced0f353808f0e408ff9a)

Author SHA1 Message Date
Fabian Grutschus 5ae5963acd Fix for Preforce utility does not check if p4 command exists 11 years ago
Jordi Boggiano 9dcada5e25 Remove buggy chunk of code, refs #2312, refs #2305 11 years ago
Jordi Boggiano 0fbb4cbd16 CS fixes and renaming a few methods, refs #2184 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
Jordi Boggiano 57146c12b4 Warn user that commands are being run in another directory 11 years ago
Jordi Boggiano 4989940533 Merge pull request #2317 from xrstf/installer-binaries
attempted fix for #1589 (installers & binaries)
11 years ago
Christoph f0842213e0 make sure relative paths from custom installers to not break the installation of binaries 11 years ago
Jordi Boggiano 60237f16af Merge pull request #2308 from nicolas-bastien/remove_unused_use_statement
Remove unused use statement.
11 years ago
Jérôme Tamarelle f51aa4fad6 Add local cache for Git repositories 11 years ago
Jordi Boggiano cc37e4b0b8 Show defaulted version if phpversion() returns nothing, fixes #2313 11 years ago
Ruud Denivel 05d2186049 disable prepend option on update 11 years ago
Ruud Denivel 65c10daaf8 disable prepend option on install 11 years ago
Nicolas Bastien 52711d121c Remove unused use statement. 11 years ago
Martin Hasoň 3c0a620ad5 Fixed path analysis 11 years ago
Jordi Boggiano 05ffc605f1 Ignore chmod failures, fixes #1854 11 years ago
Jordi Boggiano 46e82cb38d Retry json file writing 3 times before failing, fixes #2286 11 years ago
Jordi Boggiano ff404f8bd0 Merge remote-tracking branch 'origin/master' 11 years ago
Jordi Boggiano 6e4e10620a Merge remote-tracking branch 'gerryvdm/feature'
Conflicts:
	src/Composer/Command/CreateProjectCommand.php
11 years ago
Jordi Boggiano 3f6227a996 Add workaround for php bug 53460 glob() can return false, fixes #2278 11 years ago
Marc 30049637dc Set some phpdoc to isLocalUrl 11 years ago
Jordi Boggiano 807600b255 Fix edge case where one adds a target-dir on a package that didnt have one before, refs #2279 11 years ago
Jordi Boggiano a813867065 Merge remote-tracking branch 'chx/913' 11 years ago
Karoly Negyesi 1a69d0a2a7 style fixes 11 years ago
Peter Kokot 4748f16091 fix CS 11 years ago
Gerry Vandermaesen eb72e1692c Added --no-install option to create-project command
Added a --no-install option to the create-project command that
skips installation of the dependencies in the newly created
project.
11 years ago
Haralan Dobrev 4abaaaf76d Use default description and license from CLI args
When running `composer init` with `--description` and `--license` arguments
on the command line they are later suggested as defaults during the
interactive flow. However when you press Enter (to use the default suggesstion)
Composer does not use it, but instead skip them entirely from the `composer.json`
generation.

This change provides a default argument not only to `DialogHelper::getQuestion()`,
but also to `DialogHelper::ask()`.
11 years ago
Karoly Negyesi f4e9c74fee style fixes 11 years ago
Karoly Negyesi c6ec739766 allow injecting a mock filesystem into LibraryInstaller and fix LibraryInstallerTest 11 years ago
Karoly Negyesi dd4db91ae7 using mkdir() in copyThenRemove() leads to errors if the target exists or not a dir, use ensureDirectoryExists() instead 11 years ago
Karoly Negyesi b333d7a485 act on target-dir changes during update 11 years ago
Jordi Boggiano 5b96caf8ce Add version release date to -V output, fixes #2267 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
Derrick Nelson c98bce0446 Added RarDownloader for downloading RAR archived packages. 11 years ago
mwhittom 8a319a719b Fixed issue with non-streaming perforce depots, also fixed issue where PerforceDownloader was not logging in 11 years ago
Nils Adermann 6f7b82e935 Merge pull request #2259 from hason/pm
Removed duplication of logic of an installation manager in a plugin manager
11 years ago
Martin Hasoň e949038c0f Removed duplication of logic of an installation manager in a plugin manager 11 years ago
Romain Neutron 9b7fc0bae7 Update INF to PHP_INT_MAX as recommended by Stof 11 years ago
Romain Neutron a965642769 Do not use detected width for output formatting if it is not available 11 years ago
Martin Hasoň af53ab94ad Default installers are available in the factory for a plugin manager 11 years ago
mwhittom 1b68f9151e removed excess space at end of function call 11 years ago
Derrick Nelson 9a54c476eb Recursively set write permissions on unzipped package contents to resolve cache unlinking issue. 11 years ago
mwhittom 114f6c9b6b Replaced proc_open in windowsLogin method with call to Symfony Process Component 11 years ago
mwhittom 2e737ac439 updated to replace double-quotes with single quotes 11 years ago
mwhittom 8207518e04 Updated to clean up code and rename variables to camelcase 11 years ago
Jordi Boggiano e330763c5f Fix issue when multiple paths are mapped to one dir in the show command 11 years ago
Jordi Boggiano 0eb2821733 Fix undefined var error, fixes #2241 11 years ago
Nils Adermann 689e3056fa Plugin API requirements should be for plugins only, not installers 11 years ago
Nils Adermann 5be0ba14fe Warn about composer-installer type in composer validate 11 years ago
mwhittom 07d46aa3c3 Fixed spacing issues for PSR-2 11 years ago
Nils Adermann 242c58c789 Merge pull request #2179 from naderman/plugins
Plugins
11 years ago
Nils Adermann 92b1ee2f7a Add a composer-plugin-api platform package and plugins must require it 11 years ago
Nils Adermann d00ca4bcdb Add a Command event triggered by all comands which load plugins 11 years ago
mwhittom 774a55befd Updated to match psr-2 spec, fixed header comments 11 years ago
matt-whittom f737e49aae Fixed issue with downloader assuming repository would be VcsRepository 11 years ago
matt-whittom f3722a46ed Updated comments 11 years ago
matt-whittom dd81449998 Updated to remove vfsStreams (no longer needed by tests)
Updated Perforce to cleanup, modified VcsRepository to call cleanup on Driver class
Updated tests, perforce constructor to make tests cleaner/easier
11 years ago
matt-whittom 7fdcdb4c54 Updated to complete functionality in Downloader to handle updates, returning change logs. 11 years ago
matt-whittom 1019c014e5 using theirs 11 years ago
matt-whittom bab10dd9f8 Added ability to pass p4user and p4password in composer.json 11 years ago
matt-whittom 53d6fcd6d3 using theirs 11 years ago
matt-whittom a5df2851ef Finished cleanup of debug messages. 11 years ago
matt-whittom 43108b4692 Cleanup phase 1
Removed branches - only returning the "master"
11 years ago
matt-whittom 64bda65e11 Updated Perforce driver to use labels
dev checkin, lots of cleanup to do
11 years ago
matt-whittom 36dd7dfea5 Cleaned up perforce code
Checks to see if already logged in to Perforce, and prompts for password if not and P4PASSWD is not set
Checks server url with perforce call
Checks for composer.json file, and returns the contents of the file already retrieved.
11 years ago
matt-whittom 0d061f2530 Added Perforce to Composer 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
Jordi Boggiano 9b70b89b8f Merge pull request #2210 from Firehed/master
Change 'generated' notice to @phpdoc-style annotation
11 years ago
Jordi Boggiano 80184b87d1 Fix undefined index error, fixes #2224 11 years ago
Nils Adermann bf08019292 Load plugins and installers prior to checking installed packages 11 years ago
Nils Adermann 786ea2929b Merge remote-tracking branch 'github-composer/master' into plugins
* github-composer/master:
  Make sure directories we are downloading to are empty
  Fix parsing of trunk in SvnDriver, fixes composer/satis#88
  Fix file layout in unit tests
  Fix parse error thrown in PHP5.5+
11 years ago
Nils Adermann a080ae3a51 Make sure directories we are downloading to are empty
We already clear them on error anyway and usually they should be
empty, but just to be safe.
11 years ago
Jordi Boggiano 4b38158185 Merge pull request #2221 from Alan01252/fix-unexpectedas
Fix parse error thrown in PHP5.5+
11 years ago
Jordi Boggiano 2bf90b544a Fix parsing of trunk in SvnDriver, fixes composer/satis#88 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 5867d477be Use call_user_func for PHP < 5.4 compatability and accept __invoke 11 years ago
Nils Adermann a8c0170a91 Revert constructor arguments to old order for custom installers 11 years ago
Nils Adermann 15ac7be6f1 Fix disabling plugins which has to happen in the factory now 11 years ago
Nils Adermann 3e1519cde0 Complete missing docblocks and fix incorrect ones 11 years ago
Nils Adermann 3b519e44c4 Rename PrepareRemoteFilesystem event to PreFileDownload 11 years ago
Nils Adermann f0b45099c1 Correct authorship info for files I edited 11 years ago
Nils Adermann b9c5758670 Make composer/io part of the activate plugin API rather than constructor args 11 years ago
Nils Adermann b83535d2d9 Add back --no-custom-installers option with a deprecated warning 11 years ago
Nils Adermann cd66328d68 Autoload dependencies of plugins using a pool of only the local repo 11 years ago
Nils Adermann 9402a9fb3c Plugins receive composer and io objects on construction already 11 years ago
Nils Adermann f00f5113bf Fix typo 11 years ago
Nils Adermann 919a190153 Add an EventSubscriberInterface which may also be implemented by plugins 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
Alan Hollis ede2b37ae2 Fix parse error thrown in PHP5.5+
When running composer update the file generated by AutoloadGenerator was
not able to be parsed by php due to a require statement inside the foreach
loop.

The fix is to make the statement work the same as the
autoload_namespaces.php require is done.

Issue occured using the following php versions

PHP 5.5.1-2+debphp.org~precise+2
PHP 5.5.3-1+debphp.org~precise+2
11 years ago
Firehed 046d55e886 Change 'generated' notice to @phpdoc-style annotation
While it isn't an official part of the syntax, it integrates better with other
tools that ignore diffs on generated code.
11 years ago
Jordi Boggiano ef072ff8c0 Merge pull request #2205 from unn/patch-1
Update help docs for the global command
11 years ago
Jordi Boggiano 51ea1f03f9 Validate constraints in require command, fixes #2197 11 years ago
Jordi Boggiano c2dc433fa4 Improve global command to support short command resolution 11 years ago
David Stoline 54a74e81d5 Add a note about customizations 11 years ago
David Stoline 6eee550c2f Update help docs for the global command
I noticed that COMPOSER_HOME/vendor/bin was wrong. Correcting.
11 years ago
DerManoMann abb1db54bb Add another svn auth failed string to check (older svn server version) 11 years ago
Ben Davies 91d9e91c0a load IO configuration 11 years ago
Jordi Boggiano d017e3f209 Adjust GitDriver tag parsing to resolve to SHAs 11 years ago
Jordi Boggiano c0b889a78a Merge pull request #2187 from benjisg/fix-AutoloadNamespacesGenerator
Fixes the autoload_namespaces generator
11 years ago
Jordi Boggiano e0051a4652 Update tests 11 years ago
Jordi Boggiano 444bdb2e25 Fix VCS drivers to always use identifiers and not tag names since those can change or disappear 11 years ago
Benji Schwartz-Gilbert f5048059d8 Fixes the autoload_namespaces generator for packages in the root of the vendor directory 11 years ago
Jordi Boggiano 30f94365f0 Return path of the downloaded file 11 years ago
Jordi Boggiano d2ef829cc6 Fix typo 11 years ago
Jordi Boggiano 70523a191d Mark class as abstract 11 years ago
Jordi Boggiano 14fcff8aa8 Allow the authentications to be loaded in the IO independently 11 years ago
Jordi Boggiano 7311bc77e6 Add global command to be able to require/install/update global packages, fixes #1813, fixes #55 11 years ago
Jordi Boggiano c082e5aec8 Fix display of commands in ProcessExecutor, refs #2146 11 years ago
Jordi Boggiano 78a8a5ca0b Fix output of invalid zip files when download is retried 11 years ago
Jordi Boggiano 1a50f74c4c Improve reporting of github rate limiting errors, fixes #2183 11 years ago
Nils Adermann 8369624c49 Correctly set watch2 on rule watch nodes for learned rules fixes #2181 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 e3a10b31ab Abort quickly if the only match is class= in a file 11 years ago
Jordi Boggiano 565e216afb Adjust cache-dir docs, fixes #1667 11 years ago
Jordi Boggiano 051d219438 Fix whatProvides returning too many results when no constraint is given 11 years ago
Jordi Boggiano 3346609c5d Skip best adapter since it can create issues on some platforms, fixes #2168 11 years ago
Jordi Boggiano 0044c75ca0 Fix detection of tags when the current tag is not a valid version 11 years ago
Jordi Boggiano 8b293633ae Merge remote-tracking branch 'simensen/non-dev-version'
Conflicts:
	src/Composer/Package/Loader/RootPackageLoader.php
	tests/Composer/Test/Package/Loader/RootPackageLoaderTest.php
11 years ago
Jordi Boggiano f59f443fce CS fixes and one more test for safety, fixes #1855 11 years ago
Jordi Boggiano 533512879e Merge remote-tracking branch 'sminnee/fix-tilde-constraint-stabililty' 11 years ago
Jordi Boggiano 02828a81d2 Merge remote-tracking branch 'Rarst/fix-winproxy-quotes' 11 years ago
Jordi Boggiano 7b81d51a38 Merge remote-tracking branch 'digitalkaoz/classmap_generator_finder' 11 years ago
Jordi Boggiano f9ce367c10 Remove dangling vendor/composer dir after create-project, fixes #2025 11 years ago
Jordi Boggiano 187017cc0d Minor tweaks, refs #2075 11 years ago
Jordi Boggiano b0e72f0910 Merge remote-tracking branch 'trompette/license-tools' 11 years ago
Jordi Boggiano b4c0b18896 Add tests, refs #2017 11 years ago
Jordi Boggiano 13c7be2d7e Reformat some code and avoid adding proxy auth if no_proxy matched the url, refs #2017 11 years ago
Jordi Boggiano 2492dea4a8 Merge remote-tracking branch 'radnan/issue-1318' 11 years ago
Jordi Boggiano 21299e0bc4 Make sure all installers are installed first unless they have requirements, refs #2107, fixes #1147 11 years ago
Jordi Boggiano d1a1758b84 Merge remote-tracking branch 'TYPO3-Flow/bugfix-composer-installers-1147' 11 years ago
Jordi Boggiano 815f7687c5 Merge pull request #2157 from hason/125
Throw exception if the local repository does not contain a package to uninstall
11 years ago
Jordi Boggiano 32079754a0 Add more realpath, refs #2096 11 years ago
Jordi Boggiano e99b327342 Clarify that composer.json is being read and not downloaded, refs #2096 11 years ago
Jordi Boggiano 22369fd3ae Realpath hg paths to avoid problems after a chdir, fixes #2096 11 years ago
Jordi Boggiano b453b6655b Only check for the package time if a package is actually installed from source, 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 610e272faa use available $io in archive
https://github.com/composer/composer/pull/2099#pullrequestreviewcomment-5318806
11 years ago
Renan de Lima e06f0f1233 removes hardcoded "prefer-source" in ArchiveManage when calling
DownloadManager
11 years ago
Renan de Lima d17935acd2 attach IO to DownloadManager in "package" command 11 years ago
Renan de Lima 8e8e9d3719 Factory uses "prefered-install" configuration when creating
DownloadManager
11 years ago
Martin Hasoň b1c4eed57f Throw exception if the local repository does not contain a package to uninstall 11 years ago
bronze1man 9a1f4e4458 fix some files mode bug 755->644 11 years ago
Jordi Boggiano af1f5a3423 Merge pull request #2091 from jaypea/archivemanager
cleanup temporary download location when archiving
11 years ago
Andreas Hennings ce8a9aae5b Slightly nicer heredoc in AutoloadGenerator::getIncludePathsFile() 11 years ago
Andreas Hennings 5369904dd3 autoload_files.php should return an array of files, instead of directly including them. 11 years ago
Andreas Hennings 8e9bdfb4da Factor the filesCode generation into a separate method. 11 years ago
Andreas Hennings f98a8f472e Generate an autoload_files.php next to autoload_namespaces.php and autoload_classes.php 11 years ago
Sascha Egerer c13327dd75 CGL fix 11 years ago
Sascha Egerer e31a0f8296 Add pre-status-cmd and post-status-cmd hooks 11 years ago
Jordi Boggiano 1217a632fe Adjust function signatures and add type hints, refs #2136 11 years ago
Jordi Boggiano d96d9b3926 Merge remote-tracking branch 'sascha-egerer/feature/changereport_interface' 11 years ago
Jordi Boggiano 7912253df6 Retry downloading when a corrupt zip is found, fixes #2133, fixes #2128, fixes #2125 11 years ago
Sascha Egerer 80cebbd4be Fixed getLocalChanges calls in VCS downloaders to match new function interface 11 years ago
Sascha Egerer 49d89bbbfc CGL fix 11 years ago
Sascha Egerer 667176d1d0 Add ChangeReport Interface
Added a ChangeReport Interface to allow also non VCS-Downloaders to check the status of there package
11 years ago
Jordi Boggiano 67407801b8 Add debugging info for invalid zip files to try and get to the bottom of it, refs #2125 11 years ago
Jordi Boggiano d740f50277 Fix parsing of inferred stability flags that are more stable than the min stability 11 years ago
Jordi Boggiano f8a1d41967 Merge pull request #2118 from acasademont/retry_on_error
Retry file download also on Internal Server Error 500 code ...
11 years ago
Jordi Boggiano ab709107e5 Fix detection of git bitbucket repos with incorrect URLs, fixes #2095 11 years ago
Albert Casademont 5234e64e97 Retry file download also on Internal Server Error 500 code as is mostly a temporary glitch (at least on GitHub) 11 years ago
Jordi Boggiano 1d91e43587 Merge pull request #2101 from e1en0r/patch-1
Allow whitespace in installers - fix for issue #2071
11 years ago
Jordi Boggiano 5c7af783f6 Merge pull request #2114 from kibao/init-command-utf8-author-name
Init command - diacritical marks in author name
11 years ago
Jordi Boggiano 771233a5a0 Make it clear what is going on when a vcs folder is missing, fixes #2108 11 years ago
Przemysław Piechota 95cbb177dd Init command - diacritical marks in author name 11 years ago
Jordi Boggiano 3ffad59719 Also try a php copy-and-remove on unix if mv failed, refs #1765 11 years ago
Sebastian Kurfuerst 51b1eeeb3f [BUGFIX] make sure composer/installers is always installed/updated first
Resolves: #1147
11 years ago
Elenor 2a33a7bed6 Allow whitespace in installers - fix for issue #2071
Custom installers can have the class definition indented.
11 years ago
Jan Prieser 290b9307f4 remove unneeded braces 11 years ago
Jan Prieser c6db86e444 cleanup temporary download location when archiving 11 years ago
Benoît Merlet 4a3c419e74 thrown exception when using an unsupported format 11 years ago
Benoît Merlet 7591c064f5 used TableHelper for text output 11 years ago
Benoît Merlet fbbd6f8999 refactored alignment of text output 11 years ago
Benoît Merlet bf0b42efaa renamed flat format to text 11 years ago
Benoît Merlet 4aa4af73c5 proof of concept regarding licenses 11 years ago
Christoph 8c3a84d9fd fixed very evil 'tip' tag oversight in bitbucket driver 11 years ago
Robert Schönthal 860483e97e reverted simplification cause of php < 5.3.6 11 years ago
Robert Schönthal f75dda759d simplified extension check in classmap generation 11 years ago
Robert Schönthal 963f189fb2 bumped finder version, reverted warning suppression 11 years ago
Robert Schönthal 1a4a104df0 use best finder adapter 11 years ago
Jordi Boggiano 8766c7072b Fix detection of versions with git 1.8+, fixes #2065 11 years ago
Andrey Savchenko e9522e29dd Removed quotes that escaping generated inside of path in win proxy script
Fixes #2040
11 years ago
Robert Schönthal 4af410e1b9 using finder for classmap generator 11 years ago
Jordi Boggiano e68d455c5c Remove the http protocol from github-protocols, refs #1955 11 years ago
Jordi Boggiano a6e3b23ca5 Stop trying to bypass https since github does not and will not support non-https transports 11 years ago
Jordi Boggiano 8d6f4307c8 Merge remote-tracking branch 'kriswallsmith/composite-repo-fix' 11 years ago
Jordi Boggiano 307c384294 Avoid throwing when checking for disk space, fixes #2039 11 years ago
Christoph 6406e0d3b7 fixed Bitbucket's broken API 11 years ago
radnan 7e584de9e8 return early if rule is * and remove one level of nesting 11 years ago
nickolay-cure4you d4ffb85aa4 Fix typo. when safemode is enabled we experienced the problem with ini_get arguments number 11 years ago
Kris Wallsmith fa4b13d95a fix when composite repo has no delegates 11 years ago
radnan a92ceaf4fe fix minor typo 11 years ago
radnan a55c9b6a88 added no_proxy handler - fixes #1318
- handle no_proxy directive when building stream context
- using CIDR matching from Zend library
- uses parts of code provided courtesy of @hoffman
11 years ago
Jordi Boggiano 52990eca1e Clear up github env everywhere it is used 11 years ago
Jordi Boggiano 81b2b84112 Clean up git env vars consistently 11 years ago
Jordi Boggiano 48b6e8cd21 Always clear git env vars 11 years ago