Jordi Boggiano
88d5b74c74
Merge remote-tracking branch 'j0k3r/re-install-binaries'
8 years ago
Lucas CHERIFI
7e34d9ab97
Typo fix ;-)
8 years ago
Jordi Boggiano
72362a085a
Fix #refs handling, fixes #5291
8 years ago
Jordi Boggiano
ac75680b1e
Make sure the abandoned state is copied over even if the packages are installed already
8 years ago
Jordi Boggiano
4de17cef6b
Always resolve dev packages even when doing an update with --no-dev, fixes #5016
8 years ago
Jordi Boggiano
11daebcb3a
Merge pull request #5210 from Seldaek/fix_partial_updates_from_dirty_state
...
Fix partial updates from a dirty state and apply exactly the locked state
8 years ago
Jordi Boggiano
c7c8335b8b
Fix updating of dev refs if they are not whitelisted
8 years ago
Jordi Boggiano
de5bfcb4c5
Fix partial updates from a dirty state and apply exactly the locked state, fixes #3468
8 years ago
Jordi Boggiano
feda2a283f
Improve error reporting some more, fixes #4310
8 years ago
Jordi Boggiano
6d20146d08
Normalize URL updates to point to the correct reference and always update URLs consistently, fixes #3849 , fixes #4126
8 years ago
Jordi Boggiano
23af589076
Add test case for solver problem improvements
9 years ago
Jeremy Benoist
e9fc0e6548
Re-install binaries on update/install
...
Binaries are re-installed after an update/install (ie: removed and then installed)
9 years ago
Jordi Boggiano
55b0ed8c8b
Change installs into updates if there is no lock file, simplify some code, fixes #5034
9 years ago
Rob Bast
dfdcfab822
simplified existing test, added a new test
9 years ago
Nils Adermann
4af74b54e0
Ignore self references when anlaysing independent root requirements
...
When creating a transaction we try to identify all requirements that are
not themselves required by any other package. If a package references
itself this should not mark it as being required by another package.
9 years ago
Jordi Boggiano
7b404c4717
Add failing test for #3990
9 years ago
Rob Bast
5db0f623b0
enable test again
9 years ago
Rob Bast
baa84d9be1
adjust test and assertion to be more flexible
9 years ago
Rob Bast
baabc612f6
adjust message, skip test
...
currently we have no way to put dynamic values or wildcards in EXPECT-OUTPUT
9 years ago
Rob Bast
94daeca57b
add test and adjust rule error message
9 years ago
Rob Bast
df23153932
fix output
9 years ago
Rob Bast
be5719eb53
Merge remote-tracking branch 'upstream/master' into repro-4795
...
* upstream/master: (98 commits)
Fallback to zlib extension to unpack gzip on non Windows systems
Zip extension does not provide zlib support
Unified all Windows tests throughout the code.
Added Platform utility and unit test for it.
Remove warnings for non-writable dirs, refs #3588
[doc] add -H flag to sudo commands
use full json content to determine reference, closes #4859
typos
Make sure COMPOSER_AUTH is also loaded in Config, refs #4546
Use proper defaults for IO authentications
Add verbosity input support to IOInterface
Update SolverTest.php
Update broken-deps-do-not-replace.test
Update SolverProblemsException.php
Cleaned up check+conversion that was no longer required.
Cleaner notation for expected exceptions in fixtures.
Introduced more generic, less invasive way to test for exceptions in fixtures, more in line with how phpunit works.
Included unit test for circular root dependencies.
Expanded InstallerTest to support expecting Exceptions by supplying "EXCEPTION" as "--EXPECT--"
Clarified error message and added braces.
...
9 years ago
Jordi Boggiano
8771eca527
Merge remote-tracking branch 'curry684/issue-4767'
9 years ago
Rob Bast
0e584aa980
resolve issue
9 years ago
Jordi Boggiano
49d7d65933
Add verbosity input support to IOInterface
9 years ago
Jefferson Carpenter
087b901545
Update broken-deps-do-not-replace.test
9 years ago
Niels Keurentjes
523362c7c5
Cleaner notation for expected exceptions in fixtures.
9 years ago
Niels Keurentjes
639ee0701c
Introduced more generic, less invasive way to test for exceptions in fixtures, more in line with how phpunit works.
9 years ago
Niels Keurentjes
bd241cb896
Included unit test for circular root dependencies.
9 years ago
Rob Bast
17d6b98707
add A to root requirements
9 years ago
Rob Bast
0f09982858
add a test attempting to reproduce composer/composer#4795
9 years ago
Matthias Pigulla
3c08318ea0
Add test
9 years ago
Jordi Boggiano
e8572ca6f9
Merge pull request #3998 from SpacePossum/use_https
...
Use HTTPS where possible
9 years ago
Jordi Boggiano
0e0cb62fb8
Add test for replace
9 years ago
Possum
2e99b9fdf5
Use https where possible
9 years ago
Cees-Jan Kiewiet
c9d9b5085a
Replaced <error> with <warning> for abandoned package as it reflects the intention of this feature better
9 years ago
Nils Adermann
258fdcb44d
Merge pull request #3986 from Seldaek/partial-update-keep-lock
...
Partial updates should not corrupt the lock if the installed repo is not up to date with it
9 years ago
Jordi Boggiano
137c551247
Check if package URLs are up to date after an update op is done, fixes #3214
9 years ago
Jordi Boggiano
4507805508
Partial updates should not corrupt the lock if the installed repo is not up to date with it, fixes #3439 , closes #3553
9 years ago
Jordi Boggiano
d6620195e5
Prioritize repository over package versions in the default policy, fixes #3509
9 years ago
Jordi Boggiano
a57c51e8d7
Finalize platform override feature
...
- Added tests, docs
- Persist to lock file
- Add support in config command
- Added to json schema
9 years ago
Jordi Boggiano
5d3c7ab6b7
Rename test files and descriptions
10 years ago
Jordi Boggiano
b4698568d2
Adjust tests and fix installer code to create the pool using locked requirements and not the composer.json reqs
10 years ago
Matthias Derer
1425bb7fc3
added tests to reproduce the bug
10 years ago
Matthias Derer
c9cff6387a
removed requirements from the root package should we install from the lock file
10 years ago
Jordi Boggiano
901fd838f3
Merge pull request #3450 from nicolas-grekas/prefer-lowest-stable
...
add --prefer-lowest and --prefer-stable to update command
10 years ago
Nicolas Grekas
e821ac2772
Persist prefer-lowest in composer.lock
10 years ago
Nicolas Grekas
98b254a3ec
split update --prefer-lowest and --prefer-stable
10 years ago
Nicolas Grekas
4a0feb0189
add --prefer-lowest-stable to update command
10 years ago
Nils Adermann
540dfacfa0
Add test to verify that depency packages get deleted when no longer in lock file
10 years ago
Nils Adermann
d884b26aa3
Add test case for removing unused dependencies on whitelisted update
10 years ago
Chris Smith
2e40f5f586
Add failing test case
10 years ago
Nils Adermann
6f4be698a5
Merge pull request #3325 from rdohms/implementing-abandoned-packages
...
Abandoned Package Warnings
10 years ago
Jordi Boggiano
ec0463a400
Add tests for platform packages required by root and avoid creating rules altogether instead of disabling them, refs #3320
10 years ago
alu
b7fa302b90
add ignore-platform-package-requirements for update/install commands.
10 years ago
Rafael Dohms
346133d2a1
PR Review
...
- reverted comma removal
- made getReplacementPackage consistent
- removed abandoned flag if false
10 years ago
Rafael Dohms
f9f2bbac59
Abandoned packages support
...
Added warning to the installer process.
If any installed packages are flagged, the user will get a warning at the end
of the install/update process.
10 years ago
Jordi Boggiano
62b5062146
Improve sorting of plugin packages, fixes #3109 , refs #2972
10 years ago
David Zuelke
d47d9eb253
remember prefer-stable setting in composer.lock
10 years ago
Mátyás Somfai
2ed0bfc1ba
added tests for not updating packages referenced by specific commit hash
10 years ago
Jordi Boggiano
e23665be59
Fix replacers being picked if whatProvide was called before building the package whitelist, fixes #2991 , fixes #2962
10 years ago
Jordi Boggiano
d99212da52
Fix integration tests
11 years ago
Christian Flothmann
2241328934
fix "replace-alias.test" test
11 years ago
Christophe Coevoet
b639005f29
Added a failing test for #2626
11 years ago
Nils Adermann
ec12b8a675
Add tests for the changes in #2690
11 years ago
Nils Adermann
3148ffd355
Whitelist packages with names matching those specified before generating rules
...
Addresses #2690 doesn't do any performance optimisations yet which we
could do now
11 years ago
Phillip Look
07a7284ffc
Change dependency processing for update with whitelisted packages
...
By default dependencies of white listed packages are no longer installed automaticaly.
To Install dependencies of whitelisted packages use --with-dependencies.
- rework after review comments
- precise documentation of option
- add missing punctuation marks
11 years ago
Nils Adermann
01a08a2ff3
As preparation for composer plugins, rename custom installers to plugins
11 years ago
Jordi Boggiano
21299e0bc4
Make sure all installers are installed first unless they have requirements, refs #2107 , fixes #1147
11 years ago
Jordi Boggiano
9d948eb795
Merge branch 'disjunctive'
11 years ago
Jordi Boggiano
9d814c948e
Adjust circular dep test
11 years ago
Marco Pivetta
d7e8aa49a5
Adding failing test to show the current failure in circular deps resolution
11 years ago
Jordi Boggiano
faa419cc0e
Merge remote-tracking branch 'hason/alias'
11 years ago
Jordi Boggiano
0cccafbe81
Add disjunctive multi-constraints with |, refs #643 , fixes #1342
11 years ago
Jordi Boggiano
db4055b778
Put a higher prio on replacers of the same vendor as the required package
12 years ago
Martin Hasoň
02f92e678f
Fixed update alias packages in dry-run mode
12 years ago
Martin Hasoň
753a8345cb
Added support for the alias of an aliased package
12 years ago
Jordi Boggiano
bf307de1d6
Fix tests
12 years ago
Jordi Boggiano
ee60df708d
Handle stability changes correctly, fixes #877
...
On update, packages that are less stable than the minimum-stability allows will
now be downgraded to their correct versions, even if they were installed as
unstable already.
12 years ago
Jordi Boggiano
636aa965f7
Fix tests
12 years ago
Jordi Boggiano
ea7d79ab03
Make sure platform requirements of the root package are enforced when installing from lock, fixes #1611
12 years ago
Jordi Boggiano
4207fc3b19
Refactor require-dev handling to use one single repository and a one pass solving, fixes #719 , fixes #1185 , fixes #1330 , fixes #789 , fixes #640
12 years ago
Jordi Boggiano
c29f3c698e
Fix support of aliases combined with reference locked packages, fixes #1631
12 years ago
Jordi Boggiano
c31f4be112
Add test to verify url and and hash are updated, fixes #1460
12 years ago
Aurélien Thieriot
e264282ac7
Allowed only * wildcard
12 years ago
Aurélien Thieriot
159badb06b
Add ability to use a Regexp when updating packages
12 years ago
Jordi Boggiano
f1f1ddb66b
Fix updates when dev packages have new dependencies (no more double updates needed), fixes #1105
12 years ago
Jordi Boggiano
5b1782970f
Fix test for new lock format
12 years ago
Jordi Boggiano
a9afa8bc1f
Merge remote-tracking branch 'mheleniak/prefer_dist' and fix dists
...
Conflicts:
src/Composer/Installer.php
src/Composer/Package/Locker.php
12 years ago
Jordi Boggiano
418e876e8a
Use only the locked repository when possible for better performance
12 years ago
Jordi Boggiano
83239aa338
Update lock file to contain the complete package info, fixes #890
12 years ago
Christophe Coevoet
9e372b1d8b
Simplified the code
12 years ago
Christophe Coevoet
f181dc84e2
Added tests for the suggestions
...
The test about replaced packages is failing because of #752 .
12 years ago
Mateusz Heleniak
d0829adfee
added test case
12 years ago
Jordi Boggiano
5a247ca9a5
Fix regression in updating dev packages to latest ref, fixes #1030
12 years ago
Jordi Boggiano
c97720c607
Fix picking of new dev packages for updates to latest source ref
12 years ago
Jordi Boggiano
5818d51af0
Refactor functional tests to fit existing tests better
12 years ago
Jordi Boggiano
2d19cf2a00
Fix hijacking possibility via provide bug
12 years ago
Jordi Boggiano
37ef2037cf
Add test case to ensure replace does not allow hijacking packages
12 years ago
Jordi Boggiano
e6f7150196
Change default minimum-stability to "stable", fixes #744
12 years ago
Jordi Boggiano
2ede0a3b54
Merge remote-tracking branch 'naderman/fix-duplicate-alias'
12 years ago
Nils Adermann
297bc914fc
Merge pull request #859 from Seldaek/whitelist_fix
...
Fix update whitelist behavior, fixes #782
12 years ago
Nils Adermann
3c7fbe9264
Add a test which verifies that aliases do not get duplicated on update
12 years ago
Jordi Boggiano
5c30fcb777
Fix update whitelist behavior, fixes #782
12 years ago
Nils Adermann
0da71001e3
Add test for updating an aliased package to a non-aliased one
12 years ago
Nils Adermann
67fde90666
Correctly sort operations within transactions using DFS
...
Fixes #655
12 years ago
Jordi Boggiano
5bfbff867c
Root requires are not taken into account in locked installs, fixes #669
12 years ago
Nils Adermann
c7250917e8
Skip dependency packages required in composer.json in update whitelist
12 years ago
Nils Adermann
dfe366152c
Add an update whitelist test for a dependency specified in composer.json
12 years ago
Nils Adermann
90c515522a
Change whitelist integration test to check it doesn't update unrelated packages
12 years ago
Jordi Boggiano
734317b812
Add test and fix update whitelist feature
12 years ago
Jordi Boggiano
43150b88a2
Refactor integration tests to accept any run command
12 years ago
Nils Adermann
41215a0e47
Require first version of a root package alias, rather than alias
...
This makes sure that the alias will always be installed, even if it isn't
technically needed.
12 years ago
Jordi Boggiano
9857145830
Add failing test when aliasing a feature to an aliased version
12 years ago
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.
12 years ago
Jordi Boggiano
5e8418a4f5
Add test for aliases and overrides between repos
12 years ago
Jordi Boggiano
4505df29df
Add functional tests for the installer, fixes #580
12 years ago