Jordi Boggiano
2988152602
Merge remote-tracking branch 'naderman/remove-packages-by-default'
2012-04-29 18:16:22 +02:00
Jordi Boggiano
adb4188e12
Add detection of the current version from git if possible
2012-04-29 18:03:54 +02:00
Jordi Boggiano
7b2d3ff6a2
Refactor InstallerTest to be a bit more future proof
2012-04-29 17:29:06 +02:00
Jordi Boggiano
63c6c6d875
Cache the version parser used in TestCase
2012-04-29 17:28:35 +02:00
Jordi Boggiano
bd50ad32f0
Refactor InstallationManagerMock
2012-04-29 17:27:37 +02:00
Jordi Boggiano
2dffa612a3
Merge remote-tracking branch 'igorw/root-install-twice'
2012-04-29 17:02:41 +02:00
Jordi Boggiano
d60188903d
Add warning for PHP <5.3.2 users that didn't use the installer
2012-04-29 16:07:47 +02:00
Nils Adermann
d51ebb9650
Merge pull request #1 from Seldaek/patches
...
Patches
2012-04-29 02:30:27 -07:00
Jordi Boggiano
2c726123cf
Merge pull request #642 from danielholmes/patch-1
...
Fixed variable reference in verbose pear repository message
2012-04-29 02:19:39 -07:00
Daniel Holmes
d44b81527b
Fixed variable reference in verbose pear repository message
2012-04-29 18:07:16 +10:00
Jordi Boggiano
e982c19bdb
Add fields to sample satis config
2012-04-27 22:40:43 +02:00
Jordi Boggiano
d5e35fbe19
Clarify output
2012-04-27 21:40:46 +02:00
Jordi Boggiano
b3659d85f3
Force platform packages to remain installed
2012-04-27 21:30:09 +02:00
Jordi Boggiano
22a825fc07
Clean up vendor dir after a package was removed
2012-04-27 21:30:08 +02:00
Jordi Boggiano
b99f9bae60
Let the user know a package is being removed
2012-04-27 21:30:06 +02:00
Jordi Boggiano
b356c30c5c
Remove rogue. dot
2012-04-27 20:53:32 +03:00
Jordi Boggiano
66dc17bf39
Avoid adding duplicate aliases
2012-04-27 18:53:20 +02:00
Nils Adermann
f4d5568937
Rules of type feature are no longer needed
2012-04-27 18:28:51 +02:00
Nils Adermann
d153ab3f8f
Call feature rules update rules, as there is no difference in composer
2012-04-27 18:25:58 +02:00
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