Jordi Boggiano
c479a26d71
Add workaround for msysgit failing to handle symlinks on windows, fixes #1048 , fixes #1418
11 years ago
Jordi Boggiano
4cac2caf70
Make sure cd call allows switching drives on windows, fixes #1971
11 years ago
Jordi Boggiano
8b8dc1fd70
Remove all possible cd calls, refs #1971
11 years ago
Jordi Boggiano
3fd883a489
Set cwd instead of using cd in GitDownloader, refs #1832
11 years ago
Filippo Tessarotto
470adc47df
Switched rand() to mt_rand()
12 years ago
Jordi Boggiano
224934831d
Change all github archive URLs to API URLs and handle fallback for those to nodeload
12 years ago
Jordi Boggiano
b641f9ea68
Fix tests
12 years ago
Jordi Boggiano
5a9d986e67
Implement cache GC and fix keys
12 years ago
Jordi Boggiano
1682532b80
Update code to use new github archive URLs
12 years ago
Jordi Boggiano
0878c6deab
Fix nodeload fallback URLs
12 years ago
Jordi Boggiano
39e69a3b12
Refactor OAuth acquisition code to generalize it
12 years ago
Jordi Boggiano
ed9fcc5074
Fix tests
12 years ago
Jordi Boggiano
f752b29fc6
Always make sure we are on the right branch
12 years ago
Jordi Boggiano
3068f29b4f
Checkout branch by name when the current reference matches the branch tip, fixes #1164
12 years ago
Jordi Boggiano
027037bb9f
Fix dist urls for lock files and hardcoded references
12 years ago
Jordi Boggiano
056dc5d690
Move config to all VcsDownloaders, enforce array for github-protocols
12 years ago
Martin Hasoň
3b6bd761ec
Set protocols for github in composer config file
12 years ago
Jordi Boggiano
354b82bb8c
Fix git checkouts of custom branches, fixes #889
12 years ago
Jordi Boggiano
eb283b34e4
Revert "Fix git checkouts of custom branches, fixes #889"
...
This reverts commit cbf27bb422
.
12 years ago
Jordi Boggiano
cbf27bb422
Fix git checkouts of custom branches, fixes #889
12 years ago
Alexey Prilipko
ac3cebc633
Update PEAR Package Extractor to use 'task:replace', 'phprelease' commands and install role='script' files
...
Add PearInstaller
Change PEAR packages type from 'library' to 'pear-library' and dist type from 'pear' to 'file'
Remove PearDownloader
Refactor Channel Installer
12 years ago
Jordi Boggiano
66e9dcddf4
CS fixes
12 years ago
Jordi Boggiano
ccc6fa3714
Merge pull request #775 from palex-fpt/PR-746
...
PEAR Packages extraction based on package.xml format
12 years ago
Jordi Boggiano
73a865bf2a
Fix tests
12 years ago
Jordi Boggiano
4bbb168d44
Remove BC code
12 years ago
Alexey Prilipko
a88265a497
Update PearPackageExtractor for package.xml 2.1 support
12 years ago
Grégoire Pineau
f4e9dd4fb8
Fixed PSR rules
12 years ago
Alexey Prilipko
5c16889c48
Update PearDownloader to use PEAR extractor
12 years ago
Alexey Prilipko
01a49ea49e
Add PEAR package extractor that honours package.xml formats
12 years ago
Martin Hasoň
c8d110aa72
Imporoved exception message for GitDownloader (various protocols for github)
12 years ago
Jordi Boggiano
a9fe883827
Use https fallback for github private repos if ssh protocol fails and we can ask the user's password
12 years ago
Jordi Boggiano
ed8aa8322a
Do not prevent updates if untracked files are present
13 years ago
Jordi Boggiano
0e9f88a3da
Fix DownloadManagerTest creating directories on disk
13 years ago
Jordi Boggiano
5ceae7fb1f
Fix tests
13 years ago
Jordi Boggiano
047fa0b553
Add a composer remote that is used by composer so it does not take over the origin one anymore
13 years ago
Jordi Boggiano
6f8031ac90
Fix error reporting for missing git process
13 years ago
Jordi Boggiano
6aaa523c0d
Fix tests
13 years ago
Jordi Boggiano
a3fa19a716
Avoid escaping too early to prevent issues
13 years ago
Jordi Boggiano
13a2bc6ff0
Revert "Fix push url hack"
...
This reverts commit 269537e466
.
13 years ago
Jordi Boggiano
269537e466
Fix push url hack
13 years ago
Jordi Boggiano
1cdae66f8f
Fix up git downloader and git driver commands
13 years ago
Jordi Boggiano
afa14124f3
Make sure we fetch origin with tags before checking out a new version
13 years ago
Jordi Boggiano
beb4cbcd2b
Add test for ZipDownloader
13 years ago
Jordi Boggiano
b9f770177b
Fix tests
13 years ago
Jordi Boggiano
7cb79bb1c9
Fix typo & tests
13 years ago
Nils Adermann
15e764bb3f
Merge pull request #439 from Seldaek/git_push
...
Set push url correctly for github clones
13 years ago
Jordi Boggiano
a02940cafb
Fix tests
13 years ago
Jordi Boggiano
e763af7412
Set push url correctly for github clones
13 years ago
Jordi Boggiano
8bd0814b67
Merge pull request #420 from digitalkaoz/composer_tests
...
added some trivial tests
13 years ago
Jordi Boggiano
5696b44a4f
Fix tests
13 years ago
digitalkaoz
a284eb5cfe
coding style fixes
13 years ago
digitalkaoz
8dad8d8c43
added some trivial tests
13 years ago
Jordi Boggiano
ada9c20db1
Update Git/Hg downloaders tests, making sure they never use a live filesystem instance
13 years ago
Martin Hasoň
f026e2a0eb
Added tests for FileDownloader and ArchiveDownloader
13 years ago
Frank Kleine
025f6066ff
fix file permissions
13 years ago
mikey179
0e5a4e07ba
add tests to make sure a runtime exception is thrown if return code from git command line call is not 0
13 years ago
mikey179
895d901bf9
better error handling when git command runs into a failure, fixes #340
13 years ago
Jordi Boggiano
230e145053
Fix downloader tests on windows and mock Filesystem properly
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
5da021ffa7
Moved Filesystem to base Util namespace
13 years ago
Leszek Prabucki
19878c2dc1
Fixed tests after update and merge of changes from upstream/master
13 years ago
Leszek Prabucki
de7f666118
Added and extended some unit tests
13 years ago
Jordi Boggiano
680db4d1da
Fix bug with drive names of different cases
13 years ago
Jordi Boggiano
927be089ba
Added more tests for Filesystem util and some fixes
13 years ago
Jordi Boggiano
4517a2e51e
Added tests and fixed some incorrect behaviors in Filesystem
13 years ago
Jordi Boggiano
7e3f8099b1
Add proxy files for windows instead of copying, removed PEAR-style substitution
13 years ago
Jordi Boggiano
6b6d6b6d82
Add --dev flag to InstallCommand to do source installs, fixes #26
13 years ago
everzet
195272da09
refactored DownloaderInterface to be mono-installation-type
13 years ago
Jordi Boggiano
00a4fe2a14
Refactor downloaders, git installs actually work well now
13 years ago
Jordi Boggiano
b9114e16be
Fix typos, short var names etc
13 years ago
everzet
50aa7ac607
Provide $useSource argument to the DownloaderInterface methods
13 years ago
everzet
17d1abcec0
Refactored DownloadManager
13 years ago
everzet
cde9531e4d
DownloadManager implemented
13 years ago