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