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).
2014-09-12 11:26:51 -04:00
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.
2014-09-12 11:26:51 -04:00
Jordi Boggiano
7b4fcd93d3
Merge remote-tracking branch 'webfactory/issue-2698'
...
Conflicts:
src/Composer/Repository/ArtifactRepository.php
2014-07-19 21:35:51 +02:00
Jordi Boggiano
4f0d7e4739
Merge remote-tracking branch 'dzuelke/prefer-stable-lock'
2014-07-19 19:38:00 +02:00
Jordi Boggiano
d5294ef91b
Update repo url from github and handle trailing slashes, refs composer/packagist#354 refs composer/packagist#423
2014-07-19 18:40:01 +02:00
David Zuelke
d47d9eb253
remember prefer-stable setting in composer.lock
2014-07-07 21:20:46 +02:00
Jordi Boggiano
449f8165ef
Allow $HOME and ~ usage in all *-dir config values, fixes #3060
2014-06-29 14:47:43 +02:00
Jordi Boggiano
8881cec174
Simplify version ranges (hopefully includes hhvm), refs #3049
2014-06-29 12:27:27 +02:00
Jordi Boggiano
3874a11238
Update json test
2014-06-22 11:01:05 +02:00
Jordi Boggiano
ac497feaba
CS fixes
2014-06-10 16:13:12 +02:00
Jordi Boggiano
08e34858d6
Fix code to use hostname only, refs #3026
2014-06-05 11:14:29 +02:00
Jordi Boggiano
89ec322929
Merge remote-tracking branch 'benja-M-1/feature/svn-auth-from-auth-json'
2014-06-05 11:08:19 +02:00
Jordi Boggiano
c0f9a00125
Merge remote-tracking branch 'jakoch/patch-6'
2014-06-05 10:57:43 +02:00
Jordi Boggiano
959cc4d63c
Add info about conf file loading to debug output
2014-05-31 16:50:33 +02:00
Benjamin Grandfond
a21b0f82db
Allow SVN to connect with credentials provided with the auth.json file
2014-05-30 17:14:43 +02:00
Jordi Boggiano
7131607ad1
Fix regression in handling github-oauth settings in auth.json
2014-05-27 16:26:24 +02:00
Mátyás Somfai
2ed0bfc1ba
added tests for not updating packages referenced by specific commit hash
2014-05-27 14:23:31 +02:00
Jordi Boggiano
90d1b6e08a
Rename basic-auth to http-basic, add docs/schema/config support, add local auth file support, add storage to auth.json, add store-auths config option, refs #1862
2014-05-27 13:50:47 +02:00
Jordi Boggiano
64ac32fca9
Merge pull request #2785 from Firehed/master
...
Add @generated annotation to lockfile (ref PR 2210)
2014-05-24 22:57:50 +02:00
Jordi Boggiano
e23665be59
Fix replacers being picked if whatProvide was called before building the package whitelist, fixes #2991 , fixes #2962
2014-05-23 15:22:53 +02:00
Jordi Boggiano
97873a27af
Update perforce code
2014-05-07 19:34:41 +02:00
Jordi Boggiano
77163f66fc
Add support for mirrors in composer repos
2014-05-07 19:34:35 +02:00
Jordi Boggiano
32cd883daa
Rename options to transport-options, refs #2189
2014-05-07 18:25:28 +02:00
Jordi Boggiano
31092843fd
Only load options when they come from the lock file, not from standard metadata, refs #2189
2014-05-07 18:12:26 +02:00
Jordi Boggiano
016a016455
Merge remote-tracking branch 'lcobucci/master'
...
Conflicts:
src/Composer/Downloader/FileDownloader.php
2014-05-07 18:02:46 +02:00
jakoch
a0e5ead9b0
removed unused variables $baseDir and $vendorDir from "autoloader_real.php" generated by AutoloadGenerator. adjusted tests accordingly.
2014-05-02 17:42:31 +02:00
Fabien Potencier
12421dd6b7
fixed class map generator when using a heredoc with spaces
2014-04-28 15:21:22 +02:00
Jordi Boggiano
49d4054e51
Handle files with no php at all, fixes #2910
2014-04-14 12:47:47 +02:00
Jordi Boggiano
b437c1cc05
Support github auth directly in the RemoteFilesystem class
2014-04-11 14:29:17 +02:00
Jordi Boggiano
4392be4d29
Fix some more inconsistencies in json manipulation
2014-04-10 16:11:43 +02:00
Jordi Boggiano
d742ffca4f
Fix removal of missing keys
2014-04-10 15:55:05 +02:00
Denis Sokolov
836534067b
Avoid ambiguity warning for example directories as well
...
In particular, PEAR repositories use a classmap and example directories trigger
multiple false positive warnings.
2014-04-10 21:03:35 +09:00
Denis Sokolov
65b9cca7b5
Fix ClassMapGenerator unambiguousReference test coverage
...
Without this fix the test only covers having files in "test", the "fixture"
portion it is not covered at all, because all fixtures in phpunit tests
are already in "test" directory
2014-04-10 21:03:26 +09:00
Jordi Boggiano
e7b82cdd88
Only check in require and for non-platform packages, add flag to make this warning optional, refs #2320
2014-04-09 15:37:50 +02:00
Jordi Boggiano
e0004d0656
Merge remote-tracking branch 'stof/validate_unbound_constraints'
2014-04-09 14:51:14 +02:00
Jordi Boggiano
d99212da52
Fix integration tests
2014-04-07 11:10:57 +02:00
Jordi Boggiano
0902305196
Fix classmap generator warnings and tests
2014-04-01 14:38:31 +02:00
Jordi Boggiano
8974a1ac92
Ignore ambiguous classes in tests/fixtures dirs, fixes #2858
2014-03-31 21:36:48 +02:00
Daniel Karp
e3be04c443
Don't show Ambiguous class resolution warning if class when not ambiguous
...
if a class or interface is defined twice in the same class, this should not produce a warning
2014-03-30 12:53:15 -04:00
Jordi Boggiano
7daf876d70
Fix test because the order of filesystem iteration is non deterministic
2014-03-29 18:10:32 +01:00
Jordi Boggiano
781c97fa9b
Refactor to avoid global static state
2014-03-29 17:46:55 +01:00
Jordi Boggiano
c3ab09750d
Merge remote-tracking branch 'johnikx/ambiguous-reference-warning'
2014-03-29 17:29:55 +01:00
Jordi Boggiano
f233383de8
Merge pull request #2834 from vuhl/master
...
Fixing perforce driver/downloader bugs
2014-03-26 18:28:52 +01:00
Clark Stuth
a12c4e2a17
Removed getWindowsFlag and setWindowsFlag methods from Perforce object.
2014-03-25 08:30:44 -05:00
Clark Stuth
dd1fd0e306
fixed perforce to reference labels instead of invalid tags
2014-03-24 15:19:35 -05:00
Jan Brecka
b94838169d
show warning only instead of throwing exception
2014-03-24 14:34:02 +01:00
Jan Brecka
de09c5e371
remove duplicity
2014-03-24 10:35:44 +01:00
Jan Brecka
5763685e69
use statement
2014-03-24 10:30:50 +01:00
Jordi Boggiano
808e65f7de
Merge pull request #2769 from sndpl/issue/2739
...
Fix for #2739 (and #1755 ), added support for directory excludes in the gitignore file
2014-03-23 22:01:39 +01:00
Clark Stuth
2651cbc5fe
Fixing perforce dev-master stored reference bug.
2014-03-21 13:51:18 -05:00