1
0
Fork 0
Commit Graph

2507 Commits (27352776eb09ba0fc57aace64949054de144dccb)

Author SHA1 Message Date
Jordi Boggiano 0a549efd0e Allow interactive resets or stash/apply cycles when updating dirty packages instead of failing hard 2012-10-07 15:19:55 +02:00
Beau Simensen 96a76eeffc Semantic Version Parsing: ~version
Implemented `~` according to #643 and used the following versions
as a test case as defined by @Seldaek:

 * "~1.2.3.4" = ">=1.2.3.4 <1.2.4.0-dev"
 * "~1.2.3" = ">=1.2.3 <1.3.0-dev"
 * "~1.2" = ">=1.2.0 <2.0.0-dev"
 * "~1" = ">=1.0.0 <2.0.0-dev"

Refs #643
2012-10-06 07:49:11 -07:00
Jordi Boggiano 62bb5b339b Allow parsing of stability modifiers combined with multi-constraints 2012-10-05 19:05:39 +02:00
Jordi Boggiano b3077bc4bc Merge pull request #1177 from sandermarechal/stream-context
Allow setting stream context options
2012-10-04 09:18:08 -07:00
Jordi Boggiano 3257cade09 Merge pull request #1181 from igorw/patch-1
Minor docs nitpick
2012-10-04 08:21:56 -07:00
Igor Wiedler 1939407c77 Minor docs nitpick 2012-10-04 18:05:27 +03:00
Sander Marechal 3e63ebf7fe Add stream context options documetation 2012-10-03 20:32:00 +02:00
Sander Marechal 0d9e08f9af Use array_replace_recursive() instead of array_merge_recursive() 2012-10-03 18:54:27 +02:00
Sander Marechal 11b5b5944d Improved argument order 2012-10-03 18:51:42 +02:00
Joshua Estes 74c344ffe4 bug fix 2012-10-03 08:41:07 -05:00
Joshua Estes 41bc8fd1b6 updated the help for the command 2012-10-03 08:38:29 -05:00
Joshua Estes ebc67f3191 added the ablity to allow users the option of telling where the file they want to edit/update is 2012-10-03 08:23:56 -05:00
Joshua Estes 2e34ada3f0 updated some of the core functionality, only supports process timeout and repositories 2012-10-03 08:12:39 -05:00
Joshua Estes cec8debcdc added a validate schema function to make sure the user does not enter vomit into the config files 2012-10-03 08:12:04 -05:00
Joshua Estes 7b00dfab4c updated value argument to be array 2012-10-03 08:11:18 -05:00
Sander Marechal 748c4764ba Unittest for stream options 2012-10-03 15:09:47 +02:00
Sander Marechal 6cf860669f Add repository stream context options
Add support for passing stream context options to the
StreamContextFactory. This allows support for SSH keyfiles, SSL
certificates and much more. Example:

{
    "repositories": [
        {
            "type": "composer",
            "url": "ssh2.sftp://host:22/path/to/packages.json",
            "options": {
                "ssh2": {
                    "username": "composer",
                    "pubkey_file": "/path/to/composer.key.pub",
                    "privkey_file": "/path/to/composer.key"
                }
            }
        }
    ]
}
2012-10-03 14:49:41 +02:00
Jordi Boggiano cb2a0f46a1 Merge remote-tracking branch 'cs278/issue/879-dev-autoload-definitions'
Conflicts:
	src/Composer/Installer.php
