Jordi Boggiano
bf125295df
Fix escaping of URLs in Perforce and Subversion drivers
6 years ago
Jordi Boggiano
ff59bbdab0
CS fixer
6 years ago
Jonas Renaudot
1a725d5e1f
Add support for authentication with mercurial repositories.
6 years ago
Jordi Boggiano
34dbde3873
Merge branch '1.4'
7 years ago
Marc Schlatter
3ad5ce6874
Fix hg command to retrieve file content
7 years ago
Martin Hasoň
88ec172bd8
Fix CS
7 years ago
Jordi Boggiano
122e422682
CS fixes
8 years ago
Thomas Flori
d70dfd2df3
revert style changes
8 years ago
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
Rafael Kassner
44634a689d
HgDriver does not identify bitbucket mercurial repos correctly
8 years ago
Jordi Boggiano
2062070be9
Warn users with secure-http disabled once per hostname they access insecurely to avoid bad URLs going by undetected, fixes #5008
9 years ago
Niels Keurentjes
eb77c0b7f5
phpDoc cleanup, removed unused imports, variables and parameters.
9 years ago
Niels Keurentjes
49524bc4ba
Centralize secure-http checking
9 years ago
Jordi Boggiano
7e1a23eef7
Add missing use statements
9 years ago
Jordi Boggiano
6f42b9c865
Disable git, svn, http protocols for VCS downloaders, fixes #4968
9 years ago
Rob Bast
cb336a5416
Implement writeError throughout Composer
10 years ago
Jordi Boggiano
5133c3fe9a
Merge pull request #3424 from kaktus42/master
...
return false if local file path does not exist in GitDriver and HgDriver
10 years ago
Jordi Boggiano
2b7b605839
Skip empty time values
10 years ago
kaktus42
116ccdac62
return false if local file path does not exist in GitDriver and HgDriver
10 years ago
Jordi Boggiano
e61e62908e
Merge remote-tracking branch 'frederikbosch/patch-1'
10 years ago
Jordi Boggiano
91ac3e1426
Add support for unixy paths in git/hg local repo urls, closes #3294
10 years ago
frederik
d1d40502bf
ProcessExecutor::escape
10 years ago
frederik
7ae1430689
#3297 ProcessUtil class using ProcessUtil of Symfony Console
10 years ago
Jordi Boggiano
effacc1185
Do not realpath relative local URLs, fixes #2916
10 years ago
Matthias Pigulla
f626f55f41
No need to create hg working copies just to parse tags/branches
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
Sebastian Schawohl
4198688f54
Change date format when getting log from mercurial
...
Use rfc3339date format instead of rfc822date to avoid exceptions from
DateTime constructor because of localized dates.
fix #2346
11 years ago
Jordi Boggiano
444bdb2e25
Fix VCS drivers to always use identifiers and not tag names since those can change or disappear
11 years ago
Andrey Utkin
340e960614
Allow svn repositories to reside deeper than module root
12 years ago
Christoph
cebd43e735
fixed detection of inactive branches in hg
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
3116c979d3
Fix undefined var, fixes #1235
12 years ago
Jordi Boggiano
fde3477563
Report issues in HgDriver as well
12 years ago
Zsolt Szeberenyi
5201564c0f
Added support for hg bookmarks
12 years ago
Joseph Bielawski
4772db1460
Add missing `use` in HgDriver
...
Closes #1165
12 years ago
Jordi Boggiano
6bd7ca0230
Fix typos and simplify code
12 years ago
Jordi Boggiano
35245eb817
Add support for local urls and better error reporting to HgDriver
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
d21032ace5
CS fixes
13 years ago
Jordi Boggiano
1bd4ccbd54
php-cs-fixer magic
13 years ago
Jerome Tamarelle
f0ea097134
Remove umask
13 years ago
Jerome Tamarelle
8b408449f6
Create ~/.composer/cache.hg directory if not exists
13 years ago
Jerome Tamarelle
23ef8a419a
Fix var scope in HgDriver
13 years ago
Jérôme Tamarelle
d200481037
Fix tmp dir for HgDriver
13 years ago
Jerome Tamarelle
da823f5f19
Store vcs repositories in composer home to prevent permission issues
13 years ago
Jerome Tamarelle
949728f812
Remove redundant __contruct from VcsDriver implementations and move init code to initialize method
13 years ago