1
0
Fork 0
Commit Graph

7568 Commits (a4f28f54b64474803aa6db7f90123aa9241a0cd4)

Author SHA1 Message Date
Sergey Shcherbin 0863b51e7b Changed date time format to RFC_3399 in VcsDriver 2017-08-06 12:40:38 +02:00
Sergey Shcherbin f7e0504d38 Changed date format to DATE_RFC3399 for packages with git/hg repositories 2017-08-06 12:40:32 +02:00
Rob 01a9f6d9a6 Merge pull request #6588 from dbrumann/patch-1
Improve IDE autocompletion
2017-08-06 10:45:48 +02:00
jasonquick 5b6d954528 Clarify use of auth.json file 2017-08-04 13:29:21 -04:00
Denis Brumann 2df1a69287 Improve IDE autocompletion
According to type 2nd constructor-argument `$reasonData` can either be a Link or a PackageInterface. IDEs like PhpStorm won't be able to provide autocompletion since both classes are from a different namespace.

In order to provide better autocompletion for `$reasonData` and by extension `$this->reasonData` the use statements should be included or the type hint should use the fully qualified class name.

For the same reason I added the docblock on the protected method `formatePackagesUnique()`.
2017-08-04 13:00:24 +02:00
jasonquick 88b88319b5 Improve BitBucket driver usage documentation
Clarified and expanded the documentation for private repositories using the BitBucket driver. Emphasized the use of the COMPOSER_AUTH variable to encourage people not to save their credentials in composer.json. Pointed out that git endpoints don't seem to work.
2017-08-01 21:32:13 -04:00
Tom Klingenberg 1bc5163d34 mute first cd in win proxy stub for sh shell, fixes #6567
in the sh script, the first cd command did output the directory it cd'ed
into did output the path itself.

fix for me is to redirect it's standard output to /dev/null

using git bash on a windows 10 box.

w/o this fix, the workaround is to invoke the .bat file which is created
as well (but this is not so handy as a non windows user for me).
2017-07-27 00:47:43 +02:00
Jordi Boggiano 189ba423ae Merge branch '1.4' 2017-07-20 12:08:41 +02:00
Jordi Boggiano 58bbcf7d92 Backport #6312 to 1.4 2017-07-20 11:54:45 +02:00
Ivan Pepelko 877bad7933 Added $_SERVER['USER'] as possible value for <vendor> part of package name. 2017-07-12 20:00:33 +02:00
Alex Mersdorf 1d66852c6e Update 04-schema.md
Added line to try and clarify, that any dev/non-minimum-stability Requirement needs to be added to root composer.json as well.
2017-07-10 14:27:01 +02:00
Jordi Boggiano 17b7387c37 Merge branch '1.4' 2017-07-06 09:56:17 +02:00
Jordi Boggiano 81f65b7a2a Fix exclude-from-classmap being ignored when cwd has the wrong case on case insensitive filesystems 2017-07-06 09:53:33 +02:00
Jordi Boggiano 47bc2fa51a Fix exclude-from-classmap being ignored when generating on-the-fly class loader, fixes #6503 2017-07-06 09:51:25 +02:00
Jordi Boggiano 020805dd6f More version doc updates 2017-07-04 08:18:43 +02:00
Jordi Boggiano 91fcb6cba1 Clarify version doc titles 2017-07-04 08:16:56 +02:00
Jordi Boggiano 34dbde3873 Merge branch '1.4' 2017-07-03 17:00:48 +02:00
Sven Münnich d51ef83a43 Fix case insensitivity of ‘require’ command
When currently executing the `require` command for a package that is already listed in `require(-dev)`, one must use the exact same, case matching package name as written in `composer.json`. That is, if one changes the case of a character in the package name, the `require` command will add a new entry to `require(-dev)`, instead of updating the existing one.

