Nils Adermann
f98ab2e491
An array of installed packages is no longer needed in the solver
2012-04-27 18:24:17 +02:00
Nils Adermann
7be4b82ad2
Move all solver members to top of the file
2012-04-27 18:22:55 +02:00
Nils Adermann
6410817c4e
Policy rules cannot conflict with jobs anymore
...
As we no longer need special feature rules for updating installed packages
we don't have policy rules which might conflict with job rules anymore.
Everything is driven by jobs now.
2012-04-27 18:21:25 +02:00
Nils Adermann
3618ddacb0
Remove commented out debug output
2012-04-27 18:16:34 +02:00
Nils Adermann
2cb2cde096
Installed packages are now always removed unless otherwise requested
...
This means that an update request must always be accompanied by an install
request, otherwise the package might be removed rather than updated.
2012-04-27 18:13:37 +02:00
Nils Adermann
1a48ebaf57
Create lookup table for installed packages in only one place
2012-04-27 17:50:53 +02:00
Nils Adermann
0e537b9c93
We won't implement choice rules, you need to edit composer.json to choose
2012-04-27 17:46:13 +02:00
Nils Adermann
5ba9a887c2
We do not support any options to keep obsolete packages
2012-04-27 17:40:59 +02:00
Jordi Boggiano
41bd845c54
Merge pull request #634 from igorw/bin-relative-symlink
...
[Installer] Make bin symlinks relative, closes #620
2012-04-27 08:09:03 -07:00
Igor Wiedler
8d71030cc1
[Installer] Classic var_dump must be removed
2012-04-27 17:07:41 +02:00
Igor Wiedler
aa4ececa2a
[Installer] Make bin symlinks relative, closes #620
2012-04-27 16:55:45 +02:00
Jordi Boggiano
54f2e8fb45
Merge pull request #633 from igorw/fix-installer-remove-bins
...
[Installer] Fix removeBinaries, closes #567
2012-04-27 07:35:00 -07:00
Igor Wiedler
b83422b051
[Installer] Fix removeBinaries, closes #567
2012-04-27 16:34:09 +02:00
Jordi Boggiano
f5ea87e855
Merge pull request #632 from igorw/no-suggest-installed
...
Do not suggest packages that were installed
2012-04-27 05:42:10 -07:00
Igor Wiedler
1e23354666
Do not suggest packages that were installed
2012-04-27 14:40:08 +02:00
Jordi Boggiano
8ff497ac6f
Skip filter_var on 5.3.2 since it is buggy
2012-04-27 14:04:39 +02:00
Igor Wiedler
0995933183
Do not install root package as a vendor if some dependency requires it, closes #480
...
Also add some tests for the installer.
2012-04-27 12:29:11 +02:00
Jordi Boggiano
ed8aa8322a
Do not prevent updates if untracked files are present
2012-04-27 11:23:34 +02:00
Jordi Boggiano
0e9f88a3da
Fix DownloadManagerTest creating directories on disk
2012-04-27 11:21:58 +02:00
Jerome Tamarelle
610f15a768
Fix unit tests for VcsRepository
2012-04-27 11:03:57 +02:00
Jerome Tamarelle
1139b5c306
Protect composer home against web access
2012-04-27 11:03:57 +02:00
Jerome Tamarelle
f0ea097134
Remove umask
2012-04-27 11:03:57 +02:00
Jerome Tamarelle
8b408449f6
Create ~/.composer/cache.hg directory if not exists
2012-04-27 11:03:57 +02:00
Jerome Tamarelle
23ef8a419a
Fix var scope in HgDriver
2012-04-27 11:03:57 +02:00
Jérôme Tamarelle
d200481037
Fix tmp dir for HgDriver
2012-04-27 11:03:56 +02:00
Jerome Tamarelle
cc6e1397b2
Fix var scope
2012-04-27 11:03:56 +02:00
Jerome Tamarelle
da823f5f19
Store vcs repositories in composer home to prevent permission issues
2012-04-27 11:03:56 +02:00
Jerome Tamarelle
949728f812
Remove redundant __contruct from VcsDriver implementations and move init code to initialize method
2012-04-27 11:03:56 +02:00
Jerome Tamarelle
017ebabcb5
Pass composer configuration to VcsDriver
2012-04-27 11:03:56 +02:00
Jerome Tamarelle
d489d2aa3c
Store cached git repositories in user HOME to avoid file permission issues
2012-04-27 11:03:56 +02:00
Jordi Boggiano
939c745a9a
Improvements to autoload docs
2012-04-27 10:01:01 +02:00
Jordi Boggiano
fb0d89cce5
Merge pull request #630 from dpb587/fix-implicit-proxy-ports
...
Add default http(s) ports to proxy configuration if they are missing.
2012-04-27 00:32:59 -07:00
Danny Berger
e7ba0c38a8
Add default http(s) ports to proxy configuration if they are missing.
2012-04-26 21:38:12 -04:00
Jordi Boggiano
762f469cd9
Merge pull request #626 from igorw/notify-and-repo-docs
...
[docs] Notify, composer repository spec, COMPOSER_HOME, aliases
2012-04-26 10:39:03 -07:00
Igor Wiedler
6a1843da38
[docs] Change alias article according to comments
...
1.0.x-dev alias is safer than 1.0-dev. require-dev is also supported.
Clarify that inline aliases are for matching constraints of deps.
Tell users to avoid inline aliasing if possible.
2012-04-26 19:21:31 +02:00
Igor Wiedler
3b40771089
[docs] Remove false information about recursive include fields
2012-04-26 19:04:06 +02:00
Igor Wiedler
8dd2a72e8d
[docs] Remove mentions of version_normalized
...
People will get it wrong so it would possibly cause more harm than good
2012-04-26 19:02:27 +02:00
Igor Wiedler
21b39f8e87
[docs] Clarify that there is no cross-repo leakage with notify
2012-04-26 19:00:55 +02:00
Igor Wiedler
bca2ab7836
[docs] Correct default process timeout
2012-04-26 18:59:09 +02:00
Igor Wiedler
1d3fd25cf2
[docs] Improve description of COMPOSER_HOME
2012-04-26 18:58:16 +02:00
Igor Wiedler
7b882479a7
[docs] Aliases: branch-alias and inline aliasing
2012-04-26 18:40:00 +02:00
Igor Wiedler
b14aac84ae
[docs] Document COMPOSER_HOME
2012-04-26 17:24:31 +02:00
Igor Wiedler
f6259263ad
[docs] Update composer repository specification
2012-04-26 17:19:39 +02:00
Igor Wiedler
f519636094
[docs] Document the notify-on-install config option
2012-04-26 17:19:07 +02:00
Jordi Boggiano
59a4156f2c
Update lock
2012-04-26 15:49:09 +02:00
Jordi Boggiano
70ad8274cd
Work around poorly configured php
2012-04-26 15:47:22 +02:00
Jordi Boggiano
66a202083e
Add IOInterface::isDecorated()
2012-04-26 14:54:34 +02:00
Nils Adermann
540f9a09b2
Merge pull request #606 from Seldaek/aliasprio
...
Fix priority of aliases when mixing root package aliases with branch-alias ones, fixes #576
2012-04-25 08:35:53 -07:00
Jordi Boggiano
903facd64f
Make sure the anti-aliased package contains the alias info from the correct alias
2012-04-24 11:16:25 +02:00
Jordi Boggiano
cc3d91f75c
Make sure aliased packages created by the locker are available in the pool
2012-04-24 10:49:49 +02:00