1
0
Fork 0
Commit Graph

2606 Commits (fc3fbdeab3355c2c9d03e496c41b1a3bb9565a49)

Author SHA1 Message Date
Jordi Boggiano fc3fbdeab3 Rename a few things 2013-11-20 15:17:10 +01:00
Jordi Boggiano e2f7e4871f Merge remote-tracking branch 'AlexeyKupershtokh/cache-version-constraint' 2013-11-20 14:01:01 +01:00
Alexey Kupershtokh 0e2959cc32 Cache in VersionConstraint 2013-11-20 10:14:44 +07:00
Bilal Amarni 61cc291c8a [CreateProject] allowed pretty version constraint 2013-11-20 00:47:02 +01:00
Dimitrios Kanellopoulos 81820beefc Cache path never ends with '/' 2013-11-16 19:34:06 +01:00
Dimitrios Kanellopoulos 95a9ac880b Check if current dir is writable and if not try the cache dir from settings 2013-11-16 18:59:13 +01:00
Dimitrios Kanellopoulos 9477e015bd Use cache directory when downloading composer.phar
Since there is a cache dir there is no need to populate the project
directory with temp files. Plus the permissions on the project dir
might not allow that.
2013-11-16 14:13:33 +01:00
Matthias Pigulla f626f55f41 No need to create hg working copies just to parse tags/branches 2013-11-15 13:05:04 +01:00
Jordi Boggiano dff5e3c542 Fail hard if anything attempts to wipe the entire filesystem/partition, fixes #2409 2013-11-14 21:22:14 +01:00
Matthieu Auger fcba5257d9 If installer sets prefer option to false, the manager should too. Fixes #2359 2013-11-11 17:43:11 +01:00
Christian Schiffler fc4cc79a52 Fix cache directory upgrading - do not try to remove the destination directory. 2013-11-07 23:33:38 +01:00
Jordi Boggiano a045ab3459 Merge pull request #2402 from cs278/perforce-driver-fixes
Perforce driver fixes
2013-11-06 14:13:14 -08:00
Chris Smith c0316aa957 Capture output, stopping errors showing up if p4 is not available 2013-11-06 21:37:38 +00:00
Chris Smith a892e6a3bd Pass IO instance to ProcessExecutor for logging 2013-11-06 21:37:20 +00:00
Chris Smith d348dd44cd Fix URL sanitisation regexp being too greedy 2013-11-06 21:31:26 +00:00
Wouter Wolters 97d52968ab Fix authentication issue with subversion 1.8 2013-11-05 18:57:29 +01:00
smaftoul 0959d8f134 Retry on some 5xx errors
`composer install` gives me some intermittent 502 errors on github. Composer already does some retries. I think, on 502, 503 and 504, we should retry.
2013-11-04 15:21:09 +01:00
Jordi Boggiano 8398c9f2ab Fix target-dir update checks, fixes #2395 2013-11-04 13:36:30 +01:00
Jordi Boggiano d3ff302194 Merge pull request #2375 from gena01/github-ee
Fixing #728 Adding basic support for Github Enterprise
2013-10-31 15:19:08 -07:00
Jordi Boggiano 0a3df27403 Remove dead code, fixes #2363 2013-10-31 22:29:09 +01:00
Jordi Boggiano af91b19f5e Merge pull request #2386 from cebe/allow-file-url
added support for file:// url to repository
2013-10-31 13:22:13 -07:00
Paweł Małolepszy 30502f1cb4 changes size of the line default value 2013-10-30 22:03:14 +01:00
Carsten Brandt f538acc4b0 added support for file:// url to repository
file:// is valid url even if it does not define a host.

allows to define a repo like this (local directory generated with
composer/satis):

