1
0
Fork 0
Commit Graph

208 Commits (daff57189fdde0b0de338b2248fec1cb025b393a)

Author SHA1 Message Date
Steve Buzonas 484c04b5e5 update repository manager tests to use data provider and test for exception case 2015-02-26 03:19:26 -05:00
Rob Bast a34335a9bb github deprecation changes
- added some tests
- minor bug fixes discovered during testing
- resolved two deprecations (rate limit api and authorizations api)
- added some more comments to make the flow more understandable
2015-02-11 10:18:47 +01:00
Grégoire Paris 091fee8a3b skip some tests when the zip extension misses
It is required for some tests to run.
2015-01-08 21:32:37 +01:00
Jordi Boggiano 220bd2bd1e Remove phpunit repo from tests 2015-01-01 16:26:14 +00:00
Christophe Coevoet 9bc6209be9 Fix tests for the pear repository 2014-12-27 00:12:35 +01:00
Jordi Boggiano 94926218e8 CS fixes 2014-10-17 18:57:27 +01:00
Jordi Boggiano 7b4fcd93d3 Merge remote-tracking branch 'webfactory/issue-2698'
Conflicts:
	src/Composer/Repository/ArtifactRepository.php
2014-07-19 21:35:51 +02:00
Jordi Boggiano d5294ef91b Update repo url from github and handle trailing slashes, refs composer/packagist#354 refs composer/packagist#423 2014-07-19 18:40:01 +02:00
Jordi Boggiano ac497feaba CS fixes 2014-06-10 16:13:12 +02:00
Benjamin Grandfond a21b0f82db Allow SVN to connect with credentials provided with the auth.json file 2014-05-30 17:14:43 +02:00
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 2014-05-27 13:50:47 +02:00
Clark Stuth a12c4e2a17 Removed getWindowsFlag and setWindowsFlag methods from Perforce object. 2014-03-25 08:30:44 -05:00
Clark Stuth c11105dd60 Fixing bug not cleaning up workspaces. 2014-03-21 13:51:18 -05:00
Clark Stuth 492539101c got all unit tests passing 2014-03-21 13:51:18 -05:00
Clark Stuth 24dd42267f almost all unit tests passing after IOInterface dependency refactor. no longer passing IOInterface into any Perforce methods 2014-03-21 13:51:18 -05:00
Jordi Boggiano 0d4c2bb7d7 Fix github test 2014-02-26 17:38:58 +01:00
Nils Adermann 1ccf4b0fc3 Correct the tests for dist urls for github 2014-02-24 19:51:03 +01:00
Jordi Boggiano eb3384445b Merge pull request #2188 from Danack/GetRootComposerJson
Find root composer.json in zip artifact more reliably.
2014-02-21 11:33:01 +01:00
Danack e4d4a7ae17 Added comment for generating files. 2014-02-21 09:49:12 +00:00
Danack 24aba5b51f Moved file back to correct location. (+1 squashed commit)
Squashed commits:
[eec32aa] Updated detection to only allow composer.josn in root or first level dir.
2014-02-21 09:46:12 +00:00
Danack bc76e0014b Moved tests that are expected to work into their own directory.
Added test for composer.json in incorrect directory.
2014-02-20 17:30:51 +00:00
Matthias Pigulla beff1f5cc1 This should create relative/absolute dist URLs depending on the way (relative/absolute) the artifact directory path was given. 2014-02-18 23:28:45 +01:00
Jordi Boggiano 5156a60216 Add test for RepositoryManager repo creation 2013-11-22 11:10:54 +01:00
Gennady Feldman e5045ce215 Per request from Jordi Boggiano (Seldaek) making Config 2nd parameter in supports() 2013-10-29 11:07:52 -04:00
Gennady Feldman 93ebfd54b1 Adding Config as parameter to the Driver::supports(), updating all drivers, user and tests. 2013-10-28 15:57:02 -04:00
Jordi Boggiano 7c83e6a04a Merge remote-tracking branch 'GromNaN/git-cache' 2013-10-16 15:16:48 +02:00
Fabian Grutschus a6823d2f9b non-deep check returns allways false 2013-10-16 10:07:10 +02:00
Jordi Boggiano 0fbb4cbd16 CS fixes and renaming a few methods, refs #2184 2013-10-11 20:21:34 -03:00
Jordi Boggiano 11a0d16ccc CS fixes 2013-10-11 20:12:45 -03:00
Jordi Boggiano 9a806658d6 Merge remote-tracking branch 'vuhl/master'
Conflicts:
	src/Composer/Factory.php
