Samuel ROZE
d0a9550dea
Uses `realpath` to fix relative path issues
2015-09-14 15:20:06 +01:00
Olivier Laviale
cc522c20bb
Optimized this->getIO()
2015-09-14 14:30:26 +02:00
Jordi Boggiano
013a748cb9
Merge pull request #4417 from sroze/path-repository-store-relative-path
...
Path repository store relative path
2015-09-14 11:42:03 +01:00
Jordi Boggiano
320086dcc0
Merge pull request #4416 from sroze/path-repository-documentation
...
Add documentation about the `path` repository
2015-09-14 11:03:58 +01:00
Samuel ROZE
a3f5f60359
Update output to have a coherent one
2015-09-14 10:18:55 +01:00
Samuel ROZE
0e8c5fa62e
Store path from composer.json with the `path` repository to ensure lock file to be reused
2015-09-14 10:18:46 +01:00
Samuel ROZE
284e4761bf
Add documentation about the `path` repository
2015-09-14 09:48:15 +01:00
Jordi Boggiano
66acee7feb
Add config.platform to the list of locked properties
2015-09-12 23:04:37 +01:00
Jordi Boggiano
74e56fd5c6
Merge remote-tracking branch 'szeber/master'
2015-09-12 22:53:27 +01:00
Jordi Boggiano
e8d84a1a29
Merge remote-tracking branch 'origin/master'
2015-09-12 22:32:14 +01:00
Jordi Boggiano
1215e194ed
Update deps
2015-09-12 22:31:24 +01:00
Jordi Boggiano
6508dc4322
Allow packages with only a dist ref to be force updated when the dist ref changes
2015-09-12 22:29:19 +01:00
Jordi Boggiano
89c6a68a76
Updates to path repository and path downloader, refs #4365
2015-09-12 22:28:03 +01:00
Jordi Boggiano
3a79313b63
Merge remote-tracking branch 'sroze/feature/path-repository'
2015-09-12 21:05:12 +01:00
Rob
9f6fdfd703
spelling
2015-09-07 18:55:30 +02:00
Rob
4590012a57
Merge pull request #4400 from Flyingmana/patch-1
...
add another case when package is not found
2015-09-05 17:37:40 +02:00
Daniel Fahlke
f0d6436293
add period
2015-09-05 17:12:20 +02:00
Daniel Fahlke
d19aeab55c
add another case when package is not found
...
occurred for my when I wanted to update a meta package, where nearly **ALL** dependencies changed their version.
2015-09-05 11:46:02 +02:00
Jordi Boggiano
afd98b74f1
Fix handling of www.github.com in GitHubDriver, fixes composer/packagist#572
2015-08-31 10:58:50 +01:00
Javi Hernández
dd7243fc01
Archive command shows created package path
2015-08-26 13:08:40 +02:00
Samuel ROZE
6c16153302
Added repository tests
2015-08-25 22:06:48 +01:00
Samuel ROZE
bb81e3721a
Move the `proc_open` test in setUp
2015-08-25 09:19:10 +01:00
Zsolt Szeberenyi
d7a94bda1b
Change short array syntax to long for 5.3 compatibility
2015-08-21 16:57:31 +12:00
Zsolt Szeberenyi
62630e5c69
Fix strict comparison of the content hash
2015-08-21 16:55:44 +12:00
Zsolt Szeberenyi
bfb83f1fb7
Add name and version to the relevant fields, move content hash checking to the Locker
2015-08-21 16:54:28 +12:00
Rob
f1aa655e61
Merge pull request #4368 from stof/patch-1
...
Update the config of the apt addon to the new syntax
2015-08-20 13:59:54 +02:00
Christophe Coevoet
cae8ed476c
Update the config of the apt addon to the new syntax
2015-08-20 13:02:17 +02:00
Bryan Davis
71cb587611
Add autoloader cli options to `require` and `remove`
...
Update the `composer require` and `composer remove` commands to support
the `--optimize-autoloader` and `--classmap-authoritative` cli options
and associated configuration settings. All cli entry points that invoke
`Installer::run()` or `AutoloadGenerator::dump()` now have consistent
support for these autoloader optimization flags.
2015-08-19 22:18:54 -06:00
Bryan Davis
cc2b9cfca5
Add cli argument for classmap-authoritative
...
Add a `--classmap-authoritative (-a)` argument to `composer install`,
`composer update` and `composer dumpautoload`. This enables the same
authoritative classmap behavior as the existing `classmap-authoritative`
configuration setting. The option can be used for creating highly
optimized production autoloaders via `composer install --no-dev
--optimize-autoloader --classmap-authoritative` for projects where
multiple autoloaders are present and unnecessary `file_exists` calls
introduce performance issues.
Closes #4361
2015-08-19 22:18:54 -06:00
Jordi Boggiano
d831c86bcb
Merge pull request #4359 from voroks/4254-remove-autoload_files.php-when-needed
...
Removing file autoload_files.php was added (#4254 )
2015-08-20 00:44:57 +01:00
voroks
e873438dbd
Merge branch 'master' of github.com:composer/composer into 4254-remove-autoload_files.php-when-needed
2015-08-19 15:08:57 +08:00
voroks
154092ba1a
Added removing file 'include_path.php' (if it is empty).
2015-08-19 15:08:27 +08:00
Samuel ROZE
dfccb686ce
Replace usage of brackets by legacy array notation
2015-08-18 15:16:15 +01:00
Samuel ROZE
4ab123291d
Add missing licence in VersionGuesser
2015-08-18 15:10:59 +01:00
Samuel ROZE
623f31fcc4
Use version guesser to get local package version
2015-08-18 15:08:27 +01:00
Samuel ROZE
5261a5fa03
Move version guessing in `VersionGuesser` class
2015-08-18 14:58:18 +01:00
Samuel ROZE
ead68d3d49
Create the path repository and downloader
2015-08-18 14:40:48 +01:00
voroks
457bc20c34
Explicit comparison was removed.
2015-08-18 16:10:59 +08:00
voroks
cca42ff0be
Fixed indents: we should use spaces instead tabulation.
2015-08-18 15:29:22 +08:00
Jordi Boggiano
9859859f10
Add comment, fixes #4145
2015-08-17 15:57:00 +01:00
DSanchez
abfe54f334
Add missing PHPDoc
...
Conflicts:
src/Composer/Installer.php
2015-08-17 15:55:09 +01:00
DSanchez
6ce9d2e152
Remove useless variable, method return void!
2015-08-17 15:52:30 +01:00
voroks
85de450fe9
Removed some extra assertions.
2015-08-15 16:41:35 +08:00
voroks
4fa1cb2e9c
Removing file autoload_files.php was added ( #4254 )
2015-08-15 16:12:16 +08:00
Jordi Boggiano
3d962879a8
Update deps
2015-08-14 14:55:08 +01:00
Jordi Boggiano
3c5f3e6dc7
Warn if cache isnt writable as well
2015-08-14 13:30:42 +01:00
Jordi Boggiano
a698a56e16
Merge pull request #4357 from alcohol/warn-about-lack-of-cache
...
Warn if cache directory cannot be created, refs #1161
2015-08-14 13:21:30 +01:00
Rob Bast
61dc752c78
Warn if cache directory cannot be created
...
closes #1161
2015-08-14 14:21:12 +02:00
Jordi Boggiano
6c7e4a671b
Merge pull request #4356 from alcohol/add-license-file-to-composer-vendor-dir
...
copy LICENSE file during autoload dumping ( refs #4288 )
2015-08-14 11:35:35 +01:00
Rob Bast
593af4b1bf
add license file during autoload dumping
...
closes #4288
2015-08-14 12:00:21 +02:00