Andrea Turso
f8b2f203a1
Added exception class and message to the error string.
2012-05-15 21:47:17 +01:00
Andrea Turso
f626ccbcee
Wrapped the listener invocation a try/catch block that catches any
...
exception and throws a \RuntimeException.
Added a test case for the EventDispatcher.
Note:
In order to test the doDispatch method I had to use a stub EventDispatcher
with a getListeners that returned a preconfigured array. IMHO there should
be a way to inject the listeners into the EventDispatcher.
2012-05-15 21:25:18 +01:00
Nils Adermann
71ee5c8f4c
We don't have a systemsolvable at the lowest level
2012-05-15 21:46:52 +02:00
Nils Adermann
286593cf99
Move solver debugging code into solver subclass
2012-05-15 21:37:57 +02:00
Nils Adermann
46e4ae0e6a
Move rule generation from solver into separate rule set generator
2012-05-15 21:36:47 +02:00
Nils Adermann
83c499cf29
Remove unecessary use statement in Transaction class
2012-05-15 20:29:21 +02:00
Nils Adermann
70e306f055
Process all jobs in one method and remove lock jobs which are not used
2012-05-15 20:22:48 +02:00
Nils Adermann
3fcd042fd4
Skip adding (ignored) duplicate rules which were already added
2012-05-15 20:04:25 +02:00
Nils Adermann
1d60ae1bfc
We no longer support recommended packages, remove left over code
2012-05-15 20:01:51 +02:00
Nils Adermann
92ecf5a603
Remove unused variables
2012-05-15 20:00:52 +02:00
Nils Adermann
bd66c27ff6
We mark packages as uninstallable by removing them from the repo
...
As it is faster to remove packages from the repos and keep them out of the
package pool to begin with, we don't need an installable() method on the
policy.
2012-05-15 19:57:55 +02:00
Nils Adermann
8fc09afbae
Move transaction generation to a separate class
2012-05-15 19:55:41 +02:00
Nils Adermann
be250fbb8b
Remove alias loading code which is no longer necessary
...
Since alias packages do not get dumped anymore, only original packages
will ever be in Filesystem repositories. Alias are created on the fly
based on alias info in the composer.json/composer.lock and on branch
alias data in the original package.
2012-05-15 19:17:17 +02:00
Jordi Boggiano
8d65d70c56
Merge pull request #695 from adanlobato/FixPHPDoc
...
Fixed some mistakes at PHPDoc
2012-05-15 07:32:39 -07:00
Adán Lobato
61eb0119f1
Fixed some mistakes at PHPDoc
2012-05-15 16:18:18 +02:00
Jordi Boggiano
1a255420b0
Ignore aliases in autoload generator
2012-05-14 14:02:02 +02:00
Jordi Boggiano
2db9ff6ec9
Update changelog
2012-05-13 22:55:06 +02:00
Jordi Boggiano
ba9676e0f2
Add caching for metadata in github driver
2012-05-13 22:55:01 +02:00
Nils Adermann
35120d7d04
Merge pull request #685 from Seldaek/integ-tests
...
More integration tests
2012-05-13 13:48:20 -07:00
Jordi Boggiano
5e8418a4f5
Add test for aliases and overrides between repos
2012-05-13 22:43:07 +02:00
Jordi Boggiano
5026f8a115
Fix AliasOperations output
2012-05-13 22:41:20 +02:00
Jordi Boggiano
46972fbc22
Add handling for alias operations
2012-05-13 22:36:48 +02:00
Jordi Boggiano
f7d5df2764
Prevent backtracking issues with long tests
2012-05-13 22:36:32 +02:00
Jordi Boggiano
cd4cceaf7b
Merge pull request #682 from ktomk/patch-1
...
Cont. code simplification & better tests.
2012-05-13 13:32:09 -07:00
Nils Adermann
83e8dba23c
Merge pull request #684 from Seldaek/functional
...
Add functional tests for the installer, fixes #580
2012-05-13 13:07:01 -07:00
Jordi Boggiano
4505df29df
Add functional tests for the installer, fixes #580
2012-05-13 21:42:43 +02:00
Jordi Boggiano
9dc61be28c
Merge pull request #683 from ktomk/patch-4
...
Minor fixes while running along.
2012-05-13 12:16:33 -07:00
Tom Klingenberg
296123db26
CS Fixes
2012-05-13 21:09:01 +02:00
Jordi Boggiano
0a0a6b1813
Fix wrong var name, refs #674
2012-05-13 17:11:03 +02:00
Paweł Jędrzejewski
129884ef72
rename skipScripts to runScripts.
2012-05-13 13:25:02 +02:00
Jordi Boggiano
f516c1de48
Add license info for code snippet we reused
2012-05-13 13:16:38 +02:00
Paweł Jędrzejewski
123dec52fb
typos in command option description.
2012-05-13 13:05:56 +02:00
Paweł Jędrzejewski
cc8b33117a
add --skip-scripts option to install/update commands.
2012-05-13 13:05:56 +02:00
Tom Klingenberg
58a8ff80e3
Cont. code simplification & better tests.
2012-05-13 12:59:04 +02:00
Jordi Boggiano
6c9c1f17ef
Update changelog
2012-05-13 11:42:06 +02:00
Jordi Boggiano
dbdefc779c
Prepare alpha3 release
2012-05-13 11:39:32 +02:00
Jordi Boggiano
11edea8aee
Add deprecation warning to old .composer files
2012-05-13 11:35:50 +02:00
Jordi Boggiano
d57ad21346
Add +30 days warnings for the dev phars
2012-05-13 11:28:19 +02:00
Jordi Boggiano
ca558369fc
Fix bug in ValidateCommand
2012-05-13 11:01:10 +02:00
Jordi Boggiano
ce16575adb
Update changelog
2012-05-12 18:42:46 +02:00
Jordi Boggiano
8af189e300
Remove bad chars from docs
2012-05-12 18:42:35 +02:00
Nils Adermann
9c9391fc43
Clarify standard replace use case
2012-05-12 18:28:38 +02:00
Nils Adermann
7c7cac61b6
Merge remote-tracking branch 'github-seldaek/stability'
...
* github-seldaek/stability:
Add stability docs
Add test for Pool handling and refactor a couple things
Add support for stabilities in lock file
Infer stability flags for requirements that have an explicit version required of a lower stability
Add InstalledArrayRepository to make sure the root package is not purged by the Pool because of a lower stability
Basic handling of stability flags
Add list of stabilities to base package
Add minimum-stability flag on root package to filter packages by stability
Add CompositeRepo::getRepositories
Add package stability
2012-05-12 18:28:32 +02:00
Jordi Boggiano
c2933028e8
Make sure github driver is used for all github urls
2012-05-12 18:24:07 +02:00
Jordi Boggiano
160d2e0847
Minor style fix
2012-05-12 17:44:20 +02:00
Jordi Boggiano
e84e550df3
Refactor validate command to offer more flexibility in adding validation
2012-05-12 17:32:13 +02:00
Jordi Boggiano
fd38971777
Fix CS & simplify code
2012-05-12 17:10:28 +02:00
Jordi Boggiano
4cab4b46e4
Merge remote-tracking branch 'ktomk/patch-1'
2012-05-12 16:24:21 +02:00
Jordi Boggiano
44fdc05e45
Add stability docs
2012-05-12 16:14:44 +02:00
Jordi Boggiano
971f7b83b7
Update changelog
2012-05-12 16:11:04 +02:00