375 Commits (32852304d0c8823fe535dfc5b19e68952d4a6f41)

Author SHA1 Message Date
Martin Hasoň 88ec172bd8 Fix CS 7 years ago
Martin Hasoň d1ba698291 Fix PHP 5.3 compatibility 7 years ago
Martin Hasoň 3c5bfcf1e9 Register github repository type 7 years ago
Jordi Boggiano a6627d55b7 Fix build 7 years ago
Jordi Boggiano ce56fc4ab6 Merge pull request #6381 from deeky666/pass-vsc-driver-options
Forward GitLab driver options to remote filesystem
7 years ago
Steve Müller 1d29fa04b1 forward GitLab driver options to remote filesystem 7 years ago
Rob Bast e2eb8f2201
support for gitlab subgroups, closes #6349 7 years ago
Jordi Boggiano 9b3c9e0c26 Fix tests 7 years ago
Jordi Boggiano be201924cd Revert "Changes the query string parameter `sha` to `ref` to reflect the GitLab API"
Fixes #6344, refs #6198

This reverts commit 8a496cd2a7.
7 years ago
Jordi Boggiano 122e422682 CS fixes 7 years ago
Jordi Boggiano ddef9923b0 Merge branch '1.3' 7 years ago
Sjoerd Adema 8a496cd2a7 Changes the query string parameter `sha` to `ref` to reflect the GitLab API
Updated the unit test to reflect the change
Fixes #6198
7 years ago
Jordi Boggiano f200343cf2 Fix gitlab driver issues not asking for auth when token is missing, and not falling back properly to git driver 7 years ago
Jordi Boggiano 44ea284ab9 Merge remote-tracking branch 'stefangr/implement_bitbucket_api_v2' 7 years ago
Jordi Boggiano f3d0e4660d Fix urlencoding of gitlab dots, fixes #6064 8 years ago
Stefan Grootscholten 5dbdefdd72 Implement ordering in requesting tags and branches.
Update unit test with latest changes.
8 years ago
Stefan Grootscholten 7ae4ed1ec8 Improve fetching single files via bitbucket API.
The former implementation used the 'src' endpoint which returned some meta data as well.
This has been replaced with the 'raw' endpoint which does not return the meta data and does not need an extra JSON decode step.
8 years ago
Stefan Grootscholten d25c483231 Implement Bitbucket API version 2.0 (where applicable). 8 years ago
AnrDaemon 810e70d234 Fix __DIR__/getcwd() inconsistency. 8 years ago
Jordi Boggiano 98c5f825e0 Fix tests and regression in @ref script handling 8 years ago
Jordi Boggiano 43903a3979 Merge branch '1.2' 8 years ago
Christophe Coevoet d5810c8a36 Fix namespace for tests for consistency 8 years ago
Rafael Kassner 34ec5fba58 Code review fixes 8 years ago
Rafael Kassner 44634a689d HgDriver does not identify bitbucket mercurial repos correctly 8 years ago
ianlet 5874132857 return https url of the repository given gitlab project is public 8 years ago
bohwaz be013e5572 Fossil VCS tests 8 years ago
Jordi Boggiano 894b53c115 Merge pull request #5454 from pierredup/type-search
Added type option to search
8 years ago
Pierre du Plessis 6a557e45b8 Added --type option to search 8 years ago
Stefan Grootscholten 78fcb5a366 Add support section to composer data for bitbucket repositories. 8 years ago
Stefan Grootscholten ccfd9018b8 Add unit tests for the GitBitbucketDriver class. 8 years ago
Jordi Boggiano ad5951218b Also trim trailing slashes in PathRepo, refs #5164 8 years ago
Jordi Boggiano 6f42b9c865 Disable git, svn, http protocols for VCS downloaders, fixes #4968 8 years ago
Jordi Boggiano 406e087a46 Stop running PEAR Repo test suite as it fails and is kinda irrelevant at this point 8 years ago
Rob Bast dc2f201152 add trailing / and updated diagnose command 8 years ago
Rob Bast 4d975c49aa fix mocks 8 years ago
Franz Liedke f47c2c9ed7 Add test case for RepositoryManager::prependRepository method 8 years ago
Jordi Boggiano 8a2d1a2ee2 Make artifact paths in lock file cross-platform, fixes #3832 8 years ago
Rob Bast 4600deac68 fix #4925 9 years ago
Niels Keurentjes aa6b2e5b63 Modernized unit test still depending on age old BC code. 9 years ago
Remi Collet ae5de98db1 make this test more robust, not relying on result order which may vary 9 years ago
Niels Keurentjes 0dab63e050 Unified all Windows tests throughout the code. 9 years ago
Rob Bast f829a160fb use a proper tmp directory
this test failed on OSX before, trying to create a directory at the root of the filesystem
9 years ago
Jordi Boggiano 1818b95149 CS fixes 9 years ago
Jordi Boggiano 783e0aec8a Merge remote-tracking branch 'alcohol/unique-test-directories' 9 years ago
Rob Bast adf3b956d0 try to use unique test directories
any tests that use the filesystem should have their own unique directory, as we run our test suite in parallel and
cleanup of tests (removing directories) should not interfere with currently running tests
9 years ago
Niels Keurentjes aef4820abe Normalization of URLs caused discrepancy on Windows with unit tests. 9 years ago
Rob Bast c292122791 it looks like php 5.3.3 might not have openssl extension? 9 years ago
Jaapio df92cb09ab extract regex to const. To be able to reuse it 9 years ago
Jaapio b471440ea0 Adds support for gitlab install in subfolder
Since gitlab can be hosted on any url also subdirectories should be
supported. (e.g https://mycompany.com/gitlab).
This supports only http and https protocols since the gitlab api url
is derived from the package repository url. And the ssh protocol doesn't
support folders this way.
9 years ago
Jérôme Tamarelle 4255db9e31 Allows SSH urls for gitlab and detect the scheme
SSH urls uses HTTPS to request the API
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
Jordi Boggiano ce08582671 Fix CS 9 years ago
Rob Bast a1427d7fd6 replace all occurences in code and comments 9 years ago
Dennis Birkholz 3febbc2cbf Test case to verify relative paths remain relative 9 years ago
Dennis Birkholz 323537ad0f Allow wildcards in repository path names. 9 years ago
Samuel ROZE 6c16153302 Added repository tests 9 years ago
Jordi Boggiano 6a64041055 CS fixes 9 years ago
Nils Adermann 75c501251d Revert "Merge remote-tracking branch 'naderman/load-no-providers'"
This reverts commit 3e85f82373, reversing
changes made to b025d0982b.
9 years ago
Jordi Boggiano 3e85f82373 Merge remote-tracking branch 'naderman/load-no-providers' 9 years ago
Nils Adermann e25b86c129 Fix composer repo test to match what composer repos send 9 years ago
Jordi Boggiano 52d290f5f2 trim token just in case and update tests 9 years ago
Nils Adermann 67f10c1601 PHP 5.3 this/that compatibility 9 years ago
Nils Adermann ec5416f03c loadDev parameter is nonsense, properly load packages in create command 9 years ago
Nils Adermann da02c53540 Update the composer repository whatprovides test to a loadrecursively test 9 years ago
Nils Adermann 709943aca5 ComposerRepository works differently now, so comment out test until replaced 9 years ago
Jérôme Tamarelle c1edfbb65c Add tests on GitLabDriver
Add an interactive prompt for gitlab token

Update doc for gitlab-domains

Add tests on GitLabDriver::supports

Update doc + CS

Optimize branch detection + fix typos

Fix test on GitLab support as it depends on SSL

Remove useless method + fix repository URL containing .git
9 years ago
Henrik Bjørnskov 782c6303bc Initial GitLab Driver
This is a proof of concept, and mostly done to gather feedback on the
structure of the driver and to see if this is something that Composer
should include in core.

Various review changes based on Stof comments.

* Remove cleanup() as it is implemented by the abstract class.
* Remove wrong comment in getReferences
* Implement getSource (as GitHubDriver does)
* Finish phpDocs for methods.
9 years ago
Steve Buzonas 484c04b5e5 update repository manager tests to use data provider and test for exception case 9 years ago
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
10 years ago
Grégoire Paris 091fee8a3b skip some tests when the zip extension misses
It is required for some tests to run.
10 years ago
Jordi Boggiano 220bd2bd1e Remove phpunit repo from tests 10 years ago
Christophe Coevoet 9bc6209be9 Fix tests for the pear repository 10 years ago
Jordi Boggiano 94926218e8 CS fixes 10 years ago
Jordi Boggiano 7b4fcd93d3 Merge remote-tracking branch 'webfactory/issue-2698'
Conflicts:
	src/Composer/Repository/ArtifactRepository.php
10 years ago
Jordi Boggiano d5294ef91b Update repo url from github and handle trailing slashes, refs composer/packagist#354 refs composer/packagist#423 10 years ago
Jordi Boggiano ac497feaba CS fixes 10 years ago
Benjamin Grandfond a21b0f82db Allow SVN to connect with credentials provided with the auth.json file 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
Clark Stuth a12c4e2a17 Removed getWindowsFlag and setWindowsFlag methods from Perforce object. 10 years ago
Clark Stuth c11105dd60 Fixing bug not cleaning up workspaces. 10 years ago
Clark Stuth 492539101c got all unit tests passing 10 years ago
Clark Stuth 24dd42267f almost all unit tests passing after IOInterface dependency refactor. no longer passing IOInterface into any Perforce methods 10 years ago
Jordi Boggiano 0d4c2bb7d7 Fix github test 11 years ago
Nils Adermann 1ccf4b0fc3 Correct the tests for dist urls for github 11 years ago
Jordi Boggiano eb3384445b Merge pull request #2188 from Danack/GetRootComposerJson
Find root composer.json in zip artifact more reliably.
11 years ago
Danack e4d4a7ae17 Added comment for generating files. 11 years ago
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.
11 years ago
Danack bc76e0014b Moved tests that are expected to work into their own directory.
Added test for composer.json in incorrect directory.
11 years ago
Matthias Pigulla beff1f5cc1 This should create relative/absolute dist URLs depending on the way (relative/absolute) the artifact directory path was given. 11 years ago
Jordi Boggiano 5156a60216 Add test for RepositoryManager repo creation 11 years ago
Gennady Feldman e5045ce215 Per request from Jordi Boggiano (Seldaek) making Config 2nd parameter in supports() 11 years ago
Gennady Feldman 93ebfd54b1 Adding Config as parameter to the Driver::supports(), updating all drivers, user and tests. 11 years ago
Jordi Boggiano 7c83e6a04a Merge remote-tracking branch 'GromNaN/git-cache' 11 years ago
Fabian Grutschus a6823d2f9b non-deep check returns allways false 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
Jérôme Tamarelle 836986faf3 Add temp composer home for GitDriver test using cache 11 years ago
Jordi Boggiano 38917c2047 Add parallel build to travis script 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
mwhittom 07d46aa3c3 Fixed spacing issues for PSR-2 11 years ago
mwhittom 774a55befd Updated to match psr-2 spec, fixed header comments 11 years ago
matt-whittom 8379985166 Updated/Standardized header 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 1015957659 Added tests and code for tests 11 years ago
matt-whittom 1019c014e5 using theirs 11 years ago
matt-whittom 53d6fcd6d3 using theirs 11 years ago
matt-whittom 0d061f2530 Added Perforce to Composer 11 years ago
Jordi Boggiano d017e3f209 Adjust GitDriver tag parsing to resolve to SHAs 11 years ago
Jordi Boggiano e0051a4652 Update tests 11 years ago
Jordi Boggiano 7755564962 Add test assertion 11 years ago
Kris Wallsmith fa4b13d95a fix when composite repo has no delegates 11 years ago
Phansys 57dd70a185 Updated tests for SVN driver. 11 years ago
Jordi Boggiano d498e73363 Merge pull request #2004 from jaypea/recursive_artifactrepository
ArtifactRepository needs recursive iteration
11 years ago
Jan Prieser c6b61854bc changed Test to make sure subfolder packages are found correctly 11 years ago
Pavel Savinov 831bd844bd Almost PHPDoc problems fixed 11 years ago
Jordi Boggiano 59bda2bb9b Skip pear tests when repos are unreachable 11 years ago
Jordi Boggiano faa419cc0e Merge remote-tracking branch 'hason/alias' 11 years ago
Martin Hasoň 753a8345cb Added support for the alias of an aliased package 11 years ago
Martin Hasoň c39e958a6f Added test for ComposerRepository::whatProvides 11 years ago
Serge Smertin 07920c48a6 Removed dev-master as default version for versionless artifact 11 years ago
Serge Smertin b0aa98f287 modified test in order not to depend on sorting order 11 years ago
Serge Smertin ac75a9e6d8 travis locale version order fixed 11 years ago
Serge Smertin b5e1457470 set version to dev-master to artifacts without version 11 years ago
Serge Smertin d45844fb63 added fixture dummy artifacts 11 years ago
Serge Smertin f25bfe09c5 added support for nested location of composer.json files within artifacts 11 years ago
Serge Smertin 586911f7a1 added verbose logging for artifact directory scan 11 years ago
Serge Smertin 4b176f11f2 added artifact repository initial functionality 11 years ago
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 11 years ago
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
12 years ago
Jordi Boggiano 27898c4c31 Suppress errors from mkdir calls that are checked for failure 12 years ago
Jordi Boggiano 1e15edc43d Fix repository test 12 years ago
Jordi Boggiano 940c2a079d Show failures more clearly in test setup 12 years ago
Jordi Boggiano 80c18db694 Fix tests 12 years ago
Jordi Boggiano 432955e0ae Fix github url escaping, raw.github.com doesnt like escaped slashes 12 years ago
Filippo Tessarotto 470adc47df Switched rand() to mt_rand() 12 years ago
Jordi Boggiano 224934831d Change all github archive URLs to API URLs and handle fallback for those to nodeload 12 years ago
Chris Smith e3838bbc1f Update tests to expect correct URLs for private dist downloads 12 years ago
Jordi Boggiano 487e66d0a9 Allow loading of multiple composer autoloaders concurrently, fixes #1248 12 years ago
Jordi Boggiano 4f5d08e2ad Add InvalidRepositoryException 12 years ago
Igor Wiedler 4959c2bdc6 Replace references of a11n with a12n where appropriate
Authorization => Authentication.
12 years ago
Jordi Boggiano cbd91b5952 Fix FILTER_VALIDATE_URL not supporting IDNs 12 years ago
Jordi Boggiano 1682532b80 Update code to use new github archive URLs 12 years ago
Chris Smith 7681b4cc85 Add test covering the new and old repository formats 12 years ago
Jordi Boggiano bebd1ce9c7 Always check for OAuth token in git config, fixes #1243 12 years ago
Jordi Boggiano 0a3097c569 Merge remote-tracking branch 'bboer/feature/svn-alternative-structures'
Conflicts:
	src/Composer/Repository/Vcs/GitHubDriver.php
12 years ago
Jordi Boggiano e0ce22f7cc Fix tests 12 years ago
Jordi Boggiano 4998bab944 Show warning if the svn binary is missing 12 years ago
bboer 00361e0087 Fixed tests 12 years ago
Jordi Boggiano d6de4a0036 Rename Package interfaces to reduce BC issues 12 years ago
Jordi Boggiano f08c748658 Fix tests, fix handling of branches with slashes in GitDriver, fixes #935 12 years ago
Jordi Boggiano 4b18be75d7 Add test for fancy branch names, refs #935 12 years ago
Sebastiaan Stok 9270904765 fixed issue #992 - branch name not properly escaped 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
Alexey Prilipko f2853c842b Review fixes 12 years ago
Alexey Prilipko e173f11b37 Add PEAR channel reader & Update PearRepository to use it. 12 years ago
Jordi Boggiano 656feda837 Revert previous change, use GIT_ASKPASS env var instead 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 a06ebdd8ef Add caching to svn metadata 12 years ago
Grégoire Pineau f4e9dd4fb8 Fixed PSR rules 12 years ago
Alexey Prilipko 71ac073ebe Add 'include-path' option to PEAR packages 12 years ago
Jordi Boggiano b4622885de Fix tests with openssl disabled 12 years ago
Jordi Boggiano 4505df29df Add functional tests for the installer, fixes #580 12 years ago
Jordi Boggiano 7bfe031768 VcsDrivers now send proper originUrl for authentication 12 years ago
Jordi Boggiano 6967ec16b3 Add slow tests to slow group, excluded by default except for travis 12 years ago
Bastian Hofmann 6d5d3af297 coding standard compliance 12 years ago
Bastian Hofmann 4b3fc2b5fa Merge branch 'master' of git://github.com/composer/composer
Conflicts:
	src/Composer/Repository/PearRepository.php
12 years ago
Bastian Hofmann 7501009d74 added tests for PearRepository 12 years ago
Jordi Boggiano b3164de813 Fix tests 12 years ago
Jerome Tamarelle 610f15a768 Fix unit tests for VcsRepository 12 years ago
Jordi Boggiano e922404f19 Update/add tests 12 years ago
Jordi Boggiano 595182aec0 Add/fix tests 12 years ago
Jordi Boggiano 91890545f9 Fix test 12 years ago
Jordi Boggiano 6d5b4d606c Add warning in verbose mode if drivers can not be used because of missing openssl 12 years ago
Jordi Boggiano 5a7abfd84f Remove code duplication in Svn classes 12 years ago
Jordi Boggiano cd2e5bf2e0 Make SvnDriver::supports less greedy and more realistic 12 years ago
Jordi Boggiano 8fb9c4bf3b Svn related coding style/consistency fixes and minor improvements 12 years ago
till e015032615 remove old tests 12 years ago
till 8f96786693 Merge remote-tracking branch 'upstream/master' into svn-auth-reloaded 12 years ago
till 66d53aafef add more examples to the dataprovider 12 years ago
Jordi Boggiano 2249dd0548 Fix tests when openssl is disabled 12 years ago
Jordi Boggiano d5891fe8d0 Fix test 12 years ago
Beau Simensen 38680998ed Remove the RemoteFilesystem factory and document GitHubDriver->GitDriver fallback. 12 years ago
till 2562755867 * add a test to cover SvnDriver::supports() (three fail) 12 years ago
till 9a60913d81 incomplete (instead of skipped) 12 years ago
till f06bdcbf16 use shorthand (we have a use statement) 12 years ago
till 50f6445bc9 cleanup 12 years ago
till 5fdd09104f resolve conflict 12 years ago
Beau Simensen 6efbc7d531 Enhanced GitHub API/Private Repository support 12 years ago
Jordi Boggiano 1d544630b6 Allow requesting a particular vcs driver to bypass github/bitbucket ones 13 years ago
till 364e9613ad * started on a test case for SvnDriver::execute() (work in progress) 13 years ago
till 25e8ecc5ba * trim the testcase: no need to inject nullio 13 years ago
till bcadfadc8a inject them directly 13 years ago
till 84bf429795 * we need symfony console objects for ConsoleIO 13 years ago
till cde38f6634 * inject iointerface into test
* document test cases
 * add a test-case which should not have ' --no-auth-cache'
13 years ago
Jordi Boggiano 3aabb4784c Cross platform test fixes 13 years ago
till 953de35a0b * basic testcase 13 years ago
till 3f665e8bbb * method to gather if this session is 'interactive' or 'non interactive' 13 years ago
till 23902023e5 fix namespace 13 years ago