170 Commits (32852304d0c8823fe535dfc5b19e68952d4a6f41)

Author SHA1 Message Date
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
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
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 6f42b9c865 Disable git, svn, http protocols for VCS downloaders, fixes #4968 8 years ago
Rob Bast dc2f201152 add trailing / and updated diagnose command 8 years ago
Rob Bast 4d975c49aa fix mocks 8 years ago
Niels Keurentjes 0dab63e050 Unified all Windows tests throughout the code. 9 years ago
Jordi Boggiano 1818b95149 CS fixes 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
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 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 11 years ago
Nils Adermann 1ccf4b0fc3 Correct the tests for dist urls for github 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
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