1
0
Fork 0
Commit Graph

149 Commits (99513ba52b9f3c8c56dcda9e46549044be7fd9a5)

Author SHA1 Message Date
till 6d1cdb3e45 * fixSvnUrl(): to prefix absolute paths with file:// 2012-03-18 16:36:03 +01:00
Beau Simensen 38680998ed Remove the RemoteFilesystem factory and document GitHubDriver->GitDriver fallback. 2012-03-14 18:44:27 -07:00
till 5fdd09104f resolve conflict 2012-03-12 17:35:15 +01:00
till a1e1a8c7d7 * use askConfirmation() instead 2012-03-12 17:28:13 +01:00
till 244cc2a8c2 hide password input 2012-03-12 17:25:45 +01:00
till 96298a33dc catch all failures 2012-03-12 17:24:36 +01:00
Beau Simensen 1e9cb6bac8 Use factory name instead of generator. 2012-03-10 10:26:03 -08:00
Beau Simensen 340ac49d87 Change `callback` to `callable` 2012-03-10 09:54:42 -08:00
Beau Simensen 6efbc7d531 Enhanced GitHub API/Private Repository support 2012-03-09 23:49:21 -08:00
till 8d80969f26 trim input 2012-03-09 14:34:17 +01:00
till 4c2da57140 make static 2012-03-09 14:34:02 +01:00
till c78d9ffece more inline documentation 2012-03-09 14:33:34 +01:00
till 4da56ea617 explain non-interactive 2012-03-09 14:25:19 +01:00
till f8d8ccfedc * in interactive mode: display error message to the user when authorization fails 2012-03-09 14:24:49 +01:00
till a3363a8560 * SvnDriver::$useCache: false by default
* setting is adjust in 'interactive' mode when auth fails
2012-03-09 14:24:06 +01:00
till 061d91b4a8 whitespace 2012-03-09 14:13:29 +01:00
till 1f03d37a89 * only 'ask' the user if the session is interactive 2012-03-09 14:07:04 +01:00
till a8287118ed * work on no-auth-cache 'creation' 2012-03-09 13:47:53 +01:00
Jordi Boggiano 6c9f1f6f5b Merge pull request #416 from DonMartio/master
Missing slash permits version evaluation.
2012-03-09 01:22:56 -08:00
DonMartio b74773053b Missing slash prevents version evaluation. 2012-03-09 10:04:52 +01:00
Jordi Boggiano 3e22084ea4 Overhaul VcsDrivers, introduce TransportException for remote filesystem errors 2012-03-08 23:14:56 +01:00
till 978d4c145d * more output 2012-03-08 17:00:24 +01:00
till 59c1a7ff15 * when an auth failure is detected and 'auth' is not present, we ask for credentials
* ... and repeat
2012-03-08 16:53:41 +01:00
till 44470da804 * do svnCommand() in execute() to be able to restart the dance in case it failed 2012-03-08 16:52:36 +01:00
till a3e0a0805c * always run non-interactive 2012-03-08 16:42:19 +01:00
till 907db48bb5 * wrap execution of commands into local method 2012-03-08 16:27:22 +01:00
till 99eb18d0ff * rename var from $composer to $output (for consistency) 2012-03-08 15:56:52 +01:00
till 3f665e8bbb * method to gather if this session is 'interactive' or 'non interactive' 2012-03-08 15:44:29 +01:00
till d1482bfa3c * refactor svn command 'creation' into a single method: getSvnCommand() 2012-03-08 15:39:22 +01:00
till 6417a86651 * fix docblocks 2012-03-08 15:25:44 +01:00
till adfac9e34b escape arguments 2012-03-04 19:54:16 +01:00
till 9ecbc5176e remove isset() 2012-03-04 19:46:22 +01:00
till 0ecb710282 * add my credentials into every svn command 2012-03-02 20:32:33 +01:00
till b30f8078e4 * avoid notice 2012-03-02 20:31:50 +01:00
till 4db4d6720b correct my typo 2012-03-02 20:03:46 +01:00
till ba8ccb1955 trailing space 2012-03-02 19:46:46 +01:00
till 275d1c9969 * added a method to return the credential string for the svn command 2012-03-02 19:46:11 +01:00
till e18a4f7d31 detect if credentials are in the url 2012-03-02 19:43:07 +01:00
Jordi Boggiano d03fb4804c Fix local repo detection 2012-02-25 04:18:23 +01:00
Jordi Boggiano 773338a688 Fixes for SVN support, fixes #172 2012-02-24 10:18:24 +01:00
Jordi Boggiano c0b18bddb9 Bugfixes in the local git repos handling 2012-02-23 23:22:45 +01:00
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".
2012-02-23 12:07:57 +01:00
Jordi Boggiano 32157a3904 Fix local git repo handling in GitDriver 2012-02-19 16:38:07 +01:00
Jordi Boggiano e2199b2b03 Fixed automatic date parsing of versions 2012-02-18 17:05:13 +01:00
Jordi Boggiano a28fa790be Fix regex 2012-02-18 16:03:49 +01:00
Jordi Boggiano fa8cb14073 Simplify check 2012-02-18 12:12:02 +01:00
Jordi Boggiano f152fe723d Allow local file system git repos & do not restrict to valid http* urls 2012-02-18 12:00:30 +01:00
François Pluchino 953f0992f7 Merge callback method of FileDownloader and VcsDriver
Required corrections added
2012-02-15 13:11:29 +01:00
François Pluchino f5d90e1340 Download Dist Package when the info is defined in root composer file 2012-02-13 17:40:54 +01:00
François Pluchino a0afb88d5d Fix bug on authorization of file download for the private repositories 2012-02-05 20:21:06 +01:00
Brian Clozel 23d85f1900 fix typo 2012-01-24 10:38:32 +01:00
Brian Clozel 33a0ba69de fix issue #251 - Using $this not in object context 2012-01-23 19:41:44 +01:00
Jordi Boggiano 702d415472 Fix usage of the ProcessExecutor 2012-01-22 20:08:57 +01:00
digitalkaoz 627deab51c fixed #230 2012-01-20 20:50:21 +01:00
Jordi Boggiano e218b811e0 Convert static Process into an executor that can be injected 2012-01-18 09:27:57 +01:00
Jordi Boggiano 434c9ecdeb Cleanups of IOInterface 2012-01-17 23:08:12 +01:00
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
2012-01-17 22:31:27 +01:00
Jordi Boggiano 6cfed52aae Merge remote-tracking branch 'digitalkaoz/process' 2012-01-17 21:47:37 +01:00
François Pluchino 03f5eee3fa Fix some improvements 2012-01-17 14:53:50 +01:00
François Pluchino 541285022d Replace CURL with copy() and file_get_contents() 2012-01-17 12:52:14 +01:00
François Pluchino a5fb4abb36 Fix some improvements 2012-01-17 10:29:54 +01:00
François Pluchino 7888ec5313 Add Authentification in FileDownloader 2012-01-16 20:09:32 +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 09f0ba6604 [Repository] removed unused local $match variable from HgBitbucketDriver::supports() method. 2012-01-11 11:35:36 +01:00
Hugo Hamon 70d7ab43ee [Repository] removed unused local $match variable from GitHubDriver::supports() method. 2012-01-11 11:34:45 +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
digitalkaoz 897ff9126d seperate class for Process, using this one all over the place 2012-01-05 11:12:54 +01:00
digitalkaoz a15567cea6 make use of process component fixes #105 2012-01-03 17:07:56 +01:00
Per Bernhardt df5da58b87 Made HgDriver work on Ubuntu 2011-12-13 06:50:35 +01:00
root 399a406018 Fixed notices for edge cases. 2011-12-13 06:49:55 +01:00
Per Bernhardt 2fc49aa88b Stop hg from parsing project's repository information while installing dependencies from source (HgDownloader) or initializing a VcsRepository (HgDriver). 2011-12-13 06:49:03 +01:00
Per Bernhardt d78548cbf9 Added mercurial's "default" branch as a valid dev version (same as master / trunk). 2011-12-13 06:47:33 +01:00
Per Bernhardt f74dafc08c Fixed root identifier: Use global hash instead of local revision 2011-12-13 06:47:00 +01:00
Matthias Pigulla ebbc807de0 Fix whitespaces and add strict return code checking 2011-12-12 10:57:57 +01:00
Matthias Pigulla 8ab60b7030 Still did not get it right 2011-12-10 14:23:37 +01:00
Matthias Pigulla f24164dc16 forgot this when testing 2011-12-10 14:15:00 +01:00
Matthias Pigulla 7cdb8b6b3b Some changes as suggested in the pr 2011-12-10 14:11:51 +01:00
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
2011-12-09 23:10:31 +01:00
Jordi Boggiano 139de0f79d Fix handling of git repos with no tag, fixes #146 2011-12-06 22:19:24 +01:00
Jordi Boggiano 1277277ec6 Fix CS 2011-11-27 20:25:30 +01:00
Jordi Boggiano 8df7eb0475 Add SvnDriver for the VcsRepository 2011-11-27 20:07:42 +01:00
Jordi Boggiano e6710e311c Merge remote-tracking branch 'webfactory/mercurial-support' 2011-11-15 15:12:15 +01:00
Jordi Boggiano 1fd9174c0d Fix auto-date parsing in GitDriver 2011-11-15 11:53:26 +01:00
Jordi Boggiano b350dda0fe Skip GitHub driver if openssl is disabled 2011-11-15 11:29:25 +01:00
Per Bernhardt bf21dfeb31 Added drivers for bitbucket (hg and git) 2011-11-12 13:22:41 +01:00
Per Bernhardt 38198a5f36 Fixed blank lines. 2011-11-10 13:39:51 +01:00
Per Bernhardt b0d2897af3 Fixed unused variables. 2011-11-10 13:12:19 +01:00
Per Bernhardt 3e5fd85768 Fixed CS and unused variables 2011-11-10 13:10:05 +01:00
Per Bernhardt ee4d4ee3fa Added HgDriver for the VcsRepository 2011-11-10 11:58:48 +01:00
Jordi Boggiano f2ab4d08e5 Fetch default HEAD branch from remote 2011-11-04 10:07:31 +01:00
Jordi Boggiano b6537324ef Change to GitHub API v3 and fetch default branch 2011-11-04 09:59:55 +01:00
Jordi Boggiano 4c2e8596aa Add VCS Repository and Git + GitHub drivers 2011-11-03 19:24:20 +01:00