Jordi Boggiano
7e3f8099b1
Add proxy files for windows instead of copying, removed PEAR-style substitution
13 years ago
Jordi Boggiano
aa94918d50
Add binaries support in composer
13 years ago
Nils Adermann
a0faa4f69f
Add a test for the complex conflict resolution fixed in #118
13 years ago
Jordi Boggiano
e340022cce
Allow the use of self.version in package links
13 years ago
Jordi Boggiano
22858e81ef
Fix .* version constraints parsing to include nonstable versions
13 years ago
Jordi Boggiano
14e9d4d84b
Fix test
13 years ago
Jordi Boggiano
f5b7e968b2
Minor adjustments to merged PR
13 years ago
Jordi Boggiano
5b87a02767
Merge remote-tracking branch 'prodigitalson/master'
13 years ago
Jordi Boggiano
deb6ecd49b
Fix tests
13 years ago
Jordi Boggiano
b125926ad3
Fix tests
13 years ago
Jordi Boggiano
8e6f8ae57e
Add prettyVersion to packages, fixes #76
13 years ago
Nils Adermann
4140f08d9c
Use a map of installed package ids in the solver
...
The assumption package.repo == installed no longer holds for installed
packages because there are multiple wrapped installed repositories.
13 years ago
Ant Cunningham
e0400773f7
Adding support for configurable vendor path in composer.json.
13 years ago
Jordi Boggiano
b7f6cf69ab
Add tests and fixes some issues
13 years ago
Jordi Boggiano
9c14d10641
Adjust tests to work with composer autoloader
13 years ago
Jordi Boggiano
066a0db752
Add detection for unescaped backslashes
13 years ago
Jordi Boggiano
f5aa3e6c79
Add detection for extra commas in arrays
13 years ago
Jordi Boggiano
c129d570e8
Add more json validation rules
13 years ago
Jordi Boggiano
6b6d6b6d82
Add --dev flag to InstallCommand to do source installs, fixes #26
13 years ago
Jordi Boggiano
36a724fa51
Search only for packages from the local repository in the locker
13 years ago
Jordi Boggiano
4904e76185
Install every package in its own directory, fixes #73
13 years ago
Fabien Potencier
9c739e71c2
Add some unit tests
13 years ago
Fabien Potencier
1450ebd837
Fix bug in an exception, added unit tests
13 years ago
Jordi Boggiano
89caa9b117
Rewrite autoloader to use only PSR-0, remove splitting of PEAR path
13 years ago
Jordi Boggiano
5e52d5c1ad
Fix tests
13 years ago
Jordi Boggiano
c33fc80d23
Add supports() to the InstallerInterface
13 years ago
Jordi Boggiano
8a571c05db
Fix issues in new autoloader code
13 years ago
Nils Adermann
e16c3f0626
Remove useless test, packages providing different versions aren't alternatives
13 years ago
Nils Adermann
0801d8ed31
Enable solver test regarding replaced packages after policy fix
13 years ago
Nils Adermann
571c14adf9
Prefer original packages over replaced packages of same repository priority
13 years ago
Nils Adermann
1b6f57e651
Correctly implement priorities and version numbers in the default policy
13 years ago
Nils Adermann
55d5e55195
DefaultPolicy test: pick package providing newest virtual package version
13 years ago
Nils Adermann
0c30610fdc
Complete the policy tests with provider and replacement tests
13 years ago
Nils Adermann
e4c94dd415
Adding tests for the default policy specifying its desired behaviour
13 years ago
Jordi Boggiano
40cc5fea1d
Add a few solver tests regarding "replace"
13 years ago
Jordi Boggiano
e09f6900da
Fix up version parsing
13 years ago
Jordi Boggiano
19f89069a4
Add some more version normalization and support for branch names
13 years ago
Jordi Boggiano
61dc13647c
Fix tests
13 years ago
everzet
1cca62dc97
move json parsing instructions into single class object
13 years ago
everzet
21191ffa00
refactored PackageLock to Locker and stabilized it
13 years ago
Jordi Boggiano
9cbd74bf90
Merge remote-tracking branch 'everzet/downloader-interface-refactoring'
13 years ago
everzet
195272da09
refactored DownloaderInterface to be mono-installation-type
13 years ago
Jordi Boggiano
ebe2a25ec6
Merge remote-tracking branch 'wilmoore/feature/memory-package-test-refactor'
...
Conflicts:
src/Composer/Package/MemoryPackage.php
13 years ago
Jordi Boggiano
fda206400a
Fix constraint parsing
13 years ago
Jordi Boggiano
00a4fe2a14
Refactor downloaders, git installs actually work well now
13 years ago
Wil Moore III
97de4521d0
slight tweak to the casing of the provider method (providerversioningschemes -> providerVersioningSchemes)
13 years ago
Wil Moore III
eceb416564
eased up on the param documentation/annotations and lowercased the provider method.
13 years ago
Wil Moore III
fd5b1e0f1c
added annotations to test methods
13 years ago
Wil Moore III
b4df1d1a6b
follows code review comments @ https://github.com/composer/composer/pull/23#issuecomment-2208146
13 years ago
Wil Moore III
b70bb1a9bc
memory-package-test-refactor: refactored the memory package test to be a bit more DRY and "hopefully" re-usable in anticipation of more package types being adding in the future.
13 years ago
Jordi Boggiano
da6566b343
Minor improvements to VersionParser
13 years ago
Jordi Boggiano
2e10b5c17e
Expand normalization feature and adjust tests
13 years ago
Jordi Boggiano
46a67733f8
Adjust codebase to the new VersionParser
13 years ago
Jordi Boggiano
f761cfe525
Refactored VersionParser
13 years ago
Nils Adermann
30f6c05069
Add test for choices in circular requirements and delete packagist based test
13 years ago
Nils Adermann
85f88de59d
Add a solver test for provided virtual packages and circular dependencies
13 years ago
Jordi Boggiano
b9114e16be
Fix typos, short var names etc
13 years ago
Jordi Boggiano
753caf2b55
Fix tests on windows
13 years ago
everzet
20318f77a0
Refactored FilesystemRegistry to FilesystemRepository
13 years ago
everzet
28d9df7da6
Added hasPackage and removePackage methods to the ArrayRepository
13 years ago
everzet
2fc0699492
Moved operations evaluation into new InstallationManager class
13 years ago
everzet
50aa7ac607
Provide $useSource argument to the DownloaderInterface methods
13 years ago
everzet
17d1abcec0
Refactored DownloadManager
13 years ago
everzet
6133108710
Refactored LibraryInstaller to use WritableRepository instead of Registry
13 years ago
everzet
123f5fef77
Refactored Operations in order to fulfill naderman requests
13 years ago
Jordi Boggiano
6d667a849e
Remove broken functional test
13 years ago
everzet
10bd9c3729
Fixed FilesystemRegistry test name
13 years ago
everzet
0a1e7320b0
Refactored solver result array. Now it returns array of operation objects which are much nicer to work with
13 years ago
everzet
cde9531e4d
DownloadManager implemented
13 years ago
everzet
0a2f4e7e32
Installer now provides full download path to the downloader
13 years ago
everzet
45cab9fe8c
Installers FilesystemRegistry implemented
13 years ago
everzet
067007656b
LibraryInstaller refactored and tested
13 years ago
Nils Adermann
b1d16a88b7
Test a replace link with a null constraint between packages
13 years ago
Nils Adermann
69ebbf0eac
Correct handling of rules with more than 2 literals.
13 years ago
Nils Adermann
db18e1b560
Add a few proper tests for literals, all tests passing now
13 years ago
Nils Adermann
ac61c3973b
Add a test for two equivalent installable packages and fix the functional test
13 years ago
Nils Adermann
0f6fb9b692
Separate transaction generation from solving and properly identify updates
13 years ago
Nils Adermann
f46aa495da
Turn obsolete relationships and replaced packages into conflict rules
13 years ago
Nils Adermann
ad25618bdd
Add install job and update rule conflict handling and reenable installation
13 years ago
Nils Adermann
1125de6bf2
Added disablePolicyRules to solve conflicts between remove jobs & update rules
...
This temporarily breaks installation of packages
13 years ago
Nils Adermann
01945c20f9
Simplify testSolverWithComposerRepo reusing utility methods from other tests
13 years ago
Nils Adermann
172c8b908e
Split the large solver test up into individual units testing smaller parts
13 years ago
Jordi Boggiano
b277b8e73c
Add failing test with composer repo
13 years ago
Jordi Boggiano
2d1f8fbe70
LiteralTest is incomplete
13 years ago
Nils Adermann
825deff09f
Completed analysis of unsolvable situations and main decision process
13 years ago
Nils Adermann
bc672deb32
Moving rule iteration logic to a separate RuleSet and RuleSetIterator class
13 years ago
Nils Adermann
498125adbe
Assertions are now properly decided before running the main solver.
...
Updating does not work yet. The test case works fine for installing/removing
the correct packages however. Weak (update/feature) rules are entirely ignored
so far.
Watches are on literal ids rather than literals to save on function calls
and memory usage. So a few methods for literals now have an id counter part.
This should probably be refactored to have the literal versions call the
id ones instead.
13 years ago
Jordi Boggiano
d181e32000
Fixed test expectation
13 years ago
Jordi Boggiano
00260a89ae
Make test fail
13 years ago
Jordi Boggiano
b620405ab0
Adjusted BasePackage::__toString()
13 years ago
Nils Adermann
ec94b76c7c
Tests for MultiConstraints on versions
14 years ago
Nils Adermann
d5dd86cd75
Correct version contraint matching and add tests for various cases
14 years ago
Nils Adermann
1870291949
Rename PackageTest to MemoryPackageTest
14 years ago
Jordi Boggiano
c6321e7277
Fix tests and invalid use statements
14 years ago
Jordi Boggiano
7ea2fd6c93
Fix author/copyright
14 years ago
Nils Adermann
933cc6179b
Import initial partial port of the libzypp satsolver.
14 years ago