Nils Adermann
a04f44a4f1
Merge pull request #359 from Seldaek/branch-alias
...
[WIP] Branch aliases support
13 years ago
Jordi Boggiano
0b7ee194c6
Remove persistence of alias data, make abstract branch aliasing and keep it in composer only
13 years ago
Jordi Boggiano
773338a688
Fixes for SVN support, fixes #172
13 years ago
Jordi Boggiano
1bdab5c4c8
Add markers for leftover problems
13 years ago
Jordi Boggiano
1228c04984
Add support for extra.branch-alias config to remap master on 2.1.x for example
13 years ago
Jordi Boggiano
c0b18bddb9
Bugfixes in the local git repos handling
13 years ago
digitalkaoz
6929c42848
added schema/syntax validation for composer.json
13 years ago
Per Bernhardt
9a17899608
Although the tag "tip" does not provide a valid package version (see VersionParser), the implementation of HgDriver::getSource uses tip as the prefered label for the branch that tip is currently on.
...
This is not a problem at first hand because you can install a new package correctly with "tip" as source reference.
The problem is that any new revision on that branch won't lead to a new package, because the package will always refer to the same reference "tip".
Therefore you cannot update your project to the new version with "composer update".
13 years ago
Jordi Boggiano
2aa61292ae
Merge pull request #352 from naderman/positive-branch-levels
...
Levels are always > 0, negative level was just a hack in the C implementation
13 years ago
Nils Adermann
17f0730e51
Levels are always > 0, negative level was just a hack in the C implementation
...
Fixes #243
13 years ago
Nils Adermann
73d7528f5f
Merge pull request #342 from mikey179/git-error-handling
...
Git error handling
13 years ago
Jordi Boggiano
0daa6c2dc9
Force dates to be UTC
13 years ago
Nils Adermann
85a07affd7
Merge pull request #350 from Seldaek/aliasing
...
Aliasing
13 years ago
Jordi Boggiano
956b54e516
Use policy rule instead of stacking up another repo to prioritize aliased packages
13 years ago
Jordi Boggiano
59d2b1145c
Add lock file alias support and a bunch of fixes
13 years ago
Jordi Boggiano
f9fc9695e9
Wrap the package in an aliased package instead of replacing
13 years ago
Jordi Boggiano
82054f2060
Add aliasing: `foo as bar` will require foo and automatically make it replace the bar version
13 years ago
Jordi Boggiano
5eb333680b
Rename findPackagesByName to findPackages and allow version arg
13 years ago
Jordi Boggiano
afbb9cefa4
Adjust version parser so it persists self.version references
13 years ago
Martin Hasoň
56c0e511da
Added support for change the process timeout
13 years ago
Frank Kleine
025f6066ff
fix file permissions
13 years ago
mikey179
895d901bf9
better error handling when git command runs into a failure, fixes #340
13 years ago
Jordi Boggiano
93ac0eb523
Merge pull request #336 from naderman/solver-only-error-reporting
...
Errors are now reported solely by the solver without any workarounds
13 years ago
Igor Wiedler
d9b535e230
[pear-prefix] fix installing pear packages
13 years ago
Nils Adermann
f3ff53b17c
Create problems directly, rather than generating impossible rules
13 years ago
Igor Wiedler
06f1ecf83a
[pear-prefix] add a pear-{channel}/ prefix to PearRepository packages
13 years ago
Jordi Boggiano
9ba0505751
Make sure lock file is sorted, fixes #276
13 years ago
Nils Adermann
de1765aa48
Remove workaround error detection in install command
13 years ago
Jordi Boggiano
621388e3be
Fix warning when no package to update is found
13 years ago
Jordi Boggiano
eb35244230
Fix repositories warning
13 years ago
Nils Adermann
03a9e0dfee
Merge pull request #330 from Seldaek/repositories
...
[BC Break] Refactor repositories configuration
13 years ago
Nils Adermann
39aa5c0752
Merge pull request #329 from Seldaek/new_dev
...
[BC Break] New dev handling
13 years ago
Jordi Boggiano
2976bd82b0
Simplify code
13 years ago
Jordi Boggiano
716d9dc80a
Merge pull request #331 from naderman/fix-rule-parent-path
...
Correct the parent path in the watch tree, after moving a rule out of the path
13 years ago
Nils Adermann
ff620afe05
Correct the parent path in the watch tree, after moving a rule out of the path
13 years ago
Jordi Boggiano
d0d5329f6f
Fix package repositories
13 years ago
Jordi Boggiano
44e76e06fc
Refactor repositories configuration
13 years ago
Jordi Boggiano
bb160a3162
Merge pull request #328 from naderman/update-all
...
Update all
13 years ago
Nils Adermann
509188c112
Use updateAll request method in upddate mode in install command
13 years ago
Nils Adermann
3e1749fbad
Readd update-all jobs and make them available through the request
13 years ago
Jordi Boggiano
c95b4d05fd
Fix forcing of the source-ref from lock file
13 years ago
Jordi Boggiano
4233a4823d
Skip platform repo and only force-update packages that have a new source ref
13 years ago
Jordi Boggiano
646d01658a
Rename source_ref to source-ref
13 years ago
Jordi Boggiano
c12dccd3d4
Restore quality of debug output
13 years ago
Jordi Boggiano
d7350b66d5
Ensure dev packages have a source
13 years ago
Jordi Boggiano
88b018068c
Force dev packages to update to latest ref on update
13 years ago
Jordi Boggiano
496188f714
Force installs from lock to reinstall dev packages from the exact locked reference
13 years ago
Jordi Boggiano
c1baa20fec
Lock reference of dev packages
13 years ago
Jordi Boggiano
3fe87b1e35
Force dev packages to be installed from source
13 years ago
Jordi Boggiano
f73c08043f
Refactor VcsRepo to follow new dev model
13 years ago
Jordi Boggiano
3e6176eccf
Update version parser to support any branch name
13 years ago
Jordi Boggiano
32157a3904
Fix local git repo handling in GitDriver
13 years ago
Nils Adermann
9b8e62396c
Merge pull request #324 from edorian/installNonExistingPackage
...
Create an 'impossible rule' when installing non existent packages
13 years ago
Nils Adermann
2a92b904d2
Correct placing of braces
13 years ago
Nils Adermann
1ee5d99405
When changing watched literals of a rule, update the parent's next pointer
...
The previous rule was not previously updated to point to the next rule when
removing a middle rule from the watch tree for a literal. This resulted in
jumping from one literal's watch tree to another's, which could then jump
back to the original and cause infinite loop in a case like #265 .
Fixes #265
13 years ago
Volker Dusch
e20a79ac61
Fix TODO tags to confirm with the projects standard
13 years ago
Nils Adermann
8484199677
Display undecided literals as undecided with a ?, when printing the decision map
13 years ago
Nils Adermann
0b8fb68e93
Add a debug print method for the entire watch tree to the solver
13 years ago
Jordi Boggiano
fd0bf14eb2
Support both require and requires as depends link-type arg
13 years ago
Volker Dusch
eafe13d5a5
Create an impossible rule when trying to install something that doesn't exist.
...
The rule isn't acted upon yet (hence the incomplete test) but it is there as a reminder that this case needs to be handled.
13 years ago
Jordi Boggiano
c97a33577b
Merge pull request #321 from naderman/error-reporting
...
Basic error reporting for solver problems
13 years ago
Nils Adermann
52d876e11e
Add SolverProblemsException and test basic solver failures
13 years ago
Nils Adermann
8fd4e56029
Deciding to install a package and wanting to install it, is not a conflict
13 years ago
Jordi Boggiano
f54b04aac8
Restore realpath behavior
13 years ago
Volker Dusch
3fb75faa75
Now that no more update rules are created the code that handles them can be removed too.
...
Also adapted the tests that used TYPE_UPDATE exemplarily to use TYPE_FEATURE.
13 years ago
Volker Dusch
ec61297122
Remove the allowUninstall policy option and clean up the only usage
13 years ago
Nils Adermann
cbc021c05d
featureRule no longer exists, only update rule
13 years ago
Nils Adermann
54a8dc1d9c
Merge pull request #317 from edorian/remove-allowDowngrade
...
Removed the option to disallowed downgrades
13 years ago
Volker Dusch
5fdca19880
Removed the option to disallowed downgrades and simplifed some places where it was used
13 years ago
Jordi Boggiano
e2199b2b03
Fixed automatic date parsing of versions
13 years ago
Jordi Boggiano
230e145053
Fix downloader tests on windows and mock Filesystem properly
13 years ago
Nils Adermann
e7441edcf1
Merge pull request #315 from edorian/cleanup-update-all
...
Cleanup unreachable code
13 years ago
Jordi Boggiano
a28fa790be
Fix regex
13 years ago
Volker Dusch
cc80e5a3b1
Cleanup unreachable code
13 years ago
Nils Adermann
7609f27052
Merge branch 'add-tests' of https://github.com/l3l0/composer into new-master
...
* 'add-tests' of https://github.com/l3l0/composer :
Made fixes after review.
Made changes which fied warnings and errors in tests.
Fixed tests after update and merge of changes from upstream/master
Fixed code. Changes improved code testability
Added and extended some unit tests
13 years ago
Jordi Boggiano
5e3bf86851
Remove .swp file
13 years ago
Volker Dusch
fb69ef64c5
Fix Solver function visibility to reflect what acutally should be the public interface
13 years ago
Jordi Boggiano
fa8cb14073
Simplify check
13 years ago
Jordi Boggiano
f152fe723d
Allow local file system git repos & do not restrict to valid http* urls
13 years ago
Jordi Boggiano
cac51b1baf
Merge pull request #309 from naderman/fix-assert
...
Off by one error in the solver - 1 cannot be false
13 years ago
Nils Adermann
cb7f656fa9
Off by one error in the solver - 1 cannot be false
...
Fixes #133 , #160 , #162 , #177 , #289
13 years ago
Christophe Coevoet
28d3d4b130
Added a NullIO
13 years ago
Jordi Boggiano
70bea8fe57
Fix previous commit
13 years ago
Jordi Boggiano
b2076c2462
Re-order repos so that packagist always has the lowest priority
13 years ago
Jordi Boggiano
4d7ecdcb69
Fix authentication behavior when re-entering get()
13 years ago
Jordi Boggiano
a8aef7e203
Text tweaks
13 years ago
Jordi Boggiano
35cca1ed7f
Do not reveal input length
13 years ago
Jordi Boggiano
60fddb2c09
Use parse_url instead of manual parsing
13 years ago
Jordi Boggiano
8b7a64ab28
Limit progress output, mitigates #283
13 years ago
Jordi Boggiano
844c43092f
Fix re-entrant behavior
13 years ago
Jordi Boggiano
db03b7bbbd
Fix line endings
13 years ago
Jordi Boggiano
d0f6b679bc
Merge remote-tracking branch 'francoispluchino/master'
13 years ago
Jordi Boggiano
8dcb75080e
Merge remote-tracking branch 'wookieb/installer_dry_run'
13 years ago
Jordi Boggiano
deaaf2ef37
Merge pull request #307 from hason/slashes
...
Added support for JSON_UNESCAPED_SLASHES
13 years ago
Martin Hasoň
e621495c4d
Added support for JSON_UNESCAPED_SLASHES
13 years ago
Logan Aube
ea05f678fd
Exception mentioned PEAR repository when should be VCS, was misleading
13 years ago
François Pluchino
56150fd98f
Merge remote branch 'composer/master'
13 years ago
François Pluchino
dbfbbab904
Add changes requested
13 years ago
Wookieb
2467456d3f
Fix installer that create vendor and bin directory even if --dry-run parameter provided
...
* Move directories creation from constructor to "install" and "update" method
* Tests for LibraryInstaller
13 years ago
Jordi Boggiano
26f2b9e93f
Merge pull request #303 from MattKetmo/directory_inception
...
[BUG] Fix error when moving up a directory content
13 years ago