Zsolt Szeberenyi
5201564c0f
Added support for hg bookmarks
2012-10-02 13:41:03 +02:00
Joshua Estes
457d0aac94
cleaned up and added more comments
2012-10-01 15:27:30 -05:00
Johannes M. Schmitt
0ddafdbd7e
fixed return
2012-10-01 21:50:35 +02:00
Johannes M. Schmitt
7ff550e4a6
fixed some bugs in the validator
2012-10-01 21:47:17 +02:00
Johannes M. Schmitt
4e769e1100
moved some code to a dedicated class
2012-10-01 19:53:30 +02:00
Joshua Estes
7be31e12ec
add a repository in either the global config or the local composer.json file
2012-10-01 11:07:53 -05:00
Joshua Estes
e416d451c1
blah, don't need that
2012-10-01 11:06:50 -05:00
Joshua Estes
ec71674826
added empty configuration command and updated the application class to pull it in for display
2012-10-01 09:19:20 -05:00
Joseph Bielawski
4772db1460
Add missing `use` in HgDriver
...
Closes #1165
2012-10-01 14:59:02 +03:00
Mateusz Heleniak
91fc635ca5
better rename reliability on Windows - a workaround for random "Access denied" errors
2012-09-29 10:54:56 +02:00
Jordi Boggiano
ce31449b2d
Fix calls to non existing method, fixes #1154
2012-09-29 03:26:08 +02:00
Jordi Boggiano
ba2d7081bc
Merge remote-tracking branch 'origin/master'
2012-09-27 23:21:40 +02:00
Jordi Boggiano
027037bb9f
Fix dist urls for lock files and hardcoded references
2012-09-27 20:23:51 +02:00
Jordi Boggiano
8a35353e8d
Allow dist installs for dev packages that do not have a source setup
2012-09-27 19:00:06 +02:00
Jordi Boggiano
beb8e0ab97
Update dist reference as well as source ref
2012-09-27 18:40:58 +02:00
Jordi Boggiano
a9afa8bc1f
Merge remote-tracking branch 'mheleniak/prefer_dist' and fix dists
...
Conflicts:
src/Composer/Installer.php
src/Composer/Package/Locker.php
2012-09-27 18:36:55 +02:00
Chris Smith
3281a0b5df
Use the locked package for the update operation
2012-09-21 00:52:19 +01:00
Chris Smith
8961c687ee
Fix unintentional manipulation of release dates
2012-09-21 00:33:27 +01:00
Jordi Boggiano
6bd7ca0230
Fix typos and simplify code
2012-09-20 11:03:58 +02:00
Jordi Boggiano
35245eb817
Add support for local urls and better error reporting to HgDriver
2012-09-20 10:38:35 +02:00
Martin Hasoň
29034ea3e0
Added support for the root package in the array dumper
2012-09-19 23:08:37 +02:00
Jordi Boggiano
8d7e5cdda5
Fix target-dir with multiple slashes too
2012-09-19 11:25:49 +02:00
Jordi Boggiano
f377e9ca87
Fix possible vendor-dir "evasion" via target-dir
2012-09-18 18:30:11 +02:00
Jordi Boggiano
ebc9c73008
Merge remote-tracking branch 'TheFootballSocialClub/loader-singleton'
2012-09-18 10:52:03 +02:00
Jordi Boggiano
0929f25945
Fix typo
2012-09-16 18:19:46 +02:00
Alexander M. Turek
6f317b7a6b
Switch working directory according to --working-dir option.
2012-09-15 12:29:56 +02:00
Alexander M. Turek
4ac678454d
Added --working-dir to definition.
2012-09-15 11:36:57 +02:00
Nils Adermann
3fa9f10184
Merge pull request #1109 from Seldaek/newlock
...
Use only the locked repository when possible for better performance
2012-09-14 08:51:04 -07:00
Jordi Boggiano
536563dc2a
Rename method
2012-09-14 17:49:03 +02:00
Jordi Boggiano
418e876e8a
Use only the locked repository when possible for better performance
2012-09-14 17:42:12 +02:00
Nils Adermann
cf029cab86
Merge pull request #1108 from Seldaek/newlock
...
Update lock file to contain the complete package info, fixes #890
2012-09-14 07:51:18 -07:00
Jordi Boggiano
83239aa338
Update lock file to contain the complete package info, fixes #890
2012-09-14 16:43:56 +02:00
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
2012-09-14 11:21:34 +02:00
Ulrich Kautz
ccf2539462
Search only in name
2012-09-12 16:55:10 +02:00
Jordi Boggiano
a589a47468
Merge pull request #1088 from mheleniak/bat_file_fix
...
fixed generated windows proxy file for *.exe
2012-09-10 07:50:35 -07:00
Mateusz Heleniak
4e638009ab
fixed generated windows proxy file for *.exe
2012-09-08 16:44:11 +02:00
Jordi Boggiano
d3d35f24a1
Trim query strings from dist filenames, fixes #1087
2012-09-08 14:08:19 +02:00
Jordi Boggiano
c14826dd1e
Fix exception handling when loading repos
2012-09-08 13:49:37 +02:00
Jordi Boggiano
5b9f190bcd
Make sure invalid authors are purged
2012-09-08 13:47:08 +02:00
Jordi Boggiano
fe4516aff8
Clarify exception messages when a package can not be loaded from a composer repository, fixes #1070
2012-09-08 02:00:02 +02:00
Jordi Boggiano
056dc5d690
Move config to all VcsDownloaders, enforce array for github-protocols
2012-09-08 00:45:25 +02:00
Jordi Boggiano
5b419c76ca
Fix tests
2012-09-08 00:43:51 +02:00
Jordi Boggiano
122f66098e
Merge remote-tracking branch 'hason/git_config'
2012-09-07 23:46:46 +02:00
Jordi Boggiano
509b8b9853
Merge pull request #1073 from Pawka/f-searchfix
...
Fatal on: ./composer.phar search something
2012-09-07 11:25:16 -07:00
Jordi Boggiano
20347520f2
Merge pull request #1051 from HosipLan/bug/require-files-in-right-order
...
Require files in right order
2012-09-07 06:56:15 -07:00
Martin Hasoň
3b6bd761ec
Set protocols for github in composer config file
2012-09-07 15:08:34 +02:00
Jordi Boggiano
07a982f5b9
Merge pull request #1077 from mheleniak/script_errors
...
scripts in pre-*-cmd which are not found (yet) no longer halt composer
2012-09-07 03:19:51 -07:00
Mateusz Heleniak
1e458072cf
scripts in pre-*-cmd which are not found (yet) no longer halt composer
2012-09-06 17:56:14 +02:00
Filip Procházka
80e9999d1c
typo
2012-09-06 17:26:42 +02:00
Filip Procházka
9d8db4e148
AutoloadGenerator: respect dependencies, when requiring files
2012-09-06 15:07:07 +02:00
Povilas Balzaravicius Pawka
bbac63821c
Search: initialize lowMatches as empty array.
2012-09-06 13:39:51 +03:00
Povilas Balzaravicius Pawka
7154ef9af7
search: fixed output error when no results found.
2012-09-06 09:16:10 +03:00
Povilas Balzaravicius Pawka
57d1b5a37d
Issue #1056 . Fixed callback call error on search command.
2012-09-06 09:15:29 +03:00
Jordi Boggiano
0689e24e83
Update command descriptions, fixes #1068
2012-09-06 00:26:04 +02:00
Christophe Coevoet
9e372b1d8b
Simplified the code
2012-09-05 22:56:59 +02:00
Christophe Coevoet
d0faa016c1
Refactored the search of suggested packages to support replacements
...
Fixes #752
2012-09-05 21:01:57 +02:00
Jordi Boggiano
10d1a4382f
Only generate lock file when actually necessary, fixes #1064
2012-09-04 20:06:12 +02:00
Jordi Boggiano
e0dc045955
Merge pull request #1054 from mheleniak/clean_up_bat_files
...
Clean up *.bat files when binary is removed
2012-09-04 09:04:58 -07:00
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
2012-09-04 08:56:01 -07:00
Jordi Boggiano
0932f65a17
Return 7 chars and not 6 for short git hashes, formatting fixes
2012-09-04 16:27:22 +02:00
Jordi Boggiano
338730b19b
Merge remote-tracking branch 'zczapran/issue/1043_wrong_output_for_versions_when_updating'
2012-09-04 16:22:29 +02:00
Jordi Boggiano
e01a9c564d
Fix parsing of stability for lowercased RC versions
2012-09-04 15:59:44 +02:00
Benjamin Lévêque
042d2d4a77
readlink -f is missing on osx
...
+ osx can't execute a script with an another script
2012-09-03 15:44:49 +02:00
Fabien Potencier
b5897b291d
Fix PHP warning in the show command when using the -s flag
2012-09-03 09:40:03 +02:00
Mateusz Heleniak
924d39f405
also clean up *.bat files
2012-09-01 17:43:16 +02:00
Mateusz Heleniak
be736c745e
better exception message
2012-08-31 23:32:28 +02:00
Mateusz Heleniak
6489487245
compare references when using dists
2012-08-31 23:27:36 +02:00
Mateusz Heleniak
aa0ff14be5
added --prefer-dist option
2012-08-31 22:25:17 +02:00
Zbigniew Czapran
8d966547a2
removed overkill function isHash as suggested by @stloyd
2012-08-31 16:37:03 +01:00
Zbigniew Czapran
c0c23033d5
simplified if statement
2012-08-30 23:46:33 +01:00
Zbigniew Czapran
730f206cea
removed unneccesary PackageMock and trailing whitespaces
2012-08-30 23:44:54 +01:00
Zbigniew Czapran
80c2736021
in VersionParser only truncate the version if hash
2012-08-30 22:01:21 +01:00
Jordi Boggiano
781e0d4f55
Add detection of gitolite user for git repos
2012-08-29 15:44:52 +02:00
Jordi Boggiano
803178d28f
CS fixes for #1038
2012-08-29 15:24:05 +02:00
Christoph Hochstrasser
560d6daccf
Using separate variable for URL parts
2012-08-29 15:12:08 +02:00
Christoph Hochstrasser
841efc98a6
Appending 'packages.json' only if not present in URL
2012-08-29 15:08:04 +02:00
Jordi Boggiano
e2f8098f53
Fix depends command on 5.3, fixes #1034
2012-08-28 13:30:57 +02:00
Tim Heil
6c1820d006
Add troubleshooting URL to error message
2012-08-28 00:10:17 +02:00
Jordi Boggiano
5a247ca9a5
Fix regression in updating dev packages to latest ref, fixes #1030
2012-08-27 12:03:07 +02:00
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
2012-08-24 23:25:14 +02:00
Nils Adermann
01593e0628
Merge pull request #1015 from Seldaek/memory
...
Reduce memory usage by only loading packages that are actually needed, fixes #456
2012-08-24 11:32:33 -07:00
Jordi Boggiano
6f77df296a
Speed up Pool::match for common case
2012-08-24 16:46:08 +02:00
Jordi Boggiano
573aad8801
Check if ini_set exists before calling it
2012-08-24 16:38:01 +02:00
Jordi Boggiano
41fc6ff9ee
Fix formatRequirements return value, fixes #1026
2012-08-24 13:39:37 +02:00
Bilal Amarni
5669419416
fixed typo
2012-08-24 13:55:36 +03:00
Jordi Boggiano
c97720c607
Fix picking of new dev packages for updates to latest source ref
2012-08-24 12:06:29 +02:00
Jordi Boggiano
f9f86f03ae
Performance improvements to create-project
2012-08-24 11:38:42 +02:00
Jordi Boggiano
456b35ae72
Disable xdebug scream/show_exception_trace, fixes #989
2012-08-24 10:57:38 +02:00
Jordi Boggiano
c14bc368b0
Fix memory usage of the update command
2012-08-24 02:29:37 +02:00
Jordi Boggiano
e1bd2fd6df
Clean ups after feedback
2012-08-24 02:29:36 +02:00
Jordi Boggiano
a0903d4d35
Update create-project and show commands to use the new filterPackages method
2012-08-24 02:29:35 +02:00
Jordi Boggiano
c31d588b7d
Update init and depends commands to use the new filterPackages method
2012-08-24 02:29:34 +02:00
Jordi Boggiano
012798b179
Convert search command to use the filterPackages method
2012-08-24 02:29:34 +02:00
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
2012-08-24 02:29:33 +02:00
Jordi Boggiano
9965f02951
Clean up link creation
2012-08-24 02:29:32 +02:00
Jordi Boggiano
d6de4a0036
Rename Package interfaces to reduce BC issues
2012-08-24 02:29:31 +02:00
Jordi Boggiano
8a275336a1
CS cleanups
2012-08-24 02:29:30 +02:00
Jordi Boggiano
e46d26cb9b
Add loadAliasPackage to the StreamableRepositoryInterface and clear up responsibilities between Pool and Repositories
2012-08-24 02:29:29 +02:00
Jordi Boggiano
9a1fd450b0
Remove code duplication
2012-08-24 02:29:28 +02:00
Jordi Boggiano
62ead24b61
Rename variable for clarity
2012-08-24 02:29:27 +02:00