1008 Commits (2a13bb2649151932407aae1a37a356179b1f5199)

Author SHA1 Message Date
Jordi Boggiano bfa01285c2 Merge branch '1.6' 7 years ago
Jordi Boggiano 036fc44c25 Make sure aliased packages are removed correctly from the repository, fixes #7167 7 years ago
johnstevenson ed97c2116c Use external XdebugHandler library 7 years ago
Jordi Boggiano 4d8b9be5b6 Skip parsing equal branches/tags to avoid failures in packagist down the line 7 years ago
Gabriel Caruso f722f952e7 Fix misspelling
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
7 years ago
Jordi Boggiano f31e2552be Merge branch '1.6' 7 years ago
Jordi Boggiano 1933532ec5 Fix github authentication request, fixes #5767 7 years ago
Jordi Boggiano ad8b44a4c8 Merge branch '1.6' 7 years ago
Markus Staab 6a7e932233 Mention that also a antivirus software might corrupt file contents 7 years ago
Jean Baptiste Noblot 621a9d845c Add 'git-bitbucket' in RepositoryFactory
Add 'git-bitbucket' and 'hg-bitbucket' in RepositoryFactory help to call good driver in vcs
Cause if you config your repository type with 'git'. the GitDriver is instantiate and not GitBitbucketDriver

Fix #5389
7 years ago
Jordi Boggiano 471b012e3a Fix problem report when requiring "ext-zend opcache", refs #2509 7 years ago
Gabriel Caruso 3d262bd637 Fixes from PHPStan level 0
More fixes from PHPStan level 0
7 years ago
Jordi Boggiano c8aea719b1 CS fixes 7 years ago
Jordi Boggiano 0a9abeef88 Merge branch '1.5' 7 years ago
Jordi Boggiano 4c8c574b6c Fix regex, refs #6895 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
Jordi Boggiano b2f283cbd2
Merge pull request #6696 from legoktm/sort-installed
Sort vendor/composer/installed.json deterministically
7 years ago
Jordi Boggiano 6a08755c25 Merge branch '1.5' 7 years ago
Niels Keurentjes eab705d057 Reword exception text to evoke somewhat less panic
Refs https://github.com/composer/composer/issues/5196#issuecomment-346754244

Signature mismatch could indicate MitM, or just a CDN issue which is rather more likely.
7 years ago
Jordi Boggiano 6256e17149 Merge branch '1.5' 7 years ago
Jordi Boggiano 94a1f16c96 Fix scheme in public gitlab URLs, refs #6683 7 years ago
Kunal Mehta 2a38417653 Sort vendor/composer/installed.json deterministically
Just like composer.lock, sort installed.json in order of the package
names. This makes it easier to review diffs when this file is changed.
7 years ago
Vladimir Reznichenko c8615358cb SCA with PHP Inspections (EA Extended) 7 years ago
Jordi Boggiano 4853661934 Merge branch '1.5' 7 years ago
Jordi Boggiano 1682d7d454 Fix path repo version parsing to follow COMPOSER_ROOT_VERSION when the git repo is shared with the root package, fixes #6625 7 years ago
Jordi Boggiano a8df30c09b Merge branch '1.5' 7 years ago
Mikk Tendermann 2a89d37651 fix gitlab not telling visibilty if user is not logged in 7 years ago
Jordi Boggiano 97b22ad387 Merge pull request #6608 from kthbit/local-fossil
Teach FossilDriver to work with local fossil repository files
7 years ago
Jordi Boggiano 79360da184 Merge branch '1.5' 7 years ago
Jordi Boggiano a144b5e7ed Fix GitLab endless loop thanks to API bug, fixes #6615 7 years ago
kthbit 1a30e3fbc1 Don't update local checkout directory if url is pointing to it. Only update the checkout directory if it is controlled by composer. 7 years ago
kthbit 927d3dda89 Teach FossilDriver to work with urls pointing to local repository.fossil files, and not just the local checkout directories. 7 years ago
kthbit 72a66ad9d2 Do not assume we are on Linux and have head, tail, and awk commands available. Instead, parse the output in PHP. 7 years ago
Jordi Boggiano aff9c72d16 Merge branch '1.5' 7 years ago
Jordi Boggiano a16867e2c2 CS 7 years ago
Helmut Januschka 320af80ad3 fix tag/branch collection 💣 7 years ago
Jordi Boggiano 97d09a9b77 Make github driver code more robust 7 years ago
Jordi Boggiano c89f6338c2 CS tweaks, refs #6592 7 years ago
Jordi Boggiano 6fd504ef41 Add per_page to do less pagination, refs #6592 7 years ago
Helmut Januschka be1f675992 GitlabDriver V4 Paging
V4 of gitlab api requires paging in tags/branches
7 years ago
Jordi Boggiano 6832eacb01 Update GitLab API usage to v4, fixes #6453 7 years ago
Jordi Boggiano 34dbde3873 Merge branch '1.4' 7 years ago
Marc Schlatter 3ad5ce6874 Fix hg command to retrieve file content 7 years ago
Sergey Shcherbin 676156e2db Changed date time format to RFC_3399 in VcsDriver 7 years ago
Martin Hasoň 88ec172bd8 Fix CS 7 years ago
Martin Hasoň 3c5bfcf1e9 Register github repository type 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
Jordi Boggiano 39d187fb1e Merge branch '1.4' 7 years ago
Robert Lu 05fcc4adfb can use relative path for mirror 7 years ago
Steve Müller 1d29fa04b1 forward GitLab driver options to remote filesystem 8 years ago
Rob Bast e2eb8f2201
support for gitlab subgroups, closes #6349 8 years ago
Jordi Boggiano 4d16d6b28b Oops2 8 years ago
Jordi Boggiano b6778cd7f6 Oops 8 years ago
Jordi Boggiano be38f7e65d Ignore headless mercurial branches in bitbucket API, fixes composer/packagist#778 8 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 11ce391222 Add support for info/warnings in every json file loaded by ComposerRepo 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
Bernhard Froehlich 70314f3570 Fix Repository support for Subversion 1.8.x where the output of svn info
has changed.

