138 Commits (2a13bb2649151932407aae1a37a356179b1f5199)

Author SHA1 Message Date
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 52d290f5f2 trim token just in case and update tests 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
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
Jordi Boggiano 94926218e8 CS fixes 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 10 years ago
Nils Adermann 1ccf4b0fc3 Correct the tests for dist urls for github 10 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
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
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
Phansys 57dd70a185 Updated tests for SVN driver. 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 80c18db694 Fix tests 12 years ago
Jordi Boggiano 432955e0ae Fix github url escaping, raw.github.com doesnt like escaped slashes 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
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 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 f08c748658 Fix tests, fix handling of branches with slashes in GitDriver, fixes #935 12 years ago
Sebastiaan Stok 9270904765 fixed issue #992 - branch name not properly escaped 12 years ago
Jordi Boggiano 656feda837 Revert previous change, use GIT_ASKPASS env var instead 12 years ago
Jordi Boggiano a06ebdd8ef Add caching to svn metadata 12 years ago
Grégoire Pineau f4e9dd4fb8 Fixed PSR rules 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
Jordi Boggiano b3164de813 Fix tests 12 years ago
Jerome Tamarelle 610f15a768 Fix unit tests for VcsRepository 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
till 364e9613ad * started on a test case for SvnDriver::execute() (work in progress) 12 years ago
till 25e8ecc5ba * trim the testcase: no need to inject nullio 12 years ago
till bcadfadc8a inject them directly 12 years ago
till 84bf429795 * we need symfony console objects for ConsoleIO 12 years ago
till cde38f6634 * inject iointerface into test
* document test cases
 * add a test-case which should not have ' --no-auth-cache'
12 years ago
Jordi Boggiano 3aabb4784c Cross platform test fixes 12 years ago
till 953de35a0b * basic testcase 12 years ago
till 3f665e8bbb * method to gather if this session is 'interactive' or 'non interactive' 12 years ago
till ae15d8a5b6 update test (escapeshellarg()) 13 years ago
till 8dab89e140 remove bootstrapping 13 years ago
till 5b60885c7a * remove this (even though it is in the Vcs test) 13 years ago
till f7c0ce5c6e fix namespace and loader 13 years ago
till 101e15bb86 move mysql 13 years ago