394 Commits (31b787249c22357b6b14306eb9766af5b1ac7754)

Author SHA1 Message Date
Jordi Boggiano 54054365e0 Add some comments 12 years ago
Jordi Boggiano 73a865bf2a Fix tests 12 years ago
Jordi Boggiano 77f6b9e05b Recover from invalid references by taking the parent commit (by date) 12 years ago
Jordi Boggiano 4bbb168d44 Remove BC code 12 years ago
Alexey Prilipko a88265a497 Update PearPackageExtractor for package.xml 2.1 support 12 years ago
Alexey Prilipko 5c16889c48 Update PearDownloader to use PEAR extractor 12 years ago
Alexey Prilipko 01a49ea49e Add PEAR package extractor that honours package.xml formats 12 years ago
Jordi Boggiano d53ebf5ba9 Fix svn status with externals, fixes #766 12 years ago
Jordi Boggiano d21032ace5 CS fixes 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 71cecd8e93 Fix CS 12 years ago
Jordi Boggiano edba29be45 Merge remote-tracking branch 'till/download-fun' 12 years ago
Martin Hasoň c8d110aa72 Imporoved exception message for GitDownloader (various protocols for github) 12 years ago
till a8121bc0a6 * fluent interface for set methods
* strtolower() type so setting is a little more relaxed
12 years ago
Jordi Boggiano c2933028e8 Make sure github driver is used for all github urls 12 years ago
Nils Adermann 655588a5e0 Merge pull request #659 from Seldaek/github_https_fallback
Github https fallback
12 years ago
Jordi Boggiano 2ca488f030 Fix message when updating a package installed from source 12 years ago
Jordi Boggiano d74eec9bd5 Clarify output 12 years ago
Jordi Boggiano b84bcd84d6 Let the user know a package is being removed 12 years ago
Jordi Boggiano a9fe883827 Use https fallback for github private repos if ssh protocol fails and we can ask the user's password 12 years ago
Jordi Boggiano f7440076fa Revert "Merge remote-tracking branch 'naderman/remove-packages-by-default'"
This reverts commit 2988152602, reversing
changes made to adb4188e12.
12 years ago
Jordi Boggiano d5e35fbe19 Clarify output 12 years ago
Jordi Boggiano b99f9bae60 Let the user know a package is being removed 12 years ago
Jordi Boggiano ed8aa8322a Do not prevent updates if untracked files are present 12 years ago
Jordi Boggiano 0e9f88a3da Fix DownloadManagerTest creating directories on disk 12 years ago
Jordi Boggiano e364494286 Add BC for the composer remote 12 years ago
Jordi Boggiano 047fa0b553 Add a composer remote that is used by composer so it does not take over the origin one anymore 12 years ago
Jordi Boggiano 98380f3aad Improve unzip failure message 12 years ago
Joseph Bielawski 9631d7c3fd [ZipDownloader] If `unzip` command failed, give cleaner error. 12 years ago
Jordi Boggiano 14c3222478 Simplify code 12 years ago
Jordi Boggiano 858d967a42 Merge pull request #558 from stloyd/patch-1
[PharDownloader] Force overwrite if previous extract failed and was not ...
12 years ago
Joseph Bielawski 2e2f7ea199 [TarDownloader] Force overwrite if previous extract failed and was not removed. 12 years ago
Joseph Bielawski eab3cde48c [PharDownloader] Force overwrite if previous extract failed and was not removed. 12 years ago
Jordi Boggiano 983de81b1d Force a redownload to source when updating from dist to dev package 12 years ago
Jordi Boggiano 17370e3812 Remove unnecessary @ operator, refs #543 12 years ago
Jordi Boggiano bfd48b06bd Capture zip downloader output, fixes #533 12 years ago
Jordi Boggiano 6f8031ac90 Fix error reporting for missing git process 12 years ago
Jordi Boggiano 720b00b561 Merge remote-tracking branch 'Nami-Doc/patch-1' 12 years ago
Jordi Boggiano 9371253e38 Fail hard if a package can not be properly removed 12 years ago
Nami-Doc 66efa343a9 and again. 12 years ago
Nami-Doc 66cd1aad8a Update src/Composer/Downloader/GitDownloader.php 12 years ago
Nami-Doc d245acff83 github online editor is a nice idea, but... 12 years ago
Nami-Doc bd116aec22 try to guess the error 12 years ago
Nami-Doc f57e272ce7 Add a little more explaining message when failing to download. 12 years ago
Jordi Boggiano a3fa19a716 Avoid escaping too early to prevent issues 12 years ago
Jordi Boggiano 13a2bc6ff0 Revert "Fix push url hack"
This reverts commit 269537e466.
12 years ago
Jordi Boggiano 269537e466 Fix push url hack 12 years ago
Jordi Boggiano b5d235abb6 More verbose output for archive and git downloader 12 years ago
Jordi Boggiano 9ed06f8853 Output svn output to user in verbose mode 12 years ago
Jordi Boggiano 1cdae66f8f Fix up git downloader and git driver commands 12 years ago
Jordi Boggiano afa14124f3 Make sure we fetch origin with tags before checking out a new version 12 years ago
Jordi Boggiano 66be50ce71 Always set the push url after git updates 12 years ago
Jordi Boggiano 1cd07e1a2c Fix up merged code 12 years ago
till 9922301841 for debugging 12 years ago
till eb8ad8b74f * docblock 12 years ago
till aef502aa86 * handle errors with ZipArchive error constants to get meaningful error messages 12 years ago
Jordi Boggiano 5be7f4cf09 Fail hard when failing to download using hg 12 years ago
Jordi Boggiano 7cb79bb1c9 Fix typo & tests 12 years ago
Jordi Boggiano 605e1cb925 Clean up in case of download/extraction failure, fixes #356 12 years ago
Jordi Boggiano 5a7abfd84f Remove code duplication in Svn classes 12 years ago
Jordi Boggiano 8fb9c4bf3b Svn related coding style/consistency fixes and minor improvements 12 years ago
till 434f10f2d7 * more cs fixes 12 years ago
till c6653f0711 * fix up CS suggestions from stof/seldaek 12 years ago
till c7dc49fe10 * added execute() wrapper to generalize command execution in downloader
* added Composer\Util\Svn::doAuthDance() to ask for credentials in interactive sessions
12 years ago
till c6566825ad Merge remote-tracking branch 'upstream/master' into svn-auth-reloaded 12 years ago
till 3de8d66a82 * refactor SvnDownloader to use new Util Class
* now supports auth all over
 * svn command generation is proxied through one place
 * still needs the 'interactive' settings and an execute method