2013-10-11 20:06:34 -03:00
Jérôme Tamarelle 836986faf3 Add temp composer home for GitDriver test using cache 2013-10-10 22:57:03 +02:00
Jordi Boggiano 38917c2047 Add parallel build to travis script 2013-09-25 10:23:48 +02:00
mwhittom 2e737ac439 updated to replace double-quotes with single quotes 2013-09-09 14:48:24 -05:00
mwhittom 8207518e04 Updated to clean up code and rename variables to camelcase 2013-09-09 12:45:50 -05:00
mwhittom 07d46aa3c3 Fixed spacing issues for PSR-2 2013-09-06 12:14:22 -05:00
mwhittom 774a55befd Updated to match psr-2 spec, fixed header comments 2013-09-04 09:24:49 -05:00
matt-whittom 8379985166 Updated/Standardized header comments 2013-09-04 09:10:44 -05:00
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
2013-09-04 09:10:44 -05:00
matt-whittom 1015957659 Added tests and code for tests 2013-09-04 09:10:43 -05:00
matt-whittom 1019c014e5 using theirs 2013-09-04 09:10:43 -05:00
matt-whittom 53d6fcd6d3 using theirs 2013-09-04 09:10:42 -05:00
matt-whittom 0d061f2530 Added Perforce to Composer 2013-09-04 09:10:41 -05:00
Jordi Boggiano d017e3f209 Adjust GitDriver tag parsing to resolve to SHAs 2013-08-19 01:21:45 +02:00
Jordi Boggiano e0051a4652 Update tests 2013-08-18 23:03:48 +02:00
Jordi Boggiano 7755564962 Add test assertion 2013-06-26 16:24:49 +02:00
Kris Wallsmith fa4b13d95a fix when composite repo has no delegates 2013-06-19 14:21:13 -07:00
Phansys 57dd70a185 Updated tests for SVN driver. 2013-06-14 21:16:24 -03:00
Jordi Boggiano d498e73363 Merge pull request #2004 from jaypea/recursive_artifactrepository
ArtifactRepository needs recursive iteration
2013-06-13 08:45:05 -07:00
Jan Prieser c6b61854bc changed Test to make sure subfolder packages are found correctly 2013-06-13 16:20:52 +02:00
Pavel Savinov 831bd844bd Almost PHPDoc problems fixed 2013-06-13 11:05:44 +11:00
Jordi Boggiano 59bda2bb9b Skip pear tests when repos are unreachable 2013-05-23 21:51:17 +02:00
Jordi Boggiano faa419cc0e Merge remote-tracking branch 'hason/alias' 2013-04-28 12:54:59 +02:00
Martin Hasoň 753a8345cb Added support for the alias of an aliased package 2013-04-11 13:20:34 +02:00
Martin Hasoň c39e958a6f Added test for ComposerRepository::whatProvides 2013-04-11 13:19:59 +02:00
Serge Smertin 07920c48a6 Removed dev-master as default version for versionless artifact 2013-04-03 23:49:32 +02:00
Serge Smertin b0aa98f287 modified test in order not to depend on sorting order 2013-03-31 22:01:55 +02:00
Serge Smertin ac75a9e6d8 travis locale version order fixed 2013-03-31 21:53:34 +02:00
Serge Smertin b5e1457470 set version to dev-master to artifacts without version 2013-03-31 21:44:48 +02:00
Serge Smertin d45844fb63 added fixture dummy artifacts 2013-03-31 21:08:11 +02:00
Serge Smertin f25bfe09c5 added support for nested location of composer.json files within artifacts 2013-03-31 21:08:11 +02:00
Serge Smertin 586911f7a1 added verbose logging for artifact directory scan 2013-03-31 21:08:11 +02:00
Serge Smertin 4b176f11f2 added artifact repository initial functionality 2013-03-31 21:08:10 +02:00
Jordi Boggiano be861f090a Remove filterPackages and add RepositoryInterface::search, refactor all commands to use new methods and remove all usage of the full package list for Composer repositories that support providers, fixes #1646 2013-03-10 13:40:52 +01:00
Jordi Boggiano 259a25344d Use the api to get file contents instead of raw.github.com
raw.github does not like the access_token query param
2013-02-27 14:10:28 +01:00
Jordi Boggiano 27898c4c31 Suppress errors from mkdir calls that are checked for failure 2013-02-20 14:51:15 +01:00
Jordi Boggiano 1e15edc43d Fix repository test 2013-02-18 08:34:23 +01:00
Jordi Boggiano 940c2a079d Show failures more clearly in test setup 2013-02-16 00:15:18 +01:00
Jordi Boggiano 80c18db694 Fix tests 2013-02-13 12:59:16 +01:00
Jordi Boggiano 432955e0ae Fix github url escaping, raw.github.com doesnt like escaped slashes 2013-02-11 09:34:50 +01:00
Filippo Tessarotto 470adc47df Switched rand() to mt_rand() 2013-01-30 10:44:07 +01:00
Jordi Boggiano 224934831d Change all github archive URLs to API URLs and handle fallback for those to nodeload 2012-12-05 19:20:52 +01:00
Chris Smith e3838bbc1f Update tests to expect correct URLs for private dist downloads 2012-12-05 18:55:25 +01:00
Jordi Boggiano 487e66d0a9 Allow loading of multiple composer autoloaders concurrently, fixes #1248 2012-11-10 21:54:23 +01:00
Jordi Boggiano 4f5d08e2ad Add InvalidRepositoryException 2012-11-08 15:05:00 +01:00
Igor Wiedler 4959c2bdc6 Replace references of a11n with a12n where appropriate
Authorization => Authentication.
2012-11-07 13:34:31 +01:00
Jordi Boggiano cbd91b5952 Fix FILTER_VALIDATE_URL not supporting IDNs 2012-11-05 15:39:43 +01:00
Jordi Boggiano 1682532b80 Update code to use new github archive URLs 2012-11-04 14:01:22 +01:00
Chris Smith 7681b4cc85 Add test covering the new and old repository formats 2012-10-22 22:44:56 +01:00
Jordi Boggiano bebd1ce9c7 Always check for OAuth token in git config, fixes #1243 2012-10-22 17:11:34 +02:00
Jordi Boggiano 0a3097c569 Merge remote-tracking branch 'bboer/feature/svn-alternative-structures'
Conflicts:
	src/Composer/Repository/Vcs/GitHubDriver.php