1.7.22
svn: E170001: Unable to connect to a repository at URL 'https://svswdms02/dashboard'
svn: E170001: OPTIONS of 'https://svswdms02/dashboard': authorization failed: Could not authenticate to server: rejected Digest challenge (https://svswdms02)

1.8.17
svn: E215004: Authentication failed and interactive prompting is disabled; see the --force-interactive option
svn: E215004: Unable to connect to a repository at URL 'https://svswdms02/dashboard'
svn: E215004: No more credentials or we tried too many times.
Authentication failed
8 years ago
janczer 4707433b40 Fix change array 8 years ago
janczer 11524fc2c2 If xml have not index channel use uri 8 years ago
Stefan Grootscholten 3ccaac619b Refactor the getRepoData method to not throw an Exception 8 years ago
Jordi Boggiano f3d0e4660d Fix urlencoding of gitlab dots, fixes #6064 8 years ago
Stefan Grootscholten 4377ba2bcb Implement changes after review by stof.
- Use camelCase variable names.
- Set 3rd argument of http_build_query
- Remove obsolete checks
8 years ago
Stefan Grootscholten 5dbdefdd72 Implement ordering in requesting tags and branches.
Update unit test with latest changes.
8 years ago
Stefan Grootscholten 046b1184dc Change getChangeDate call
Use the v2.0 commit resource instead of the v1.0 changeset resource.
8 years ago
Stefan Grootscholten bea4ec7f88 Some refactoring after testing hg protocol.
- Revert deletion of generateSshUrl() as this is needed when falling back on the GitDriver or HgDriver.
- Implement clean way to fallback from BitbucketDriver to GitDriver or HgDriver after previous changes.
- Implement fallback in HgBitbucketDriver like in GitBitbucketDriver.
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
Pete Akins 95e9ad57d4 Don’t add github specials if there is no composer data
This can happen if an identifier doesn’t have a composer.json file (but other identifiers do)
8 years ago
Jordi Boggiano 31731a06c2 Merge pull request #6023 from stof/add_property
Add missing definition of a property
8 years ago
Christophe Coevoet 4ae2aecc54 Add missing definition of a property 8 years ago
Jordi Boggiano be9abbf9f3 Override all php-* versions when php package is defined in config.platform 8 years ago
Christophe Coevoet 978b87f7bd Fix the class name for fossil repositories 8 years ago
Jordi Boggiano 8764876cad Avoid loading xdebug platform package twice, fixes #5995 8 years ago
Jordi Boggiano 1bc8b702ca Fix handling of annotated tags and prefer them over lightweight tags, fixes #5555 8 years ago
johnstevenson 3928f1f3be Set xdebug version in environment, fixes #5967 8 years ago
Jordi Boggiano 9b0ddcd9dd Merge pull request #5954 from Golodnyi/master
Not actual parameters
8 years ago
Jordi Boggiano 9d3e3ca486 Fix edge case in bitbucket driver 8 years ago
golodnyi 64f3079c53 rollback changes, since the implementation of the method "search" in the class "ComposerRepository" has parameter "type " 8 years ago
golodnyi 1cced223d8 Not actual parameters 8 years ago
Jordi Boggiano 47beefe94c Merge branch '1.2' 8 years ago
Jordi Boggiano 9ee17ef6ff Fix handling of partial package listings containing replaces/provides 8 years ago
Jordi Boggiano 9b730183a6 Merge branch '1.2' 8 years ago
Rob Bast bcba1399c5
support libressl
closes #5917
8 years ago
Jordi Boggiano 193d53921b Merge branch '1.2' 8 years ago
Jordi Boggiano 7259630cbe Fix support for partial provider repos 8 years ago
Thomas Flori 7896b1ffab cache only rendered composer information
As suggested we cache now only composer information and also the rendered version again. Perforce is using the same property cache as others and the `Util\Perforce::getComposerInformation()` is using the newly created methods.
8 years ago
Thomas Flori ec27777341 code improvements as suggested
Thanks for your input!
8 years ago
Thomas Flori d70dfd2df3 revert style changes 8 years ago
Thomas Flori 33d026bb06 fix code style to be PSR-2 conform
I tried to solve all PSR-2 style guide violations in files that I changed. One I could not solve: const can not concatenate in php 5.3.
8 years ago
Thomas Flori 597f834ae9 add getFileContent function
This function is very similar to a part from getComposerInformation - so we can use this function in getComposerInformation too. And because it is almost everywhere the same we can put it to abstract class.

By implementing getComposerInformation in abstract class we need to add the getChangeDate to interface too. Only Problem: perforce seems not to support a ChangeDate. For this we use 'now' to have at least something.
8 years ago
Jordi Boggiano 43903a3979 Merge branch '1.2' 8 years ago
Rafael Kassner 44634a689d HgDriver does not identify bitbucket mercurial repos correctly 8 years ago
Jordi Boggiano 1c34248022 Check that PHP_ZTS is defined 8 years ago
Jordi Boggiano 9b08ee48db Update platform package regex 8 years ago
David Zuelke 19126d76a6 unify php-* package description grammar 8 years ago