Beau Simensen
a6366be5a6
Handle auth challenge in SvnDriver supports.
13 years ago
till
059bde1adb
* refactored with Composer\Util\Svn::doAuthDance()
13 years ago
till
c6566825ad
Merge remote-tracking branch 'upstream/master' into svn-auth-reloaded
13 years ago
till
17f90f56eb
* move helper functions to util class
13 years ago
Mateusz Heleniak
2a9e8350b0
fixed GitDriver - set correct working directory for cli commands
13 years ago
till
8f96786693
Merge remote-tracking branch 'upstream/master' into svn-auth-reloaded
13 years ago
till
6f364a85b3
* do not use getSvnCommand (since we are not in object context)
...
* run non interacive instead of piping output to /dev/null
13 years ago
till
c0ec8f16f9
* fixSvnUrl()
...
* extend regex to match more possible svn hosts
13 years ago
till
6d1cdb3e45
* fixSvnUrl(): to prefix absolute paths with file://
13 years ago
Beau Simensen
38680998ed
Remove the RemoteFilesystem factory and document GitHubDriver->GitDriver fallback.
13 years ago
till
5fdd09104f
resolve conflict
13 years ago
till
a1e1a8c7d7
* use askConfirmation() instead
13 years ago
till
244cc2a8c2
hide password input
13 years ago
till
96298a33dc
catch all failures
13 years ago
Beau Simensen
1e9cb6bac8
Use factory name instead of generator.
13 years ago
Beau Simensen
340ac49d87
Change `callback` to `callable`
13 years ago
Beau Simensen
6efbc7d531
Enhanced GitHub API/Private Repository support
13 years ago
till
8d80969f26
trim input
13 years ago
till
4c2da57140
make static
13 years ago
till
c78d9ffece
more inline documentation
13 years ago
till
4da56ea617
explain non-interactive
13 years ago
till
f8d8ccfedc
* in interactive mode: display error message to the user when authorization fails
13 years ago
till
a3363a8560
* SvnDriver::$useCache: false by default
...
* setting is adjust in 'interactive' mode when auth fails
13 years ago
till
061d91b4a8
whitespace
13 years ago
till
1f03d37a89
* only 'ask' the user if the session is interactive
13 years ago
till
a8287118ed
* work on no-auth-cache 'creation'
13 years ago
Jordi Boggiano
6c9f1f6f5b
Merge pull request #416 from DonMartio/master
...
Missing slash permits version evaluation.
13 years ago
DonMartio
b74773053b
Missing slash prevents version evaluation.
13 years ago
Jordi Boggiano
3e22084ea4
Overhaul VcsDrivers, introduce TransportException for remote filesystem errors
13 years ago
till
978d4c145d
* more output
13 years ago
till
59c1a7ff15
* when an auth failure is detected and 'auth' is not present, we ask for credentials
...
* ... and repeat
13 years ago
till
44470da804
* do svnCommand() in execute() to be able to restart the dance in case it failed
13 years ago
till
a3e0a0805c
* always run non-interactive
13 years ago
till
907db48bb5
* wrap execution of commands into local method
13 years ago
till
99eb18d0ff
* rename var from $composer to $output (for consistency)
13 years ago
till
3f665e8bbb
* method to gather if this session is 'interactive' or 'non interactive'
13 years ago
till
d1482bfa3c
* refactor svn command 'creation' into a single method: getSvnCommand()
13 years ago
till
6417a86651
* fix docblocks
13 years ago
till
adfac9e34b
escape arguments
13 years ago
till
9ecbc5176e
remove isset()
13 years ago
till
0ecb710282
* add my credentials into every svn command
13 years ago
till
b30f8078e4
* avoid notice
13 years ago
till
4db4d6720b
correct my typo
13 years ago
till
ba8ccb1955
trailing space
13 years ago
till
275d1c9969
* added a method to return the credential string for the svn command
13 years ago
till
e18a4f7d31
detect if credentials are in the url
13 years ago
Jordi Boggiano
d03fb4804c
Fix local repo detection
13 years ago
Jordi Boggiano
773338a688
Fixes for SVN support, fixes #172
13 years ago
Jordi Boggiano
c0b18bddb9
Bugfixes in the local git repos handling
13 years ago
Per Bernhardt
9a17899608
Although the tag "tip" does not provide a valid package version (see VersionParser), the implementation of HgDriver::getSource uses tip as the prefered label for the branch that tip is currently on.
...
This is not a problem at first hand because you can install a new package correctly with "tip" as source reference.
The problem is that any new revision on that branch won't lead to a new package, because the package will always refer to the same reference "tip".
Therefore you cannot update your project to the new version with "composer update".
13 years ago
Jordi Boggiano
32157a3904
Fix local git repo handling in GitDriver
13 years ago
Jordi Boggiano
e2199b2b03
Fixed automatic date parsing of versions
13 years ago
Jordi Boggiano
a28fa790be
Fix regex
13 years ago
Jordi Boggiano
fa8cb14073
Simplify check
13 years ago
Jordi Boggiano
f152fe723d
Allow local file system git repos & do not restrict to valid http* urls
13 years ago
François Pluchino
953f0992f7
Merge callback method of FileDownloader and VcsDriver
...
Required corrections added
13 years ago
François Pluchino
f5d90e1340
Download Dist Package when the info is defined in root composer file
13 years ago
François Pluchino
a0afb88d5d
Fix bug on authorization of file download for the private repositories
13 years ago
Brian Clozel
23d85f1900
fix typo
13 years ago
Brian Clozel
33a0ba69de
fix issue #251 - Using $this not in object context
13 years ago
Jordi Boggiano
702d415472
Fix usage of the ProcessExecutor
13 years ago
digitalkaoz
627deab51c
fixed #230
13 years ago
Jordi Boggiano
e218b811e0
Convert static Process into an executor that can be injected
13 years ago
Jordi Boggiano
434c9ecdeb
Cleanups of IOInterface
13 years ago
Jordi Boggiano
6492118f29
Merge remote-tracking branch 'francoispluchino/master'
...
Conflicts:
src/Composer/Repository/Vcs/GitDriver.php
src/Composer/Repository/Vcs/HgDriver.php
src/Composer/Repository/Vcs/SvnDriver.php
13 years ago
Jordi Boggiano
6cfed52aae
Merge remote-tracking branch 'digitalkaoz/process'
13 years ago
François Pluchino
03f5eee3fa
Fix some improvements
13 years ago
François Pluchino
541285022d
Replace CURL with copy() and file_get_contents()
13 years ago
François Pluchino
a5fb4abb36
Fix some improvements
13 years ago
François Pluchino
7888ec5313
Add Authentification in FileDownloader
13 years ago
François Pluchino
a10f92aafe
Convert Wrapper class to ConsoleIO class
13 years ago
François Pluchino
f65b34860f
Merge branch 'test'
...
Conflicts:
src/Composer/Downloader/FileDownloader.php
src/Composer/Repository/Vcs/HgBitbucketDriver.php
13 years ago
François Pluchino
9af46ad800
Add Helper Wrapper
13 years ago
Hugo Hamon
09f0ba6604
[Repository] removed unused local $match variable from HgBitbucketDriver::supports() method.
13 years ago
Hugo Hamon
70d7ab43ee
[Repository] removed unused local $match variable from GitHubDriver::supports() method.
13 years ago
Hugo Hamon
7842149a51
[Repository] removed unused local $match variable from GitBitbucketDriver::supports() method.
13 years ago
François Pluchino
86070a8b6e
Replace getHttpSupport() to getScheme()
13 years ago
François Pluchino
9b0e50cdc2
Restore the old regex
13 years ago
François Pluchino
013d145bcd
Add InputInterface and OutputInterface
13 years ago
François Pluchino
fa793649fa
Add a VcsDriver abstract class.
...
All XxxDriver extends this abstract class now.
13 years ago
Jordi Boggiano
126c57d07c
Fix notice
13 years ago
digitalkaoz
897ff9126d
seperate class for Process, using this one all over the place
13 years ago
digitalkaoz
a15567cea6
make use of process component fixes #105
13 years ago
Per Bernhardt
df5da58b87
Made HgDriver work on Ubuntu
13 years ago
root
399a406018
Fixed notices for edge cases.
13 years ago
Per Bernhardt
2fc49aa88b
Stop hg from parsing project's repository information while installing dependencies from source (HgDownloader) or initializing a VcsRepository (HgDriver).
13 years ago
Per Bernhardt
d78548cbf9
Added mercurial's "default" branch as a valid dev version (same as master / trunk).
13 years ago
Per Bernhardt
f74dafc08c
Fixed root identifier: Use global hash instead of local revision
13 years ago
Matthias Pigulla
ebbc807de0
Fix whitespaces and add strict return code checking
13 years ago
Matthias Pigulla
8ab60b7030
Still did not get it right
13 years ago
Matthias Pigulla
f24164dc16
forgot this when testing
13 years ago
Matthias Pigulla
7cdb8b6b3b
Some changes as suggested in the pr
13 years ago
Matthias Pigulla
2fc8e06d81
hg repos must not be hosted somewhere in particular, but detection may become expensive.
...
Additionally, suppress warnings and support file://-local repos
13 years ago
Jordi Boggiano
139de0f79d
Fix handling of git repos with no tag, fixes #146
13 years ago
Jordi Boggiano
1277277ec6
Fix CS
13 years ago
Jordi Boggiano
8df7eb0475
Add SvnDriver for the VcsRepository
13 years ago
Jordi Boggiano
e6710e311c
Merge remote-tracking branch 'webfactory/mercurial-support'
13 years ago
Jordi Boggiano
1fd9174c0d
Fix auto-date parsing in GitDriver
13 years ago
Jordi Boggiano
b350dda0fe
Skip GitHub driver if openssl is disabled
13 years ago
Per Bernhardt
bf21dfeb31
Added drivers for bitbucket (hg and git)
13 years ago
Per Bernhardt
38198a5f36
Fixed blank lines.
13 years ago
Per Bernhardt
b0d2897af3
Fixed unused variables.
13 years ago
Per Bernhardt
3e5fd85768
Fixed CS and unused variables
13 years ago
Per Bernhardt
ee4d4ee3fa
Added HgDriver for the VcsRepository
13 years ago
Jordi Boggiano
f2ab4d08e5
Fetch default HEAD branch from remote
13 years ago
Jordi Boggiano
b6537324ef
Change to GitHub API v3 and fetch default branch
13 years ago
Jordi Boggiano
4c2e8596aa
Add VCS Repository and Git + GitHub drivers
13 years ago