Martin Shwalbe
9d80a4e220
Wrong variable used for foreach. Fixes issue 674.
2012-05-21 17:29:57 +02:00
Jordi Boggiano
5c0c101327
Wrap token_get_all for better debuggability
2012-05-21 12:51:21 +02:00
Nils Adermann
265533d390
Rename watches array to watchChains to make clearer what they are
2012-05-21 12:39:04 +02:00
Jordi Boggiano
794b51fcdd
Merge remote-tracking branch 'naderman/remove-outdated-alias-code'
2012-05-21 11:48:37 +02:00
Nils Adermann
81de780533
Merge pull request #702 from Seldaek/specify-refs
...
Specify commit/refs for dev requirements
2012-05-20 07:01:42 -07:00
Nils Adermann
e817a2e2d7
Move public members above protected members in rule watch node
2012-05-20 15:58:55 +02:00
Nils Adermann
c869566868
Make ruleHash a protected member of rules
2012-05-20 15:57:38 +02:00
Nils Adermann
fa7bd35413
Make debug solver methods protected
2012-05-20 15:49:58 +02:00
Nils Adermann
2dfea8a5e0
Only consider undecided literals for selectAndInstall
...
Fixes #707
2012-05-20 15:44:15 +02:00
Nils Adermann
dd527a4049
Remove weak rules
...
Since we no longer have suggest/recommend rules and no longer use any update
or feature rules so packages are removed by default, we do not need weak rules
anymore.
2012-05-19 21:49:48 +02:00
Nils Adermann
025581b365
Rename walkLiteral method to more explicitly say what it does
2012-05-19 20:50:21 +02:00
Nils Adermann
a395bc04d7
Get rid of continue 2; and use array_filter instead of manual looping
2012-05-19 20:48:12 +02:00
Nils Adermann
451bab1c2c
Get rid of Literal object / literal id mix, use literals only to save memory
2012-05-19 20:38:56 +02:00
Nils Adermann
59cc5a54de
Merge pull request #716 from stof/update_lock
...
Updated the lock file
2012-05-18 18:28:18 -07:00
Christophe Coevoet
e124d3ea81
Updated the lock file
2012-05-19 03:17:10 +02:00
Nils Adermann
9ffe0d13f5
Remove useless if
2012-05-19 02:28:09 +02:00
Nils Adermann
cdf3b4e012
Use SplDoublyLinkedList instead of custom linked list
2012-05-19 02:24:45 +02:00
Nils Adermann
731a451dfe
Move handling of watch graph to separate classes
2012-05-19 01:27:57 +02:00
Jordi Boggiano
71cecd8e93
Fix CS
2012-05-18 16:12:18 +02:00
Jordi Boggiano
edba29be45
Merge remote-tracking branch 'till/download-fun'
2012-05-18 16:08:57 +02:00
Jordi Boggiano
aaf65eb0c4
Update lock file
2012-05-18 15:33:09 +02:00
Jordi Boggiano
3ff4026a30
Merge pull request #712 from hason/githuberror
...
Imporoved exception message for GitDownloader (various protocols for git...
2012-05-18 06:11:07 -07:00
Martin Hasoň
c8d110aa72
Imporoved exception message for GitDownloader (various protocols for github)
2012-05-18 14:41:57 +02:00
till
a8121bc0a6
* fluent interface for set methods
...
* strtolower() type so setting is a little more relaxed
2012-05-17 20:07:49 +02:00
Jordi Boggiano
25a61cd763
Merge pull request #706 from gergoerdosi/master
...
Update Homebrew installation instructions.
2012-05-17 07:13:17 -07:00
Gergo Erdosi
b6cd2f6e08
Update Homebrew installation instructions.
...
Composer is now part of the homebrew-php repository which is used by most of the Homebrew users. The Gist formula in the previous version of the instructions raises a warning, which might confuse users. The installation of the new formula runs seamlessly without any warnings.
2012-05-17 17:06:57 +03:00
Nils Adermann
bac9d6d2e7
Merge pull request #705 from stof/support_local_repo
...
Support local repo
2012-05-17 06:33:07 -07:00
Christophe Coevoet
c2d3c0509c
Fixed the check for local git repositories
2012-05-17 15:08:54 +02:00
Christophe Coevoet
4404c5f287
Revert "Merge remote-tracking branch 'github-ercanozkaya/master'"
...
This reverts commit b5eededbe9
, reversing
changes made to 799a478f2a
.
This change was wrong as the GitDriver was then telling it supports
all local URIs even when they are not git repositories.
2012-05-17 14:54:45 +02:00
Nils Adermann
b5eededbe9
Merge remote-tracking branch 'github-ercanozkaya/master'
...
By Ercan Özkaya
via Ercan Özkaya
* github-ercanozkaya/master:
Add support for file:// URIs to GitDriver
2012-05-17 14:39:28 +02:00
Ercan Özkaya
ca217bd48f
Add support for file:// URIs to GitDriver
2012-05-17 15:36:02 +03:00
Jordi Boggiano
d7608bcddd
Added docs for new reference feature
2012-05-17 10:08:48 +02:00
Jordi Boggiano
c10eb66ac4
Ignore references when parsing dev versions
2012-05-17 04:07:15 +02:00
Jordi Boggiano
ba29b4bf94
Added references for dev versions, fixes #599
...
dev-<branch> and <n.m>.x-dev versions can now have a #<reference> appended
to them. This reference being a git/hg commit hash, or svn revision.
2012-05-17 04:07:14 +02:00
Andrea Turso
3a31b59473
Minor changes to the EventDispatcherTest
...
- Removed Exception class import
- Added FQN at L60
- Added documentation
- Added @group event-dispatcher
2012-05-16 16:55:24 +01:00
Nils Adermann
799a478f2a
GitHub rather than github in changelog
2012-05-15 23:29:33 +02:00
Nils Adermann
90e52a0828
Merge remote-tracking branch 'github-seldaek/gh-cache'
...
By Jordi Boggiano
via Jordi Boggiano
* github-seldaek/gh-cache:
Update changelog
Add caching for metadata in github driver
2012-05-15 23:27:16 +02:00
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