1
0
Fork 0
Commit Graph

3658 Commits (b0a7c7574aa9aeb6ac31efdf77dbaf13fc971452)

Author SHA1 Message Date
Jordi Boggiano b0a7c7574a Merge pull request #2283 from hkdobrev/master
Use default description and license from CLI args
2013-09-21 02:34:15 -07:00
Haralan Dobrev 4abaaaf76d Use default description and license from CLI args
When running `composer init` with `--description` and `--license` arguments
on the command line they are later suggested as defaults during the
interactive flow. However when you press Enter (to use the default suggesstion)
Composer does not use it, but instead skip them entirely from the `composer.json`
generation.

This change provides a default argument not only to `DialogHelper::getQuestion()`,
but also to `DialogHelper::ask()`.
2013-09-21 02:10:24 +03:00
Jordi Boggiano da7ace02eb Update deps 2013-09-19 11:23:19 +02:00
Jordi Boggiano 5b96caf8ce Add version release date to -V output, fixes #2267 2013-09-16 14:08:43 +02:00
Jordi Boggiano 941498abbb Merge pull request #2265 from zweifisch/patch-1
Update 05-repositories.md
2013-09-16 02:08:49 -07:00
Jordi Boggiano 0510af7b9d Merge pull request #2266 from pschultz/patch-1
Add missing require to example composer.json
2013-09-16 02:07:49 -07:00
Peter Schultz 9d15a32405 Add missing require to example composer.json 2013-09-16 01:39:08 +02:00
zweifisch 876314a58d Update 05-repositories.md 2013-09-15 22:37:16 +08:00
Jordi Boggiano cb79b55434 Merge pull request #2263 from drrcknlsn/rar
RAR archive downloader
2013-09-15 01:50:26 -07:00
Derrick Nelson 2ba8042986 Added package type rar. 2013-09-14 13:12:59 -04:00
Derrick Nelson c98bce0446 Added RarDownloader for downloading RAR archived packages. 2013-09-14 13:11:26 -04:00
Nils Adermann 6f7b82e935 Merge pull request #2259 from hason/pm
Removed duplication of logic of an installation manager in a plugin manager
2013-09-12 06:13:47 -07:00
Jordi Boggiano 441f0ee7d8 Merge pull request #2258 from romainneutron/inf-val
Update INF to PHP_INT_MAX as recommended by Stof
2013-09-12 06:12:43 -07:00
Martin Hasoň e949038c0f Removed duplication of logic of an installation manager in a plugin manager 2013-09-12 14:31:27 +02:00
Romain Neutron 9b7fc0bae7 Update INF to PHP_INT_MAX as recommended by Stof 2013-09-12 13:19:27 +02:00
Jordi Boggiano b86b8a597e Merge pull request #2255 from akorsus/patch-1
Fixed Typo
2013-09-12 02:43:35 -07:00
Jordi Boggiano 36d3ca7568 Merge pull request #2256 from romainneutron/fix-show-width-detection
Do not use detected width for output formatting if it is not available
2013-09-12 02:43:17 -07:00
Romain Neutron a965642769 Do not use detected width for output formatting if it is not available 2013-09-11 23:38:59 +02:00
akorsus 520e02e0a9 Fixed Typo
JSON didn't validate
2013-09-11 19:20:29 +02:00
Jordi Boggiano a2ffda4f13 Merge pull request #2254 from hason/pm
Default installers are available in the factory for a plugin manager
2013-09-11 07:08:54 -07:00
Martin Hasoň af53ab94ad Default installers are available in the factory for a plugin manager 2013-09-11 11:29:51 +02:00
Jordi Boggiano 20a18dcb60 Merge pull request #2246 from drrcknlsn/zip-perms-fix
fixes #2242: Set write permissions on unzipped package contents
2013-09-10 01:28:49 -07:00
Jordi Boggiano 460d1764d2 Merge pull request #2245 from bitExpert/doc/plugins
Added missing semicolon
2013-09-10 01:18:39 -07:00
Derrick Nelson 9a54c476eb Recursively set write permissions on unzipped package contents to resolve cache unlinking issue. 2013-09-09 21:03:49 -04:00
Stephan Hochdörfer 4acfe1a079 Added missing semicolon 2013-09-09 22:35:21 +02:00
Jordi Boggiano 5f538e4534 Upgrade to latest process component 2013-09-09 18:34:57 +02:00
Jordi Boggiano e330763c5f Fix issue when multiple paths are mapped to one dir in the show command 2013-09-09 16:52:59 +02:00
Jordi Boggiano 0eb2821733 Fix undefined var error, fixes #2241 2013-09-09 15:10:09 +02:00
Jordi Boggiano b6a6208654 Update deps 2013-09-09 14:56:44 +02:00
Nils Adermann 689e3056fa Plugin API requirements should be for plugins only, not installers 2013-09-08 18:03:05 +02:00
Nils Adermann f69a47066d Fix numbering in custom installers article 2013-09-08 18:03:05 +02:00
Nils Adermann 5be0ba14fe Warn about composer-installer type in composer validate 2013-09-08 18:03:05 +02:00
Jordi Boggiano 7065330c2e Merge pull request #2236 from fabian/patch-1
Documentation fixes for composer-plugin type
2013-09-07 11:45:06 -07:00
Fabian Vogler 7b43d4909c Use getPackageBasePath instead of getInstallPath
As LibraryInstaller uses getPackageBasePath for uninstall: https://github.com/composer/composer/blob/master/src/Composer/Installer/LibraryInstaller.php#L126
2013-09-06 17:44:16 +02:00
Fabian Vogler 0f9988b065 Documentation fixes for composer-plugin type 2013-09-06 16:49:01 +02:00
Nils Adermann 242c58c789 Merge pull request #2179 from naderman/plugins
Plugins
2013-09-06 04:42:27 -07:00
Nils Adermann f249fd804f Correctly require composer plugin api version in test plugins 2013-09-06 13:36:02 +02:00
Nils Adermann 98e5eabf75 Document how to write and use plugins 2013-09-05 20:08:17 +02:00
Nils Adermann 92b1ee2f7a Add a composer-plugin-api platform package and plugins must require it 2013-09-05 15:47:05 +02:00
Nils Adermann 6c2e998e40 Add missing use statement 2013-09-05 14:32:09 +02:00
Nils Adermann d00ca4bcdb Add a Command event triggered by all comands which load plugins 2013-09-05 14:30:03 +02:00
Jordi Boggiano 9b70b89b8f Merge pull request #2210 from Firehed/master
Change 'generated' notice to @phpdoc-style annotation
2013-09-02 03:12:29 -07:00
Jordi Boggiano 80184b87d1 Fix undefined index error, fixes #2224 2013-09-02 11:22:21 +02:00
Nils Adermann bf08019292 Load plugins and installers prior to checking installed packages 2013-08-31 16:20:38 +02:00
Nils Adermann 2ca07add97 Merge remote-tracking branch 'github-composer/master' into plugins
* github-composer/master:
  Correct FileDownloaderTest for invalid checksum

Conflicts:
	tests/Composer/Test/Downloader/FileDownloaderTest.php
2013-08-31 15:58:31 +02:00
Nils Adermann 72919e04b0 Correct FileDownloaderTest for invalid checksum 2013-08-31 15:55:12 +02:00
Nils Adermann 786ea2929b Merge remote-tracking branch 'github-composer/master' into plugins
* github-composer/master:
  Make sure directories we are downloading to are empty
  Fix parsing of trunk in SvnDriver, fixes composer/satis#88
  Fix file layout in unit tests
  Fix parse error thrown in PHP5.5+
2013-08-31 15:43:25 +02:00
Nils Adermann a080ae3a51 Make sure directories we are downloading to are empty
We already clear them on error anyway and usually they should be
empty, but just to be safe.
2013-08-31 15:42:26 +02:00
Jordi Boggiano 4b38158185 Merge pull request #2221 from Alan01252/fix-unexpectedas
Fix parse error thrown in PHP5.5+
2013-08-31 06:31:43 -07:00
Jordi Boggiano 2bf90b544a Fix parsing of trunk in SvnDriver, fixes composer/satis#88 2013-08-31 15:25:00 +02:00