302 Commits (6349764c2db1bdaad3099547512c4acbafe3a2e0)

Author SHA1 Message Date
Jordi Boggiano 2e0f31106a Merge remote-tracking branch 'origin/master' into 2.0 6 years ago
Gabriel Caruso 2a13bb2649 Fixes from PHPStan (#7687)
* fix docblocks

* remove redundant conditional

* fix wrong variable name

* fix wrong namespaces

* add missing private members

* remove unused/redundant arguments

* move testcase class

* exclude TestCase.php

* Tweak RuleWatchGraph type hints

* Tweak doc comment
6 years ago
Jordi Boggiano 42dca2aff5 Remove weird binary file from repo 6 years ago
Jordi Boggiano 9e6a0bff71
Merge pull request #7658 from fooman/fix-non-zip-file-with-zip-ext
Fix regression for artifact repository
6 years ago
Stephan Vock 819f487b38 Bitbucket: switch to v2 API 6 years ago
Kristof Ringleff, Fooman add71388ca Add failing artifact 6 years ago
Nils Adermann 1228bcdffc Internalize pool creation in repository set, store root aliases in set
The pool is still exposed too early in a few places which will require
further refactoring
6 years ago
Jordi Boggiano ff59bbdab0 CS fixer 6 years ago
Jordi Boggiano 43e33be79f Fix regression in 036fc44c25, fixes #7268 6 years ago
Jordi Boggiano 066351c5b9 Remove use of deprecated getMock method 6 years ago
Jordi Boggiano 036fc44c25 Make sure aliased packages are removed correctly from the repository, fixes #7167 6 years ago
Jean-Baptiste 595cf4432c Fix Test RepositoryFactory 7 years ago
Jordi Boggiano c8aea719b1 CS fixes 7 years ago
Jordi Boggiano 0a9abeef88 Merge branch '1.5' 7 years ago
Renoir Boulanger 9f723ba381 Support GitLab repositories w/ port over HTTPs
When we have self-hosted GitLab, over HTTPs, on a different port.

rel composer/composer#6894
7 years ago
Gabriel Caruso 885da4c8ef Refactoring tests 7 years ago
Gabriel Caruso a4b220273e Refactoring Tests (#6849) 7 years ago
Mikk Tendermann 2a89d37651 fix gitlab not telling visibilty if user is not logged in 7 years ago
Jordi Boggiano e33d00f98e Fix gitlab tests 7 years ago
Jordi Boggiano a6c4fb2dcf Fix gitlab tests 7 years ago
Jordi Boggiano c89f6338c2 CS tweaks, refs #6592 7 years ago
Helmut Januschka ae42e4f8a3 php 5 7 years ago
Helmut Januschka bc4a7834ba php 5 being php5 :/ 7 years ago
Helmut Januschka b847270d08 rename test method 7 years ago
Helmut Januschka b486056066 add tests for gitlab paging 7 years ago
Jordi Boggiano 6832eacb01 Update GitLab API usage to v4, fixes #6453 7 years ago
Sergey Shcherbin 292882f0d0 Fix for time format in GitBitbucketDriver test 7 years ago
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.
8 years ago
Jordi Boggiano 122e422682 CS fixes 8 years ago
Jordi Boggiano ddef9923b0 Merge branch '1.3' 8 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
8 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 8 years ago
Jordi Boggiano 44ea284ab9 Merge remote-tracking branch 'stefangr/implement_bitbucket_api_v2' 8 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 9 years ago
Jordi Boggiano 6f42b9c865 Disable git, svn, http protocols for VCS downloaders, fixes #4968 9 years ago
Jordi Boggiano 406e087a46 Stop running PEAR Repo test suite as it fails and is kinda irrelevant at this point 9 years ago
Rob Bast dc2f201152 add trailing / and updated diagnose command 9 years ago
Rob Bast 4d975c49aa fix mocks 9 years ago
Franz Liedke f47c2c9ed7 Add test case for RepositoryManager::prependRepository method 9 years ago
Jordi Boggiano 8a2d1a2ee2 Make artifact paths in lock file cross-platform, fixes #3832 9 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
10 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.
10 years ago
Steve Buzonas 484c04b5e5 update repository manager tests to use data provider and test for exception case 10 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