Jordi Boggiano
942562c382
Clean up Zip Util to be more strict about what is a valid package archive, fixes #8931
4 years ago
Yanick Witschi
ea0ce9dd7d
Merge branch 'master' into filter-packages
4 years ago
Jordi Boggiano
0dad963cd8
Add executeAsync to ProcessExecutor and allow Loop class to wait on it in addition to HttpDownloader
4 years ago
Jordi Boggiano
67a88880ec
Get rid of EmptyConstraint
4 years ago
Yanick Witschi
bde9502473
Made the constraint argument in Link mandatory
4 years ago
Jordi Boggiano
a4a617abb4
Reduce amount of Filesystem/ProcessExecutor instantiations, add lots of docblocks
4 years ago
Jordi Boggiano
b72ac2d01a
Oops
4 years ago
Jordi Boggiano
863e7076ba
Bump to use composer/semver 3.x
4 years ago
Jordi Boggiano
22622372bc
Fix complete test suite for v2
4 years ago
Jordi Boggiano
0d1922dc27
Add a Composer\Versions class which is available in all projects at runtime to query installed packages/versions
4 years ago
Jordi Boggiano
44a4429978
Remove PEAR installer/downloader/repos/..., fixes #8778
4 years ago
Jordi Boggiano
62fda2ed85
Reorg ComposerRepository to fix tests
4 years ago
Jordi Boggiano
b6bad4eef6
Add options to configure repository priorities
4 years ago
Graham Campbell
fd63588dce
Fixed up tests
5 years ago
Jordi Boggiano
7a05286f55
Fix build
5 years ago
Jordi Boggiano
9cab8c10cc
Merge branch 'master' into 2.0
5 years ago
Jordi Boggiano
bc002ae1fb
Merge branch 'master' into 2.0
5 years ago
Jordi Boggiano
2d8a8ed7e3
Add InstalledRepository to clean up some concepts and usages, remove BaseRepository
5 years ago
Jordi Boggiano
02433c3659
Merge pull request #8565 from glaubinix/t/create-project-add-repository
...
Create project: add option to add the repository to the composer.json
5 years ago
Stephan Vock
2a564a9f36
Create project: add option to add the repository to the composer.json
5 years ago
Jordi Boggiano
589abb06a3
PHPStan fixes
5 years ago
Jordi Boggiano
45ecbae8f5
Merge branch 'master' into 2.0
5 years ago
Ion Bazan
58b34d13e8
fix risky tests (without any assertion)
5 years ago
Ion Bazan
a2137d5263
use Symfony PHPUnit Bridge
5 years ago
Jordi Boggiano
4a7d42604f
Fix tests
5 years ago
Jordi Boggiano
40f5806a7c
Fix ComposerRepo issue
5 years ago
Jordi Boggiano
a5b178084c
Merge branch 'master' into 2.0
5 years ago
Jordi Boggiano
a902279a5b
Merge branch '1.9'
5 years ago
Maximilian Bösing
3791a574a2
Provide partial packages names if available, closes #8516 , fixes #8526
5 years ago
Stephan Vock
731d94a2a3
VcsRepositories: mark archived repositories as abandoned
5 years ago
Jordi Boggiano
bc2a1d762a
Merge branch 'master' into 2.0
5 years ago
Mike van Rooyen
6b56ddae2a
Remove unused variable
5 years ago
Mike van Rooyen
daedb4a74f
Remove extra line in method following CS-Fixer
5 years ago
Mike van Rooyen
e62478ab89
Test to check there is a RuntimeException thrown when a path repository doesn't exist
5 years ago
Jordi Boggiano
63da7c6b2d
Add install-path to the installed.json for every package, fixes #2174 , closes #2424
5 years ago
Jordi Boggiano
3ef27cabd6
Merge pull request #7999 from Seldaek/store_dev
...
Store dev mode in installed.json, fixes #3008
5 years ago
Jordi Boggiano
0fe200d6d9
Fix origin computation
5 years ago
Jordi Boggiano
6c4357a7ed
Merge branch 'master' into 2.0
5 years ago
Gabriel Caruso
1d05d4171c
Remove unused private methods
5 years ago
Adam Žurek
b935d1c812
fixed phpstan error
5 years ago
Nils Adermann
d2fa1e1319
Merge branch 'master' into 2.0
...
* master: (48 commits)
SVN: hide passwords for debug output
Free $solver asap
fixes #8179
[minor] Fixed a typo in the CHANGELOG.md.
Update deps
Update changelog
Revert "Allow overriding self-update target file with envvar COMPOSER_SELF_UPDATE_TARGET" Revert "Add docs for COMPOSER_SELF_UPDATE_TARGET, refs #8151"
Add docs for COMPOSER_SELF_UPDATE_TARGET, refs #8151
Fix display of HHVM warning appearing when HHVM is not in use, fixes #8138
Read classmap-authoritative and apcu-autoloader from project config when installing via create-project, fixes #8155
Use possessive quantifiers
Update xdebug-handler to 1.3.3
fixes #8159
Allow overriding self-update target file with envvar COMPOSER_SELF_UPDATE_TARGET
flag should come before script name
use full command name, not abbreviated/alias
modify text
Document the alternatives to disable the default script timeout
Anchor pattern
Fix URL resolution for Composer repositories
...
5 years ago
pfofi
c751914410
Fix URL resolution for Composer repositories
...
Composer was unable canonicalize URLs in non-HTTP(S) Composer
repositories. For example it was not possible to use a `providers-url`
in a repository loaded via the `file://` scheme.
See also: #8115
5 years ago
Jordi Boggiano
60df892517
Store dev mode in installed.json, fixes #3008
6 years ago
Jordi Boggiano
8fe2b9ec69
Fix test
6 years ago
Jordi Boggiano
799717f102
Tweak and fix some more phpstan reports
6 years ago
Nils Adermann
287419f6a0
Merge branch 'master' into 2.0
...
* master:
Follow up to #7946 test: add solver flag to assert path execution
Fix tests
Make sure config command output is also output on --quiet so that warnings can be hidden, fixes #7963
Recognize composer-plugin-api as a platform package, fixes #7951
Quote wildcards to avoid issues in some shells, fixes #7960
Avoid dumping null values for dist reference/shasum and source reference, fixes #7955
Soften hard exit after revert of composer file
Make unixy proxy code POSIX compatible
Update aliases.md
Same but for Problem.php
Better error message for present but incompatible versions
Fix inconsistent casing
Don't do (new Foo())->bar() - not 5.3-compatible
Support identifying the HHVM version when not running with HHVM
6 years ago
Fred Emmott
bac2ef3dfd
Don't do (new Foo())->bar() - not 5.3-compatible
6 years ago
Fred Emmott
1b196720bf
Support identifying the HHVM version when not running with HHVM
...
hhvm-nightly (and the next release) are no longer able to execute
Composer. Support executing Composer with PHP to install dependencies
for hack projects.
The goal is for this to be temporary, until Hack identifies a new
package manager, given that Composer does not aim to be a multi-language
package manager.
fixes #7734
6 years ago
Jordi Boggiano
f54237159d
Cleanups
6 years ago
Jordi Boggiano
fd5c5ff6bc
Fix implementation of whatProvides for older provider-only repos
6 years ago
Jordi Boggiano
b47330adf1
Refactor ComposerRepository to work with combined repos having lazy providers and partial packages
6 years ago
Jordi Boggiano
e8c6948770
Deduplicate link instances between versions of a given package
6 years ago
Jordi Boggiano
f946d8eb5a
More RemoteFilesystem usage removals and some repository/vcs driver refactorings
6 years ago
Jordi Boggiano
713bc4de1d
Minor fixes and updated the rest of the code/tests to use HttpDownloader
6 years ago
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