2012-10-03 11:50:06 +02:00
Jordi Boggiano e188f69a0f Merge remote-tracking branch 'origin/master' 2012-10-03 11:18:44 +02:00
Jordi Boggiano 4998bab944 Show warning if the svn binary is missing 2012-10-03 11:14:37 +02:00
Sander Marechal 4799053ca9 Allow dot in URL scheme
This makes it possible to support SSH2 urls, like ssh2.scp://
See: http://www.php.net/manual/en/wrappers.ssh2.php
2012-10-03 10:50:02 +02:00
Jordi Boggiano c7a13893c7 Merge remote-tracking branch 'mheleniak/rename_reliability' 2012-10-03 10:05:55 +02:00
Joshua Estes 3c5500aa95 updated a few things, works a little nicer, but still not yet to the point where it should be 2012-10-02 13:33:08 -05:00
Joshua Estes 6386921f99 deleted the repository, added a config command that current will just list the config for either file and open vim to edit the file 2012-10-02 10:42:48 -05:00
Jordi Boggiano a5eaba805c Merge pull request #1174 from szeber/master
Mercurial bookmarks support
2012-10-02 06:06:24 -07:00
Jordi Boggiano 03cce01030 Merge pull request #1173 from arnaud-lb/require-prefer-dist
added --prefer-dist option to require command
2012-10-02 06:03:31 -07:00
Arnaud Le Blanc 0119e80c18 added --prefer-dist option to require command 2012-10-02 13:42:07 +02:00
Zsolt Szeberenyi 5201564c0f Added support for hg bookmarks 2012-10-02 13:41:03 +02:00
Jordi Boggiano b474a9fa86 Merge remote-tracking branch 'schmittjoh/reusableValidator' 2012-10-02 10:45:13 +02:00
Joshua Estes 457d0aac94 cleaned up and added more comments 2012-10-01 15:27:30 -05:00
Johannes M. Schmitt 0ddafdbd7e fixed return 2012-10-01 21:50:35 +02:00
Johannes M. Schmitt 7ff550e4a6 fixed some bugs in the validator 2012-10-01 21:47:17 +02:00
Johannes M. Schmitt 4e769e1100 moved some code to a dedicated class 2012-10-01 19:53:30 +02:00
Joshua Estes 7be31e12ec add a repository in either the global config or the local composer.json file 2012-10-01 11:07:53 -05:00
Joshua Estes e416d451c1 blah, don't need that 2012-10-01 11:06:50 -05:00
Joshua Estes ec71674826 added empty configuration command and updated the application class to pull it in for display 2012-10-01 09:19:20 -05:00
Jordi Boggiano aedeb0f4e9 Merge pull request #1166 from stloyd/patch-1
Add missing `use` in HgDriver
2012-10-01 06:03:00 -07:00
Joseph Bielawski 4772db1460 Add missing `use` in HgDriver
Closes #1165
2012-10-01 14:59:02 +03:00
Mateusz Heleniak 91fc635ca5 better rename reliability on Windows - a workaround for random "Access denied" errors 2012-09-29 10:54:56 +02:00
Jordi Boggiano ce31449b2d Fix calls to non existing method, fixes #1154 2012-09-29 03:26:08 +02:00
Jordi Boggiano ba2d7081bc Merge remote-tracking branch 'origin/master' 2012-09-27 23:21:40 +02:00
Jordi Boggiano 027037bb9f Fix dist urls for lock files and hardcoded references 2012-09-27 20:23:51 +02:00
Jordi Boggiano 8a35353e8d Allow dist installs for dev packages that do not have a source setup 2012-09-27 19:00:06 +02:00
Jordi Boggiano 5b1782970f Fix test for new lock format 2012-09-27 18:44:53 +02:00
Jordi Boggiano beb8e0ab97 Update dist reference as well as source ref 2012-09-27 18:40:58 +02:00
Jordi Boggiano a9afa8bc1f Merge remote-tracking branch 'mheleniak/prefer_dist' and fix dists
Conflicts:
	src/Composer/Installer.php
	src/Composer/Package/Locker.php
2012-09-27 18:36:55 +02:00
Jordi Boggiano 2854df2698 Merge pull request #1131 from cs278/fix-loader-timezone-issue
Fix unintentional manipulation of release dates
2012-09-25 17:12:20 -07:00
Chris Smith 3281a0b5df Use the locked package for the update operation 2012-09-21 00:52:19 +01:00
Chris Smith 8961c687ee Fix unintentional manipulation of release dates 2012-09-21 00:33:27 +01:00
Jordi Boggiano 6bd7ca0230 Fix typos and simplify code 2012-09-20 11:03:58 +02:00