12 years ago
Jordi Boggiano f98bd971f2 Add Gzip handling to RemoteFilesystem 12 years ago
Nils Adermann 15e764bb3f Merge pull request #439 from Seldaek/git_push
Set push url correctly for github clones
12 years ago
Jordi Boggiano 659775a607 Merge remote-tracking branch 'simensen/GitHub404FixPartTwo' 12 years ago
Beau Simensen 38680998ed Remove the RemoteFilesystem factory and document GitHubDriver->GitDriver fallback. 12 years ago
Jordi Boggiano a02940cafb Fix tests 12 years ago
Jordi Boggiano e763af7412 Set push url correctly for github clones 12 years ago
Jordi Boggiano 58b8f5f8b6 Merge pull request #436 from perprogramming/hg_change_url
Fixed the HgDownloader when changing the repo url
12 years ago
Per Bernhardt 9f7155a753 Fixed the HgDownloader when changing the repo url 12 years ago
Christophe Coevoet 271e908692 Fixed the GitDownloader when changing the repo url 12 years ago
Jordi Boggiano 89f69256f8 Merge remote-tracking branch 'kostiklv/console-overwrite-fix' 12 years ago
Jordi Boggiano 3e22084ea4 Overhaul VcsDrivers, introduce TransportException for remote filesystem errors 12 years ago
Jordi Boggiano ada9c20db1 Update Git/Hg downloaders tests, making sure they never use a live filesystem instance 12 years ago
Jordi Boggiano 91411a3dd4 Merge pull request #400 from kostiklv/descriptive-exception
More descriptive exceptions wording
12 years ago
Konstantin Tjuterev 49491a9140 Added path to exceptions thrown in enforceCleanDirectory for Hg & Svn also; Imporved exception when git log cannot be run by Compiler 12 years ago
Jordi Boggiano 0f968ab3e2 Auto-switch protocols for git clones from github, refs #353 12 years ago
Konstantin Tjuterev 0b7896cdad Simplified & fixed ConsoleIO->overwrite, corrected output when downloading with progress 12 years ago
Konstantin Tjuterev e072607e90 More descriptive exceptions wording 12 years ago
Ken Marfilla 3e6c8caae7 rm vcs repo target dir before install 12 years ago
Jordi Boggiano 9bcea6f485 Merge remote-tracking branch 'hason/filedownloader' 13 years ago
Dave Marshall c2421db7d9 Add stderr to exceptions for GitDownloader 13 years ago
Martin Hasoň f026e2a0eb Added tests for FileDownloader and ArchiveDownloader 13 years ago
Martin Hasoň 1f43f915da Removed copy/paste code 13 years ago
Martin Hasoň f1618df349 Added downloader for simple files and refactor FileDownloader into ArchiveDownloader 13 years ago
Frank Kleine 025f6066ff fix file permissions 13 years ago
mikey179 895d901bf9 better error handling when git command runs into a failure, fixes #340 13 years ago
Jordi Boggiano 3fe87b1e35 Force dev packages to be installed from source 13 years ago
Jordi Boggiano 230e145053 Fix downloader tests on windows and mock Filesystem properly 13 years ago
Nils Adermann 7609f27052 Merge branch 'add-tests' of https://github.com/l3l0/composer into new-master
* 'add-tests' of https://github.com/l3l0/composer:
  Made fixes after review.
  Made changes which fied warnings and errors in tests.
  Fixed tests after update and merge of changes from upstream/master
  Fixed code. Changes improved code testability
  Added and extended some unit tests
