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
2b7b605839
Skip empty time values
10 years ago
Jordi Boggiano
94926218e8
CS fixes
10 years ago
Bastian Hofmann
f8023cffdf
renamed cache-credentials to svn-cache-credentials
10 years ago
Bastian Hofmann
204fc207fa
Moved config option to not save subversion credentials to repository configuration, added documentation.
10 years ago
Jordi Boggiano
89ec322929
Merge remote-tracking branch 'benja-M-1/feature/svn-auth-from-auth-json'
10 years ago
Jordi Boggiano
effacc1185
Do not realpath relative local URLs, fixes #2916
10 years ago
Benjamin Grandfond
a21b0f82db
Allow SVN to connect with credentials provided with the auth.json file
10 years ago
schmkr
8dd6b052ce
Updating SvnDriver trunk revision check
...
Not checking revision of composer.json, but from its parent directory.
See composer/composer#2849
11 years ago
Jordi Boggiano
c96dedd19c
Merge pull request #2268 from schmkr/svnDriver-trunkPath-improvements
...
Improved the handling of trunkPath
11 years ago
Jordi Boggiano
432ace33d4
Clean up svn environment to fix OSX issues, fixes #2708 , refs #2146
11 years ago
Gennady Feldman
e5045ce215
Per request from Jordi Boggiano (Seldaek) making Config 2nd parameter in supports()
11 years ago
Gennady Feldman
93ebfd54b1
Adding Config as parameter to the Driver::supports(), updating all drivers, user and tests.
11 years ago
schmkr
c4d7347ec5
Fixed a coding style issue
...
Missing a space between if and (
11 years ago
schmkr
652715f4c2
Improved the handling of trunkPath
...
- $this->baseUrl is only used if $this->trunkPath === false, otherwise
we will use $this->baseUrl with $this->trunkPath.
- scanning through trunkPath will now look for composer.json file
instead of a path that matches $this->trunkPath, beacuse checking
against the latter failed with deeper trunkPaths
- $this->rootIdentifier is now 'trunk' no matter how deep
$this->trunkPath is (with deeper trunkPaths, the name became something
like "dev-trunk-devel-team-packages-package"
11 years ago
Jordi Boggiano
2bf90b544a
Fix parsing of trunk in SvnDriver, fixes composer/satis#88
11 years ago
Jordi Boggiano
8d0b7f278e
CS fixes
11 years ago
Pavel Savinov
831bd844bd
Almost PHPDoc problems fixed
11 years ago
Andrey Utkin
28c219311c
Rename module-path to package-path
12 years ago
Andrey Utkin
9022b0ae38
Default module path to empty string
12 years ago
Andrey Utkin
340e960614
Allow svn repositories to reside deeper than module root
12 years ago
Jordi Boggiano
5b24a48827
Allow disabling svn branches/tags, fixes composer/satis#43
12 years ago
Jordi Boggiano
15475f0ef2
Rename cache dirs to consolidate them by purpose
12 years ago
Jordi Boggiano
326fcbcab7
Enforce UTC on all datetime instances, set lock release date to datetime always, refs #923
12 years ago
Jordi Boggiano
2b06503027
SvnDriver fixes
12 years ago
Jordi Boggiano
0a3097c569
Merge remote-tracking branch 'bboer/feature/svn-alternative-structures'
...
Conflicts:
src/Composer/Repository/Vcs/GitHubDriver.php
12 years ago
Jordi Boggiano
4998bab944
Show warning if the svn binary is missing
12 years ago
bboer
d1a452b00b
Made repoConfig available for the VcsDriver to be able to provide additional configuration options easily.
12 years ago
bboer
93628c42d8
Add support for alternative structures
12 years ago
Jordi Boggiano
67b846f4e9
Fix undefined variable in svn driver
12 years ago
Robert Schönthal
0cd453449b
minor changes to JsonFile::parseJson for Drivers
12 years ago
Robert Schönthal
c517ac6404
fixed issue #347 added file to json validation exception
12 years ago
Jordi Boggiano
a06ebdd8ef
Add caching to svn metadata
12 years ago
Jordi Boggiano
b3164de813
Fix tests
13 years ago
Jerome Tamarelle
610f15a768
Fix unit tests for VcsRepository
13 years ago
Jerome Tamarelle
cc6e1397b2
Fix var scope
13 years ago
Jerome Tamarelle
949728f812
Remove redundant __contruct from VcsDriver implementations and move init code to initialize method
13 years ago
Jordi Boggiano
6d5b4d606c
Add warning in verbose mode if drivers can not be used because of missing openssl
13 years ago
Jordi Boggiano
7285536737
Fix exception handling
13 years ago
Jordi Boggiano
5a7abfd84f
Remove code duplication in Svn classes
13 years ago
Jordi Boggiano
cd2e5bf2e0
Make SvnDriver::supports less greedy and more realistic
13 years ago
Jordi Boggiano
30d4080014
Support windows local paths
13 years ago
Jordi Boggiano
8fb9c4bf3b
Svn related coding style/consistency fixes and minor improvements
13 years ago
Jordi Boggiano
ab9fc59d30
Add missing license headers
13 years ago
till
434f10f2d7
* more cs fixes
13 years ago
till
c6653f0711
* fix up CS suggestions from stof/seldaek
13 years ago
Till Klampaeckel
af8d4212bb
Merge pull request #3 from toastedghost/svn-auth-reloaded-imp
...
Improve 'getTags()' and 'getBranches()'
13 years ago
Flo
80bb040468
Improve 'getTags()' and 'getBranches()'
13 years ago
Beau Simensen
a6366be5a6
Handle auth challenge in SvnDriver supports.
13 years ago