ReenExe
53fc30fe56
clear code
2016-05-17 13:34:54 +03:00
Andreas Möller
bb0fb0eb26
Fix: Do not issue warning when using exact version constraint for unstable package
2016-05-17 09:25:08 +02:00
Tomáš Markacz
c30dd16e32
add missing validation for rss chanel section in composer schema
2016-05-16 23:24:00 +02:00
Jordi Boggiano
a4e8d858ba
Merge branch '1.1'
2016-05-16 18:50:37 +01:00
Jordi Boggiano
206c3c52e0
Remove the error handler at the end of a run, fixes #5340
2016-05-16 18:49:38 +01:00
Jordi Boggiano
0cca4d1a44
Fix extension parsing to take the most usable data instead of just using 0 in case of parsing failure, fixes #5331 , fixes #5264
2016-05-15 11:47:14 +01:00
Carl Craig
e43912735b
Update bitbucket oauth instructions
2016-05-14 13:07:25 +00:00
Richard Fussenegger
b68921ce8f
Provide IPv6 requirement via ext
2016-05-14 09:53:59 +02:00
Richard Fussenegger
132c37ab44
Added support for IPv6 requirement
...
I decided to add two additional PHP interpreter packages instead of an additional extension key. IPv6 support is part of PHP core (if enabled) and is not part of any optional extension.
2016-05-11 20:53:32 +02:00
Mathias Brodala
d9909993b2
Add --prefer-stable and --prefer-lowest to "require" command
...
Fixes #5314
2016-05-11 17:45:41 +01:00
Jordi Boggiano
d25b52a4d3
Merge branch '1.1'
2016-05-11 11:37:44 +01:00
Jordi Boggiano
8f0324f51e
Fix platform dev reqs being required even in --no-dev installs
2016-05-11 11:35:30 +01:00
Lucas CHERIFI
7e34d9ab97
Typo fix ;-)
2016-05-10 21:45:39 +02:00
Jordi Boggiano
13f4d2afd3
Fix #refs handling, fixes #5291
2016-05-10 17:19:09 +01:00
Jordi Boggiano
72362a085a
Fix #refs handling, fixes #5291
2016-05-10 17:17:08 +01:00
Jordi Boggiano
921af1c1b8
Merge branch '1.1'
2016-05-10 15:20:41 +01:00
Jordi Boggiano
5cb3564672
Fix archiving paths on windows
2016-05-10 14:40:46 +01:00
Jordi Boggiano
d11eff27d0
Cache VCS driver after creation to avoid initializing it several times
2016-05-09 21:45:46 +01:00
Jordi Boggiano
8bfb2e8bc2
Add a getter to fetch the repo data from the outside of the github driver
2016-05-09 21:41:04 +01:00
Jordi Boggiano
0040498e25
Merge branch '1.1'
2016-05-09 10:31:09 +01:00
Jordi Boggiano
046c2d64a5
Fix ProcessExecutor url escaping
2016-05-09 10:31:03 +01:00
Jordi Boggiano
36e283be68
Merge branch '1.1'
2016-05-08 18:23:21 +01:00
Jordi Boggiano
9cb6c2322a
Fix more git URL escaping
2016-05-08 18:23:14 +01:00
Jordi Boggiano
a31d0826f0
Merge branch '1.1'
2016-05-08 17:22:30 +01:00
Jordi Boggiano
e3ae45fa12
Replace username as well if it looks like a github oauth token
2016-05-08 17:22:25 +01:00
Jordi Boggiano
827d52cccf
Merge branch '1.1'
2016-05-05 23:21:27 +01:00
Jordi Boggiano
71cbd8f7e6
Switch dir before loading plugins to make sure the correct composer.json is initialized, fixes #5290
2016-05-05 23:21:03 +01:00
Jordi Boggiano
9ecaec4cca
Merge branch '1.1'
2016-05-05 14:57:13 +01:00
Jordi Boggiano
d1a0502f92
Make sure we only replace complete paths to the base-dir/vendor-dir, not partial dir matches, fixes #5289
2016-05-05 14:57:07 +01:00
Jordi Boggiano
b8974a3e13
Merge branch '1.1'
2016-05-05 14:10:14 +01:00
Jordi Boggiano
591cbcee12
Avoiding defining plugin commands using the local project plugins, refs #5277
2016-05-05 14:10:06 +01:00
Bilal Amarni
92207da83a
add isProxyCommand() to BaseCommand
2016-05-05 13:56:44 +01:00
Jordi Boggiano
aaf2c06e7b
Add ScriptExecutionException for CLI scripts and avoid showing the full exception to users, fixes #5281
2016-05-05 13:26:26 +01:00
Stefan Grootscholten
9b654048ed
Fix regex for bitbucket https URLs.
...
If the bitbucket URL has the .git extension, the compiling of the authUrl and sshUrl result in invalid URLs.
2016-05-01 11:41:48 +02:00
Stefan Grootscholten
591f68288b
Provide a fallback to ssh for https bitbucket URLs.
...
When running in non-interactive mode, there is no way to ask for credentials.
If there are no credentials available, no attempt is made to execute the command.
This commit provides a fallback to SSH for non authenticated, non-interactive install/updates of bitbucket https URLs.
2016-05-01 11:27:16 +02:00
Jordi Boggiano
352e467f16
Always show abandoned packages in --outdated as they are outdated in a way
2016-04-29 17:17:55 +01:00
Jordi Boggiano
36665d791d
Merge branch '1.0'
2016-04-29 16:03:14 +01:00
Jordi Boggiano
c66639fe03
Fix content-length check to look at the last header received, fixes #5268
2016-04-29 16:03:05 +01:00
Jordi Boggiano
2bcd723b54
Fix regression in global command, fixes #5266
2016-04-29 15:31:32 +01:00
Kamran Ahmed
78a8a02978
Ignore the unfound packages
2016-04-29 15:25:14 +04:00
Jordi Boggiano
6146f7aded
Take into account prefer-stable and dev packages when computing outdated, refs #5251
2016-04-28 22:38:38 +01:00
Jordi Boggiano
2a3b56e82c
Fix constraint parsing bug in outdated, fixes #5251
2016-04-28 22:25:53 +01:00
Jordi Boggiano
4f2ae0a1d9
Clarify output when something is installed in the wrong version, refs #5259
2016-04-28 22:11:48 +01:00
Jordi Boggiano
65a4719251
Add output in why-not for when a package requires a platform package and it is not found, fixes #5259
2016-04-28 22:02:22 +01:00
Jordi Boggiano
40df5dddee
Add secure-http:false option to disable the https default of gitlab driver when using ssh urls, fixes #5254
2016-04-28 21:39:13 +01:00
Jordi Boggiano
ba909d8795
Avoid duplicate commands, and pass plugin to ctor args for capabilities, refs #3377
2016-04-28 21:12:26 +01:00
Jordi Boggiano
090295dbcb
Adjust the CommandProvider to use plugin capabilities and test actual command creation, refs #3377
2016-04-28 20:37:54 +01:00
Jordi Boggiano
4319435154
Make sure the --no-plugin is documented as available everywhere and not redefined
2016-04-28 20:12:45 +01:00
Jordi Boggiano
a9df4acd7d
Merge remote-tracking branch 'jderusse/plugin-with-commands'
2016-04-28 20:11:33 +01:00
Jordi Boggiano
35fbf9bc14
Merge branch '1.0'
2016-04-28 19:54:11 +01:00
Jordi Boggiano
fd5f90989f
Add --all to oudated command and switch it to show only outdated by default, fixes #5253
2016-04-28 19:48:56 +01:00
Jordi Boggiano
135783299a
Add support for editing top level properties and extra values, replaces #2415 , fixes #1411 , fixes #2384
2016-04-27 14:04:01 +01:00
Jordi Boggiano
3186b5eeca
Avoid using the full pretty version for comparisons, fixes #5247
2016-04-26 20:19:54 +01:00
Jordi Boggiano
7def8cf6e5
Refactor to use ArrayInput instead of StringInput
2016-04-26 20:10:56 +01:00
Jordi Boggiano
efa6210f33
Merge pull request #5245 from derekmarcotte/dm-fix-command-injection
...
fix command injection from the environment when run as root, issue #5244
2016-04-26 19:59:14 +01:00
Rob
608770856e
Merge pull request #5243 from msarca/gitlab-bugfix
...
Gitlab driver bugfix
2016-04-26 01:01:22 +02:00
Derek Marcotte
3a03b51ae3
fix command injection from the environment when run as root
2016-04-25 15:08:09 -04:00
msarca
9f58c3d6e3
Fixed a bug that prevented interactive authentication to work properly
2016-04-25 21:55:23 +03:00
Jordi Boggiano
a67b127a1a
Add deprecation notice for the event type hint rewrites, refs #5238
2016-04-24 15:48:48 +01:00
Jordi Boggiano
aabe21d84d
Add --direct and --outdated flags to ShowCommand & OutdatedCommand, fixes #5240
2016-04-24 15:17:08 +01:00
Jordi Boggiano
e85029da0c
Merge branch '1.0'
2016-04-24 14:46:38 +01:00
Jordi Boggiano
5292f2b402
Replace only the targeted class, refs #5237
2016-04-24 14:46:27 +01:00
Jordi Boggiano
05fab170a7
Merge branch '1.0'
2016-04-24 14:41:02 +01:00
Jordi Boggiano
f0d67923a5
Fix classmap generator over anonymous classes extending/implementing something, fixes #5239
2016-04-24 14:40:51 +01:00
Jordi Boggiano
ec933398c4
Fix classname replacement in plugin updates, fixes #5237
2016-04-24 14:21:29 +01:00
Jordi Boggiano
17f23f5c43
Write abandoned warning on stderr to avoid breaking the flow of the list
2016-04-24 13:51:01 +01:00
Jordi Boggiano
ac75680b1e
Make sure the abandoned state is copied over even if the packages are installed already
2016-04-22 23:41:15 +01:00
Jordi Boggiano
6c94cb89d1
Fix outdated command on linux
2016-04-22 23:31:02 +01:00
Jordi Boggiano
313dd14f1e
Add coloring to the colors
2016-04-22 23:12:29 +01:00
Jordi Boggiano
8771119374
Merge branch '1.0'
2016-04-22 23:00:13 +01:00
Jordi Boggiano
6ce8477d04
Fix parsing of stabilities with AND/OR ops and no stability flags
2016-04-22 22:59:55 +01:00
Jordi Boggiano
c5f734dbf9
Merge remote-tracking branch 'barryvdh/show-latest'
2016-04-22 22:38:54 +01:00
Jordi Boggiano
e7069dd5e8
Tweak colors in the output, make sure we load the proper version according to stability flags and add outdated command, refs #5028
2016-04-22 21:54:04 +01:00
Jordi Boggiano
9206c646a2
Merge remote-tracking branch 'barryvdh/show-outdated'
2016-04-22 20:57:37 +01:00
Jordi Boggiano
4c50136522
Avoid caching nulls, refs #5234
2016-04-22 20:55:07 +01:00
Jordi Boggiano
38c49b32cb
Less regex escaping and removed $..$ match, refs #5184
2016-04-22 20:48:56 +01:00
Jordi Boggiano
d8c94c2640
Merge remote-tracking branch 'curry684/home-expansion'
2016-04-22 20:37:05 +01:00
Jordi Boggiano
aeafe2fe59
Add INIT event and bump plugin-api to 1.1.0, fixes #5232
2016-04-22 20:30:24 +01:00
Jordi Boggiano
b6680b6f2a
Fix why-not command to dig deeper when it is given a specific version it checks installed packages against that version's requirements
2016-04-21 22:16:05 +01:00
Jordi Boggiano
f13e0f975f
Add --no-secure-http flag to temporarily disable secure-http in create-project installation of the root package, fixes #5121
2016-04-21 21:11:33 +01:00
Jordi Boggiano
95e0347917
Merge branch '1.0'
2016-04-21 12:40:42 +01:00
Jordi Boggiano
a5f86b6ea0
Fix all other instances of addcslashes that might have issues with $ signs in strings, refs #5221
2016-04-21 12:16:46 +01:00
Jordi Boggiano
47bba5bd14
Merge remote-tracking branch 'danieliancu/1.0' into 1.0
2016-04-21 12:01:36 +01:00
Jordi Boggiano
ff46816e79
Add support for file:///c:/-style paths, refs #3338
2016-04-21 11:00:41 +01:00
Jordi Boggiano
766c45c047
Add support for local paths pointing directly at the .git folder instead of actual repo, refs #3338
2016-04-21 11:00:03 +01:00
Daniel Iancu
3bdb0ee5fd
Fix addMainKey method of JsonManipulator with content having $n
...
This will store correctly passwords having a dolloar sign followed by a digit in the auth.json file.
If the content variable has "$n" (where n consists of digits) it will match as a replacement reference for preg_replace and thus it will get stripped because there's no such parenthesized pattern.
2016-04-20 22:34:39 +03:00
Jordi Boggiano
4de17cef6b
Always resolve dev packages even when doing an update with --no-dev, fixes #5016
2016-04-20 12:34:04 +01:00
Jordi Boggiano
2062070be9
Warn users with secure-http disabled once per hostname they access insecurely to avoid bad URLs going by undetected, fixes #5008
2016-04-19 22:29:04 +01:00
Jordi Boggiano
11daebcb3a
Merge pull request #5210 from Seldaek/fix_partial_updates_from_dirty_state
...
Fix partial updates from a dirty state and apply exactly the locked state
2016-04-19 20:07:52 +01:00
Jordi Boggiano
47ea9d8ddc
Merge branch '1.0'
2016-04-19 20:04:19 +01:00
Jordi Boggiano
c7c8335b8b
Fix updating of dev refs if they are not whitelisted
2016-04-19 20:03:14 +01:00
Jordi Boggiano
31dcc0bdea
Merge branch '1.0'
2016-04-19 15:44:38 +01:00
Jordi Boggiano
1bf711fe1f
Guard against mbstring func_overload, fixes #5218
2016-04-19 15:44:13 +01:00
Jordi Boggiano
467ece15ed
Skip regex engine when not necessary
2016-04-19 11:53:24 +01:00
Jordi Boggiano
21a9f21cc8
Add package filtering in show command, fixes #5212 , closes #5215
2016-04-19 11:31:41 +01:00
Jordi Boggiano
89cfde051d
Convert exception to a warning, refs #5205
2016-04-19 11:00:39 +01:00
Jordi Boggiano
fa5c73f0d8
Merge remote-tracking branch 'curry684/issue-5186'
2016-04-19 10:57:45 +01:00
Jordi Boggiano
fc33e0835e
Merge branch '1.0'
2016-04-19 10:52:01 +01:00
Michael Aherne
830644f374
Observe COMPOSER environment variable in init command
2016-04-19 10:51:44 +01:00
Niels Keurentjes
43eb471ec2
Code cleanup and ensure checked file is unique.
2016-04-19 01:39:32 +02:00