1
0
Fork 0
Commit Graph

4181 Commits (244e865a359108f3126edd5e157fbc7ce07b72a9)

Author SHA1 Message Date
Jérémy JOURDIN fbadc19bf6 Add preFileDownload event on package.json fetch 2013-11-19 17:45:28 +01:00
Jordi Boggiano a1e4ca4f9b Merge remote-tracking branch 'jimmykane/master' 2013-11-19 00:05:33 +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
Jordi Boggiano 348031cc73 Merge pull request #2427 from webfactory/hg-no-working-copy
No need to create hg working copies just to parse tags/branches
2013-11-15 05:04:24 -08: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
Jordi Boggiano f94ec8dd09 Merge pull request #2421 from glensc/patch-3
drop ^A
2013-11-14 02:58:51 -08:00
Elan Ruusamäe 847b33da44 drop ^A
added probably mistakenly in e34dae4d42
2013-11-13 22:41:44 +02:00
Jordi Boggiano 8d3c2dc9fc Merge pull request #2417 from glensc/patch-2
Minor typo fix
2013-11-13 03:19:33 -08:00
Jordi Boggiano c5be60b5c8 Merge pull request #2414 from matthieuauger/fix/2359/config-option-overwrite-cli
If installer sets prefer to false, the manager should too. Fixes #2359
2013-11-13 03:15:10 -08:00
Elan Ruusamäe b92bce5569 Minor typo fix
introduced from 6ce0bf7cbf with #2314
2013-11-13 09:15:08 +02: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
Jordi Boggiano f134e09f45 Add stronger warning in docs about #<ref> hack, refs #2410 2013-11-11 14:41:21 +01:00
Jordi Boggiano 0e847a9f31 Merge pull request #2406 from websafe/patch-1
Composer supports four types.
2013-11-11 05:33:06 -08:00
Jordi Boggiano 034ac85465 Merge pull request #2405 from discordier/fix-upgrade-cache
Fix cache directory upgrading - do not try to (re)move the active cache dir.
2013-11-11 04:07:33 -08:00
Thomas Szteliga 36712386f9 Composer supports four types. 2013-11-08 08:17: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
Jordi Boggiano 65d516e427 Merge pull request #2401 from cs278/fix-url-sanitisation
Fix URL sanitisation regexp being too greedy
2013-11-06 14:12:45 -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
Jordi Boggiano d1c166eb26 Merge pull request #2399 from wouter90/subversion
Fix authentication issue with subversion 1.8
2013-11-05 10:18:34 -08:00
Wouter Wolters 97d52968ab Fix authentication issue with subversion 1.8 2013-11-05 18:57:29 +01:00
Jordi Boggiano e243b4edd1 Merge pull request #2397 from smaftoul/patch-1
Retry on some 5xx errors
2013-11-04 06:27:14 -08: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
Jordi Boggiano d11bb86778 Merge pull request #2387 from dyferencjal/inconsistent-io-interface
changes size of the line default value
2013-10-31 03:50:04 -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
Jordi Boggiano c849f7d05d Merge pull request #2376 from epeay/patch-1
Update 05-repositories.md
2013-10-29 02:32:58 -07:00
Elliott Peay c14e277476 Update 05-repositories.md
Typo, which is best addressed as a small rewrite.
2013-10-28 17:28:26 -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
Jordi Boggiano a2a70380c1 Merge pull request #2351 from Leftbrained/feature/remove-slashes-from-package-archive-filename
Remove slashes from package archive filename
2013-10-21 02:51:22 -07:00
Jordi Boggiano 86831502c0 Merge pull request #2350 from metric152/master
Update 00-intro.md
2013-10-21 02:39:00 -07:00
ernest leitch ebece5a3b9 Update 00-intro.md
Updated spelling
2013-10-20 10:14:41 -07:00
Chris Testroet 2a8eb9df34 Remove slashes from package archive filename 2013-10-19 22:00:40 -07:00