Jordi Boggiano
0cbf679f21
Avoid failing to write the lock file if a lock file is present but corrupt/conflicted
2015-09-17 14:46:19 +01:00
Jordi Boggiano
b4bd5774dc
Merge pull request #4426 from sroze/shortest-relative-path
...
Use shortest relative paths for symlinks with `path` repository
2015-09-16 11:01:25 +01:00
Samuel ROZE
f6d5d65bcd
Use shortest relative paths for symlinks
2015-09-16 10:06:32 +01:00
Dennis Birkholz
c06edd61e4
Fail if no repository was found
2015-09-15 18:28:17 +02:00
Dennis Birkholz
e4435790a4
Documentation
2015-09-15 17:39:55 +02:00
Dennis Birkholz
1d7fa565e6
Fix check for flag in case RELATIVE_PATHS should be changed somehow
2015-09-15 17:33:31 +02:00
Dennis Birkholz
4209fd2e4a
Store correct url for package, not original url containing wildcards.
2015-09-15 17:27:36 +02:00
Gabriele Santini
dd0070af98
Update 05-repositories.md
...
fix typo
2015-09-15 16:44:41 +02:00
Dennis Birkholz
323537ad0f
Allow wildcards in repository path names.
2015-09-15 16:41:07 +02:00
Jordi Boggiano
7267b2ed90
Merge pull request #4418 from olvlvl/olvlvl-optimize-getio
...
Optimized this->getIO()
2015-09-14 15:48:45 +01:00
Jordi Boggiano
fbf61ae671
Merge pull request #4419 from sroze/real-system-path
...
Uses `realpath` to fix relative path issues
2015-09-14 15:40:16 +01:00
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