chr0n1x
bc5ce1ce04
SelfUpdateCommand: only use 1 rollback snapshot at a time
11 years ago
chr0n1x
2760221767
SelfUpdateCommand: initial groundwork for --rollback
11 years ago
Max Gfeller
421b09dc44
Check if a given event has registered any listeners. If not the script
...
is not defined in the composer.json file
11 years ago
Max Gfeller
040bbaca51
Don't throw an exception if the called script is not one of the
...
event-scripts. This makes it possible for one to define their own
scripts like "make-release" etc.
11 years ago
Andreas Hennings
39c09d5192
Add psr-4 stuff in a few more places.
11 years ago
Pierre du Plessis
5267622bba
Add remove command to remove a package from the list of current installed packages
11 years ago
Jordi Boggiano
10f8e564bb
Add warnings for xdebug, fixes #2425
11 years ago
Jordi Boggiano
e126c92525
Fix exit codes, cc @tyrael
11 years ago
Bilal Amarni
61cc291c8a
[CreateProject] allowed pretty version constraint
11 years ago
Dimitrios Kanellopoulos
81820beefc
Cache path never ends with '/'
11 years ago
Dimitrios Kanellopoulos
95a9ac880b
Check if current dir is writable and if not try the cache dir from settings
11 years ago
Dimitrios Kanellopoulos
9477e015bd
Use cache directory when downloading composer.phar
...
Since there is a cache dir there is no need to populate the project
directory with temp files. Plus the permissions on the project dir
might not allow that.
11 years ago
Gennady Feldman
f8376a5b34
Updating ConfigCommand so that we can set github-domains from the command line.
11 years ago
Phillip Look
07a7284ffc
Change dependency processing for update with whitelisted packages
...
By default dependencies of white listed packages are no longer installed automaticaly.
To Install dependencies of whitelisted packages use --with-dependencies.
- rework after review comments
- precise documentation of option
- add missing punctuation marks
11 years ago
Jordi Boggiano
11a0d16ccc
CS fixes
11 years ago
Jordi Boggiano
57146c12b4
Warn user that commands are being run in another directory
11 years ago
Nicolas Bastien
52711d121c
Remove unused use statement.
11 years ago
Jordi Boggiano
05ffc605f1
Ignore chmod failures, fixes #1854
11 years ago
Jordi Boggiano
6e4e10620a
Merge remote-tracking branch 'gerryvdm/feature'
...
Conflicts:
src/Composer/Command/CreateProjectCommand.php
11 years ago
Jordi Boggiano
3f6227a996
Add workaround for php bug 53460 glob() can return false, fixes #2278
11 years ago
Gerry Vandermaesen
eb72e1692c
Added --no-install option to create-project command
...
Added a --no-install option to the create-project command that
skips installation of the dependencies in the newly created
project.
11 years ago
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()`.
11 years ago
Romain Neutron
9b7fc0bae7
Update INF to PHP_INT_MAX as recommended by Stof
11 years ago
Romain Neutron
a965642769
Do not use detected width for output formatting if it is not available
11 years ago
Jordi Boggiano
e330763c5f
Fix issue when multiple paths are mapped to one dir in the show command
11 years ago
Jordi Boggiano
0eb2821733
Fix undefined var error, fixes #2241
11 years ago
Nils Adermann
242c58c789
Merge pull request #2179 from naderman/plugins
...
Plugins
11 years ago
Nils Adermann
d00ca4bcdb
Add a Command event triggered by all comands which load plugins
11 years ago
Jordi Boggiano
80184b87d1
Fix undefined index error, fixes #2224
11 years ago
Nils Adermann
15ac7be6f1
Fix disabling plugins which has to happen in the factory now
11 years ago
Nils Adermann
f0b45099c1
Correct authorship info for files I edited
11 years ago
Nils Adermann
b83535d2d9
Add back --no-custom-installers option with a deprecated warning
11 years ago
Nils Adermann
01a08a2ff3
As preparation for composer plugins, rename custom installers to plugins
11 years ago
Jordi Boggiano
ef072ff8c0
Merge pull request #2205 from unn/patch-1
...
Update help docs for the global command
11 years ago
Jordi Boggiano
51ea1f03f9
Validate constraints in require command, fixes #2197
11 years ago
Jordi Boggiano
c2dc433fa4
Improve global command to support short command resolution
11 years ago
David Stoline
54a74e81d5
Add a note about customizations
11 years ago
David Stoline
6eee550c2f
Update help docs for the global command
...
I noticed that COMPOSER_HOME/vendor/bin was wrong. Correcting.
11 years ago
Jordi Boggiano
7311bc77e6
Add global command to be able to require/install/update global packages, fixes #1813 , fixes #55
11 years ago
Nils Adermann
c6aa97ed8a
Merge pull request #2153 from renanbr/archive-prefer-dist
...
prefer-dist and archive synchronized
11 years ago
Jordi Boggiano
f9ce367c10
Remove dangling vendor/composer dir after create-project, fixes #2025
11 years ago
Jordi Boggiano
187017cc0d
Minor tweaks, refs #2075
11 years ago
Jordi Boggiano
b0e72f0910
Merge remote-tracking branch 'trompette/license-tools'
11 years ago
Renan de Lima
610e272faa
use available $io in archive
...
https://github.com/composer/composer/pull/2099#pullrequestreviewcomment-5318806
11 years ago
Renan de Lima
d17935acd2
attach IO to DownloadManager in "package" command
11 years ago
bronze1man
9a1f4e4458
fix some files mode bug 755->644
11 years ago
Sascha Egerer
c13327dd75
CGL fix
11 years ago
Sascha Egerer
e31a0f8296
Add pre-status-cmd and post-status-cmd hooks
11 years ago
Jordi Boggiano
1217a632fe
Adjust function signatures and add type hints, refs #2136
11 years ago
Sascha Egerer
667176d1d0
Add ChangeReport Interface
...
Added a ChangeReport Interface to allow also non VCS-Downloaders to check the status of there package
11 years ago
Przemysław Piechota
95cbb177dd
Init command - diacritical marks in author name
11 years ago
Benoît Merlet
4a3c419e74
thrown exception when using an unsupported format
11 years ago
Benoît Merlet
7591c064f5
used TableHelper for text output
11 years ago
Benoît Merlet
fbbd6f8999
refactored alignment of text output
11 years ago
Benoît Merlet
bf0b42efaa
renamed flat format to text
11 years ago
Benoît Merlet
4aa4af73c5
proof of concept regarding licenses
11 years ago
Jordi Boggiano
e68d455c5c
Remove the http protocol from github-protocols, refs #1955
11 years ago
Jordi Boggiano
307c384294
Avoid throwing when checking for disk space, fixes #2039
11 years ago
Jordi Boggiano
e64050e91d
Fix output of diag command
11 years ago
Jordi Boggiano
3057949a2e
Output error if the disk is full, fixes #1952
11 years ago
Jordi Boggiano
8d0b7f278e
CS fixes
11 years ago
Pavel Savinov
831bd844bd
Almost PHPDoc problems fixed
11 years ago
Jordi Boggiano
22c7d4119f
install and create-project now default to dev mode (use --no-dev for production installs)
11 years ago
Tobias Munk
c1cae8d838
updated events to use composer from Factory
...
PSR-0 autoloading is now handled correctly
11 years ago
Tobias Munk
27b3f338e9
added TODO
11 years ago
Tobias Munk
60f96d5135
fixed post-create-project-cmd event
...
event occurs after autoloader is generated and refreshed
11 years ago
Jordi Boggiano
f0327caaa1
Cleanups
11 years ago
Jordi Boggiano
4b22d7582a
Merge remote-tracking branch 'schmunk42/feature-create-project-events'
11 years ago
Tobias Munk
5586fa717b
added author
11 years ago
Tobias Munk
337f817ba3
adjusted script event name
11 years ago
Tobias Munk
c0280256bf
code refactoring
11 years ago
Jordi Boggiano
1debe22412
Add HTTPS_PROXY_REQUEST_FULLURI to disable the request_fulluri only for https requests, fixes #1946 , fixes #1839
11 years ago
Jordi Boggiano
f6b7f0e29a
Add --lock argument to the update command to make this hack explicit and official
11 years ago
Tobias Munk
0ac5165f04
updated script events
...
added new POST_ROOT_PACKGE_INSTALL and POST_CREATE_PROjECT event, triggered only in create-project
changed create-package parameter 'package' to be optional, command now looks in working directory for composer project if no param is given
11 years ago
Jordi Boggiano
1dd8bffce5
CS fixes
11 years ago
Francesc Rosàs
9aa0aba77c
Extract email validation into a method
11 years ago
John Long
4d6910ece6
Remove unused variable $dialog from RequireCommand::configure
...
I traced the get and getHelperSet to Symfony's Console\Command and Console\Helper\HelperSet, and there was only stored variables being retrieved (no actions being done that'd require these functions to be called).
11 years ago
Jordi Boggiano
bebe86262a
Refactor self.version update to work on all link types, refs #1883
11 years ago
Jordi Boggiano
460ab04d4d
Merge remote-tracking branch 'sminnee/create-project-self-version'
11 years ago
Phansys
b992c29eb5
Added earlier permission checks in local filesystem before start download.
11 years ago
Sam Minnee
d3437d6e76
NEW: Rewrite self.version in create-project ( Fixes #1351 )
...
When composer create-project is called and the resulting project is disconnected from the
parent repo, self.version references no longer work. To fix that, this patch rewrites
self.version to the actual version number as part of 'composer create-project' execution
11 years ago
Jordi Boggiano
8a06e461e5
Fix a few bugs, fixes #1867
11 years ago
Jordi Boggiano
3b97e2e260
Add support for new verbosity levels, and initial debug output
11 years ago
Jordi Boggiano
8c197d2325
Fix CS and wording, remove lowercased env var, add env var to docs
11 years ago
Alexander Loutsenko
c5bf4e7812
updated diagnostics to test fulluri proxy param handling
11 years ago
Fabien Potencier
91a2aa22fb
Add a run-script command
11 years ago
Gábor Egyed
9358401eed
resolve symbolic link in self-update command
11 years ago
Jordi Boggiano
6da31f7c2b
Add handling of preferred-install config in create-project, fixes #1780
11 years ago
Jordi Boggiano
e82cf6835e
Allow show <package> <constraint> as well as a version
11 years ago
Smasty
a1def50ae4
Fix diagnose command output
11 years ago
Jordi Boggiano
605cd3ddc3
Rename diag to diagnose, fix feedback
11 years ago
Jordi Boggiano
1060d015fb
Add composer diag command to diagnose problems automatically
11 years ago
Jordi Boggiano
ad69d15590
Fix self-update error handling, fixes #1738
11 years ago
Nils Adermann
cfd7a50f0a
Do not hardcode vendor dir exclusion on archive.
...
For one thing this wouldn't have worked for any custom installers anyway
which can write installed code to other places. This will now allow one
to use composer archive on a clean code checkout to build an archive as
we are used to. Or on one that had composer install run to build an
archive that can be used for deployment which includes the vendors.
11 years ago
Nils Adermann
870a87f6d6
Use null as default values rather than false
...
Also made archive() in the ArchiveCommand protected as it does not need
to be used from the outside. The ArchiveManager can be used instead.
11 years ago
Nils Adermann
14ee67bed4
Output packages in archive command using getPrettyString
11 years ago
Nils Adermann
838edd6e7a
Fix class description of archive command
11 years ago
Nils Adermann
51135468f0
Clarify composer archive argument optionality
11 years ago
Nils Adermann
735b59c1d6
Skip the vendor dir when archiving the current project
11 years ago
Nils Adermann
ba375b6867
Allow archiving the current project with composer archive
11 years ago
Nils Adermann
526f48ecb8
Implement a basic archive command
...
It allows creating archives with the archive manager given a package/version
pair.
11 years ago
Jordi Boggiano
7ae0dd2a2a
Always install dev requirements when using the require command, fixes #1676
11 years ago
Jordi Boggiano
be861f090a
Remove filterPackages and add RepositoryInterface::search, refactor all commands to use new methods and remove all usage of the full package list for Composer repositories that support providers, fixes #1646
11 years ago
Miklós Márton
72a4146383
Scratch 'prefer-source'; 'preferred-install' is the bee's knees
12 years ago
Miklós Márton
9110c6413e
Minor code reorg to reduce duplication
12 years ago
Miklós Márton
0d81ab7f46
Install/update now uses the new config variable 'prefer-source', fixes #553
12 years ago
Miklós Márton
0f8530ef56
Support for 'prefer-source' config setting, refs #553
12 years ago
Miklós Márton
40c9584746
Fixes #1653
12 years ago
Jordi Boggiano
c95127b80e
Merge pull request #1644 from Seldaek/newdevrequires
...
New require-dev handling
12 years ago
Miklós Márton
67e5e0588d
Fixes #1347 (new license argument / dialog for init command)
12 years ago
Jordi Boggiano
542d10d8fd
Remove all occurrences of getLocalDevRepository and getLocalRepositories calls
12 years ago
Jordi Boggiano
caf26ac37c
Enable dev mode by default in update command, add a --no-dev flag, fixes #1005
12 years ago
Jordi Boggiano
f06c0cb580
Code reorgs and make bool values real booleans, refs #1637
12 years ago
Jordi Boggiano
8eb71f5478
Merge remote-tracking branch 'ricardclau/dirty-updates'
12 years ago
Ricard Clau
48ac383599
initial steps with new config value, implementation of discard changes for git and svn
12 years ago
Daniel González
ed590de8dd
typo
...
I see, that exist a typo error.
12 years ago
Jordi Boggiano
8d55b9cced
Merge remote-tracking branch 'ronnylt/script-event-post-dump-autoload'
...
Conflicts:
tests/Composer/Test/Autoload/AutoloadGeneratorTest.php
12 years ago
Jordi Boggiano
518253e150
Show proper repo information and not always the default ones
12 years ago
Jordi Boggiano
8ac4b649c3
Merge remote-tracking branch 'gerryvdm/master'
...
Conflicts:
src/Composer/Command/ShowCommand.php
12 years ago
Jordi Boggiano
2e12993c9c
Make selfupdate use ssl when possible
12 years ago
Jordi Boggiano
d4fb7bd251
Substract 1char from the width to avoid blank lines in the output on windows
12 years ago
Sebastian Krebs
b5c7d97e8c
Pretty "show"-command
12 years ago
Jordi Boggiano
94e99b9c8b
Update docs, config command and schema with all the config values
12 years ago
Jordi Boggiano
5165008be7
Merge remote-tracking branch 'pierredup/master'
12 years ago
Jordi Boggiano
dd372e7635
Add explicit return
12 years ago
Gerry Vandermaesen
77290069a2
Added option to only show package names
...
Added the --name-only (-N) option to the show command to only list
package names (and exclude version and description).
This is useful to produce a list of package names to be parsed by
a shell script for example (bash completion comes to mind).
12 years ago
Gerry Vandermaesen
2552f4c65e
Added option to only show available packages
...
Added the --available (-a) option to the show command to only list
the available packages, similar to the --installed and --platform
options.
Additionally changed the output formatting when limiting the
package result to remove the hierarchy when only one type is being
showed. This facilitates parsing of a list of packages (for example
for shell scripting and completion).
12 years ago
Bilal Amarni
ae9a001053
RequireCommand - check if composer.json is writable
12 years ago
Bilal Amarni
99e4173b3d
RequireCommand - rollback if it fails ( fixes #1469 )
12 years ago
Jordi Boggiano
a7c950cddd
Add support for github-oauth in config command
12 years ago
Pierre du Plessis
91ca7d7493
Make use-include-path default to false
12 years ago
Pierre du Plessis
84b34b70e0
Add config option to set if the PHP include path should automatically be used when generating the autoloader
12 years ago
Igor Wiedler
24611ec919
Add newline because JsonManipulator does not expand {}
12 years ago
Igor Wiedler
a48675005b
Implicitly create composer.json in require command
...
This allows shorteninig install instructions if you do not want to use init
(because it is interactive) and you do not want to use create-project (there
is no skeleton, or you do not want to use a skeleton).
12 years ago
Ronny López
e5cbf83185
Added post-autoload-dump script event.
12 years ago
Jordi Boggiano
b51a4a7854
Improve depends output, fixes #1459
12 years ago
Jordi Boggiano
514a3cde77
CS fixes
12 years ago
Jordi Boggiano
4c35f54356
Simplify regex pattern
12 years ago
Grégoire Pineau
fcac93b3f1
Fixed InitCommand::addVendorIgnore
12 years ago
Jordi Boggiano
247b02d077
Fix minimum-stability handling in InitCommand, fixes #1421
12 years ago
Galymzhan
47442b6e39
change parameter order to preserve BC
12 years ago
Galymzhan
f59181d7d5
add support for --no-progress, fixes #621
12 years ago
Jordi Boggiano
9b2e3766c0
Show reference as well in show command overview
12 years ago
Jordi Boggiano
e7f4768668
Only ask for gitignore if the current dir is a git repo, fixes composer/satis#44
12 years ago
Jordi Boggiano
8bbb358e1f
Merge pull request #1380 from bamarni/depends-local
...
added a local option to the depends command
12 years ago
Bilal Amarni
4e02cbd49e
added a local option to the depends command
12 years ago
Beau Simensen
8d1d060d66
Made getComposerFile static.
12 years ago
Igor Wiedler
423728440b
Rename init --minimum-stability to --stability
...
This is consistent with create-project.
12 years ago
Jordi Boggiano
111c42b8fb
Make config command list all values in the config (aggregated defaults + global [+ local])
12 years ago
Jordi Boggiano
365058ee99
Fix CS
12 years ago
Jordi Boggiano
d1956d9d24
Merge remote-tracking branch 'Unister/master'
12 years ago
Jordi Boggiano
a8f74a0983
Allow notification from locked installs, fixes #1368 , fixes #1372 , fixes #1369
12 years ago
go.schmidt
f748fb1953
fixed version output for show command
12 years ago
Jordi Boggiano
dee9bcb9f1
Add --stability and support for package:version and package=version to create-project, fixes #957
12 years ago
Colin Frei
e4b8fe85a1
Check --name value if it's passed in, as that's not validated anywhere
12 years ago
Colin Frei
b4cf3d06fd
Make sure suggested value conforms to allowed values
...
Regex for replacement from https://github.com/composer/packagist/blob/master/src/Packagist/WebBundle/Entity/Package.php#L191
12 years ago
Colin Frei
6c4bdd14cd
require $name to be lowercase
12 years ago
Jordi Boggiano
0d506228d6
Allow the config command to read out values if no new value is provided
12 years ago
Jordi Boggiano
ef68125b3b
Fix config listing
12 years ago
Jordi Boggiano
b05a554883
Add cache-files-ttl setting, and docs for the cache
12 years ago
Jordi Boggiano
6a9215012d
Merge remote-tracking branch 'igorw/dep-manager-consistent-naming'
12 years ago
Igor Wiedler
b250d63fd8
Uppercase first character of dump-autoload description
12 years ago
Igor Wiedler
e7c7e2f70d
Consistently describe composer as dep mgr as opposed to package mgr
...
Closes #1207 .
12 years ago
Jordi Boggiano
85bbf99817
Fix deletion of vcs dirs, fixes #1260
12 years ago
Pascal Borreli
83fd3967f0
Fixed PHPDoc
12 years ago
Pascal Borreli
5eead93250
Fixed typos
12 years ago
Jordi Boggiano
f3bfeb3608
Rename --optimize-autoloaders to --optimize-autoloader since there is just one
12 years ago
Sebastian Krebs
578a216343
Add shorthand '-o'-option for '--optimize-autoloaders'
12 years ago
Sebastian Krebs
86518a22d7
Allow autoloader optimization right from 'update' too
12 years ago
Sebastian Krebs
d3aaeb21da
Allow autoloader optimization right from 'install'
12 years ago
Jordi Boggiano
c53729793b
Make sure the global config file is only readable by the owner
12 years ago
Jordi Boggiano
c7b26c8d82
Return 1 if installation of deps failed, fixes #936
12 years ago
Jordi Boggiano
ba96f9f6b5
Clarify conditional
12 years ago
Jordi Boggiano
c2d9fa43eb
Merge remote-tracking branch 'fortrabbit/frbit-createprojectdist'
12 years ago
Ulrich Kautz
051118c500
Check for necessity of VCS cleanup when --prefer-dist is used (only project package, so far)
12 years ago
Jordi Boggiano
fa89ef75e4
Remove unused use statements
12 years ago
Ulrich Kautz
4f4cbc17d9
Added "--prefer-dist" option to create-project command
12 years ago
Jordi Boggiano
503234451b
Simplify ConfigCommand to use the JsonConfigSource
12 years ago
Jordi Boggiano
ee0cd07468
CS fixes
12 years ago
Jordi Boggiano
852c369575
Improve error reporting on downloads and copies, refs #1228
12 years ago
Jordi Boggiano
8949d43dca
Remove VCS info from the root dir only, fixes #1229
12 years ago
Jordi Boggiano
110044c3ea
Fix up create-project command
12 years ago
Grégoire Pineau
1dd04cb715
Removed useless code
12 years ago
Grégoire Pineau
6f9c3427b6
Create-project command remove all VCS history
...
In fact, there are some issues with create-project command.
When people create project with composer, they do not think to
delete main .git folder. So they embed 3th history in theirs own
repository. (see
https://connect.sensiolabs.com/profile/jmoati/project/gitoliteadmin
for instance)
More over, people may not use git.
12 years ago
Christophe Coevoet
c322476343
Fixed the help of the config command
12 years ago
Jordi Boggiano
59edd4e6d6
Show version in composer show --self
12 years ago
Ismael Ambrosi
18086aa5e7
Added option to display dev-required packages
12 years ago
Jordi Boggiano
4e3f4f24fc
Try to figure out which editor is available on *nix
12 years ago
Jordi Boggiano
a4e5f000d5
Only create the root file empty and error out on missing local files
12 years ago
Jordi Boggiano
5cb9a6ead7
Write in the json directly without reformatting the whole file - skip validation since that is not really the job of the config command
12 years ago
Jordi Boggiano
8403178ddb
config --list should only list relevant sections
12 years ago
Jordi Boggiano
4086c24778
Do or do not, there is no try
12 years ago
Jordi Boggiano
17d8dfba1d
Allow editing all config values
12 years ago
Jordi Boggiano
1b7906e82d
Add --unset flag
12 years ago
Jordi Boggiano
d00d7eef7f
Use default editors if EDITOR is not set, improve windows compatibility
12 years ago
Jordi Boggiano
0615455087
Clean up syntax/docs & simplify some bits of code
12 years ago
Jordi Boggiano
1a638959c2
Merge remote-tracking branch 'JoshuaEstes/feature/config'
12 years ago
Joshua Estes
74c344ffe4
bug fix
12 years ago
Joshua Estes
41bc8fd1b6
updated the help for the command
12 years ago
Joshua Estes
ebc67f3191
added the ablity to allow users the option of telling where the file they want to edit/update is
12 years ago
Joshua Estes
2e34ada3f0
updated some of the core functionality, only supports process timeout and repositories
12 years ago
Joshua Estes
cec8debcdc
added a validate schema function to make sure the user does not enter vomit into the config files
12 years ago
Joshua Estes
7b00dfab4c
updated value argument to be array
12 years ago
Joshua Estes
3c5500aa95
updated a few things, works a little nicer, but still not yet to the point where it should be
12 years ago
Joshua Estes
6386921f99
deleted the repository, added a config command that current will just list the config for either file and open vim to edit the file
12 years ago
Arnaud Le Blanc
0119e80c18
added --prefer-dist option to require command
12 years ago
Joshua Estes
457d0aac94
cleaned up and added more comments
12 years ago
Johannes M. Schmitt
4e769e1100
moved some code to a dedicated class
12 years ago
Joshua Estes
7be31e12ec
add a repository in either the global config or the local composer.json file
12 years ago
Joshua Estes
e416d451c1
blah, don't need that
12 years ago
Joshua Estes
ec71674826
added empty configuration command and updated the application class to pull it in for display
12 years ago
Jordi Boggiano
a9afa8bc1f
Merge remote-tracking branch 'mheleniak/prefer_dist' and fix dists
...
Conflicts:
src/Composer/Installer.php
src/Composer/Package/Locker.php
12 years ago
Ulrich Kautz
ccf2539462
Search only in name
12 years ago
Jordi Boggiano
5b419c76ca
Fix tests
12 years ago
Jordi Boggiano
122f66098e
Merge remote-tracking branch 'hason/git_config'
12 years ago
Martin Hasoň
3b6bd761ec
Set protocols for github in composer config file
12 years ago
Povilas Balzaravicius Pawka
bbac63821c
Search: initialize lowMatches as empty array.
12 years ago
Povilas Balzaravicius Pawka
7154ef9af7
search: fixed output error when no results found.
12 years ago
Jordi Boggiano
0689e24e83
Update command descriptions, fixes #1068
12 years ago
Fabien Potencier
b5897b291d
Fix PHP warning in the show command when using the -s flag
12 years ago
Mateusz Heleniak
aa0ff14be5
added --prefer-dist option
12 years ago
Jordi Boggiano
e2f8098f53
Fix depends command on 5.3, fixes #1034
12 years ago
Nils Adermann
01593e0628
Merge pull request #1015 from Seldaek/memory
...
Reduce memory usage by only loading packages that are actually needed, fixes #456
12 years ago
Jordi Boggiano
41fc6ff9ee
Fix formatRequirements return value, fixes #1026
12 years ago
Jordi Boggiano
f9f86f03ae
Performance improvements to create-project
12 years ago
Jordi Boggiano
e1bd2fd6df
Clean ups after feedback
12 years ago
Jordi Boggiano
a0903d4d35
Update create-project and show commands to use the new filterPackages method
12 years ago
Jordi Boggiano
c31d588b7d
Update init and depends commands to use the new filterPackages method
12 years ago
Jordi Boggiano
012798b179
Convert search command to use the filterPackages method
12 years ago
Jordi Boggiano
d6de4a0036
Rename Package interfaces to reduce BC issues
12 years ago
Jordi Boggiano
ef637c8f1a
CS fixes
12 years ago
Jordi Boggiano
4d84f62cd9
Improve consistency and formatting of verbose output for update/install
12 years ago
Jordi Boggiano
209d3ebfc4
Show detailed changes in verbose mode, refs #842
12 years ago
Jordi Boggiano
756c7a04fd
Add alias to dump-autoload
12 years ago
Jordi Boggiano
5b4c6f6296
Merge remote-tracking branch 'fixe/status-command'
...
Conflicts:
src/Composer/Console/Application.php
12 years ago
Clément Gautier
d87d010c35
Fixed typo
12 years ago
Jordi Boggiano
de4e9c4022
Fix InputOption requirement flags
12 years ago
Beau Simensen
d0773b20df
Added minimum-stability option to init command, minor bug fixes
...
Added the ability to specify `minimum-stability` as an option.
Also added `homepage` and `require-dev` to the whitelist and
added necessary code to format dev requirements only if dev
requirements are present.
12 years ago
Jordi Boggiano
2edb26db65
Add --optimize flag to dump-autoload that allows turning PSR0 into classmaps
12 years ago
Jordi Boggiano
398d97a629
Merge remote-tracking branch 'schmittjoh/disableCustomInstaller'
12 years ago
Jordi Boggiano
9af18880f7
Merge remote-tracking branch 'digitalkaoz/issue_627'
12 years ago
Tiago Ribeiro
aba2ab2212
Added status command to display local changes to packages
12 years ago
Johannes M. Schmitt
f5ce2d577b
fixed typo
12 years ago
Johannes M. Schmitt
ec74e422f4
added no-custom-installers option to install/update command
12 years ago
Johannes M. Schmitt
48662e9b17
added no-scripts option
12 years ago
Johannes M. Schmitt
88a1f27798
added a way to disable custom installers
12 years ago
Hugo Hamon
33306250f0
[Command] fixed typo in "self-update" command class and added a "selfupdate" alias for the command.
12 years ago
Jordi Boggiano
0d31e4c567
Add --no-update flag to require
12 years ago
Jordi Boggiano
5777aa8087
Fix typo in validate command
12 years ago
Jordi Boggiano
c65af3e3a1
Add ValidatingArrayLoader and more validation for the validate command
12 years ago
Jordi Boggiano
f8d671a07a
Tweak exception message
12 years ago
Henrik Bjørnskov
0e73f3187b
Validate the name.
...
If uppercase characters is found suggest a new name with all lowercase
and using - as a seperator where the camelcased characters was found.
12 years ago
Jordi Boggiano
db16f68fbf
Tweak exception messages
12 years ago
Robert Schönthal
fdf30c424b
rebased to latest master
12 years ago
Robert Schönthal
e21ce860df
fixed issue #627 (autoload dump command)
12 years ago
Jordi Boggiano
011db77876
Output message before altering the source ref, fixes #851
12 years ago
Jordi Boggiano
e0edd882c5
Add --self flag to composer show to see the root package info
12 years ago
Jordi Boggiano
9333579ef1
Notify installs via create-project
12 years ago
Jordi Boggiano
fd776853a4
Show version for platform/installed packages, fixes #825
12 years ago
Jordi Boggiano
ffecd39d33
Refactor repositories handling in config/factory/loader, fixes #828 , fixes #826
12 years ago
Jordi Boggiano
3ac11b932c
Expose default repositories in system config file
12 years ago
Jordi Boggiano
4a6ae454c2
Merge remote-tracking branch 'dpb587/multiple-repos'
...
Conflicts:
src/Composer/Factory.php
src/Composer/Package/Loader/RootPackageLoader.php
tests/Composer/Test/Package/Loader/RootPackageLoaderTest.php
12 years ago
Jordi Boggiano
66e9dcddf4
CS fixes
12 years ago
Jordi Boggiano
b566ba77ac
Fix behavior broken by #665
12 years ago
Jordi Boggiano
de449aa144
Merge remote-tracking branch 'PSeiffert/master'
...
Conflicts:
src/Composer/Factory.php
src/Composer/Repository/RepositoryManager.php
12 years ago
Jordi Boggiano
6e90c0be51
CS fixes
12 years ago
Jordi Boggiano
6f576d4d4f
Add update <package> example to docs of update
12 years ago
Jordi Boggiano
99e3cad0b5
Soften wording on validation of licenses
12 years ago
Jordi Boggiano
5edb49c067
Show include path in show command
12 years ago
Jordi Boggiano
03ded63924
Root version detection improvement, fixes #748
12 years ago
Jordi Boggiano
56b79125bf
Check out the branch instead of headless commit when creating a project
12 years ago
Jordi Boggiano
31330a739f
Fix CS
12 years ago
Igor Wiedler
a0c90bad0f
Fix normalization in init command with --no-interaction and --require
...
When calling `composer init --no-interaction --require foo/bar:dev-master` it
would fail because in non-interactive mode it would only split on space.
12 years ago
Nils Adermann
242323cba4
Merge pull request #736 from Seldaek/require-update
...
Require command & update <package>
12 years ago
Jordi Boggiano
704b7a655f
Clarity fix
12 years ago
Jordi Boggiano
c694bd57a3
Merge remote-tracking branch 'digitalkaoz/issue_397'
12 years ago
Jordi Boggiano
8ffe3c2e26
Cosmetic fixes
12 years ago
Jordi Boggiano
c580cb8ba8
Add package argument to the update command, fixes #470 , fixes #450
12 years ago
Jordi Boggiano
42c501aaa4
Force the installation of the newly required packages in require command
12 years ago
Jordi Boggiano
1443ea25f9
Make sure a constraint is provided with input requirements
12 years ago
Jordi Boggiano
27f8019dbd
Refactor init & require commands
12 years ago
Jordi Boggiano
b33496c853
Merge remote-tracking branch 'jeremyFreeAgent/master'
...
Conflicts:
doc/03-cli.md
12 years ago
Jordi Boggiano
356a01b480
Switch back to getOption since hasOption always returns true
12 years ago
Jordi Boggiano
1095d84256
Rename --skip-scripts to --no-scripts
12 years ago
Jordi Boggiano
1f2f161508
Merge remote-tracking branch 'pjedrzejewski/feature/skipping-scripts-execution'
...
Conflicts:
src/Composer/Installer.php
12 years ago
Jordi Boggiano
99513ba52b
Adjust output for create project, refs #724
12 years ago
Jordi Boggiano
713309b38c
Show exact version being installed in create-project, fixes #724
12 years ago
Jordi Boggiano
1bd4ccbd54
php-cs-fixer magic
12 years ago
Johannes M. Schmitt
305b9cee9a
added --dev to create-project command ( closes #645 )
12 years ago
Paweł Jędrzejewski
129884ef72
rename skipScripts to runScripts.
12 years ago
Paweł Jędrzejewski
123dec52fb
typos in command option description.
12 years ago
Paweł Jędrzejewski
cc8b33117a
add --skip-scripts option to install/update commands.
12 years ago
Jordi Boggiano
ca558369fc
Fix bug in ValidateCommand
12 years ago
Jordi Boggiano
160d2e0847
Minor style fix
12 years ago
Jordi Boggiano
e84e550df3
Refactor validate command to offer more flexibility in adding validation
12 years ago
Jordi Boggiano
fd38971777
Fix CS & simplify code
12 years ago
Tom Klingenberg
74ca58bcb6
Use of SPDX license identifiers.
12 years ago
Jordi Boggiano
e7dc42a8a2
Order search results by score & highlight matches in description
12 years ago
Jordi Boggiano
4ecf55e180
Minor cleanup
12 years ago
Ryan Weaver
9e1ed5a52f
[Command] Modifying the output of SearchCommand to make evenly-spaced package names for readability of results
12 years ago
Paul Seiffert
1713acf011
Coding standards and Cosmetics
...
Processing feedback given by @stof and @Seldaek.
12 years ago
Paul Seiffert
e4a0de5df4
When using composer commands outside a Composer\Console\Application, one does not have an IOInterface object
12 years ago
Paul Seiffert
51e165c6c5
Composer\Command dependencies (application and io) should can now be injected. This way, Composer\Command objects can be used in a regular symfony2 Console\Application.
12 years ago
Jordi Boggiano
8ff497ac6f
Skip filter_var on 5.3.2 since it is buggy
12 years ago
Danny Berger
8d6d155153
Add internal support for multiple default composer repositories.
12 years ago
Jordi Boggiano
4a55d85a2d
Respect umask in chmod calls
12 years ago
Jordi Boggiano
120171ff5a
Fix create project
12 years ago
Jordi Boggiano
7837be0621
Fix creation of ComposerRepository, refs #587
12 years ago
Jordi Boggiano
4cc45d3c37
Add require-dev and other missing links in show command
12 years ago
Povilas Balzaravicius Pawka
443ce65765
Fix fatal on show command
12 years ago
Jordi Boggiano
7f0a0857c0
Catch PharException as well in self-update failures
12 years ago
Jordi Boggiano
a9ccfeb548
chmod new file when running self-update
12 years ago
Jordi Boggiano
7b87d2b573
Fix self-update saying the download is corrupt when it isn't
12 years ago
Jordi Boggiano
d1f66073ca
Update depends command
12 years ago
Jordi Boggiano
53191eb0fe
Remove recommend, make suggest informational, add require-dev, fixes #78 , fixes #510
12 years ago
H. Westphal
397fa05c5b
Validate the integrity of the downloaded phar before overwriting
12 years ago
Jordi Boggiano
48ae8bf3ec
Use pathinfo instead of substr
12 years ago
Jordi Boggiano
61708a1bb1
Code cleanup
12 years ago
Jordi Boggiano
278f0ec350
Fix git config parsing, fixes #525
12 years ago
Peter O'Callaghan
579b86ec27
Allows apostrophe (and single quote, since this is often used in lieu) in author name.
12 years ago
Jérémy Romey
260d7d434f
Add a command for adding package to composer.json
...
Updated doc for require command
12 years ago
Luis Cordova
f76c65914c
cleaned up some getApplication()->getIO() into getIO()s
12 years ago
Igor Wiedler
0fe90c5d87
update some links to point to getcomposer.org
12 years ago
Jordi Boggiano
ea2d46bcff
Fix ComposerRepository calls, fixes #475
12 years ago
Nils Adermann
366e98288e
Merge pull request #473 from Seldaek/gzip
...
Automatic gzip encoding support
12 years ago
Jordi Boggiano
b12e73792c
Handle SolverProblemException nicer
12 years ago
Jordi Boggiano
7f65dd7409
Use RemoteFilesystem everywhere we do http requests
12 years ago
Jordi Boggiano
d291d65faf
Add getIO proxy to base Command class
12 years ago
digitalkaoz
7cdb793b40
added support section to composer.json
12 years ago
Michael Wallner
f65fe27097
fixed create-project with json file
...
the create-project command tried to instantiate a FilesystemRepository
with the json file as string instead of an JsonFile instance
12 years ago
Jérôme Tamarelle
dd6608e4c2
Allow unicode characters for author in "composer init" command.
12 years ago
Igor Wiedler
cd6eb49427
fix notice when running show command on package without keywords
13 years ago
Jordi Boggiano
09083089ff
Merge remote-tracking branch 'digitalkaoz/show_command_keywords'
...
Conflicts:
src/Composer/Command/ShowCommand.php
13 years ago
Jordi Boggiano
6b453906f0
Merge pull request #432 from digitalkaoz/issue_428
...
fluent api for installer options
13 years ago
Jordi Boggiano
b024615e41
Merge pull request #433 from simensen/InstallerCleanup
...
Remove unneeded code from UpdateCommand
13 years ago
Jordi Boggiano
5dba49af54
Show package descriptions in show/search commands, merge similar packages in show, fixes #366
13 years ago
Jordi Boggiano
33c926c303
Show/Search command cleanups
13 years ago
digitalkaoz
3d56a5645e
fixed cs
13 years ago
digitalkaoz
741a66e504
added description to show command, searching in description aswell
13 years ago
digitalkaoz
a4f6314daa
reverted command interfaces for installer refactoring
13 years ago
Beau Simensen
8fde0379ed
Cleanup, not needed here.
13 years ago
digitalkaoz
673dd6312b
fluent api for installer options
13 years ago
digitalkaoz
e6e90bb174
added keywords to show command
13 years ago
Jordi Boggiano
5f2e42ec46
CS fixes, made EventDispatcher optional in factory method
13 years ago
Jordi Boggiano
2b2f7e1748
Merge remote-tracking branch 'simensen/Install'
13 years ago
digitalkaoz
38f866f1dd
fixes #373 aswell
13 years ago
digitalkaoz
202ca60559
modified search listing (grouping packages)
13 years ago
Martin Hasoň
98d7e31c74
Sort versions before print
13 years ago
Beau Simensen
b1c93d1f0a
Fixed unused `use` per @stof and horrible bug that made this class no longer work.
13 years ago
Beau Simensen
3352066ece
Use Installer for Create Project Command.
13 years ago
Beau Simensen
8a7d31706d
Renamed Composer\Install to Composer\Installer
13 years ago
Beau Simensen
9404d8d593
Constructor, factory
13 years ago
Beau Simensen
d1dea702c9
Moving install related code to Composer\Install
13 years ago
Jordi Boggiano
ea593fdb10
Allow autodetection of the version
13 years ago
Jordi Boggiano
347f8feeec
Update docs
13 years ago
Jordi Boggiano
cb57c7bf42
Merge branch 'InstallAppCommand' of https://github.com/beberlei/composer
13 years ago
Jordi Boggiano
82dd1c1f7f
Add relaxed schema for application packages that do not need to be distributed
13 years ago
Jordi Boggiano
bd54e43d37
Rework JsonFile API slightly, avoid tokenizing in php if the syntax is valid
13 years ago
Jordi Boggiano
07a82c9223
Merge remote-tracking branch 'digitalkaoz/json_schema_validator'
13 years ago
Jordi Boggiano
774e9d0da6
Remove dependency on filter_var
13 years ago
Jordi Boggiano
30f612f672
Fix undef variable in search, fixes #374
13 years ago
Benjamin Eberlei
36ccd38aa7
Directly install dependencies
13 years ago
Benjamin Eberlei
24de082fd5
Refactored
13 years ago
Benjamin Eberlei
db64917a83
Renamed install-project to create-project to differentiate from just "install".
13 years ago
Benjamin Eberlei
23719b3b1d
Rename packagist url to repository url
13 years ago
Benjamin Eberlei
f60fe5622a
Add missing use stmt.
13 years ago
Benjamin Eberlei
1c67633c70
Refactored downloader code and made packagist configuration flexible and validated.
13 years ago
Benjamin Eberlei
bbf745f3e6
Add command to install a package as a new project into a non-existant directory. This fetches the given package from packagist or a different packagist-source and installs it into a given path.
13 years ago
Jordi Boggiano
0e6cf61b67
Avoid showing duplicates versions
13 years ago
Jordi Boggiano
1228c04984
Add support for extra.branch-alias config to remap master on 2.1.x for example
13 years ago
digitalkaoz
6929c42848
added schema/syntax validation for composer.json
13 years ago
Jordi Boggiano
956b54e516
Use policy rule instead of stacking up another repo to prioritize aliased packages
13 years ago
Jordi Boggiano
59d2b1145c
Add lock file alias support and a bunch of fixes
13 years ago
Jordi Boggiano
f9fc9695e9
Wrap the package in an aliased package instead of replacing
13 years ago
Jordi Boggiano
82054f2060
Add aliasing: `foo as bar` will require foo and automatically make it replace the bar version
13 years ago
Jordi Boggiano
5eb333680b
Rename findPackagesByName to findPackages and allow version arg
13 years ago
Nils Adermann
de1765aa48
Remove workaround error detection in install command
13 years ago
Jordi Boggiano
621388e3be
Fix warning when no package to update is found
13 years ago
Nils Adermann
39aa5c0752
Merge pull request #329 from Seldaek/new_dev
...
[BC Break] New dev handling
13 years ago
Jordi Boggiano
2976bd82b0
Simplify code
13 years ago
Nils Adermann
509188c112
Use updateAll request method in upddate mode in install command
13 years ago
Jordi Boggiano
c95b4d05fd
Fix forcing of the source-ref from lock file
13 years ago
Jordi Boggiano
4233a4823d
Skip platform repo and only force-update packages that have a new source ref
13 years ago
Jordi Boggiano
646d01658a
Rename source_ref to source-ref
13 years ago
Jordi Boggiano
88b018068c
Force dev packages to update to latest ref on update
13 years ago
Jordi Boggiano
496188f714
Force installs from lock to reinstall dev packages from the exact locked reference
13 years ago
Jordi Boggiano
fd0bf14eb2
Support both require and requires as depends link-type arg
13 years ago
Jordi Boggiano
1e6633b3c3
Allow search command to work without a composer.json
13 years ago
Jordi Boggiano
ee7b68c049
Allow people to manually enter requirements
13 years ago
Jordi Boggiano
9a2204cd74
Improve username detection and other minor fixes
13 years ago
Jordi Boggiano
f48cfb4fdf
Avoid requirement on composer.json to search for requirements
13 years ago
Jordi Boggiano
23aade21f0
Show empty default value when one is specified
13 years ago
Jordi Boggiano
95883f058c
Merge remote-tracking branch 'justinrainbow/init_command'
13 years ago
Jordi Boggiano
01cb2c5dd7
Fix typo
13 years ago
Jordi Boggiano
256bfedea1
Merge remote-tracking branch 'jalliot/proxy2'
...
Conflicts:
src/Composer/Downloader/FileDownloader.php
src/Composer/Repository/PearRepository.php
13 years ago
Beau Simensen
81d41fc442
Rename --dev to --prefer-source
13 years ago
Justin Rainbow
3a5d09a8b0
Removing the 'writeSection' method from 'DialogHelper'
13 years ago
Justin Rainbow
7a0a1788e3
Moved DialogHelper into the base Application
13 years ago
Justin Rainbow
9ec641659e
Validating package name input for init command
13 years ago
Justin Rainbow
950bbcbed9
Init now asks user if they want to ignore the vendor dir
13 years ago