```json
{
	"repositories": [ { "type": "composer", "url": "file:///home/cebe/dev/jescali/xeno-core/core/repo" } ],
	"require": {
        ...
	}
}
```
2013-10-30 17:46:35 +01:00
Gennady Feldman e5045ce215 Per request from Jordi Boggiano (Seldaek) making Config 2nd parameter in supports() 2013-10-29 11:07:52 -04:00
Gennady Feldman 93ebfd54b1 Adding Config as parameter to the Driver::supports(), updating all drivers, user and tests. 2013-10-28 15:57:02 -04:00
Gennady Feldman d8dbcab710 Refactoring my code to use a protected function to generate API Url. 2013-10-28 15:38:28 -04:00
Gennady Feldman 6419266ea3 Validate the originUrl against the list of 'github-domains' from the config. 2013-10-28 15:32:51 -04:00
Gennady Feldman a4d7fc138a Fixing broken unit test. 2013-10-28 13:08:18 -04:00
Gennady Feldman e78499d28d First working version of GitHub Enterprise API. 2013-10-28 12:40:51 -04:00
Gennady Feldman f8376a5b34 Updating ConfigCommand so that we can set github-domains from the command line. 2013-10-28 12:40:45 -04:00
Jordi Boggiano 7148b22414 Add github-domains config value for GitHub Enterprise setups, fixes #728
Signed-off-by: Gennady Feldman <gena01@gmail.com>
2013-10-28 12:40:20 -04:00
Jordi Boggiano 50fbfe4d63 Filesystem/autoload fixes for windows, refs #2304, #2342, #2365 2013-10-28 11:01:17 +01:00
Chris Testroet 2a8eb9df34 Remove slashes from package archive filename 2013-10-19 22:00:40 -07:00
Jordi Boggiano e2671b6510 Add test and fix patch for #2304, refs #2341 2013-10-19 13:38:30 +02:00
Jordi Boggiano 17886c3b2e Merge remote-tracking branch 'hason/windows' 2013-10-19 13:11:51 +02:00
Sebastian Schawohl 4198688f54 Change date format when getting log from mercurial
Use rfc3339date format instead of rfc822date to avoid exceptions from
DateTime constructor because of localized dates.

fix #2346
2013-10-18 16:41:54 +02:00
Jordi Boggiano efb41d467e Skip redirect to URL lines in svn output, fixes #2338 2013-10-18 11:45:05 +02:00
Jordi Boggiano 08243ce2e3 Fix handling of urlencoded user and password in proxy urls, fixes #2339 2013-10-18 11:35:57 +02:00
mwhittom 0c5f4d9860 Update to fix issue with multiple perforce repositories 2013-10-17 13:39:32 -05:00
Martin Hasoň 9df65ee4c8 Fixed filesystem issue on windows 2013-10-17 11:10:16 +02:00
Jordi Boggiano 7cfeccb101 Merge pull request #2327 from pl-github/with-dependencies
Change dependency processing for update with whitelisted packages
2013-10-16 09:15:46 -07:00
Jordi Boggiano 7f03fad391 Revert "Code cleanup, refs #2316"
This reverts commit 6e3cfb5fea.
2013-10-16 18:07:09 +02:00
Jordi Boggiano 6e3cfb5fea Code cleanup, refs #2316 2013-10-16 15:55:53 +02:00
Jordi Boggiano 7c83e6a04a Merge remote-tracking branch 'GromNaN/git-cache' 2013-10-16 15:16:48 +02:00
Jordi Boggiano 7682bc0d60 Merge remote-tracking branch 'Devolicious/feature/no-prepend' 2013-10-16 12:15:36 +02:00
Jordi Boggiano f8be812a49 Merge remote-tracking branch 'origin/master' 2013-10-16 10:57:18 +02:00
Jordi Boggiano ce8b475f4c Minor tweaks to perforce support, refs #2329 2013-10-16 10:53:57 +02:00
Fabian Grutschus a6823d2f9b non-deep check returns allways false 2013-10-16 10:07:10 +02:00
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
2013-10-16 09:37:14 +02:00
Nils Adermann 4f51db72f8 hhvm version constant still called HPHP on older versions so use it for bc 2013-10-14 15:57:19 -07:00