13 years ago
Jordi Boggiano db03b7bbbd Fix line endings 13 years ago
François Pluchino 56150fd98f Merge remote branch 'composer/master' 13 years ago
MattKetmo 7d5ba2d756 [DownloadFile] Renamed wrapper directory after extract
This fixes error when the extracted directory (from an archive) contains
a folder with the same name. Example:

    $ mv test/test test
    mv: test/test and test/test are identical
13 years ago
François Pluchino 953f0992f7 Merge callback method of FileDownloader and VcsDriver
Required corrections added
13 years ago
Jordi Boggiano 256bfedea1 Merge remote-tracking branch 'jalliot/proxy2'
Conflicts:
	src/Composer/Downloader/FileDownloader.php
	src/Composer/Repository/PearRepository.php
13 years ago
François Pluchino 9638247e44 Move to Util Class 13 years ago
François Pluchino f5d90e1340 Download Dist Package when the info is defined in root composer file 13 years ago
Jordi Boggiano 5da021ffa7 Moved Filesystem to base Util namespace 13 years ago
Leszek Prabucki 3f38eede8a Made changes which fied warnings and errors in tests. 13 years ago
Leszek Prabucki 9488b0f85f Fixed code. Changes improved code testability 13 years ago
Martin Hasoň 6227b5ec4e Fixed copy-paste bug 13 years ago
Jordi Boggiano a6ce43817e Overhaul VCS downloaders, added base class and uniformized 13 years ago
Jordi Boggiano afa7fb8d75 Check for changes before updating/removing svn checkouts 13 years ago
Jordi Boggiano 702d415472 Fix usage of the ProcessExecutor 13 years ago
Jordan Alliot 054faef5eb New context at each call and possibility to add more options and params to the context 13 years ago
Jordan Alliot 9c27e38654 Moved proxy handling to a new class so that it can be reused in other parts of Composer 13 years ago
François Pluchino 1c65fd2078 Remove the Warning, because managed in the callbackGet notification 13 years ago
Jordi Boggiano 4dee2528e9 Fix typo 13 years ago
Kai W. 6cf5c6e040 Restoring FileDownloader constructor compatibility in ZipDownloader 13 years ago
Jordi Boggiano f5ac5b9b3e Fix ZipDownloader, fixes #221 13 years ago
François Pluchino 3cbe7cf590 Fix bug display in FileDownloader 13 years ago
Jordi Boggiano 6c2ec966ff Fix ConsoleIO::overwrite 13 years ago
Jordi Boggiano e218b811e0 Convert static Process into an executor that can be injected 13 years ago
Jordi Boggiano 434c9ecdeb Cleanups of IOInterface 13 years ago
Jordi Boggiano 6492118f29 Merge remote-tracking branch 'francoispluchino/master'
Conflicts:
	src/Composer/Repository/Vcs/GitDriver.php
	src/Composer/Repository/Vcs/HgDriver.php
	src/Composer/Repository/Vcs/SvnDriver.php
