1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 09:02:59 +00:00
Commit graph

34 commits

Author SHA1 Message Date
Stefan Grootscholten
d25c483231 Implement Bitbucket API version 2.0 (where applicable). 2017-01-22 14:35:37 +01:00
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.
2016-11-15 07:52:17 +01:00
Thomas Flori
ec27777341 code improvements as suggested
Thanks for your input!
2016-11-12 11:10:13 +01:00
Thomas Flori
d70dfd2df3 revert style changes 2016-11-12 10:48:19 +01:00
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.
2016-11-12 09:33:05 +01:00
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.
2016-11-11 09:06:03 +01:00
Stefan Grootscholten
78fcb5a366 Add support section to composer data for bitbucket repositories. 2016-06-17 17:35:43 +02:00
Stefan Grootscholten
d9fd9fca6b Implement changes after review of stof.
Rename getContents to getContentsWithOAuthCredentials.
Make gitDriver a private property.
2016-06-11 17:33:58 +02:00
Stefan Grootscholten
1084a3927e Implement Bitbucket Util in GitBitbucketDriver. 2016-06-11 17:33:58 +02:00
Stefan Grootscholten
307fd4023b Fetch composer.json using the oauth api. 2016-06-11 17:33:58 +02:00
Jordi Boggiano
49d7d65933 Add verbosity input support to IOInterface 2016-01-29 10:14:12 +00:00
Jordi Boggiano
764de14b5e Add caching to bitbucket API requests 2016-01-07 14:56:48 +00:00
Rob Bast
cb336a5416 Implement writeError throughout Composer 2015-02-25 11:00:35 +01:00
Jordi Boggiano
2a1a963b00 support bitbucket URLs with plain http 2015-01-19 17:56:20 +00:00
Jordi Boggiano
2b7b605839 Skip empty time values 2014-12-03 13:06:46 +00: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
444bdb2e25 Fix VCS drivers to always use identifiers and not tag names since those can change or disappear 2013-08-18 22:56:18 +02:00
Robert Schönthal
c517ac6404 fixed issue #347 added file to json validation exception 2012-07-03 12:37:58 +02:00
Jordi Boggiano
1bd4ccbd54 php-cs-fixer magic 2012-05-22 12:07:08 +02:00
Jordi Boggiano
7bfe031768 VcsDrivers now send proper originUrl for authentication 2012-05-06 17:18:26 +02:00
Jerome Tamarelle
949728f812 Remove redundant __contruct from VcsDriver implementations and move init code to initialize method 2012-04-27 11:03:56 +02:00
Jordi Boggiano
6d5b4d606c Add warning in verbose mode if drivers can not be used because of missing openssl 2012-04-01 18:52:53 +02:00
Jordi Boggiano
3e22084ea4 Overhaul VcsDrivers, introduce TransportException for remote filesystem errors 2012-03-08 23:14:56 +01:00
François Pluchino
a10f92aafe Convert Wrapper class to ConsoleIO class 2012-01-16 14:14:15 +01:00
François Pluchino
f65b34860f Merge branch 'test'
Conflicts:
	src/Composer/Downloader/FileDownloader.php
	src/Composer/Repository/Vcs/HgBitbucketDriver.php
2012-01-12 12:19:13 +01:00
François Pluchino
9af46ad800 Add Helper Wrapper 2012-01-11 13:55:05 +01:00
Hugo Hamon
7842149a51 [Repository] removed unused local $match variable from GitBitbucketDriver::supports() method. 2012-01-11 11:33:21 +01:00
François Pluchino
86070a8b6e Replace getHttpSupport() to getScheme() 2012-01-11 01:11:56 +01:00
François Pluchino
9b0e50cdc2 Restore the old regex 2012-01-11 01:09:30 +01:00
François Pluchino
013d145bcd Add InputInterface and OutputInterface 2012-01-10 18:50:16 +01:00
François Pluchino
fa793649fa Add a VcsDriver abstract class.
All XxxDriver extends this abstract class now.
2012-01-10 15:44:13 +01:00
Jordi Boggiano
126c57d07c Fix notice 2012-01-08 19:26:40 +01:00
Per Bernhardt
bf21dfeb31 Added drivers for bitbucket (hg and git) 2011-11-12 13:22:41 +01:00