1
0
Fork 0
Commit Graph

2620 Commits (cbd91b59527b3262e7d9528b23b0053f8dd99405)

Author SHA1 Message Date
jsor 9af21fd461 Install recommended deps by default and introduce flags for including/excluding required/recommended/suggested deps 2011-11-25 16:44:50 +01:00
Jordi Boggiano 20c3685b35 Relax composer requirements 2011-11-25 14:18:20 +01:00
Jordi Boggiano ca112db268 Relax composer requirements 2011-11-25 14:15:06 +01:00
Jordi Boggiano eef37c450f Fix error detection to support replaces and provides 2011-11-24 09:57:08 +01:00
Nils Adermann bd1c18d934 Merge pull request #131 from Seldaek/versions
Versions
2011-11-23 08:02:42 -08:00
Jordi Boggiano e340022cce Allow the use of self.version in package links 2011-11-23 16:47:23 +01:00
Jordi Boggiano 22858e81ef Fix .* version constraints parsing to include nonstable versions 2011-11-23 16:41:27 +01:00
Jordi Boggiano 0d304550b5 Clarify error message when packages are not found, fixes #128 2011-11-22 11:09:59 +01:00
Nils Adermann 8d4ccd4af6 Merge pull request #126 from Seldaek/fix_update
Fix update
2011-11-21 09:29:09 -08:00
Jordi Boggiano 14e9d4d84b Fix test 2011-11-21 18:19:32 +01:00
Jordi Boggiano 68512714f4 Fix update command by using remove+install (and for now ignoring uninstalls of non-existing packages) 2011-11-21 18:18:06 +01:00
Nils Adermann bf7ad0ac9f Merge pull request #123 from Seldaek/dryrun
Add --dry-run option and list all operations on --verbose
2011-11-21 09:05:39 -08:00
Jordi Boggiano f2662b193d Add --dry-run option and list all operations on --verbose 2011-11-21 17:56:21 +01:00
Jordi Boggiano d020f2701d Merge pull request #118 from naderman/priority-replace-any-version
Replaced packages have higher priority even if wrong version is replaced
2011-11-21 08:30:40 -08:00
Jordi Boggiano 3544b415a3 Merge pull request #122 from naderman/add-rule-peformance
addRule peformance improvement
2011-11-21 08:06:41 -08:00
Nils Adermann 5d5d6462e3 Correctly declare all literal properties 2011-11-21 16:14:16 +01:00
Nils Adermann 40b33914b3 Compute rule hashes for faster duplicate detection 2011-11-21 16:04:33 +01:00
Nils Adermann 69f55d37bb Generate literal ids only once and use in equals()
Significant speedup because equals and getId() are called so frequently.
2011-11-21 16:04:26 +01:00
Nils Adermann bca746c947 Don't consider a revert to level 1 (base level) in sat solver a failure 2011-11-21 15:02:42 +01:00
Nils Adermann b717ad8851 Display rules in more readable format 2011-11-21 15:01:10 +01:00
Jordi Boggiano cb44ba8325 Fix autoload handling of main project 2011-11-21 11:33:30 +01:00
Jordi Boggiano f5b7e968b2 Minor adjustments to merged PR 2011-11-20 22:03:11 +01:00
Jordi Boggiano 5b87a02767 Merge remote-tracking branch 'prodigitalson/master' 2011-11-20 21:43:31 +01:00
Jordi Boggiano 8a127ed131 Fix URL handling for PEAR repositories 2011-11-20 21:33:54 +01:00
Jordi Boggiano 4fdc602037 Make VcsRepository drivers configurable 2011-11-20 21:23:50 +01:00
Jordi Boggiano deb6ecd49b Fix tests 2011-11-20 21:20:03 +01:00
Jordi Boggiano 63d52b3e1b Minor fixes to allow branch -dev versions 2011-11-20 21:13:17 +01:00
Jordi Boggiano de111b73dd Add homepage to MemoryPackage 2011-11-20 19:35:43 +01:00
Jordi Boggiano aab9116f67 Add description to MemoryPackage 2011-11-20 19:30:35 +01:00
Jordi Boggiano 52a9014f1a Add prettyConstraint on Links 2011-11-20 18:56:00 +01:00
Jordi Boggiano a54ec23e38 Fix typo 2011-11-20 16:56:24 +01:00
Jordi Boggiano a13c35537c Add parsing of keywords/authors/release date to the ArrayLoader 2011-11-20 16:51:04 +01:00
Nils Adermann 1456a157ea Merge pull request #120 from Seldaek/pretty
Use pretty name/version in lock file and debug:packages, fixes #98
2011-11-20 07:24:51 -08:00
Jordi Boggiano 17e9694317 Update composer.json schema 2011-11-20 16:23:22 +01:00
Jordi Boggiano b125926ad3 Fix tests 2011-11-20 15:46:15 +01:00
Jordi Boggiano 3b8ee5dd54 Use pretty name/version in lock file and debug:packages, fixes #98 2011-11-20 15:42:32 +01:00
Nils Adermann 8df2436be8 Merge pull request #119 from Seldaek/package
Add prettyVersion to packages, fixes #76
2011-11-20 06:09:10 -08:00
Jordi Boggiano 8e6f8ae57e Add prettyVersion to packages, fixes #76 2011-11-20 15:06:12 +01:00
Nils Adermann 46e1001b4b Replaced packages have higher priority, even if wrong version is replaced 2011-11-19 15:00:56 +01:00
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.
2011-11-19 00:27:35 +01:00
Ant Cunningham e0400773f7 Adding support for configurable vendor path in composer.json. 2011-11-18 13:31:50 -05:00
Jordi Boggiano 2e211c4649 Merge pull request #116 from wwwdata/svn
Added an SvnDownloader
2011-11-17 11:09:31 -08:00
Ben Bieker 0e6f3834ec Added an SvnDownloader
The Svn Downloader can be used like the already implemented
GitDownloader, for example

{
    "name": "my-project",
    "version": "1.0.0",
    "repositories": {
        "MyRepo": {
            "package": {
                "name": "mypackage",
                "version": "2.0",
                "source": {
                    "url": "https://repo.com/svnrepo",
                    "type": "svn",
                    "reference": "tags/v2.0"
                }
            }
        }
    },
    "require": {
        "mypackage": "2.0"
    }
}
2011-11-17 16:56:01 +01:00
Jordi Boggiano 1d5a03eedc Add travis icon to the readme 2011-11-16 13:54:17 +01:00
Jordi Boggiano 761ad6d171 Only allow self-updates when called from within a phar 2011-11-16 13:50:32 +01:00
Jordi Boggiano 5e311303e2 Merge pull request #111 from jmikola/patch-1
Fix reference to invalid branch name variable
2011-11-16 00:26:22 -08:00
Jeremy Mikola be6b748426 Fix reference to invalid branch name variable 2011-11-16 01:03:01 -05:00
Jordi Boggiano f3f94094f3 Clean up travis config 2011-11-15 15:50:20 +01:00
Jordi Boggiano e6710e311c Merge remote-tracking branch 'webfactory/mercurial-support' 2011-11-15 15:12:15 +01:00
Jordi Boggiano 8a2afee55f Rethrow on unexpected failures 2011-11-15 14:59:49 +01:00