Jordi Boggiano
fbab2bfa17
Move user agent definition to StreamContextFactory so it is available in all contexts
2015-11-23 15:12:33 +00:00
Jordi Boggiano
020c126c27
Fix CS
2015-11-21 21:51:43 +00: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
Jerome TAMARELLE
6ccc562c0f
Add tests on GitLab class (copied from GitHubTest)
2015-11-13 18:50:50 +01:00
Jeroen Seegers
279b5f0156
Drop irrelevant properties from composer_commit-ref.json
2015-10-27 14:20:45 +01:00
Jeroen Seegers
f3dc31839f
Refactor commit-ref validation
...
The require and require-dev arrays have been merged into one and no
longer user private methods/properties to collect warnings.
2015-10-27 13:59:29 +01:00
Jeroen Seegers
476c6f279b
Add fixture for composer.json with commit-ref
2015-10-27 13:50:41 +01:00
Jeroen Seegers
73e73c90fb
Generate a warning when a commit reference is used
...
Closes #4485
2015-10-23 21:38:11 +02:00
Rob Bast
b523fc0b7b
ran fixers
2015-10-13 11:35:51 +02:00
Jordi Boggiano
ce08582671
Fix CS
2015-09-28 10:53:24 +01:00
Jordi Boggiano
06feb19b2c
Merge pull request #4169 from remicollet/patch-1
...
Set this test as slow
2015-08-02 12:10:47 +01:00
Rob Bast
5ae9e7fe22
remove spdx files, introduce external library
2015-07-16 11:42:12 +02:00
Rob Bast
4019f7bb44
Revert "apply a regex solution instead of tokenizer"
...
This reverts commit 33a7305e22c8d4e2ce38586855fd3d4b7b2af3dd.
2015-07-03 12:22:16 +02:00
Rob Bast
b5d286e27b
apply a regex solution instead of tokenizer
2015-07-03 12:22:16 +02:00
Rob Bast
e4118385a0
updated spdx related files
2015-07-03 12:22:16 +02:00
Jordi Boggiano
6a64041055
CS fixes
2015-06-30 15:38:32 +01:00
Remi Collet
c350bceeea
Set this test as slow
2015-06-21 07:46:08 +02:00
gmsantosxl
84c9c30b63
Remove extra '/' when findShortestPath $from is a directory
2015-06-03 16:48:01 -03:00
Jordi Boggiano
52d290f5f2
trim token just in case and update tests
2015-05-07 00:37:08 +01:00
Possum
29ca21f30e
PHP version checks tweaking
2015-05-05 20:18:24 +02:00
Adrian Dragus
7834dacb88
Forgot to remove the actual calls
2015-04-21 01:26:09 +01:00
Adrian Dragus
96ff1c5014
Use PHPUnit pre-conditions
...
See https://phpunit.de/manual/current/en/incomplete-and-skipped-tests.html#incomplete-and-skipped-tests.requires.tables.api
2015-04-21 01:15:28 +01:00
Jordi Boggiano
46924cf5f5
Merge pull request #3854 from hakre/fix/symlink-missing
...
Prevent fatal error on missing symlink() function in tests
2015-04-15 02:43:13 +01:00
jakoch
74a077dd3d
updated spdx-license handling to include metadata
...
issue https://github.com/composer/composer/issues/3744
summary of changes
- replaced bin script "fetch-spdx-identifiers" by "update-spdx-licenses"
- "update-spdx-licenses" uses "Composer/Util/SpdxLicensesUpdater" to update "spdx-licenses.json" file with license identifier, fullname and osi-approved-status
- dropped "spdx-identifiers.json" (identifiers only)
- dropped "SpdxLicenseIdentifier", it's just "SpdxLicense" now
- modified "ShowCommand" to output the license with metadata and removed some unused method arguments (cleanup)
2015-03-29 22:46:38 +02:00
hakre
03b634d114
Prevent fatal error on missing symlink() function in tests
...
The testsuite didn't run through for me because the php symlink() function
was missing.
It is only available on Windows Visa/Server 2008 or higher.
This commit fixes the issue by checking if the method exists, and if not,
marks the test as skipped because of a non-matching precondition.
2015-03-19 14:42:13 +01:00
Rob Bast
3d329622d7
overwrite -> overwriteError
2015-02-25 11:00:35 +01:00
Rob Bast
cb336a5416
Implement writeError throughout Composer
2015-02-25 11:00:35 +01:00
Jordi Boggiano
0b4a9235f4
CS fixes
2015-02-24 14:22:54 +00: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
Jordi Boggiano
da881c118b
Fix failures
2014-12-12 13:15:34 +00:00
Jordi Boggiano
8dad846613
Add SNI settings for SSL URLs that are proxied, fixes #3204
2014-12-12 12:25:21 +00:00
Jordi Boggiano
7b13507dd4
Fix typo in test
2014-12-11 21:52:29 +00:00
Jordi Boggiano
4a6503fe36
Add suppor for https_proxy, fixes #3204
2014-12-11 17:42:55 +00:00
Jordi Boggiano
94926218e8
CS fixes
2014-10-17 18:57:27 +01:00
Jordi Boggiano
6e4a21d700
Merge remote-tracking branch 'hakre/patch-2'
2014-10-07 14:10:29 +01:00
Jordi Boggiano
923191a489
Merge remote-tracking branch 'hakre/patch-1'
2014-10-07 13:45:32 +01:00
Bastian Hofmann
204fc207fa
Moved config option to not save subversion credentials to repository configuration, added documentation.
2014-09-16 15:16:55 +02:00
Bastian Hofmann
0d0ed59e5c
Codestyle fix
2014-09-15 13:21:33 +02:00
Bastian Hofmann
b132e4eae0
Added cacheCredentials config flag for saved SVN credentials to control the --no-auth-cache flag
...
Example config:
{
"http-basic": {
"svn.example.com": {
"username": "user",
"password": "password",
"cacheCredentials": false
}
}
}
2014-09-11 11:48:24 +02:00
hakre
343d0b5af2
added test removing directory with trailing slash that is symlinked
...
#3144
#3157
2014-07-28 23:49:44 +02:00
hakre
ed507dec9f
added test unlinking directory
...
#3157
2014-07-28 23:36:04 +02:00
Jordi Boggiano
ac497feaba
CS fixes
2014-06-10 16:13:12 +02:00
Jordi Boggiano
08e34858d6
Fix code to use hostname only, refs #3026
2014-06-05 11:14:29 +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
b437c1cc05
Support github auth directly in the RemoteFilesystem class
2014-04-11 14:29:17 +02:00
Clark Stuth
a12c4e2a17
Removed getWindowsFlag and setWindowsFlag methods from Perforce object.
2014-03-25 08:30:44 -05:00
Clark Stuth
2651cbc5fe
Fixing perforce dev-master stored reference bug.
2014-03-21 13:51:18 -05:00
Clark Stuth
8fc1961463
Fixing delete client workspace bug.
2014-03-21 13:51:18 -05:00
Clark Stuth
c11105dd60
Fixing bug not cleaning up workspaces.
2014-03-21 13:51:18 -05:00