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
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
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
bebe86262a
Refactor self.version update to work on all link types, refs #1883
12 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
12 years ago
Jordi Boggiano
6da31f7c2b
Add handling of preferred-install config in create-project, fixes #1780
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
a8f74a0983
Allow notification from locked installs, fixes #1368 , fixes #1372 , fixes #1369
12 years ago
Jordi Boggiano
dee9bcb9f1
Add --stability and support for package:version and package=version to create-project, fixes #957
12 years ago
Jordi Boggiano
85bbf99817
Fix deletion of vcs dirs, fixes #1260
12 years ago
Pascal Borreli
5eead93250
Fixed typos
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
Ulrich Kautz
051118c500
Check for necessity of VCS cleanup when --prefer-dist is used (only project package, so far)
12 years ago
Ulrich Kautz
4f4cbc17d9
Added "--prefer-dist" option to create-project command
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
Jordi Boggiano
5b419c76ca
Fix tests
12 years ago
Martin Hasoň
3b6bd761ec
Set protocols for github in composer config file
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
Clément Gautier
d87d010c35
Fixed typo
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
Jordi Boggiano
011db77876
Output message before altering the source ref, fixes #851
12 years ago
Jordi Boggiano
9333579ef1
Notify installs via create-project
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
6e90c0be51
CS fixes
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
356a01b480
Switch back to getOption since hasOption always returns true
13 years ago
Jordi Boggiano
99513ba52b
Adjust output for create project, refs #724
13 years ago
Jordi Boggiano
713309b38c
Show exact version being installed in create-project, fixes #724
13 years ago
Jordi Boggiano
1bd4ccbd54
php-cs-fixer magic
13 years ago
Johannes M. Schmitt
305b9cee9a
added --dev to create-project command ( closes #645 )
13 years ago
Danny Berger
8d6d155153
Add internal support for multiple default composer repositories.
13 years ago
Jordi Boggiano
120171ff5a
Fix create project
13 years ago
Jordi Boggiano
7837be0621
Fix creation of ComposerRepository, refs #587
13 years ago
Jordi Boggiano
48ae8bf3ec
Use pathinfo instead of substr
13 years ago