This commit fixes the described behaviour to make it consistent with other commands like `update` that are already case insensitive.
2017-07-03 12:11:24 +02:00
Jordi Boggiano b50eb26740 Merge pull request #6501 from Neurones67/1.4
Fix hg command to retrieve file content
2017-06-22 16:43:26 +02:00
Jordi Boggiano fd7d781dce Merge pull request #6500 from alcohol/adjust-travis-test-run
changes related to new trusty images on travis
2017-06-22 16:42:24 +02:00
Marc Schlatter 3ad5ce6874 Fix hg command to retrieve file content 2017-06-22 16:20:01 +02:00
Rob Bast 422a9adb07
images related to new trusty images 2017-06-22 15:20:19 +02:00
Saumini Navaratnam 27b8209990 Fix for issue #6492
Able to include specific finle in phar in "files" option in composer
2017-06-19 17:04:16 +02:00
Jordi Boggiano db7616885d Merge pull request #6458 from ajiyakin/identic-name-diff-capitalization-unzip
Warn identical names w/ different capitalization for unzip
2017-06-18 17:14:47 +02:00
Jordi Boggiano ef47d8bf05 Merge pull request #6486 from WilHall/feature/htaccess-protect-option
Add htaccess-protect option for disabling the creation of .htaccess files
2017-06-17 15:39:56 +02:00
Jordi Boggiano 69282de829 Fix env var docs 2017-06-17 15:38:05 +02:00
Jordi Boggiano 91a4e76958 Merge pull request #6460 from bmax/master
Cache: clear cache using removeDirectory
2017-06-17 15:28:05 +02:00
Jordi Boggiano 351de6f37b Merge branch '1.4' 2017-06-17 14:40:58 +02:00
Jordi Boggiano 60d68a06ac Switch to trusty on 1.4 branch 2017-06-17 14:40:38 +02:00
Brandon Max a4ec8efa93 Update ClearCacheCommand.php 2017-06-16 16:32:59 -04:00
Brandon Max c280e16763 Change order of cache directorys 2017-06-16 16:32:41 -04:00
Brandon Max 24b8fea48a Cache: clear cache using removeDirectory 2017-06-16 16:25:11 -04:00
Wil Hall 9e2cd9e717 Word wrap htaccess-protect option documentation 2017-06-16 08:26:43 -04:00
Wil Hall afe83a7356 Update ConfigCommand to allow setting of htaccess-protect option 2017-06-15 11:53:43 -04:00
Wil Hall 6b806d3afd Add cli documentation for COMPOSER_HTACCESS_PROTECT env variable 2017-06-15 11:53:13 -04:00
Wil Hall bf088c76c4 Simplify documentation for htaccess-protect config option 2017-06-15 11:43:11 -04:00
Wil Hall f0924fb878 Add htaccess-protect option for disabling the creation of .htaccess files 2017-06-15 11:06:13 -04:00
Jordi Boggiano 7cee8e385f Merge branch '1.4' 2017-06-15 16:28:08 +02:00
Jordi Boggiano cc9234562d Merge pull request #6475 from NamelessCoder/featurebranches
Add support for feature-branches setting
2017-06-15 15:49:10 +02:00
Jordi Boggiano 1d9434af45 Merge pull request #6095 from teolaz/teolaz1990-doc-patch
Teolaz1990 doc patch
2017-06-15 14:44:46 +02:00
Li Chuangbo 1f4882a3e6 Revert "Fixed an issue when a phar file is used in "files" option in composer.json"
This reverts commit 41e91f3064.

The commit 41e91f3 in current codebase generates absolute path in
autoload_static.php for phar file.

Also according to http://php.net/manual/en/phar.using.intro.php, the `phar://`
prefix is not needed.
2017-06-15 14:38:04 +02:00
Rob 28acea07d5 Merge pull request #6461 from Tezd/lock-file-time-inconsistency
Lock file package time inconsistency
2017-06-15 10:45:50 +02:00
Jordi Boggiano 91e755f9bc Merge pull request #6478 from mbrodala/patch-1
Fix typo in docs
2017-06-13 14:55:58 +02:00
Mathias Brodala 112ff7b61d Fix typo in docs
Fixes a typo from #6477
2017-06-13 14:52:52 +02:00
Jordi Boggiano 6294113400 Merge pull request #6477 from joking777/patch-2
Example of disabling packagist.org globally
2017-06-13 14:26:54 +02:00
Michael King e7d2682204 Example of disabling packagist.org globally
Obviously this is not a common use case, but it is good for isolated networks. As far as I could tell, this was not documented, but I figured it out by looking through the code.
2017-06-13 08:06:13 -04:00
Claus Due 965f1f42d1 Add support for feature-branches setting
A negative list of non-feature-branches names
is already supported - this patch adds a list of
branches names which *will* be considered as
feature branches.

Allows changing the currently hardcoded set of
expected feature branch names, from:

* master|trunk|default|develop

To any set of names or patterns that you desire.
2017-06-11 19:02:51 +02:00
Sergey Shcherbin 292882f0d0 Fix for time format in GitBitbucketDriver test 2017-06-07 22:29:15 +03:00
Sergey Shcherbin 676156e2db Changed date time format to RFC_3399 in VcsDriver 2017-06-07 20:51:59 +03:00
Jordi Boggiano 9aadbe2728 Minor wording tweak
Closes https://github.com/composer/getcomposer.org/issues/113
2017-06-06 15:49:06 +02:00