Alexander Schwenn
64139ba327
Move loop-independent code outside of loop
7 years ago
Alexander Schwenn
086c9d5c56
Separate package warning from view representation
7 years ago
Alexander Schwenn
52ca1bd9c5
Move command termination outside of output loop
7 years ago
Alexander Schwenn
e672628565
Separate package type from view representation
7 years ago
Alexander Schwenn
308fa88746
Move $io->write calls together
7 years ago
Alexander Schwenn
77e104bd4d
Fix typo in local variable name
7 years ago
Jordi Boggiano
eb5495b8e4
Merge branch '1.3'
8 years ago
Jordi Boggiano
d6ffe1fd1d
Add support for outdated command info without ANSI colors, fixes #6070
8 years ago
Jordi Boggiano
cf2838131f
Merge pull request #6062 from MoT3rror/master
...
Add ignore filters option to archive command
8 years ago
Jordi Boggiano
9a26a9e8f8
Make sure alias packages installed with create-project end up with the correct branch checked out, fixes #6082
8 years ago
Ed Reel
f29a302391
Return 1 if composer.json exists, but the package doesn't.
8 years ago
jbixler
dac51c7f4b
Add ignore filters option to archive command
8 years ago
Sven Luijten
b4a77e1c0e
Add full stop to all command descriptions
8 years ago
Jordi Boggiano
ed0829fed1
Simplify code and fix path to composer.json, refs #6001
8 years ago
Ed Reel
afdae9c0e2
Do not throw InvalidArgumentException with the 'show' command if the working-dir argument is set and composer.json exists
...
- This prevents scripts from aborting when looping through a directory of projects
8 years ago
Jordi Boggiano
5ecd9ace59
Forward --minor-only flag to show command
8 years ago
Jordi Boggiano
51cfe3ba73
Fix whitespace in selfupdate output, fixes #5980
8 years ago
Jordi Boggiano
01885777f3
Fix case insensitivity of remove command, fixes #5973
8 years ago
golodnyi
1cced223d8
Not actual parameters
8 years ago
Nicolas Grekas
6d4e60b991
Add --apcu-autoloader option to enable APCu caching of found/not-found classes
8 years ago
Pierre Rudloff
7d52bd6ed5
Non-zero status code when there are outdated packages ( fixes #5901 )
8 years ago
johnstevenson
379fb70ad9
Use random name for tmp ini and delete after use
...
Thanks to Patrick Rose for reporting this issue.
8 years ago
Jordi Boggiano
66bb195233
Add zlib warning to diagnose command
8 years ago
Jordi Boggiano
9c8617cd33
Merge branch '1.2'
8 years ago
Jordi Boggiano
f7475c6ff6
Merge pull request #5830 from fabpot/logic-refactoring
...
Refactor some common logic in Command classes
8 years ago
Fabien Potencier
69740bbbee
Refactor some common logic in Command classes
8 years ago
Fabien Potencier
b823242ae3
Code simplification
8 years ago
Niels Keurentjes
6de7feeb86
Fix crash when listing root package without versions
...
When using certain parameters together in 'composer show', specifically '-s --outdated', the root package itself is inspected for its latest version. If the git repository it belongs to does not have any tags yet this would return FALSE, while the next call to printMeta requires a PackageInterface or NULL, causing a crash.
Refs #5808
8 years ago
Nicolas Grekas
bfbcf03a6b
Fix ShowCommand
8 years ago
Konstantin.Myakshin
dc70b40d34
Use implode instead of join
8 years ago
Jordi Boggiano
41c3307fc5
Merge branch '1.2'
8 years ago
Jordi Boggiano
f23cdf59e3
Make remove command case insensitive, fixes #5754
8 years ago
Jordi Boggiano
b171c24101
Merge branch '1.2'
8 years ago
Jordi Boggiano
8e1b90bc08
Allow reading repo.0 in config command, fixes #5692
8 years ago
Jordi Boggiano
2ffa1148a9
Merge branch '1.2'
8 years ago
Den Girnyk
71e0fba216
Pass devMode from RunScriptCommand to Script\Event
8 years ago
Jordi Boggiano
754d4fa1b2
Merge branch '1.2'
8 years ago
Jordi Boggiano
a04256810e
Change exit code to be 1/2 for warn/fail, refs #5601
8 years ago
Jordi Boggiano
b29d810d63
Only treat errors as real failures, fixes #5601
8 years ago
Jordi Boggiano
cfdeb61779
Avoid warning when testing for packagist over http
8 years ago
Jordi Boggiano
f63f1ff95f
Merge remote-tracking branch 'davidolrik/master'
8 years ago
Jordi Boggiano
9b42f16762
Merge pull request #5575 from admonkey/master
...
update help page on global for COMPOSER_HOME info
8 years ago
Jordi Boggiano
cada55dde6
Merge pull request #5491 from moolex/support_gitlab_private_token
...
Support gitlab private-token for easier access via Gitlab API
8 years ago
Jordi Boggiano
165ff07146
Merge branch '1.2'
8 years ago
Matthew "Juniper" Barlett
09dad8a018
Clean up regex in InitCommand::parseAuthorString
...
Per comments:
- https://github.com/composer/composer/pull/5638#discussion_r76972844
- https://github.com/composer/composer/pull/5638#discussion_r76973941
8 years ago
Matthew "Juniper" Barlett
ac41bb0615
Fix for issue #5631
...
- Add " ( and ) as valid characters in author name
- Add relavent unit tests
8 years ago
Jordi Boggiano
f3af3ede40
Merge pull request #5552 from fvdb/add-minor-only-option
...
Added minor-only option to show command to only show packages with minor updates
8 years ago
Frank van den Brink
e60a7216c6
Clarified minor-only option description
8 years ago
Frank van den Brink
cb7377d2cb
Added minor-only option to show command to only show packages with minor updates
8 years ago
Frank van den Brink
28851ecdca
Revert "Added minor-only option to only show packages with minor updates"
...
This reverts commit 4b0e40d482
.
8 years ago
David Jack Wange Olrik
2c84be47c2
Add support for seamless execution of local binaries
...
Projects that add binaries to `vendor-bin` can now execute those via the same command as projects that consume them without installing them first.
In list overview local commands have a `(local)` tag to distinguish them from commands installed in `vendor-bin`.
Local binaries take precedence over `vendor-bin` which takes precedence over binaries in path.
8 years ago
Jesse Donat
4de11a955a
Adds --no-suggest to RequireCommand
8 years ago
Jeff Puckett
9e7d1a4f9e
update help page on global for COMPOSER_HOME info
...
default installation directory for global packages
has changed since adding support for freedesktop.org standards
per confusion from http://stackoverflow.com/q/38703915/4233593
8 years ago
Frank van den Brink
4b0e40d482
Added minor-only option to only show packages with minor updates
8 years ago
Jordi Boggiano
685ff8699b
Capture output
8 years ago
Jordi Boggiano
a242f7e9ba
Use process component instead of passthru, fixes #5501
8 years ago
Jordi Boggiano
7bcd336c95
Disable plugins across the board when --no-plugins is specified, fixes #5509
8 years ago
moyo
c4ac59601f
Update related docs and config definitions
8 years ago
Jordi Boggiano
e53119f806
Make use of pretty version for new references, refs #5328
8 years ago
Jordi Boggiano
44ddcf4da7
Merge remote-tracking branch 'slbmeh/feature/version-status'
8 years ago
bohwaz
abcbef4a67
Add Fossil support to Composer
8 years ago
Pierre du Plessis
6a557e45b8
Added --type option to search
8 years ago
Jordi Boggiano
151ed2a0e5
Merge pull request #5392 from donatj/master
...
Adds --no-suggest to install and update commands
8 years ago
Steve Buzonas
576721946c
show pretty version in both scenarios
8 years ago
Steve Buzonas
7b6e06c686
normalize version to provide consistent output from package version vs vcs version
8 years ago
Steve Buzonas
64afdcc2aa
remove var_dump
8 years ago
Sven Gerlach
4fd35baf1f
Added --no-scripts InputOption for RemoveCommand
8 years ago
Sven Gerlach
28b88dd675
Added --no-scripts InputOption for RequireCommand
8 years ago
Jesse Donat
b108ed9484
Adds --no-suggest to UpdateCommand
8 years ago
Jesse Donat
cbfd81dc99
Adds flag to allow suggestions to be skipped
8 years ago
Jordi Boggiano
04ae1584dc
Add docs about package type to prompt, fixes #5378
8 years ago
Jordi Boggiano
57ae6d97b6
Merge branch '1.1'
8 years ago
Jordi Boggiano
c47b302a3c
Reset composer before loading the modified json, fixes #5346
8 years ago
Steve Buzonas
d0c009edf2
fix issue where path repositories would be matched oddly
8 years ago
Steve Buzonas
758e7cab53
fixed issue where detatched head would give null output
8 years ago
Steve Buzonas
8d766c8eb2
cleaner implementation of status output with support for path repositories
8 years ago
Mathias Brodala
d9909993b2
Add --prefer-stable and --prefer-lowest to "require" command
...
Fixes #5314
8 years ago
Bilal Amarni
92207da83a
add isProxyCommand() to BaseCommand
8 years ago
Jordi Boggiano
352e467f16
Always show abandoned packages in --outdated as they are outdated in a way
8 years ago
Jordi Boggiano
2bcd723b54
Fix regression in global command, fixes #5266
8 years ago
Kamran Ahmed
78a8a02978
Ignore the unfound packages
8 years ago
Jordi Boggiano
6146f7aded
Take into account prefer-stable and dev packages when computing outdated, refs #5251
8 years ago
Jordi Boggiano
2a3b56e82c
Fix constraint parsing bug in outdated, fixes #5251
8 years ago
Jordi Boggiano
4319435154
Make sure the --no-plugin is documented as available everywhere and not redefined
8 years ago
Jordi Boggiano
fd5f90989f
Add --all to oudated command and switch it to show only outdated by default, fixes #5253
8 years ago
Jordi Boggiano
135783299a
Add support for editing top level properties and extra values, replaces #2415 , fixes #1411 , fixes #2384
8 years ago
Jordi Boggiano
3186b5eeca
Avoid using the full pretty version for comparisons, fixes #5247
8 years ago
Jordi Boggiano
7def8cf6e5
Refactor to use ArrayInput instead of StringInput
8 years ago
Jordi Boggiano
aabe21d84d
Add --direct and --outdated flags to ShowCommand & OutdatedCommand, fixes #5240
8 years ago
Jordi Boggiano
17f23f5c43
Write abandoned warning on stderr to avoid breaking the flow of the list
8 years ago
Jordi Boggiano
6c94cb89d1
Fix outdated command on linux
8 years ago
Jordi Boggiano
313dd14f1e
Add coloring to the colors
8 years ago
Jordi Boggiano
c5f734dbf9
Merge remote-tracking branch 'barryvdh/show-latest'
8 years ago
Jordi Boggiano
e7069dd5e8
Tweak colors in the output, make sure we load the proper version according to stability flags and add outdated command, refs #5028
8 years ago
Jordi Boggiano
9206c646a2
Merge remote-tracking branch 'barryvdh/show-outdated'
8 years ago
Jordi Boggiano
b6680b6f2a
Fix why-not command to dig deeper when it is given a specific version it checks installed packages against that version's requirements
8 years ago
Jordi Boggiano
f13e0f975f
Add --no-secure-http flag to temporarily disable secure-http in create-project installation of the root package, fixes #5121
8 years ago
Jordi Boggiano
467ece15ed
Skip regex engine when not necessary
8 years ago
Jordi Boggiano
21a9f21cc8
Add package filtering in show command, fixes #5212 , closes #5215
8 years ago
Jordi Boggiano
fc33e0835e
Merge branch '1.0'
8 years ago
Michael Aherne
830644f374
Observe COMPOSER environment variable in init command
8 years ago
Jordi Boggiano
30ef73f7b2
Merge branch '1.0'
8 years ago
Peter Rehm
bdd90a49c4
Show channel even if there is no new version on the current channel
8 years ago
Jordi Boggiano
b31052fcde
composer status now includes untracked files in git repos, fixes #2664
8 years ago
Jordi Boggiano
dabad42cf9
Show channel used to perform self-update
8 years ago
Jordi Boggiano
3b0a1c6f70
Run cs fixer and update config to latest master
8 years ago
Jordi Boggiano
b9ce06f46b
Minor tweaks, refs #5162
8 years ago
Jordi Boggiano
da9b43dcc8
Merge remote-tracking branch 'curry684/code-quality' into 1.0
8 years ago
Jordi Boggiano
6df85163f4
Make use of global platform config if available, and improve error reporting, fixes #5165
8 years ago
David Zuelke
cf43244f85
fix config add/remove/unset/merge for bitbucket
8 years ago
Niels Keurentjes
eb77c0b7f5
phpDoc cleanup, removed unused imports, variables and parameters.
8 years ago
Niels Keurentjes
818c3e707a
Ton of phpDoc fixes.
8 years ago
Niels Keurentjes
e6f21137ad
Undefined or default return points fixed.
8 years ago
Jordi Boggiano
2c9326bacb
Merge remote-tracking branch 'wenkepaul/master'
8 years ago
Paul.Wenke
59ae2716aa
Fixed typo in exception message for Bitbucket config command.
8 years ago
Jordi Boggiano
95c263284a
Merge pull request #5064 from Seldaek/update-channels
...
Add update channels support to self-update and diagnose
8 years ago
vlakoff
47d196f37f
Fix missing argument for getLastBackupVersion()
8 years ago
Jordi Boggiano
e0fa2ed9c6
Merge remote-tracking branch 'vlakoff/clean-backups'
8 years ago
Barry vd. Heuvel
fd46c7e4ba
Reduce line length
8 years ago
Barry vd. Heuvel
54d86ebfc9
Use latest package for deprecations, cache latest packages
8 years ago
Barry vd. Heuvel
80be9a2c98
Add deprecated notice to show command
8 years ago
Barry vd. Heuvel
ac606e4dc1
Add recommended version to show command
8 years ago
Jordi Boggiano
0db8bbfda3
Add update channels support to self-update and diagnose, fixes #4960
8 years ago
Jordi Boggiano
e8abc90b92
Merge pull request #5026 from curry684/issue-4392
...
Simulate dummy Composer when searching in uninitialized folder
8 years ago
Niels Keurentjes
a2d2c4ddd5
Simulate dummy Composer when searching in uninitialized folder, fixes #4392
8 years ago
Niels Keurentjes
fbbde23fb3
Improved error message when adding a package that is disallowed by PHP version, fixes #4686
8 years ago
vlakoff
f7757c606d
Move instruction to delete corrupted file
8 years ago
vlakoff
9532a0129c
Correct error message to match actual behavior
8 years ago
vlakoff
93e08fd78e
Also clean backups if no Composer update actually performed
8 years ago
vlakoff
496d29a793
Move code to new method cleanBackups()
8 years ago
vlakoff
4b79ca6ba2
Remove duplicate variable
8 years ago
Jordi Boggiano
8344c6d3d7
Merge pull request #4993 from hkdobrev/create-project-suggests
...
List project suggestions in create-project command
8 years ago
Paul Wenke
d5332a1b5c
Developed bitbucket-oauth functionality.
8 years ago
Jordi Boggiano
3933a7f404
Add conflict detection in why-not, fixes #5013
8 years ago
Jordi Boggiano
a15779cf53
Fix issue handling false children in why-not command
8 years ago
Haralan Dobrev
cc389d6c1a
List project suggestions in create-project command
...
Resolves https://github.com/composer/composer/issues/2752
8 years ago
Rick Guyer
2a35486d7d
Check for --ignore-platform-reqs flag during create-project
...
During `create-project`, the installed PHP version was used to determine
the best root package install candidate, but failed to take into account
the `--ignore-platform-reqs` flag.
8 years ago
Jordi Boggiano
3cea62b6ed
Merge pull request #5001 from curry684/issue-4999
...
Show -t incorrectly expanded self.version constraints. Fixes #4999
8 years ago
Jordi Boggiano
bf283cee66
Merge pull request #5002 from barryvdh/change-remove-deps
...
Make remove with dependencies default
8 years ago
Niels Keurentjes
1017ab817f
Corrected parameter handling.
8 years ago
Barry vd. Heuvel
eae6d8017a
Make remove with dependencies default
8 years ago
Niels Keurentjes
a3b2628748
Show -t incorrectly expanded self.version constraints. Fixes #4999
8 years ago
Jordi Boggiano
27e1c4358e
Fix show/depends commands to display and abort when a circular dep was reached, fixes #4983
8 years ago
Jordi Boggiano
b93b73e836
Rewrite git unpushed status checks, fixes #4987
8 years ago
Jordi Boggiano
8cfbe7023d
CS fixes
8 years ago
Jordi Boggiano
4b0624a93a
Fix regression in create-project
8 years ago
Jordi Boggiano
bf1ddaa298
Fix method name for php5
8 years ago
Jordi Boggiano
1aec1c1fc8
Add --repository flag to init command, and rename --repository-url to --repository in create-project, fixes #4200 , closes #4207 , closes #2604 , fixes #2920
8 years ago
Jordi Boggiano
b6b2635f42
Merge pull request #4970 from barryvdh/list-installed-default
...
Change default behavior of show/list to --installed by default
8 years ago
Jordi Boggiano
0ed5b541a9
Fix CS
8 years ago