Jordi Boggiano
cc3d91f75c
Make sure aliased packages created by the locker are available in the pool
13 years ago
Jordi Boggiano
aff7745231
Fix target-dir autoloader
13 years ago
Jordi Boggiano
6a50dbd46d
Error out on wrong bin config
13 years ago
Jordi Boggiano
ebf78135c9
Rename method
13 years ago
Jordi Boggiano
15ab5868a3
Move composer metafiles back in a composer dir, except autoload.php
13 years ago
Jordi Boggiano
06fb1b8083
Fix priority of aliases when mixing root package aliases with branch-alias ones, fixes #576
13 years ago
Jordi Boggiano
870d745475
Show real version instead of self.version in suggest
13 years ago
Nils Adermann
e74e218bdb
Merge pull request #602 from Seldaek/target_dir_autoload
...
Target dir autoloading for root packages, fixes #139
13 years ago
Jordi Boggiano
ab0ced493c
Make sure BC dir exists
13 years ago
Jordi Boggiano
51711c2f73
Fix multi-prefix handling
13 years ago
Jordi Boggiano
66135538c1
Allow root packages packages with target-dir to be autoloaded, fixes #139
13 years ago
Jordi Boggiano
32643581ba
Fix line endings
13 years ago
Jordi Boggiano
22fe296ad0
Move .composer files out into the vendor dir, fixes #497
13 years ago
Jordi Boggiano
4a55d85a2d
Respect umask in chmod calls
13 years ago
Jordi Boggiano
120171ff5a
Fix create project
13 years ago
Jordi Boggiano
b999d18365
Improve include_paths generation, fixes #596
13 years ago
Jordi Boggiano
e364494286
Add BC for the composer remote
13 years ago
Jordi Boggiano
ef300ca56a
Fix tests
13 years ago
Jordi Boggiano
bf6fd10a8a
Make use of the proper interface
13 years ago
Jordi Boggiano
a5e00a9e96
Fix PEAR loading, fixes #590
13 years ago
Nils Adermann
5541b52530
Merge pull request #584 from nlegoff/fix_typo
...
fix_typo
13 years ago
Jordi Boggiano
047fa0b553
Add a composer remote that is used by composer so it does not take over the origin one anymore
13 years ago
Jordi Boggiano
466d953b5f
Add verbose output to composer compat mode
13 years ago
Jordi Boggiano
9c72b093a3
Merge remote-tracking branch 'bashofmann/master'
13 years ago
Jordi Boggiano
83b52b5b7f
Avoid blowing up on misconfigured autoload entries
13 years ago
Jordi Boggiano
e12b0e842d
Fix project installer, fixes #587
13 years ago
Jordi Boggiano
7837be0621
Fix creation of ComposerRepository, refs #587
13 years ago
Jordi Boggiano
4cc45d3c37
Add require-dev and other missing links in show command
13 years ago
Povilas Balzaravicius Pawka
443ce65765
Fix fatal on show command
13 years ago
Bastian Hofmann
a86ea59742
various fixes for composer interaction with pear repositories:
...
- corrected pear repository base url from channel.xml is now used instead of a hardcoded host/rest/* endpoin
t
- XML is now parsed with LIBXML_NOERROR to accomondate pear repositories with slightly invalid XML (e.g. components.ez.no)
- instead of following links in the returned xml files the pear api structure is now hardcoded so that pear repositories with invalid links also work (again components.ez.no). additional benefit: this removes the need for some str_replace calls
- for pear packages with a packages.json file: 'pear-'.$channelName is not added to package names if this is already part of the package name (see pear.phpunit.de)
13 years ago
Jordi Boggiano
7f0a0857c0
Catch PharException as well in self-update failures
13 years ago
Jordi Boggiano
f0ac227567
Reverse inclusion order to favor the local vendors first
13 years ago
Jordi Boggiano
a9ccfeb548
chmod new file when running self-update
13 years ago
Nicolas Le Goff
3f13eb87b1
fix_typo
13 years ago
Jordi Boggiano
69864aeb13
Make check more explicit
13 years ago
Jordi Boggiano
3bdee3aabe
Detect and report UTF8 encoding errors in json files
13 years ago
Jordi Boggiano
7312c62c5d
Fix lock handling of aliases
13 years ago
Jordi Boggiano
a1306091f2
Fix locking behavior with --dev
13 years ago
Jordi Boggiano
f63df842b3
Fix alias handling with --dev installs, fixes #579
13 years ago
Jordi Boggiano
7b87d2b573
Fix self-update saying the download is corrupt when it isn't
13 years ago
Jordi Boggiano
8f24a04a1d
Make sure vendor dir exists before dumping autoloader
13 years ago
Jordi Boggiano
f520ce6a80
Fix exception when solver could not resolve a set of packages
13 years ago
Jordi Boggiano
d1f66073ca
Update depends command
13 years ago
Jordi Boggiano
89e095b4b5
Handle --dev installs/updates
13 years ago
Jordi Boggiano
e702761284
Output suggested packages after package installation
13 years ago
Jordi Boggiano
53191eb0fe
Remove recommend, make suggest informational, add require-dev, fixes #78 , fixes #510
13 years ago
H. Westphal
397fa05c5b
Validate the integrity of the downloaded phar before overwriting
13 years ago
Jordi Boggiano
b094ef7155
Add repository notification API support
13 years ago
Jordi Boggiano
595182aec0
Add/fix tests
13 years ago
Jordi Boggiano
2d49090ffd
Make sure branches have proper .x suffix so that they can be parsed properly
13 years ago
Jordi Boggiano
98380f3aad
Improve unzip failure message
13 years ago
Jordi Boggiano
452c9ad24e
Merge remote-tracking branch 'naderman/remove-dontfix'
13 years ago
Nils Adermann
64a451eaf9
Remove dontFix feature for local packages and explicit fix command
...
This made sense for the libzypp, so your kernel doesn't get deleted
just cause it thinks something is broken, but it doesn't really make
sense for composer.
13 years ago
Jordi Boggiano
26e3b77a4b
Fix wording
13 years ago
Jordi Boggiano
273e0f777b
Fix branch extraction, fixes #565
13 years ago
Joseph Bielawski
9631d7c3fd
[ZipDownloader] If `unzip` command failed, give cleaner error.
13 years ago
Jordi Boggiano
14c3222478
Simplify code
13 years ago
Jordi Boggiano
858d967a42
Merge pull request #558 from stloyd/patch-1
...
[PharDownloader] Force overwrite if previous extract failed and was not ...
13 years ago
Joseph Bielawski
2e2f7ea199
[TarDownloader] Force overwrite if previous extract failed and was not removed.
13 years ago
Joseph Bielawski
eab3cde48c
[PharDownloader] Force overwrite if previous extract failed and was not removed.
13 years ago
Jordi Boggiano
9da7fbbf37
Fix project aliases being redownloaded since they had no version
13 years ago
Jordi Boggiano
983de81b1d
Force a redownload to source when updating from dist to dev package
13 years ago
Jordi Boggiano
aa21b1a93a
Fix output
13 years ago
Jordi Boggiano
5c5f87008f
Report proper error if a write fails instead of saying the download failed
13 years ago
Nils Adermann
38cc4e9e5f
Config values from local config overwrite global config
13 years ago
Jordi Boggiano
48ae8bf3ec
Use pathinfo instead of substr
13 years ago
Jordi Boggiano
fc29487a2a
Add home config key and use it to create the cache instance
13 years ago
Jordi Boggiano
28d0f4a7c8
Add docblocks
13 years ago
Jordi Boggiano
e638182397
Add Config class and system-wide config management, fixes #513
13 years ago
Jordi Boggiano
61708a1bb1
Code cleanup
13 years ago
Jordi Boggiano
8654c43c62
Fix version parser regression, fixes #550
13 years ago
Jordi Boggiano
68a1bc645b
Skip some packages in pear requirements
13 years ago
Jordi Boggiano
278f0ec350
Fix git config parsing, fixes #525
13 years ago
Jordi Boggiano
d63c0100ab
Merge pull request #549 from chEbba/package-interface-return-values
...
Fix return values for getLicense and getBinaries documentation
13 years ago
Kirill chEbba Chebunin
7c8290e968
Fix return values for getLicense and getBinaries
13 years ago
Jordi Boggiano
585a9be2ac
Merge pull request #548 from pocallaghan/master
...
Allows apostrophe in author name
13 years ago
Peter O'Callaghan
579b86ec27
Allows apostrophe (and single quote, since this is often used in lieu) in author name.
13 years ago
Jordi Boggiano
5c644552b2
Warn users about having scream enabled, fixes #543
13 years ago
Jordi Boggiano
17370e3812
Remove unnecessary @ operator, refs #543
13 years ago
Jordi Boggiano
3c07b4338a
Rename include-paths to include-path, add deprecated warnings, only generate file if it is needed
13 years ago
Jordi Boggiano
91614af365
Merge remote-tracking branch 'CHH/feature/include-paths'
13 years ago
Jordi Boggiano
f604ca5762
Allow .x in version constraints as alias for .*
13 years ago
Mike van Riel
a01366e3f5
Added ->io to the creation of composer installers to match signature of LibraryInstaller; this will enable users to extend LibraryInstaller and use the same facilities
13 years ago
Jordi Boggiano
32e86ba410
Fix lockfile
13 years ago
Jordi Boggiano
a6e686b29e
Merge pull request #535 from fixe/writing_lock_file_message
...
"Writing lock file" message is only displayed if locker isn't fresh
13 years ago
Nils Adermann
fc1a7a3e23
Merge pull request #536 from Seldaek/new_composer_format
...
Add support for new composer repo format + cache for composer repos
13 years ago
Jordi Boggiano
0d97ec4783
Add cache to the composer repositories
13 years ago
Tiago Ribeiro
13839bf52c
"Writing lock file" message is only displayed if locker isn't fresh
13 years ago
Tiago Ribeiro
61beea3c8b
Updated output when a branch is imported to show the pretty version name
13 years ago
Jordi Boggiano
a476d1f97d
Add support for the new composer repository format
13 years ago
Jordi Boggiano
b14366ed08
Fix exception when a json file can not be downloaded
13 years ago
Jordi Boggiano
a67f62990c
Prepare for upcoming format break
13 years ago
Jordi Boggiano
bfd48b06bd
Capture zip downloader output, fixes #533
13 years ago
Jordi Boggiano
6f8031ac90
Fix error reporting for missing git process
13 years ago
Jordi Boggiano
720b00b561
Merge remote-tracking branch 'Nami-Doc/patch-1'
13 years ago
Jordi Boggiano
9371253e38
Fail hard if a package can not be properly removed
13 years ago
Nami-Doc
1dba604ba1
Update src/Composer/Repository/Vcs/GitDriver.php
13 years ago
Nami-Doc
66efa343a9
and again.
13 years ago
Nami-Doc
66cd1aad8a
Update src/Composer/Downloader/GitDownloader.php
13 years ago
Nami-Doc
d245acff83
github online editor is a nice idea, but...
13 years ago
Nami-Doc
2c58dbf3a1
better message if git isn't found
13 years ago
Nami-Doc
bd116aec22
try to guess the error
13 years ago
Nami-Doc
f57e272ce7
Add a little more explaining message when failing to download.
13 years ago
Holger Rüprich
9e2c523faa
Function proc_open doesn't accept a scheme for the current working directory, therefore stripped 'file://' for local repositories.
13 years ago
Jordi Boggiano
a3fa19a716
Avoid escaping too early to prevent issues
13 years ago
Jordi Boggiano
13a2bc6ff0
Revert "Fix push url hack"
...
This reverts commit 269537e466
.
13 years ago
Jordi Boggiano
269537e466
Fix push url hack
13 years ago
Jordi Boggiano
b5d235abb6
More verbose output for archive and git downloader
13 years ago
Christoph Hochstrasser
68c12c3516
Do set_include_path only if any package define include paths.
13 years ago
Christoph Hochstrasser
f369104bb1
Packages can define include paths.
13 years ago
Jordi Boggiano
9ed06f8853
Output svn output to user in verbose mode
13 years ago
Jordi Boggiano
1cdae66f8f
Fix up git downloader and git driver commands
13 years ago
Jordi Boggiano
219c31ed0c
Fix git driver updating
13 years ago
Jordi Boggiano
afa14124f3
Make sure we fetch origin with tags before checking out a new version
13 years ago
Jordi Boggiano
66be50ce71
Always set the push url after git updates
13 years ago
Jordi Boggiano
9828472b9e
Improve reliability of GitDriver, refs #485
13 years ago
Jordi Boggiano
366176fc73
Add cache to the lock file reading
13 years ago
Jordi Boggiano
b2609e8413
Update to locked source-ref when receiving a new lock file, fixes #358
13 years ago
Jordi Boggiano
ceac0ca75b
Fix updating of already installed dev packages, fixes #496
13 years ago
Jordi Boggiano
2844a5673d
Use refs API since it is more stable than the branches API with force-pushes, fixes #514
13 years ago
Christophe Coevoet
d3d5c15e6f
Removed the Symfony2 tests from the phar archive
...
Components' tests are now distributed with the code, making the
archive far bigger if we don't exclude them.
13 years ago
Nils Adermann
722724c2c3
Merge pull request #519 from Seldaek/hide_input
...
Improve password prompts on windows
13 years ago
Nils Adermann
85caa65088
Merge pull request #520 from Seldaek/pear_composer
...
Detect PEAR repos that support composer via Pirum
13 years ago
Nils Adermann
8916a51b61
Merge pull request #518 from Seldaek/pear_autoload
...
Pear autoload support
13 years ago
Nils Adermann
abe5d84c7e
Merge pull request #521 from naderman/fix-learn-first-literal
...
Rule literals are sorted, so first literal added is not first retrieved
13 years ago
Nils Adermann
a16aa68c1d
Rule literals are sorted, so first literal added is not first retrieved
...
Fixes #477
13 years ago
Jordi Boggiano
ecb82e1784
Detect PEAR repos that support composer via Pirum
13 years ago
Jordi Boggiano
fd93f6d648
Clean up temp dir
13 years ago
Jordi Boggiano
26b3a1711f
Add handling for phar
13 years ago
Jordi Boggiano
3210da0b84
Cleanups
13 years ago
Jordi Boggiano
2d9739bd05
Add support for files in classmap autoload config, fixes #463
13 years ago
Jordi Boggiano
d53ac36636
Add debug info and remove autoload parsing that was too slow
13 years ago
Jordi Boggiano
4b2283e41c
Add autoload info to PEAR packages
13 years ago
Jordi Boggiano
1fe24a3837
Add support for github URLs in git driver
13 years ago
Jordi Boggiano
6d5b4d606c
Add warning in verbose mode if drivers can not be used because of missing openssl
13 years ago
Tiago Ribeiro
67885d8585
Added isDebug to IOInterface and improved debug messages for VcsRepositories
13 years ago
Jordi Boggiano
7a28a2d83a
Add support for new GitHub API
13 years ago
Jordi Boggiano
1cd07e1a2c
Fix up merged code
13 years ago
till
9922301841
for debugging
13 years ago
till
eb8ad8b74f
* docblock
13 years ago
till
aef502aa86
* handle errors with ZipArchive error constants to get meaningful error messages
13 years ago
Jordi Boggiano
30cfb69739
Add support for mapping a namespace prefix onto many dirs in the autoload config
13 years ago
Jordi Boggiano
f7affa21b0
Fix indenting
13 years ago
Jordi Boggiano
5be7f4cf09
Fail hard when failing to download using hg
13 years ago
Jordi Boggiano
7cb79bb1c9
Fix typo & tests
13 years ago
Jordi Boggiano
605e1cb925
Clean up in case of download/extraction failure, fixes #356
13 years ago
Jordi Boggiano
87c1629ebc
Fix isInstalled detection broken by metapackage installer
13 years ago
Jordi Boggiano
583a0b5f0d
Lazy-init the bin directory, fixes #364
13 years ago
Jordi Boggiano
e36dfb150c
Add support for hidden prompts on windows
13 years ago
Jordi Boggiano
7285536737
Fix exception handling
13 years ago