13 years ago
Jordi Boggiano 6cfed52aae Merge remote-tracking branch 'digitalkaoz/process' 13 years ago
François Pluchino 03f5eee3fa Fix some improvements 13 years ago
François Pluchino 9963bde367 Fix some improvements 13 years ago
François Pluchino 541285022d Replace CURL with copy() and file_get_contents() 13 years ago
François Pluchino 7888ec5313 Add Authentification in FileDownloader 13 years ago
François Pluchino a10f92aafe Convert Wrapper class to ConsoleIO class 13 years ago
François Pluchino 9af46ad800 Add Helper Wrapper 13 years ago
Hugo Hamon 535455606b [Downloader] fixed incorrect variable name in FileDownloader class. 13 years ago
François Pluchino cad1497b95 Keep history action on download 13 years ago
François Pluchino 9c7e7a2c4a Remove comment 13 years ago
François Pluchino 395e2e040d Add callback download informations 13 years ago
François Pluchino 2f0162053d Add OutputConsole and format the download output 13 years ago
François Pluchino 013d145bcd Add InputInterface and OutputInterface 13 years ago
Jordan Alliot 3444bdae82 Check openssl extension for proxy 13 years ago
Jordan Alliot 1471b41ba8 Handle system proxy in file downloads 13 years ago
digitalkaoz 897ff9126d seperate class for Process, using this one all over the place 13 years ago
digitalkaoz a15567cea6 make use of process component fixes #105 13 years ago
Jordi Boggiano 680db4d1da Fix bug with drive names of different cases 13 years ago
Jordi Boggiano 10c94c5ba4 Workaround for checking out branch whose names are missing the origin/ prefix 13 years ago
Jordi Boggiano b1f528fb06 Add fallback to unzip, refs #158 13 years ago
Per Bernhardt 2fc49aa88b Stop hg from parsing project's repository information while installing dependencies from source (HgDownloader) or initializing a VcsRepository (HgDriver). 13 years ago
Matthias Pigulla 54cf9aeb46 Make sure the target-dir exists 13 years ago
Jordi Boggiano 927be089ba Added more tests for Filesystem util and some fixes 13 years ago
Jordi Boggiano a19695cdcb Tentative fix for *nix 13 years ago
Jordi Boggiano 4517a2e51e Added tests and fixed some incorrect behaviors in Filesystem 13 years ago
Nils Adermann 71a6b47e90 Merge pull request #140 from Seldaek/bins
Add binaries support
13 years ago
Jordi Boggiano 725850c521 Fix github ssl bypass with http:// urls 13 years ago
Jordi Boggiano 7e3f8099b1 Add proxy files for windows instead of copying, removed PEAR-style substitution 13 years ago
Jordi Boggiano aa94918d50 Add binaries support in composer 13 years ago
Ben Bieker 0e6f3834ec Added an SvnDownloader
The Svn Downloader can be used like the already implemented
GitDownloader, for example

{
    "name": "my-project",
    "version": "1.0.0",
    "repositories": {
        "MyRepo": {
            "package": {
                "name": "mypackage",
                "version": "2.0",
                "source": {
                    "url": "https://repo.com/svnrepo",
                    "type": "svn",
                    "reference": "tags/v2.0"
                }
            }
        }
    },
    "require": {
        "mypackage": "2.0"
    }
}
13 years ago
Jordi Boggiano e6710e311c Merge remote-tracking branch 'webfactory/mercurial-support' 13 years ago
Jordi Boggiano b4ec1b36c4 OpenSSL is not required to clone git repos 13 years ago
Jordi Boggiano 418e2e28f3 Merge remote-tracking branch 'chEbba/tar-phar-downloader'
Conflicts:
	src/Composer/Downloader/PearDownloader.php
