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
Jordi Boggiano
65dae83ee6
Trim output before splitting lines to avoid blank entries, closes #1978
11 years ago
Jordi Boggiano
27d958a1de
Extract archives into vendor dir to avoid permission errors, fixes #1765 , fixes #1714
11 years ago
Jordi Boggiano
ca69917969
Merge pull request #2008 from phansys/svn-auth
...
Allowed to 5 auth requests in svn before fail
11 years ago
Jordi Boggiano
7aa03410e2
Merge pull request #2015 from jaypea/filedownloader_basicauth
...
allow FileDownloader to use username:password@ info when downloading
11 years ago
Jordi Boggiano
f79c4e4309
Detect safe_mode and output correct error, closes #2006
11 years ago
Jordi Boggiano
eb0f35377e
Fix variable masking
11 years ago
Jordi Boggiano
e64050e91d
Fix output of diag command
11 years ago
Jordi Boggiano
7b6f0ab047
Code cleanups, enforce url for https, refs #2009
11 years ago
Jordi Boggiano
74fe0fd497
Merge remote-tracking branch 'stefk/master'
11 years ago
Jordi Boggiano
3057949a2e
Output error if the disk is full, fixes #1952
11 years ago
Jan Prieser
cc1e10e8ae
allow FileDownloader to use username:password@ info when downloading through https?
11 years ago
Stéphane Klein
42119dde6b
Use github protocols setting for push urls
11 years ago
Phansys
465d1fdd44
Allowed to 5 auth requests before fail ( 6687743adb/src/Composer/Util/Svn.php (L115)
).
11 years ago
Jordi Boggiano
d498e73363
Merge pull request #2004 from jaypea/recursive_artifactrepository
...
ArtifactRepository needs recursive iteration
11 years ago
Jan Prieser
ba87cfc6d1
find artifacts recursively in given path
...
uses regex to filter file extension
11 years ago
Jordi Boggiano
8d0b7f278e
CS fixes
11 years ago
Jordi Boggiano
6f6228fb1d
Remove unneeded use
11 years ago
Pavel Savinov
b72c4cfe97
PHPDoc fix
11 years ago
Pavel Savinov
831bd844bd
Almost PHPDoc problems fixed
11 years ago
Pavel Savinov
2cb697a4bb
includeIfExists function now works properly(return false now)
11 years ago
Jordi Boggiano
06dff68ce7
Merge pull request #1990 from phansys/svn-auth
...
Added check for SVN WebDAV auth request
11 years ago
jspagnoletti
6687743adb
Added check for SVN WebDAV auth request ( http://subversion.apache.org/docs/api/latest/group__svn__dav__error.html#gada0137a4ffc40251d2fce8ba06ca2e14 , http://svn.apache.org/repos/asf/subversion/trunk/subversion/bindings/javahl/src/org/tigris/subversion/javahl/ErrorCodes.java ).
11 years ago
Christoph
0524d28b03
fixed escaping the path (it's no cmdline argument anymore)
11 years ago
Jordi Boggiano
f56b985884
Merge pull request #1979 from hason/filesystem
...
Fixed the Filesystem methods for a directory with a name that is a substring of a another directory
11 years ago
Jordi Boggiano
c479a26d71
Add workaround for msysgit failing to handle symlinks on windows, fixes #1048 , fixes #1418
11 years ago
Jordi Boggiano
4cac2caf70
Make sure cd call allows switching drives on windows, fixes #1971
11 years ago
Jordi Boggiano
8b8dc1fd70
Remove all possible cd calls, refs #1971
11 years ago
Peter Smith
8a7e2a3c00
Unbind the filter Closure from ArchivableFilesFinder to allow the object
...
to be garbage collected correctly, and the folder closed.
Fixes https://github.com/composer/satis/issues/64 for PHP 5.4
11 years ago
Martin Hasoň
81e41bac4b
Fixed the Filesystem methods for a directory with a name that is a substring of a another directory
11 years ago
Robert (Jamie) Munro
0ea3dbd9c0
Update error message now that --dev is default
...
Fixes #1970 .
11 years ago
Jordi Boggiano
22c7d4119f
install and create-project now default to dev mode (use --no-dev for production installs)
11 years ago
Tobias Munk
c1cae8d838
updated events to use composer from Factory
...
PSR-0 autoloading is now handled correctly
11 years ago
Tobias Munk
27b3f338e9
added TODO
11 years ago
Tobias Munk
60f96d5135
fixed post-create-project-cmd event
...
event occurs after autoloader is generated and refreshed
11 years ago
Jordi Boggiano
f0327caaa1
Cleanups
11 years ago