Stephan Vock
731d94a2a3
VcsRepositories: mark archived repositories as abandoned
2020-01-04 17:01:27 +00:00
Jordi Boggiano
bc2a1d762a
Merge branch 'master' into 2.0
2019-10-30 08:54:44 +01:00
Mike van Rooyen
6b56ddae2a
Remove unused variable
2019-10-08 20:49:44 +01:00
Mike van Rooyen
daedb4a74f
Remove extra line in method following CS-Fixer
2019-10-08 16:08:11 +01:00
Mike van Rooyen
e62478ab89
Test to check there is a RuntimeException thrown when a path repository doesn't exist
2019-10-08 15:48:04 +01:00
Jordi Boggiano
63da7c6b2d
Add install-path to the installed.json for every package, fixes #2174 , closes #2424
2019-08-02 21:39:42 +02:00
Jordi Boggiano
3ef27cabd6
Merge pull request #7999 from Seldaek/store_dev
...
Store dev mode in installed.json, fixes #3008
2019-08-01 17:59:09 +02:00
Jordi Boggiano
0fe200d6d9
Fix origin computation
2019-07-31 18:01:08 +02:00
Jordi Boggiano
6c4357a7ed
Merge branch 'master' into 2.0
2019-07-31 17:50:01 +02:00
Gabriel Caruso
1d05d4171c
Remove unused private methods
2019-07-24 03:13:53 +02:00
Adam Žurek
b935d1c812
fixed phpstan error
2019-07-12 18:34:12 +02:00
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
...
2019-06-27 14:08:00 +02:00
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
2019-05-10 13:55:31 +02:00
Jordi Boggiano
60df892517
Store dev mode in installed.json, fixes #3008
2019-02-21 12:46:02 +01:00
Jordi Boggiano
8fe2b9ec69
Fix test
2019-02-20 13:41:43 +01:00
Jordi Boggiano
799717f102
Tweak and fix some more phpstan reports
2019-02-18 13:05:14 +01:00
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
2019-02-10 20:28:24 +01:00
Fred Emmott
bac2ef3dfd
Don't do (new Foo())->bar() - not 5.3-compatible
2019-02-01 11:20:34 -08:00
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
2019-01-29 09:48:15 -08:00
Jordi Boggiano
f54237159d
Cleanups
2019-01-18 12:14:47 +01:00
Jordi Boggiano
fd5c5ff6bc
Fix implementation of whatProvides for older provider-only repos
2019-01-14 17:29:24 +01:00
Jordi Boggiano
b47330adf1
Refactor ComposerRepository to work with combined repos having lazy providers and partial packages
2019-01-14 17:29:24 +01:00
Jordi Boggiano
e8c6948770
Deduplicate link instances between versions of a given package
2019-01-14 17:29:24 +01:00
Jordi Boggiano
f946d8eb5a
More RemoteFilesystem usage removals and some repository/vcs driver refactorings
2019-01-14 17:29:23 +01:00
Jordi Boggiano
713bc4de1d
Minor fixes and updated the rest of the code/tests to use HttpDownloader
2019-01-14 17:29:23 +01:00
Jordi Boggiano
2e0f31106a
Merge remote-tracking branch 'origin/master' into 2.0
2018-11-12 16:01:07 +01:00
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
2018-11-12 15:23:32 +01:00
Jordi Boggiano
42dca2aff5
Remove weird binary file from repo
2018-10-31 18:29:32 +01:00
Jordi Boggiano
9e6a0bff71
Merge pull request #7658 from fooman/fix-non-zip-file-with-zip-ext
...
Fix regression for artifact repository
2018-10-31 16:12:55 +01:00
Stephan Vock
819f487b38
Bitbucket: switch to v2 API
2018-10-19 14:31:17 +02:00
Kristof Ringleff, Fooman
add71388ca
Add failing artifact
2018-10-01 23:03:51 +13:00
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
2018-09-11 13:34:18 +02:00
Jordi Boggiano
ff59bbdab0
CS fixer
2018-07-24 14:32:52 +02:00
Jordi Boggiano
43e33be79f
Fix regression in 036fc44c25
, fixes #7268
2018-05-03 17:30:33 +02:00
Jordi Boggiano
066351c5b9
Remove use of deprecated getMock method
2018-04-12 10:24:56 +02:00
Jordi Boggiano
036fc44c25
Make sure aliased packages are removed correctly from the repository, fixes #7167
2018-04-12 09:51:01 +02:00
Jean-Baptiste
595cf4432c
Fix Test RepositoryFactory
2018-01-22 14:06:56 +01:00
Jordi Boggiano
c8aea719b1
CS fixes
2017-12-18 16:02:48 +01:00
Jordi Boggiano
0a9abeef88
Merge branch '1.5'
2017-12-17 15:05:08 +01:00
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
2017-12-17 13:59:08 +01:00
Gabriel Caruso
885da4c8ef
Refactoring tests
2017-12-03 02:41:58 -02:00
Gabriel Caruso
a4b220273e
Refactoring Tests ( #6849 )
2017-11-30 15:58:10 +01:00
Mikk Tendermann
2a89d37651
fix gitlab not telling visibilty if user is not logged in
2017-09-11 10:37:32 +02:00
Jordi Boggiano
e33d00f98e
Fix gitlab tests
2017-08-18 14:14:15 +02:00
Jordi Boggiano
a6c4fb2dcf
Fix gitlab tests
2017-08-08 10:26:35 +02:00
Jordi Boggiano
c89f6338c2
CS tweaks, refs #6592
2017-08-08 10:11:35 +02:00
Helmut Januschka
ae42e4f8a3
php 5
2017-08-07 22:00:14 +02:00
Helmut Januschka
bc4a7834ba
php 5 being php5 :/
2017-08-07 21:56:02 +02:00
Helmut Januschka
b847270d08
rename test method
2017-08-07 21:47:41 +02:00
Helmut Januschka
b486056066
add tests for gitlab paging
2017-08-07 21:46:43 +02:00
Jordi Boggiano
6832eacb01
Update GitLab API usage to v4, fixes #6453
2017-08-07 13:13:24 +02:00
Sergey Shcherbin
292882f0d0
Fix for time format in GitBitbucketDriver test
2017-06-07 22:29:15 +03:00
Martin Hasoň
88ec172bd8
Fix CS
2017-05-19 15:14:47 +02:00
Martin Hasoň
d1ba698291
Fix PHP 5.3 compatibility
2017-05-19 12:36:19 +02:00
Martin Hasoň
3c5bfcf1e9
Register github repository type
2017-05-19 11:40:42 +02:00
Jordi Boggiano
a6627d55b7
Fix build
2017-05-16 23:50:15 +02:00
Jordi Boggiano
ce56fc4ab6
Merge pull request #6381 from deeky666/pass-vsc-driver-options
...
Forward GitLab driver options to remote filesystem
2017-05-16 23:36:30 +02:00
Steve Müller
1d29fa04b1
forward GitLab driver options to remote filesystem
2017-04-26 16:59:50 +02:00
Rob Bast
e2eb8f2201
support for gitlab subgroups, closes #6349
2017-04-24 10:51:47 +02:00
Jordi Boggiano
9b3c9e0c26
Fix tests
2017-04-19 13:34:57 +02:00
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
.
2017-04-10 18:46:38 +02:00
Jordi Boggiano
122e422682
CS fixes
2017-03-08 15:16:44 +01:00
Jordi Boggiano
ddef9923b0
Merge branch '1.3'
2017-03-08 10:33:46 +01:00
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
2017-03-08 10:27:58 +01:00
Jordi Boggiano
f200343cf2
Fix gitlab driver issues not asking for auth when token is missing, and not falling back properly to git driver
2017-03-08 10:26:08 +01:00
Jordi Boggiano
44ea284ab9
Merge remote-tracking branch 'stefangr/implement_bitbucket_api_v2'
2017-03-07 14:43:16 +01:00
Jordi Boggiano
f3d0e4660d
Fix urlencoding of gitlab dots, fixes #6064
2017-01-27 18:01:24 +01:00
Stefan Grootscholten
5dbdefdd72
Implement ordering in requesting tags and branches.
...
Update unit test with latest changes.
2017-01-22 15:55:17 +01:00
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.
2017-01-22 14:35:37 +01:00
Stefan Grootscholten
d25c483231
Implement Bitbucket API version 2.0 (where applicable).
2017-01-22 14:35:37 +01:00
AnrDaemon
810e70d234
Fix __DIR__/getcwd() inconsistency.
2016-12-23 21:57:00 +03:00
Jordi Boggiano
98c5f825e0
Fix tests and regression in @ref script handling
2016-12-11 16:37:55 +01:00
Jordi Boggiano
43903a3979
Merge branch '1.2'
2016-11-06 17:38:53 +01:00
Christophe Coevoet
d5810c8a36
Fix namespace for tests for consistency
2016-10-05 10:45:22 +02:00
Rafael Kassner
34ec5fba58
Code review fixes
2016-10-03 13:35:48 +02:00
Rafael Kassner
44634a689d
HgDriver does not identify bitbucket mercurial repos correctly
2016-10-03 13:17:07 +02:00
ianlet
5874132857
return https url of the repository given gitlab project is public
2016-08-11 23:00:18 -04:00
bohwaz
be013e5572
Fossil VCS tests
2016-06-25 13:09:49 +12:00
Jordi Boggiano
894b53c115
Merge pull request #5454 from pierredup/type-search
...
Added type option to search
2016-06-21 17:03:13 +02:00
Pierre du Plessis
6a557e45b8
Added --type option to search
2016-06-21 16:38:52 +02:00
Stefan Grootscholten
78fcb5a366
Add support section to composer data for bitbucket repositories.
2016-06-17 17:35:43 +02:00
Stefan Grootscholten
ccfd9018b8
Add unit tests for the GitBitbucketDriver class.
2016-06-11 17:33:58 +02:00
Jordi Boggiano
ad5951218b
Also trim trailing slashes in PathRepo, refs #5164
2016-04-11 13:11:46 +01:00
Jordi Boggiano
6f42b9c865
Disable git, svn, http protocols for VCS downloaders, fixes #4968
2016-03-01 13:20:35 +00:00
Jordi Boggiano
406e087a46
Stop running PEAR Repo test suite as it fails and is kinda irrelevant at this point
2016-02-25 13:10:46 +00:00
Rob Bast
dc2f201152
add trailing / and updated diagnose command
2016-02-24 20:54:01 +01:00
Rob Bast
4d975c49aa
fix mocks
2016-02-24 20:30:10 +01:00
Franz Liedke
f47c2c9ed7
Add test case for RepositoryManager::prependRepository method
2016-02-24 00:57:10 +09:00
Jordi Boggiano
8a2d1a2ee2
Make artifact paths in lock file cross-platform, fixes #3832
2016-02-19 16:25:53 +00:00
Rob Bast
4600deac68
fix #4925
2016-02-17 10:06:10 +01:00
Niels Keurentjes
aa6b2e5b63
Modernized unit test still depending on age old BC code.
2016-02-15 21:52:42 +01:00
Remi Collet
ae5de98db1
make this test more robust, not relying on result order which may vary
2016-02-12 17:02:19 +01:00
Niels Keurentjes
0dab63e050
Unified all Windows tests throughout the code.
2016-02-03 22:39:16 +01:00
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
2016-01-26 14:32:04 +01:00
Jordi Boggiano
1818b95149
CS fixes
2016-01-26 13:07:18 +00:00
Jordi Boggiano
783e0aec8a
Merge remote-tracking branch 'alcohol/unique-test-directories'
2016-01-26 12:35:29 +00:00
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
2016-01-26 09:41:21 +01:00
Niels Keurentjes
aef4820abe
Normalization of URLs caused discrepancy on Windows with unit tests.
2016-01-26 09:08:57 +01:00
Rob Bast
c292122791
it looks like php 5.3.3 might not have openssl extension?
2015-11-30 15:51:49 +01:00
Jaapio
df92cb09ab
extract regex to const. To be able to reuse it
2015-11-29 13:59:54 +01:00
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.
2015-11-23 22:05:37 +01:00
Jérôme Tamarelle
4255db9e31
Allows SSH urls for gitlab and detect the scheme
...
SSH urls uses HTTPS to request the API
2015-11-14 16:05:05 +01:00
Jérôme Tamarelle
ac68a721f4
Merge remote-tracking branch 'composer/master' into gitlab
...
Conflicts:
doc/04-schema.md
src/Composer/Util/RemoteFilesystem.php
2015-11-14 14:13:39 +01:00
Jordi Boggiano
ce08582671
Fix CS
2015-09-28 10:53:24 +01:00
Rob Bast
a1427d7fd6
replace all occurences in code and comments
2015-09-24 16:32:36 +02:00
Dennis Birkholz
3febbc2cbf
Test case to verify relative paths remain relative
2015-09-23 18:15:43 +02:00
Dennis Birkholz
323537ad0f
Allow wildcards in repository path names.
2015-09-15 16:41:07 +02:00
Samuel ROZE
6c16153302
Added repository tests
2015-08-25 22:06:48 +01:00
Jordi Boggiano
6a64041055
CS fixes
2015-06-30 15:38:32 +01:00
Nils Adermann
75c501251d
Revert "Merge remote-tracking branch 'naderman/load-no-providers'"
...
This reverts commit 3e85f82373
, reversing
changes made to b025d0982b
.
2015-06-18 15:40:27 +02:00
Jordi Boggiano
3e85f82373
Merge remote-tracking branch 'naderman/load-no-providers'
2015-06-18 11:32:37 +01:00
Nils Adermann
e25b86c129
Fix composer repo test to match what composer repos send
2015-06-08 18:57:56 +02:00
Jordi Boggiano
52d290f5f2
trim token just in case and update tests
2015-05-07 00:37:08 +01:00
Nils Adermann
67f10c1601
PHP 5.3 this/that compatibility
2015-05-05 20:32:05 +02:00
Nils Adermann
ec5416f03c
loadDev parameter is nonsense, properly load packages in create command
2015-05-05 19:58:03 +02:00
Nils Adermann
da02c53540
Update the composer repository whatprovides test to a loadrecursively test
2015-05-05 19:44:07 +02:00
Nils Adermann
709943aca5
ComposerRepository works differently now, so comment out test until replaced
2015-05-04 17:30:53 +02:00
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
2015-03-04 00:08:44 +01:00
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.
2015-03-04 00:08:30 +01:00
Steve Buzonas
484c04b5e5
update repository manager tests to use data provider and test for exception case
2015-02-26 03:19:26 -05:00
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
2015-02-11 10:18:47 +01:00
Grégoire Paris
091fee8a3b
skip some tests when the zip extension misses
...
It is required for some tests to run.
2015-01-08 21:32:37 +01:00
Jordi Boggiano
220bd2bd1e
Remove phpunit repo from tests
2015-01-01 16:26:14 +00:00
Christophe Coevoet
9bc6209be9
Fix tests for the pear repository
2014-12-27 00:12:35 +01:00
Jordi Boggiano
94926218e8
CS fixes
2014-10-17 18:57:27 +01:00
Jordi Boggiano
7b4fcd93d3
Merge remote-tracking branch 'webfactory/issue-2698'
...
Conflicts:
src/Composer/Repository/ArtifactRepository.php
2014-07-19 21:35:51 +02:00
Jordi Boggiano
d5294ef91b
Update repo url from github and handle trailing slashes, refs composer/packagist#354 refs composer/packagist#423
2014-07-19 18:40:01 +02:00
Jordi Boggiano
ac497feaba
CS fixes
2014-06-10 16:13:12 +02:00
Benjamin Grandfond
a21b0f82db
Allow SVN to connect with credentials provided with the auth.json file
2014-05-30 17:14:43 +02:00
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
2014-05-27 13:50:47 +02:00
Clark Stuth
a12c4e2a17
Removed getWindowsFlag and setWindowsFlag methods from Perforce object.
2014-03-25 08:30:44 -05:00
Clark Stuth
c11105dd60
Fixing bug not cleaning up workspaces.
2014-03-21 13:51:18 -05:00
Clark Stuth
492539101c
got all unit tests passing
2014-03-21 13:51:18 -05:00
Clark Stuth
24dd42267f
almost all unit tests passing after IOInterface dependency refactor. no longer passing IOInterface into any Perforce methods
2014-03-21 13:51:18 -05:00
Jordi Boggiano
0d4c2bb7d7
Fix github test
2014-02-26 17:38:58 +01:00
Nils Adermann
1ccf4b0fc3
Correct the tests for dist urls for github
2014-02-24 19:51:03 +01:00
Jordi Boggiano
eb3384445b
Merge pull request #2188 from Danack/GetRootComposerJson
...
Find root composer.json in zip artifact more reliably.
2014-02-21 11:33:01 +01:00
Danack
e4d4a7ae17
Added comment for generating files.
2014-02-21 09:49:12 +00:00
Danack
24aba5b51f
Moved file back to correct location. (+1 squashed commit)
...
Squashed commits:
[eec32aa] Updated detection to only allow composer.josn in root or first level dir.
2014-02-21 09:46:12 +00:00
Danack
bc76e0014b
Moved tests that are expected to work into their own directory.
...
Added test for composer.json in incorrect directory.
2014-02-20 17:30:51 +00:00
Matthias Pigulla
beff1f5cc1
This should create relative/absolute dist URLs depending on the way (relative/absolute) the artifact directory path was given.
2014-02-18 23:28:45 +01:00
Jordi Boggiano
5156a60216
Add test for RepositoryManager repo creation
2013-11-22 11:10:54 +01:00
Gennady Feldman
e5045ce215
Per request from Jordi Boggiano (Seldaek) making Config 2nd parameter in supports()
2013-10-29 11:07:52 -04:00
Gennady Feldman
93ebfd54b1
Adding Config as parameter to the Driver::supports(), updating all drivers, user and tests.
2013-10-28 15:57:02 -04:00
Jordi Boggiano
7c83e6a04a
Merge remote-tracking branch 'GromNaN/git-cache'
2013-10-16 15:16:48 +02:00
Fabian Grutschus
a6823d2f9b
non-deep check returns allways false
2013-10-16 10:07:10 +02:00
Jordi Boggiano
0fbb4cbd16
CS fixes and renaming a few methods, refs #2184
2013-10-11 20:21:34 -03:00
Jordi Boggiano
11a0d16ccc
CS fixes
2013-10-11 20:12:45 -03:00
Jordi Boggiano
9a806658d6
Merge remote-tracking branch 'vuhl/master'
...
Conflicts:
src/Composer/Factory.php
2013-10-11 20:06:34 -03:00
Jérôme Tamarelle
836986faf3
Add temp composer home for GitDriver test using cache
2013-10-10 22:57:03 +02:00
Jordi Boggiano
38917c2047
Add parallel build to travis script
2013-09-25 10:23:48 +02:00
mwhittom
2e737ac439
updated to replace double-quotes with single quotes
2013-09-09 14:48:24 -05:00
mwhittom
8207518e04
Updated to clean up code and rename variables to camelcase
2013-09-09 12:45:50 -05:00
mwhittom
07d46aa3c3
Fixed spacing issues for PSR-2
2013-09-06 12:14:22 -05:00
mwhittom
774a55befd
Updated to match psr-2 spec, fixed header comments
2013-09-04 09:24:49 -05:00
matt-whittom
8379985166
Updated/Standardized header comments
2013-09-04 09:10:44 -05:00
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
2013-09-04 09:10:44 -05:00
matt-whittom
1015957659
Added tests and code for tests
2013-09-04 09:10:43 -05:00
matt-whittom
1019c014e5
using theirs
2013-09-04 09:10:43 -05:00
matt-whittom
53d6fcd6d3
using theirs
2013-09-04 09:10:42 -05:00
matt-whittom
0d061f2530
Added Perforce to Composer
2013-09-04 09:10:41 -05:00
Jordi Boggiano
d017e3f209
Adjust GitDriver tag parsing to resolve to SHAs
2013-08-19 01:21:45 +02:00
Jordi Boggiano
e0051a4652
Update tests
2013-08-18 23:03:48 +02:00
Jordi Boggiano
7755564962
Add test assertion
2013-06-26 16:24:49 +02:00
Kris Wallsmith
fa4b13d95a
fix when composite repo has no delegates
2013-06-19 14:21:13 -07:00
Phansys
57dd70a185
Updated tests for SVN driver.
2013-06-14 21:16:24 -03:00
Jordi Boggiano
d498e73363
Merge pull request #2004 from jaypea/recursive_artifactrepository
...
ArtifactRepository needs recursive iteration
2013-06-13 08:45:05 -07:00
Jan Prieser
c6b61854bc
changed Test to make sure subfolder packages are found correctly
2013-06-13 16:20:52 +02:00
Pavel Savinov
831bd844bd
Almost PHPDoc problems fixed
2013-06-13 11:05:44 +11:00
Jordi Boggiano
59bda2bb9b
Skip pear tests when repos are unreachable
2013-05-23 21:51:17 +02:00
Jordi Boggiano
faa419cc0e
Merge remote-tracking branch 'hason/alias'
2013-04-28 12:54:59 +02:00
Martin Hasoň
753a8345cb
Added support for the alias of an aliased package
2013-04-11 13:20:34 +02:00
Martin Hasoň
c39e958a6f
Added test for ComposerRepository::whatProvides
2013-04-11 13:19:59 +02:00
Serge Smertin
07920c48a6
Removed dev-master as default version for versionless artifact
2013-04-03 23:49:32 +02:00
Serge Smertin
b0aa98f287
modified test in order not to depend on sorting order
2013-03-31 22:01:55 +02:00
Serge Smertin
ac75a9e6d8
travis locale version order fixed
2013-03-31 21:53:34 +02:00
Serge Smertin
b5e1457470
set version to dev-master to artifacts without version
2013-03-31 21:44:48 +02:00
Serge Smertin
d45844fb63
added fixture dummy artifacts
2013-03-31 21:08:11 +02:00
Serge Smertin
f25bfe09c5
added support for nested location of composer.json files within artifacts
2013-03-31 21:08:11 +02:00
Serge Smertin
586911f7a1
added verbose logging for artifact directory scan
2013-03-31 21:08:11 +02:00
Serge Smertin
4b176f11f2
added artifact repository initial functionality
2013-03-31 21:08:10 +02:00
Jordi Boggiano
be861f090a
Remove filterPackages and add RepositoryInterface::search, refactor all commands to use new methods and remove all usage of the full package list for Composer repositories that support providers, fixes #1646
2013-03-10 13:40:52 +01:00
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
2013-02-27 14:10:28 +01:00
Jordi Boggiano
27898c4c31
Suppress errors from mkdir calls that are checked for failure
2013-02-20 14:51:15 +01:00
Jordi Boggiano
1e15edc43d
Fix repository test
2013-02-18 08:34:23 +01:00
Jordi Boggiano
940c2a079d
Show failures more clearly in test setup
2013-02-16 00:15:18 +01:00
Jordi Boggiano
80c18db694
Fix tests
2013-02-13 12:59:16 +01:00
Jordi Boggiano
432955e0ae
Fix github url escaping, raw.github.com doesnt like escaped slashes
2013-02-11 09:34:50 +01:00
Filippo Tessarotto
470adc47df
Switched rand() to mt_rand()
2013-01-30 10:44:07 +01:00
Jordi Boggiano
224934831d
Change all github archive URLs to API URLs and handle fallback for those to nodeload
2012-12-05 19:20:52 +01:00
Chris Smith
e3838bbc1f
Update tests to expect correct URLs for private dist downloads
2012-12-05 18:55:25 +01:00
Jordi Boggiano
487e66d0a9
Allow loading of multiple composer autoloaders concurrently, fixes #1248
2012-11-10 21:54:23 +01:00
Jordi Boggiano
4f5d08e2ad
Add InvalidRepositoryException
2012-11-08 15:05:00 +01:00
Igor Wiedler
4959c2bdc6
Replace references of a11n with a12n where appropriate
...
Authorization => Authentication.
2012-11-07 13:34:31 +01:00
Jordi Boggiano
cbd91b5952
Fix FILTER_VALIDATE_URL not supporting IDNs
2012-11-05 15:39:43 +01:00
Jordi Boggiano
1682532b80
Update code to use new github archive URLs
2012-11-04 14:01:22 +01:00
Chris Smith
7681b4cc85
Add test covering the new and old repository formats
2012-10-22 22:44:56 +01:00
Jordi Boggiano
bebd1ce9c7
Always check for OAuth token in git config, fixes #1243
2012-10-22 17:11:34 +02:00
Jordi Boggiano
0a3097c569
Merge remote-tracking branch 'bboer/feature/svn-alternative-structures'
...
Conflicts:
src/Composer/Repository/Vcs/GitHubDriver.php
2012-10-19 12:19:19 +02:00
Jordi Boggiano
e0ce22f7cc
Fix tests
2012-10-18 18:43:31 +02:00