601 Commits (0a27ca7b653856a0b989f889a8a089b70581059e)

Author SHA1 Message Date
Jakub Onderka afc9069771 Check exception code only if class ZipArchive exists
If is for example exception throwed when downloading tar archive on system without installed zip extension, PHP hangs on fatal error " Class 'ZipArchive' not found".
11 years ago
mwhittom a8084e46ff Added error handling and error messages around missing perforce driver, invalid username/password 11 years ago
user a956ce9bb1 Use 'cache-files-ttl' for cache gc, fixes #2441
The configuration option 'cache-ttl' was used instead of 'cache-files-ttl' to determine
whether or not a cache gc should be performed.

* changed 'cache-ttl' to 'cache-files-ttl' to determine if a gc should be performed
* refactored FileDownloader to allow for easier testing
* added test to ensure that the gc is called with the proper config option
11 years ago
Chris Smith d348dd44cd Fix URL sanitisation regexp being too greedy 11 years ago
smaftoul 0959d8f134 Retry on some 5xx errors
`composer install` gives me some intermittent 502 errors on github. Composer already does some retries. I think, on 502, 503 and 504, we should retry.
11 years ago
Gennady Feldman a4d7fc138a Fixing broken unit test. 11 years ago
Jordi Boggiano 7148b22414 Add github-domains config value for GitHub Enterprise setups, fixes #728
Signed-off-by: Gennady Feldman <gena01@gmail.com>
11 years ago
mwhittom 0c5f4d9860 Update to fix issue with multiple perforce repositories 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 3f6227a996 Add workaround for php bug 53460 glob() can return false, fixes #2278 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
Derrick Nelson 9a54c476eb Recursively set write permissions on unzipped package contents to resolve cache unlinking issue. 11 years ago
mwhittom 2e737ac439 updated to replace double-quotes with single quotes 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 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
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
Nils Adermann 3b519e44c4 Rename PrepareRemoteFilesystem event to PreFileDownload 11 years ago
Nils Adermann 3960edd64e Turn EventDispatcher into generic solution handling plugins as well 11 years ago
Luís Otávio Cobucci Oblonczyk d4043b6b9a Package options must be passed as argument to downloader 11 years ago
Jordi Boggiano 30f94365f0 Return path of the downloaded file 11 years ago
Jordi Boggiano 78a8a5ca0b Fix output of invalid zip files when download is retried 11 years ago
Jordi Boggiano 22369fd3ae Realpath hg paths to avoid problems after a chdir, fixes #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
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
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 771233a5a0 Make it clear what is going on when a vcs folder is missing, fixes #2108 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 81b2b84112 Clean up git env vars consistently 11 years ago
Jordi Boggiano 27d958a1de Extract archives into vendor dir to avoid permission errors, fixes #1765, fixes #1714 11 years ago
Jordi Boggiano f79c4e4309 Detect safe_mode and output correct error, closes #2006 11 years ago
Jordi Boggiano 7b6f0ab047 Code cleanups, enforce url for https, refs #2009 11 years ago
Stéphane Klein 42119dde6b Use github protocols setting for push urls 11 years ago
Jordi Boggiano 8d0b7f278e CS fixes 11 years ago
Pavel Savinov 831bd844bd Almost PHPDoc problems fixed 11 years ago
Christoph 0524d28b03 fixed escaping the path (it's no cmdline argument anymore) 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
Jordi Boggiano b38db73611 Clean up rogue git env vars in case this is running in a git hook, refs #1832 11 years ago
Phansys d574e5fcab Added FilesystemException to handle errors on local filesystem. 11 years ago
Jordi Boggiano 8a06e461e5 Fix a few bugs, fixes #1867 11 years ago
Jordi Boggiano 4b26c627ff Retry file downloads 3 times before giving up in case of basic network failure 11 years ago
Jordi Boggiano 343d4effaa Fix usage of GitDownloader with relative paths, fixes #1843 11 years ago
Jordi Boggiano 5cdf40d165 Output VcsDownloader process commands in -vvv mode 11 years ago
Jordi Boggiano 3fd883a489 Set cwd instead of using cd in GitDownloader, refs #1832 11 years ago
Jordi Boggiano 2ec75f298d Remove useless output in verbose mode 11 years ago
Jordi Boggiano 10a7008fdf Trim query string from extension when downloading archives 11 years ago
Jordi Boggiano d81740ab7d Fix authorization/authentication merge, fixes #1684 11 years ago
Jordi Boggiano c9f0e458a2 Merge remote-tracking branch 'machee/gitUserPassNonGithub'
Conflicts:
	src/Composer/Downloader/GitDownloader.php
11 years ago
Jordi Boggiano f06c0cb580 Code reorgs and make bool values real booleans, refs #1637 12 years ago
Ricard Clau 2a2bb6aad6 remove unnecessary else 12 years ago
Ricard Clau 56f4625ec8 check first if there are changes 12 years ago
Ricard Clau 48ac383599 initial steps with new config value, implementation of discard changes for git and svn 12 years ago
Jordi Boggiano e3f06582e4 Clean up archive downloader, fixes #1630 12 years ago
Jordi Boggiano 9f961dca92 Guard against arrays being passed to is_file, fixes #1627 12 years ago
Jordi Boggiano 88ae6c023b Extract archives into temp dir to shorten paths and avoid issues on windows, fixes #1591 12 years ago
Jordi Boggiano f98f093f7b Minor code reformatting and error message clarification 12 years ago
Jordi Boggiano 8bcb442d2b Merge remote-tracking branch 'romainneutron/zip-downloader' 12 years ago
Jordi Boggiano 2d40e14985 Try twice to remove a directory on windows because sometimes it fails due to temporary locks 12 years ago
Romain Neutron 72d4bea89e Change strategy for ZipDownloader
Try to use unzip command-line before ZipArchive as this one does not correctly handle file permissions whereas unzip does.
12 years ago
Filippo Tessarotto 470adc47df Switched rand() to mt_rand() 12 years ago
Jordi Boggiano a18db058d5 Fix typo 12 years ago
Jordi Boggiano ee1691f799 Also try authenticating on github for 403 responses 12 years ago
Jordi Boggiano 514a3cde77 CS fixes 12 years ago
Galymzhan 219b489d01 add size-based limit for files cache, fixes #1321 12 years ago
Jordi Boggiano b34e8554d2 Output info about downloads even with --no-progress and show when reading from cache, refs #1410 12 years ago
Galymzhan f59181d7d5 add support for --no-progress, fixes #621 12 years ago
Jordi Boggiano 04c6670f0c Detect invalid ssh URLs, fixes #1124 12 years ago
Jordi Boggiano 6ed65c9e91 Reuse hostname var 12 years ago
Jordi Boggiano 224934831d Change all github archive URLs to API URLs and handle fallback for those to nodeload 12 years ago
Wes Mason 1ce7c28f11 Allow OAuth2 authentication to downloads on api.github.com not just github.com 12 years ago
Jordi Boggiano 9c3201f6d7 Fix commit logs display with svn 12 years ago
Jordi Boggiano 07f7487c60 Clear cached files when they fail to extract or validate, refs #941 12 years ago
Mikołaj Kopras 534fe36149 Added php.ini path to error message #1052 12 years ago
Jordi Boggiano 18973ed0b9 Do not check for changes if there is no vcs dir
In case the package is in a broken state we do not want to show diffs from the main project
12 years ago
Jordi Boggiano 5a9d986e67 Implement cache GC and fix keys 12 years ago
Jordi Boggiano fb3a43b2f0 Add local cache to dist downloads 12 years ago
Igor Wiedler 4959c2bdc6 Replace references of a11n with a12n where appropriate
Authorization => Authentication.
12 years ago
Jordi Boggiano 1682532b80 Update code to use new github archive URLs 12 years ago
Jordi Boggiano 0878c6deab Fix nodeload fallback URLs 12 years ago
Jordi Boggiano 06a588c197 Show 7 chars of the git hashes everywhere 12 years ago
Pascal Borreli 83fd3967f0 Fixed PHPDoc 12 years ago
Pascal Borreli 5eead93250 Fixed typos 12 years ago
Jordi Boggiano a7cc5f187f Always reset stash change, refs #1254 12 years ago
Jordi Boggiano b8a408883c Reset state after applying stash, fixes #1254 12 years ago
Jordi Boggiano bebd1ce9c7 Always check for OAuth token in git config, fixes #1243 12 years ago
Jordi Boggiano 39e69a3b12 Refactor OAuth acquisition code to generalize it 12 years ago
Jordi Boggiano fa3d6c7ce2 Fix originUrl in FileDownloader, refs #423 12 years ago
Jordi Boggiano a28d53d4c0 Add missing v before checkout branches when needed, refs #1164 12 years ago
Jordi Boggiano 3b01d26d67 Swap user credentials for an OAuth token from GitHub 12 years ago
Jordi Boggiano ee0cd07468 CS fixes 12 years ago
Jordi Boggiano f752b29fc6 Always make sure we are on the right branch 12 years ago
Jordi Boggiano 110044c3ea Fix up create-project command 12 years ago
Jordi Boggiano 3068f29b4f Checkout branch by name when the current reference matches the branch tip, fixes #1164 12 years ago
Jordi Boggiano 55bff36be1 Avoid displaying passwords in git exceptions, fixes #1199 12 years ago
Jordi Boggiano 84ba1cc098 Fix typo 12 years ago
Jordi Boggiano 3a9c5b3678 Remove dead break statements 12 years ago
Jordi Boggiano 0a549efd0e Allow interactive resets or stash/apply cycles when updating dirty packages instead of failing hard 12 years ago
Mark Achee 5ed5f1314b Capture user/pass from 'git remote' when updating non github repo 12 years ago
Mark Achee 6f689f8926 Look for Auth failed anywhere in errorOutput 12 years ago
Mark Achee ac2fed29a4 Store http auth creds by domain only 12 years ago
Mark Achee 9d03dc5a89 Attempt user/pass authentication for git repos not on github 12 years ago
Mateusz Heleniak 91fc635ca5 better rename reliability on Windows - a workaround for random "Access denied" errors 12 years ago
Jordi Boggiano 027037bb9f Fix dist urls for lock files and hardcoded references 12 years ago
Jordi Boggiano 8a35353e8d Allow dist installs for dev packages that do not have a source setup 12 years ago
Jordi Boggiano a9afa8bc1f Merge remote-tracking branch 'mheleniak/prefer_dist' and fix dists
Conflicts:
	src/Composer/Installer.php
	src/Composer/Package/Locker.php
12 years ago
Jordi Boggiano d3d35f24a1 Trim query strings from dist filenames, fixes #1087 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
Mateusz Heleniak aa0ff14be5 added --prefer-dist option 12 years ago
Jordi Boggiano ef637c8f1a CS fixes 12 years ago
Jordi Boggiano ef1f8a605f Fix file modes 12 years ago
Jordi Boggiano 4d84f62cd9 Improve consistency and formatting of verbose output for update/install 12 years ago
Jordi Boggiano 1aed88003f Merge remote-tracking branch 'digitalkaoz/issue_801'
Conflicts:
	src/Composer/Downloader/VcsDownloader.php
12 years ago
Jordi Boggiano 06675259d9 Merge remote-tracking branch 'origin/master' 12 years ago
Jordi Boggiano 209d3ebfc4 Show detailed changes in verbose mode, refs #842 12 years ago
Jordi Boggiano 5b4c6f6296 Merge remote-tracking branch 'fixe/status-command'
Conflicts:
	src/Composer/Console/Application.php
12 years ago
Baldur Rensch 1398757963 Added a check for the return code when extracting zip file 12 years ago
Jordi Boggiano b7d0892e46 Do not use the .bat php proxy for unixy bins 12 years ago
Jordi Boggiano ebc0f8884f Merge remote-tracking branch 'tot-ra/patch-2'
Conflicts:
	src/Composer/Downloader/ArchiveDownloader.php
12 years ago
Артём Курапов 274b54c2b5 Update src/Composer/Downloader/ArchiveDownloader.php
Code style fix
12 years ago
Артём Курапов 03db848b23 Update src/Composer/Downloader/ArchiveDownloader.php
Fixed single-file archive post-extraction moving
12 years ago
Артём Курапов 091b2e86db Update src/Composer/Downloader/ArchiveDownloader.php
Fix to single-file archive
12 years ago
Артём Курапов ece954a7a4 Update src/Composer/Downloader/ArchiveDownloader.php
Fix for single-file archives, for example http://sourceforge.net/projects/rssphp/files/rssphp/v1/rss_php.v1.zip/download
12 years ago
Tiago Ribeiro aba2ab2212 Added status command to display local changes to packages 12 years ago
Johannes M. Schmitt 2a6b12fb65 fixes rename bug (closes #900) 12 years ago
Nils Adermann 9b8efc9fe3 Merge pull request #916 from chEbba/downloadmanager-filesystem
Add missed docblock for the  parameter in the DownloadManager constructor
12 years ago
Jordi Boggiano 354b82bb8c Fix git checkouts of custom branches, fixes #889 12 years ago
Kirill chEbba Chebunin 2f7e064e99 Add missed docblock for the parameter in the DownloadManager constructor 12 years ago
Alexey Prilipko 490b2c0295 Add package name prefix for non 'php', 'script' and 'www' roles 12 years ago
Alexey Prilipko 59773dd9f6 Use trim filter on 'php' location 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 656feda837 Revert previous change, use GIT_ASKPASS env var instead 12 years ago
Jordi Boggiano 4ee1ff46a8 Try ssh before http auth, and make sure ssh fails fast if no login is possible 12 years ago
Robert Schönthal 68d80e162a fixes #801 show logs in --verbose mode for source packages 12 years ago
Jordi Boggiano 66e9dcddf4 CS fixes 12 years ago
Jordi Boggiano ccc6fa3714 Merge pull request #775 from palex-fpt/PR-746
PEAR Packages extraction based on package.xml format
12 years ago
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 13 years ago
Jordi Boggiano 91411a3dd4 Merge pull request #400 from kostiklv/descriptive-exception
More descriptive exceptions wording
13 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 13 years ago
Jordi Boggiano 0f968ab3e2 Auto-switch protocols for git clones from github, refs #353 13 years ago
Konstantin Tjuterev 0b7896cdad Simplified & fixed ConsoleIO->overwrite, corrected output when downloading with progress 13 years ago
Konstantin Tjuterev e072607e90 More descriptive exceptions wording 13 years ago
Ken Marfilla 3e6c8caae7 rm vcs repo target dir before install 13 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