Joshua Estes
457d0aac94
cleaned up and added more comments
12 years ago
Johannes M. Schmitt
0ddafdbd7e
fixed return
12 years ago
Johannes M. Schmitt
7ff550e4a6
fixed some bugs in the validator
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
Joseph Bielawski
4772db1460
Add missing `use` in HgDriver
...
Closes #1165
12 years ago
Mateusz Heleniak
91fc635ca5
better rename reliability on Windows - a workaround for random "Access denied" errors
12 years ago
Jordi Boggiano
ce31449b2d
Fix calls to non existing method, fixes #1154
12 years ago
Jordi Boggiano
ba2d7081bc
Merge remote-tracking branch 'origin/master'
12 years ago
Jordi Boggiano
027037bb9f
Fix dist urls for lock files and hardcoded references
12 years ago
Jordi Boggiano
8a35353e8d
Allow dist installs for dev packages that do not have a source setup
12 years ago
Jordi Boggiano
beb8e0ab97
Update dist reference as well as source ref
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
Chris Smith
3281a0b5df
Use the locked package for the update operation
12 years ago
Chris Smith
8961c687ee
Fix unintentional manipulation of release dates
12 years ago
Jordi Boggiano
6bd7ca0230
Fix typos and simplify code
12 years ago
Jordi Boggiano
35245eb817
Add support for local urls and better error reporting to HgDriver
12 years ago
Martin Hasoň
29034ea3e0
Added support for the root package in the array dumper
12 years ago
Jordi Boggiano
8d7e5cdda5
Fix target-dir with multiple slashes too
12 years ago
Jordi Boggiano
f377e9ca87
Fix possible vendor-dir "evasion" via target-dir
12 years ago
Jordi Boggiano
ebc9c73008
Merge remote-tracking branch 'TheFootballSocialClub/loader-singleton'
12 years ago
Jordi Boggiano
0929f25945
Fix typo
12 years ago
Alexander M. Turek
6f317b7a6b
Switch working directory according to --working-dir option.
12 years ago
Alexander M. Turek
4ac678454d
Added --working-dir to definition.
12 years ago
Nils Adermann
3fa9f10184
Merge pull request #1109 from Seldaek/newlock
...
Use only the locked repository when possible for better performance
12 years ago
Jordi Boggiano
536563dc2a
Rename method
12 years ago
Jordi Boggiano
418e876e8a
Use only the locked repository when possible for better performance
12 years ago
Nils Adermann
cf029cab86
Merge pull request #1108 from Seldaek/newlock
...
Update lock file to contain the complete package info, fixes #890
12 years ago
Jordi Boggiano
83239aa338
Update lock file to contain the complete package info, fixes #890
12 years ago
Adrien Brault
fd58c24a9f
ComposerAutoloaderInitXXX::getLoader behaves like a ClassLoader singleton
...
Calling ComposerAutoloaderInit::getLoader twice when a package requires a .php file containing functions, lead to the functions to be declared twice, and cause an error.
In my case, using behat + symfony2extension + assetic, the error that occured:
PHP Fatal error: Cannot redeclare assetic_init() (previously declared in vendor/kriswallsmith/assetic/src/functions.php:20) in /vendor/kriswallsmith/assetic/src/functions.php on line 26
Fatal error: Cannot redeclare assetic_init() (previously declared in /vendor/kriswallsmith/assetic/src/functions.php:20) in /vendor/kriswallsmith/assetic/src/functions.php on line 26
12 years ago
Ulrich Kautz
ccf2539462
Search only in name
12 years ago
Jordi Boggiano
a589a47468
Merge pull request #1088 from mheleniak/bat_file_fix
...
fixed generated windows proxy file for *.exe
12 years ago
Mateusz Heleniak
4e638009ab
fixed generated windows proxy file for *.exe
12 years ago
Jordi Boggiano
d3d35f24a1
Trim query strings from dist filenames, fixes #1087
12 years ago
Jordi Boggiano
c14826dd1e
Fix exception handling when loading repos
12 years ago
Jordi Boggiano
5b9f190bcd
Make sure invalid authors are purged
12 years ago
Jordi Boggiano
fe4516aff8
Clarify exception messages when a package can not be loaded from a composer repository, fixes #1070
12 years ago
Jordi Boggiano
056dc5d690
Move config to all VcsDownloaders, enforce array for github-protocols
12 years ago
Jordi Boggiano
5b419c76ca
Fix tests
12 years ago
Jordi Boggiano
122f66098e
Merge remote-tracking branch 'hason/git_config'
12 years ago
Jordi Boggiano
509b8b9853
Merge pull request #1073 from Pawka/f-searchfix
...
Fatal on: ./composer.phar search something
12 years ago
Jordi Boggiano
20347520f2
Merge pull request #1051 from HosipLan/bug/require-files-in-right-order
...
Require files in right order
12 years ago
Martin Hasoň
3b6bd761ec
Set protocols for github in composer config file
12 years ago
Jordi Boggiano
07a982f5b9
Merge pull request #1077 from mheleniak/script_errors
...
scripts in pre-*-cmd which are not found (yet) no longer halt composer
12 years ago
Mateusz Heleniak
1e458072cf
scripts in pre-*-cmd which are not found (yet) no longer halt composer
12 years ago
Filip Procházka
80e9999d1c
typo
12 years ago
Filip Procházka
9d8db4e148
AutoloadGenerator: respect dependencies, when requiring files
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
Povilas Balzaravicius Pawka
57d1b5a37d
Issue #1056 . Fixed callback call error on search command.
12 years ago
Jordi Boggiano
0689e24e83
Update command descriptions, fixes #1068
12 years ago
Christophe Coevoet
9e372b1d8b
Simplified the code
12 years ago
Christophe Coevoet
d0faa016c1
Refactored the search of suggested packages to support replacements
...
Fixes #752
12 years ago
Jordi Boggiano
10d1a4382f
Only generate lock file when actually necessary, fixes #1064
12 years ago
Jordi Boggiano
e0dc045955
Merge pull request #1054 from mheleniak/clean_up_bat_files
...
Clean up *.bat files when binary is removed
12 years ago
Jordi Boggiano
ecda3ea74c
Merge pull request #1060 from fabpot/fix-show-command-warning
...
Fix PHP warning in the show command when using the -s flag
12 years ago
Jordi Boggiano
0932f65a17
Return 7 chars and not 6 for short git hashes, formatting fixes
12 years ago
Jordi Boggiano
338730b19b
Merge remote-tracking branch 'zczapran/issue/1043_wrong_output_for_versions_when_updating'
12 years ago
Jordi Boggiano
e01a9c564d
Fix parsing of stability for lowercased RC versions
12 years ago
Benjamin Lévêque
042d2d4a77
readlink -f is missing on osx
...
+ osx can't execute a script with an another script
12 years ago
Fabien Potencier
b5897b291d
Fix PHP warning in the show command when using the -s flag
12 years ago
Mateusz Heleniak
924d39f405
also clean up *.bat files
12 years ago
Mateusz Heleniak
be736c745e
better exception message
12 years ago
Mateusz Heleniak
6489487245
compare references when using dists
12 years ago
Mateusz Heleniak
aa0ff14be5
added --prefer-dist option
12 years ago
Zbigniew Czapran
8d966547a2
removed overkill function isHash as suggested by @stloyd
12 years ago
Zbigniew Czapran
c0c23033d5
simplified if statement
12 years ago
Zbigniew Czapran
730f206cea
removed unneccesary PackageMock and trailing whitespaces
12 years ago
Zbigniew Czapran
80c2736021
in VersionParser only truncate the version if hash
12 years ago
Jordi Boggiano
781e0d4f55
Add detection of gitolite user for git repos
12 years ago
Jordi Boggiano
803178d28f
CS fixes for #1038
12 years ago
Christoph Hochstrasser
560d6daccf
Using separate variable for URL parts
12 years ago
Christoph Hochstrasser
841efc98a6
Appending 'packages.json' only if not present in URL
12 years ago
Jordi Boggiano
e2f8098f53
Fix depends command on 5.3, fixes #1034
12 years ago
Tim Heil
6c1820d006
Add troubleshooting URL to error message
12 years ago
Jordi Boggiano
5a247ca9a5
Fix regression in updating dev packages to latest ref, fixes #1030
12 years ago
Christophe Coevoet
66b83a39d2
Removed a PHP notice when dumping the autoloader
...
This occured when the root package has a target-dir but does not have
configure a PSR-0 autoloader.
Fixes #1028
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
6f77df296a
Speed up Pool::match for common case
12 years ago
Jordi Boggiano
573aad8801
Check if ini_set exists before calling it
12 years ago
Jordi Boggiano
41fc6ff9ee
Fix formatRequirements return value, fixes #1026
12 years ago
Bilal Amarni
5669419416
fixed typo
12 years ago
Jordi Boggiano
c97720c607
Fix picking of new dev packages for updates to latest source ref
12 years ago
Jordi Boggiano
f9f86f03ae
Performance improvements to create-project
12 years ago
Jordi Boggiano
456b35ae72
Disable xdebug scream/show_exception_trace, fixes #989
12 years ago
Jordi Boggiano
c14bc368b0
Fix memory usage of the update command
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
e3b6bd781c
Add RepositoryInterface::filterPackages to stream ops on lists
...
This cuts down on memory usage and also speeds up the search command to a third of its previous time
12 years ago
Jordi Boggiano
9965f02951
Clean up link creation
12 years ago
Jordi Boggiano
d6de4a0036
Rename Package interfaces to reduce BC issues
12 years ago
Jordi Boggiano
8a275336a1
CS cleanups
12 years ago
Jordi Boggiano
e46d26cb9b
Add loadAliasPackage to the StreamableRepositoryInterface and clear up responsibilities between Pool and Repositories
12 years ago
Jordi Boggiano
9a1fd450b0
Remove code duplication
12 years ago
Jordi Boggiano
62ead24b61
Rename variable for clarity
12 years ago
Jordi Boggiano
26e8217db7
Remove duplication of branch alias parsing code
12 years ago