Jordi Boggiano
c1cc6bfecf
Avoid doing too many loads of the remotefilesystem
9 years ago
Jordi Boggiano
cb53bd04cb
Remove a few instances of RemoteFilesystem that were not needed
9 years ago
Jordi Boggiano
86a911150b
Update bundled CAfile and other cleanups
9 years ago
Jordi Boggiano
f8dff0867c
Remove --disable-tls/--cafile flags and rely solely on config options plus some wording clarifications
9 years ago
Jordi Boggiano
5d015defb8
Merge remote-tracking branch 'origin/master' into tls-config
9 years ago
Jordi Boggiano
a10bffec0e
Merge remote-tracking branch 'GromNaN/gitlab'
9 years ago
Jordi Boggiano
67a1924173
Merge remote-tracking branch 'Rudloff/xz'
9 years ago
Jordi Boggiano
cb3d9527e1
Avoid some external process calls when creating the global composer instance, saves a few ms of initialization time
9 years ago
Jordi Boggiano
1fca6be3bf
Fix detection of the root package version to always use the correct cwd
9 years ago
Jordi Boggiano
e87190e3da
Detect duplicate keys in composer.json, fixes #4620
9 years ago
Jordi Boggiano
bd76506dd8
Disable plugin registration during the whole run when running with --no-plugins, fixes #3910
9 years ago
Jérôme Tamarelle
ac68a721f4
Merge remote-tracking branch 'composer/master' into gitlab
...
Conflicts:
doc/04-schema.md
src/Composer/Util/RemoteFilesystem.php
9 years ago
Pierre Rudloff
3abad250e9
.tar.xz downloader
9 years ago
Jordi Boggiano
3d9daea6a0
CS fixes
9 years ago
Michael Beckwith
459a48ad5b
add spacing consistency around phpdoc attributes
9 years ago
Nicolas Toniazzi
b6df8549cd
Merge remote-tracking branch 'parent/master'
...
Conflicts:
src/Composer/Factory.php
9 years ago
Jordi Boggiano
ce08582671
Fix CS
9 years ago
Rob Bast
a1427d7fd6
replace all occurences in code and comments
9 years ago
Jordi Boggiano
74e56fd5c6
Merge remote-tracking branch 'szeber/master'
9 years ago
Jordi Boggiano
89c6a68a76
Updates to path repository and path downloader, refs #4365
9 years ago
Zsolt Szeberenyi
bfb83f1fb7
Add name and version to the relevant fields, move content hash checking to the Locker
9 years ago
Samuel ROZE
5261a5fa03
Move version guessing in `VersionGuesser` class
9 years ago
Samuel ROZE
ead68d3d49
Create the path repository and downloader
9 years ago
Nicolas Toniazzi
e8a6cb536b
Change detection of config/cache/data dirs
9 years ago
Nicolas Toniazzi
7d63eb5718
Merge remote-tracking branch 'parent/master'
...
Conflicts:
doc/04-schema.md
9 years ago
Zsolt Szeberenyi
9b50ca0161
Add the extra attribute to the content hash
9 years ago
Zsolt Szeberenyi
3e0219c438
Change the content hash to be only based on values that affect dependency resolution
9 years ago
Zsolt Szeberenyi
50b560fe4c
Add the hash of the parsed content of the composer.json to the lock file, and use it to verify the json is not changed
9 years ago
Possum
2e99b9fdf5
Use https where possible
9 years ago
Jordi Boggiano
2e73811211
Fix process timeout not being initialized correctly when loading a config without creating a full composer instance, closes #3952 , fixes #3946
9 years ago
Hugo Fonseca
c41a187b62
Use get home from Config instead of factory
9 years ago
Jerome TAMARELLE
5fece6ae83
Use Gitlab blob API to retreive composer.json files
...
Store missing composer.json into the cache
[GitLab] Reduce API calls by caching
Download ZIP archives from gitlab + fix repo URL
Fix cached commit objects
9 years ago
Steve Buzonas
bf08b6eb90
add support for package based install type preferences
9 years ago
Jérémy Derussé
86e0b847be
Allow plugins to register commands
9 years ago
Rob Bast
cb336a5416
Implement writeError throughout Composer
9 years ago
Nicolas Toniazzi
865eab602f
Merge remote-tracking branch 'parent/master'
...
Conflicts:
src/Composer/Factory.php
9 years ago
TaeL Kim
0ec4505401
remove unused statements
9 years ago
Padraic Brady
19e24c5804
Merge branch 'master' into tls-config
...
Conflicts:
.travis.yml
doc/03-cli.md
src/Composer/Command/ConfigCommand.php
src/Composer/Command/CreateProjectCommand.php
src/Composer/Command/DiagnoseCommand.php
src/Composer/Command/InstallCommand.php
src/Composer/Command/RequireCommand.php
src/Composer/Command/SelfUpdateCommand.php
src/Composer/Command/ShowCommand.php
src/Composer/Command/UpdateCommand.php
src/Composer/Config.php
src/Composer/Downloader/FileDownloader.php
src/Composer/Factory.php
src/Composer/Repository/ComposerRepository.php
src/Composer/Repository/PearRepository.php
src/Composer/Repository/Vcs/VcsDriver.php
src/Composer/Util/GitHub.php
src/Composer/Util/RemoteFilesystem.php
9 years ago
Jordi Boggiano
825b4b9c63
Improve error message and fix typo, closes #3657
10 years ago
Jordi Boggiano
c8011af219
Improve message some more, refs #3655
10 years ago
Dmitry Tarasov
f50cfe6d45
Improve error message for case with incorrect "repositories"
10 years ago
Jordi Boggiano
331bda235c
Fix activation of global plugins, fixes #3557
10 years ago
Jordi Boggiano
2b16a73659
Load plugins before purging packages, fixes #3557
10 years ago
Nicolas Toniazzi
1a5b87442a
Fix directory paths when using XDG
10 years ago
Nicolas Toniazzi
d3e6a464d6
Fix home directory when system does not support XDG
10 years ago
Jordi Boggiano
d621c51b2c
Bullet-proof global composer instantiation
10 years ago
Jordi Boggiano
0627d846a5
PluginManager refactoring, fixes #3550
10 years ago
Jordi Boggiano
1622b9a390
Fix tests
10 years ago
Jordi Boggiano
90a29c127f
Fix bug when installing
10 years ago
Jordi Boggiano
cf9d5f637b
Suppress errors when creating global composer
10 years ago
Jordi Boggiano
dcd2c9c7c6
Make sure global plugins are purged as well, fixes #3115
10 years ago
Jordi Boggiano
cc4223e6f9
Avoid loading plugins that have had their code wiped from filesystem, fixes #3115 , closes #3538
10 years ago
Nicolas Toniazzi
75448ff09c
Merge branch 'master' of github.com:ntoniazzi/composer
...
Conflicts:
doc/04-schema.md
src/Composer/Factory.php
10 years ago
Nicolas Toniazzi
83a1441285
Added support for backup PHARs
10 years ago
ntoniazzi
b79f38fd99
Conforming to XDG Base Directory Specification ( http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html )
10 years ago
ntoniazzi
c6860400f0
Conforming to XDG Base Directory Specification ( http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html )
10 years ago
Jordi Boggiano
94926218e8
CS fixes
10 years ago
Nicolas Toniazzi
50c6c100fa
Added support for backup PHARs
10 years ago
Nicolas Toniazzi
e6560c0462
Merge origin/master
...
Conflicts:
doc/03-cli.md
doc/04-schema.md
src/Composer/Factory.php
10 years ago
François Pluchino
8b5c00bff0
Fix phpdoc
10 years ago
Jordi Boggiano
ac497feaba
CS fixes
10 years ago
Jordi Boggiano
15a99f31b3
Remove legacy cache handling
10 years ago
Richard Quadling
443858dae7
Force all glob results to be realpath'd.
10 years ago
Jordi Boggiano
959cc4d63c
Add info about conf file loading to debug output
10 years ago
Jordi Boggiano
90d1b6e08a
Rename basic-auth to http-basic, add docs/schema/config support, add local auth file support, add storage to auth.json, add store-auths config option, refs #1862
10 years ago
Stephan Hochdoerfer
1d15910fa6
Will read configured http basic auth credentials from users auth.json file and pass the credentials to the configured IOInterface.
10 years ago
Jordi Boggiano
b437c1cc05
Support github auth directly in the RemoteFilesystem class
10 years ago
Jan Brecka
b94838169d
show warning only instead of throwing exception
10 years ago
Pádraic Brady
49414a9790
Remove InputInterface passing from previous commits
...
- no longer necessary with IOInterface update
10 years ago
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
10 years ago
Pádraic Brady
83d4e3a940
Fixes from functional testing (need to automate this stuff!)
10 years ago
Pádraic Brady
600b6c8cb3
TLS support for Factory::createComposer() - for JsonFile remotes
10 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.
10 years ago
Pádraic Brady
0a8180674e
Adding some HTTPS check to diagnose command (stash)
10 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
11 years ago
Jordi Boggiano
8d55b9cced
Merge remote-tracking branch 'ronnylt/script-event-post-dump-autoload'
...
Conflicts:
tests/Composer/Test/Autoload/AutoloadGeneratorTest.php
11 years ago
Jordi Boggiano
c55c9e4e8d
Use strtr instead of str_replace
11 years ago
johnstevenson
a2525c8fbe
Replace backslashes in Window directories for config --list
11 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