2012-10-19 12:19:19 +02:00
Jordi Boggiano e0ce22f7cc Fix tests 2012-10-18 18:43:31 +02:00
Jordi Boggiano 4998bab944 Show warning if the svn binary is missing 2012-10-03 11:14:37 +02:00
bboer 00361e0087 Fixed tests 2012-08-31 08:12:20 +02:00
Jordi Boggiano d6de4a0036 Rename Package interfaces to reduce BC issues 2012-08-24 02:29:31 +02:00
Jordi Boggiano f08c748658 Fix tests, fix handling of branches with slashes in GitDriver, fixes #935 2012-08-24 02:06:25 +02:00
Jordi Boggiano 4b18be75d7 Add test for fancy branch names, refs #935 2012-08-24 00:43:40 +02:00
Sebastiaan Stok 9270904765 fixed issue #992 - branch name not properly escaped 2012-08-10 11:43:37 +02:00
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
2012-07-03 19:18:58 +11:00
Alexey Prilipko f2853c842b Review fixes 2012-07-03 19:11:57 +11:00
Alexey Prilipko e173f11b37 Add PEAR channel reader & Update PearRepository to use it. 2012-07-03 19:11:57 +11:00
Jordi Boggiano 656feda837 Revert previous change, use GIT_ASKPASS env var instead 2012-06-27 18:28:49 +02:00
Jordi Boggiano ccc6fa3714 Merge pull request #775 from palex-fpt/PR-746
PEAR Packages extraction based on package.xml format
2012-06-22 06:15:38 -07:00
Jordi Boggiano a06ebdd8ef Add caching to svn metadata 2012-06-18 15:38:47 +02:00
Grégoire Pineau f4e9dd4fb8 Fixed PSR rules 2012-06-14 12:10:01 +02:00
Alexey Prilipko 71ac073ebe Add 'include-path' option to PEAR packages 2012-06-06 13:00:35 +11:00
Jordi Boggiano b4622885de Fix tests with openssl disabled 2012-05-31 16:03:25 +02:00
Jordi Boggiano 4505df29df Add functional tests for the installer, fixes #580 2012-05-13 21:42:43 +02:00
Jordi Boggiano 7bfe031768 VcsDrivers now send proper originUrl for authentication 2012-05-06 17:18:26 +02:00
Jordi Boggiano 6967ec16b3 Add slow tests to slow group, excluded by default except for travis 2012-05-06 15:10:13 +02:00
Bastian Hofmann 6d5d3af297 coding standard compliance 2012-05-06 14:55:08 +02:00