Jordi Boggiano
d249d0c121
Reset composer to load the new requirements, fixes #3511
10 years ago
Nils Adermann
859c8f5bb3
Use the repositories configured in composer.json for the require command
10 years ago
Douglas Greenshields
fac3e135e3
fix typo
10 years ago
Nils Adermann
6f4be698a5
Merge pull request #3325 from rdohms/implementing-abandoned-packages
...
Abandoned Package Warnings
10 years ago
Olivier Laurendeau
b6b3cf3a49
Add ignore-platform-reqs option to require command
10 years ago
Olivier Laurendeau
6784570691
Add ignore-platform-reqs option to remove command
10 years ago
Jordi Boggiano
94926218e8
CS fixes
10 years ago
Jordi Boggiano
751190aafd
Add new github-expose-hostname to docs/schema/config command, refs #3164
10 years ago
Jordi Boggiano
9c32f24cfc
Remove original indent if present, fixes #3143
10 years ago
Jordi Boggiano
ec0463a400
Add tests for platform packages required by root and avoid creating rules altogether instead of disabling them, refs #3320
10 years ago
Jordi Boggiano
71976a638c
Merge remote-tracking branch 'alu/ignore-ext-require'
...
Conflicts:
src/Composer/Installer.php
10 years ago
Jordi Boggiano
4bdd7adc55
Merge pull request #3319 from desyncr/bugfix/missing-default-author-value-validation
...
Fix missing validation on default value for author input
10 years ago
alu
b7fa302b90
add ignore-platform-package-requirements for update/install commands.
10 years ago
Jordi Boggiano
73e9db5d99
Fix the problem at the source, refs #3322
10 years ago
Jordi Boggiano
5c42cc8c8c
Merge remote-tracking branch 'AydinHassan/hotfix/init-virtual-packages'
10 years ago
Jordi Boggiano
df7c8915fa
Skip notification about matches found in case we have an exact match, refs #3261
10 years ago
Jordi Boggiano
d4062a5594
Merge remote-tracking branch 'kayladnls/kayla'
10 years ago
Christophe Coevoet
4685b4bf49
Fixed the resetting of the json file on removal failures
...
Closes #3329
10 years ago
Jordi Boggiano
2e1373b339
Update require message and delete empty file at the end in case of failure, fixes #3260
10 years ago
Rafael Dohms
5ed01fb60d
Abandoned support in `show`
...
Executing `composer show` on an abandoned package displays the warnings for package status.
10 years ago
Jordi Boggiano
1e4229e22a
Adjust APC check, refs #264
10 years ago
Aydin
432cdbcb31
Allow to select virtual packages
10 years ago
DC*
c698aa3a2b
Fix missing validation on default value for author input
...
The default author value on the composer init command is not validated against `parseAuthorString` method and thus not being re-prompted, finally throwing an InvalidArgumentException when it tries to generate the composer.json file.
The changes forces the validation of both the entered author string or the default value.
10 years ago
Jordi Boggiano
391a5390f2
Typo fix, cheers @rdlowrey
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
b7b0901f87
Allow using new code in the init command and avoid initializing the composer instance too early, refs #3096
10 years ago
Jordi Boggiano
cf75ec7763
Merge remote-tracking branch 'weaverryan/require-version-select'
10 years ago
Jordi Boggiano
2cb64c8a72
Merge pull request #3175 from Petah/clear-cache
...
Clear all the caches
10 years ago
Ryan Weaver
895e62e859
Refactoring selection of the "recommended" version (e.g ~1.2) and adding some tests
...
This also modifies the behavior slightly (from a recommendation by seldaek) to always
propose the minor version of the recommendation (e.g. ~1.2 instead of ~1.2.1).
10 years ago
Ryan Weaver
aea2e901a9
Extracting logic into a new class related to selecting the latest version
...
Also refactored InitCommand slightly so that you can use this "latest version"
functionality when searching for a package as well.
10 years ago
Ryan Weaver
26179cc4b4
[ #2492 ] Prefixed real versions with ~ when guessing the latest version
...
2.1.0 > ~2.1.0
v2.1.0 -> ~2.1.0
dev-master -> dev-master
10 years ago
Ryan Weaver
58535a62fa
[ #2492 ] Automatically using the latest version when requiring a package
...
This applies to the init and require commands.
Previously:
If you ommitted the version of a library, it prompted you to enter a version.
New Behavior:
If you omit the version, it automatically selects the latest version that is consistent
with your minimum-stability flag.
Is Jordi mentions, this is consistent with how npm works.
10 years ago
Ryan Weaver
947db97e33
[ #2492 ] Removing an unused variable and use statement, fixing phpdoc
10 years ago
Kayla Daniels
ec758d95b0
updated package variable in gathering requirements
10 years ago
Jordi Boggiano
a8adbfeb9f
Disallow overriding commands with scripts
10 years ago
David Neilsen
957f498419
Update clear cache command to be more verbose
10 years ago
David Neilsen
be5eae5852
Clear all the caches
10 years ago
Jordi Boggiano
4f5d979bee
ArchiveCommand improvements
10 years ago
Jordi Boggiano
cec1627acf
Add top level aliases for nonstandard scripts and allow parameter passing, refs #2516
10 years ago
Jordi Boggiano
d9d8d09fe1
Add support for local binaries in scripts, refs #2516
10 years ago
Jordi Boggiano
33cedda708
Merge remote-tracking branch 'MaxGfeller/run-script-enhancement'
10 years ago
Jordi Boggiano
b6ef95ecb8
Add support for opening multiple packages at once, refs #2445
10 years ago
Jordi Boggiano
22afc074a9
Add browse command to docs, add a -H flag and tweak fallback mechanism to maximize chances of opening something, refs #2445
10 years ago
Jordi Boggiano
e10bf5a172
Merge remote-tracking branch 'digitalkaoz/new_home_command'
...
Conflicts:
src/Composer/Console/Application.php
10 years ago
Jordi Boggiano
e3f32a79f3
Finalize and bring up to speed the remove command, refs #2479
10 years ago
Jordi Boggiano
70d9cad549
Merge remote-tracking branch 'pierredup/remove-command'
...
Conflicts:
src/Composer/Console/Application.php
10 years ago
Nils Adermann
ea6917c87a
Merge pull request #3034 from Petah/clear-cache
...
Add clear cache command.
10 years ago
Jordi Boggiano
e77435cd0c
Skip apc check for hhvm, fixes #3081
10 years ago
Maximilian Reichel
845ebdcfd4
alter command help to explain glob usage
...
hey there! using globs for whitelisting packages is (imo) a very useful feature worth being explained to the user ;)
10 years ago