13 years ago
Jordi Boggiano 3ad905ae99 Lift openssl requirement for github archives (thanks @pborreli) 13 years ago
Joseph Bielawski d6cd6a4aef Use `RuntimeException` instead of `UnexpectedValueException` when zip extension is not enabled 13 years ago
Per Bernhardt ad8e85ab32 Previous change was wrong... We want to update to a specific version, so hg pull -u won't work. 13 years ago
Per Bernhardt ee508725c6 Simpler 13 years ago
Jordi Boggiano e060ead6c2 Use script-safe git argument to check for modifications 13 years ago
Per Bernhardt 38198a5f36 Fixed blank lines. 13 years ago
Per Bernhardt 3e5fd85768 Fixed CS and unused variables 13 years ago
Per Bernhardt c6e4984a62 New downloader for mercurial 13 years ago
Jordi Boggiano 4b5abaf44f Fixes in PEAR support 13 years ago
Jordi Boggiano 0cfbea624e Add warnings if OpenSSL is not enabled, fixes #84 13 years ago
Jordi Boggiano 6b6d6b6d82 Add --dev flag to InstallCommand to do source installs, fixes #26 13 years ago
Jordi Boggiano b100df33d8 Make ArrayDumper and ArrayLoader reversible 13 years ago
Kirill chEbba Chebunin 6c4440d0e9 Add todo for signed phars 13 years ago
Kirill chEbba Chebunin 7527d0af43 Add throws declaration for FileDownloader::extract() 13 years ago
Kirill chEbba Chebunin 43631ccd5b Add Tar and Phar downloaders 13 years ago
everzet 195272da09 refactored DownloaderInterface to be mono-installation-type 13 years ago
everzet cc740249ff don't return useless info 13 years ago
Jordi Boggiano 00a4fe2a14 Refactor downloaders, git installs actually work well now 13 years ago
Jordi Boggiano d455eef82c Fix pear & zip downloaders 13 years ago
Jordi Boggiano b9114e16be Fix typos, short var names etc 13 years ago
Jordi Boggiano c7af918caa Fix git downloader 13 years ago
everzet c9ecb0d1ad Remove unused methods from downloaders 13 years ago
everzet 50aa7ac607 Provide $useSource argument to the DownloaderInterface methods 13 years ago
everzet 17d1abcec0 Refactored DownloadManager 13 years ago
everzet 5b0d17cc13 DownloaderInterface refactored 13 years ago
everzet cde9531e4d DownloadManager implemented 13 years ago
everzet d2150a3c2e installer and downloaders update 13 years ago
everzet d7fe0dfda4 added missing interfaces 13 years ago
Kirill chEbba Chebunin 74a45cfb8c Remove public keyword from Downloader and Installer interface methods 13 years ago
Kirill chEbba Chebunin e317b4f8ef Add Dowloader and Installer interfaces 13 years ago
Jordi Boggiano 49c3446ac1 Make use of new dist properties, refactored ZipDownloader 13 years ago
Jordi Boggiano f272f66324 Fixes and improvements to the PEAR implementation 13 years ago
xaav 74332da349 Using copy function. 13 years ago
Benjamin Eberlei fa613cad19 Rewrite PearRepository to implement PEAR Client/Server protocol itself, taking longer then pear remote-list, but at least showing ALL available versions, making arbitrary dependencies possible. 13 years ago
Benjamin Eberlei 8afc2ca694 Add support for PEAR repository and downloading, example composer.json would look like {"repositories":{"doctrine": {"pear":"http://pear.doctrine-project.org"},"requires":{"DoctrineORM":"2.0.5"}}. You can use pear repositories this way for now. PEAR packages are not downloaded via pear, only via their .tgz packages in the PEAR repository. Automatically detecting dependencies will require reverse-engineering the PEAR protocol a little bit more, however from looking at a pirum output it looks simple. 13 years ago
xaav e1e7bb03be Edited src/Composer/Downloader/ZipDownloader.php via GitHub 13 years ago
Jordi Boggiano 1eb2a46308 Don't chdir() while cloning git repos 13 years ago
Jordi Boggiano ea71abb3fd Fixed line endings 13 years ago
Jordi Boggiano e43060eb72 Added exceptions and fixed CS of the ZipDownloader 13 years ago
Geoff 99d55792f6 Added ZipDownloader. 13 years ago
Jordi Boggiano e03983697a Add base installer/downloader and ComposerRepository 13 years ago