961 Commits (13a2bc6ff0884c8acc7a33e7346dbe773e26d31d)

Author SHA1 Message Date
Jordi Boggiano f8a09eaa3f Make classmaps relative instead of absolute for file portability 12 years ago
Jordi Boggiano 27eb249aab Merge remote-tracking branch 'beberlei/ClassMaps' 12 years ago
Jordi Boggiano 5f2e42ec46 CS fixes, made EventDispatcher optional in factory method 12 years ago
Jordi Boggiano 2b2f7e1748 Merge remote-tracking branch 'simensen/Install' 12 years ago
Jordi Boggiano 89f69256f8 Merge remote-tracking branch 'kostiklv/console-overwrite-fix' 12 years ago
Jordi Boggiano 4f61ec6600 Merge remote-tracking branch 'digitalkaoz/issue_366' 12 years ago
Jordi Boggiano 950003bfc3 Reflow the VcsRepo and prevent exception leakage from breaking the parsing 12 years ago
Jordi Boggiano a4f9e03d35 Add workaround for PHP bug #61336 12 years ago
digitalkaoz 38f866f1dd fixes #373 aswell 12 years ago
digitalkaoz 202ca60559 modified search listing (grouping packages) 12 years ago
Jordi Boggiano 1d544630b6 Allow requesting a particular vcs driver to bypass github/bitbucket ones 12 years ago
till 8d80969f26 trim input 12 years ago
till 4c2da57140 make static 12 years ago
till c78d9ffece more inline documentation 12 years ago
till 4da56ea617 explain non-interactive 12 years ago
till f8d8ccfedc * in interactive mode: display error message to the user when authorization fails 12 years ago
till a3363a8560 * SvnDriver::$useCache: false by default
* setting is adjust in 'interactive' mode when auth fails
12 years ago
till 061d91b4a8 whitespace 12 years ago
till 1f03d37a89 * only 'ask' the user if the session is interactive 12 years ago
till a8287118ed * work on no-auth-cache 'creation' 12 years ago
Jordi Boggiano 6c9f1f6f5b Merge pull request #416 from DonMartio/master
Missing slash permits version evaluation.
12 years ago
DonMartio b74773053b Missing slash prevents version evaluation. 12 years ago
Jordi Boggiano a208d6cf43 Merge pull request #415 from hason/json
Removed definition of global constants reserved for PHP >=5.4 and fixed ...
12 years ago
Martin Hasoň 947d429c61 Removed definition of global constants reserved for PHP >=5.4 and fixed tests 12 years ago
Martin Hasoň 98d7e31c74 Sort versions before print 12 years ago
Jordi Boggiano 3e22084ea4 Overhaul VcsDrivers, introduce TransportException for remote filesystem errors 12 years ago
Beau Simensen b1c93d1f0a Fixed unused `use` per @stof and horrible bug that made this class no longer work. 12 years ago
Beau Simensen 3352066ece Use Installer for Create Project Command. 12 years ago
Beau Simensen 8a7d31706d Renamed Composer\Install to Composer\Installer 12 years ago
Beau Simensen b4dd86c247 Remove $repoManager local variable. 12 years ago
Beau Simensen 9404d8d593 Constructor, factory 12 years ago
Beau Simensen d1dea702c9 Moving install related code to Composer\Install 12 years ago
Jordi Boggiano ea593fdb10 Allow autodetection of the version 12 years ago
Jordi Boggiano 347f8feeec Update docs 12 years ago
till 978d4c145d * more output 12 years ago
till 59c1a7ff15 * when an auth failure is detected and 'auth' is not present, we ask for credentials
* ... and repeat
12 years ago
till 44470da804 * do svnCommand() in execute() to be able to restart the dance in case it failed 12 years ago
till a3e0a0805c * always run non-interactive 12 years ago
till 907db48bb5 * wrap execution of commands into local method 12 years ago
Jordi Boggiano cb57c7bf42 Merge branch 'InstallAppCommand' of https://github.com/beberlei/composer 12 years ago
till 99eb18d0ff * rename var from $composer to $output (for consistency) 12 years ago
till 3f665e8bbb * method to gather if this session is 'interactive' or 'non interactive' 12 years ago
till d1482bfa3c * refactor svn command 'creation' into a single method: getSvnCommand() 12 years ago
till 6417a86651 * fix docblocks 12 years ago
Jordi Boggiano ae6de4be60 Merge pull request #377 from till/svn-auth
Svn auth
12 years ago
Jordi Boggiano f546025bae Move some code around 13 years ago
Jordi Boggiano 7ceca9b789 Suppress relaxed schema and build it on the fly in php, refs #151 13 years ago
Jordi Boggiano 8d087f2b2b Fixes to Filesystem class, avoid removing non-existing dirs and clear stat cache for safety 13 years ago
Jordi Boggiano ada9c20db1 Update Git/Hg downloaders tests, making sure they never use a live filesystem instance 13 years ago
Jordi Boggiano 91411a3dd4 Merge pull request #400 from kostiklv/descriptive-exception
More descriptive exceptions wording
13 years ago
Konstantin Tjuterev 49491a9140 Added path to exceptions thrown in enforceCleanDirectory for Hg & Svn also; Imporved exception when git log cannot be run by Compiler 13 years ago
Jordi Boggiano 0f968ab3e2 Auto-switch protocols for git clones from github, refs #353 13 years ago
Konstantin Tjuterev 0b7896cdad Simplified & fixed ConsoleIO->overwrite, corrected output when downloading with progress 13 years ago
Konstantin Tjuterev e072607e90 More descriptive exceptions wording 13 years ago
Ken Marfilla 3e6c8caae7 rm vcs repo target dir before install 13 years ago
Martin Hasoň 9021c86237 Added packagist repository as the last repository with the lowest priority 13 years ago
Martin Hasoň 2b08df5192 Changed repository priority in the pool 13 years ago
Jordi Boggiano 5b42f99441 fix LICENSE hack in compile script 13 years ago
Jordi Boggiano 5c320238ae Update compiler, fixes #386 13 years ago
Jordi Boggiano 82dd1c1f7f Add relaxed schema for application packages that do not need to be distributed 13 years ago
Jordi Boggiano bd54e43d37 Rework JsonFile API slightly, avoid tokenizing in php if the syntax is valid 13 years ago
Jordi Boggiano 07a82c9223 Merge remote-tracking branch 'digitalkaoz/json_schema_validator' 13 years ago
Jordi Boggiano 774e9d0da6 Remove dependency on filter_var 13 years ago
Benjamin Eberlei 671cd5ee08 Add tests for ClassMapGenerator 13 years ago
Jordi Boggiano 9bcea6f485 Merge remote-tracking branch 'hason/filedownloader' 13 years ago
Benjamin Eberlei 1af3604303 Add support for class-map generation. 13 years ago
Martin Hasoň 303dae7968 Fixed typos and bugs in the RemoteFilesystem class 13 years ago
till adfac9e34b escape arguments 13 years ago
till 9ecbc5176e remove isset() 13 years ago
Beau Simensen bc4e06424e Use tag as package version if built off of a tag 13 years ago
Nils Adermann 6de46a16e6 Merge pull request #381 from hason/version
Added isDev method to the VersionParser class
13 years ago
Nils Adermann c70fcb3f9c Merge pull request #376 from davedevelopment/show-failed-git-command-output
Add stderr to exceptions for GitDownloader
13 years ago
Andrew Cobby 2451336284 Fixed syntax error in example code in header comment 13 years ago
Martin Hasoň 736ea800e3 Added isDev method to the VersionParser class 13 years ago
till 0ecb710282 * add my credentials into every svn command 13 years ago
till b30f8078e4 * avoid notice 13 years ago
till 4db4d6720b correct my typo 13 years ago
till ba8ccb1955 trailing space 13 years ago
till 275d1c9969 * added a method to return the credential string for the svn command 13 years ago
till e18a4f7d31 detect if credentials are in the url 13 years ago
Jordi Boggiano 30f612f672 Fix undef variable in search, fixes #374 13 years ago
Jordi Boggiano 5d414436ba Avoid phpunit process-isolation errors with the autoload closure 13 years ago
Dave Marshall cb3548c64c Reset the errorOutput before attempting to run command 13 years ago
Dave Marshall c2421db7d9 Add stderr to exceptions for GitDownloader 13 years ago
Martin Hasoň f026e2a0eb Added tests for FileDownloader and ArchiveDownloader 13 years ago
Martin Hasoň 1f43f915da Removed copy/paste code 13 years ago
Martin Hasoň f1618df349 Added downloader for simple files and refactor FileDownloader into ArchiveDownloader 13 years ago
Benjamin Eberlei 36ccd38aa7 Directly install dependencies 13 years ago
Benjamin Eberlei 24de082fd5 Refactored 13 years ago
Benjamin Eberlei db64917a83 Renamed install-project to create-project to differentiate from just "install". 13 years ago
Benjamin Eberlei 23719b3b1d Rename packagist url to repository url 13 years ago
Benjamin Eberlei f60fe5622a Add missing use stmt. 13 years ago
Benjamin Eberlei 1c67633c70 Refactored downloader code and made packagist configuration flexible and validated. 13 years ago
Benjamin Eberlei bbf745f3e6 Add command to install a package as a new project into a non-existant directory. This fetches the given package from packagist or a different packagist-source and installs it into a given path. 13 years ago
Jordi Boggiano 0e6cf61b67 Avoid showing duplicates versions 13 years ago
Jordi Boggiano f999285926 Avoid duplicating self.version requirements 13 years ago
Jordi Boggiano 8ba76fe6d2 Boost default timeout to 5min 13 years ago
Jordi Boggiano e26f7f5ec4 Fix syntax error 13 years ago
Martin Hasoň 9b03b7e915 Added config directive 'process-timeout' 13 years ago
Jordi Boggiano 35aa82ada8 Prevent multiple replaces of a same package to be skipped when the first fails to match 13 years ago
Jordi Boggiano c425b8b6cb Prevent a package from having duplicate names 13 years ago
Jordi Boggiano d03fb4804c Fix local repo detection 13 years ago
Jordi Boggiano ca8845f44f Fix toString of aliases 13 years ago
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
Martin Hasoň 528a058e40 Added installer for metapackages 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