Nils Adermann
|
a080ae3a51
|
Make sure directories we are downloading to are empty
We already clear them on error anyway and usually they should be
empty, but just to be safe.
|
11 years ago |
Nils Adermann
|
3b519e44c4
|
Rename PrepareRemoteFilesystem event to PreFileDownload
|
11 years ago |
Nils Adermann
|
3960edd64e
|
Turn EventDispatcher into generic solution handling plugins as well
|
11 years ago |
Jordi Boggiano
|
30f94365f0
|
Return path of the downloaded file
|
11 years ago |
Jordi Boggiano
|
78a8a5ca0b
|
Fix output of invalid zip files when download is retried
|
11 years ago |
Jordi Boggiano
|
22369fd3ae
|
Realpath hg paths to avoid problems after a chdir, fixes #2096
|
11 years ago |
Jordi Boggiano
|
bd345c3b43
|
Add IO to proc executor in a few more places to get more debug info out
|
11 years ago |
Jordi Boggiano
|
1217a632fe
|
Adjust function signatures and add type hints, refs #2136
|
11 years ago |
Jordi Boggiano
|
d96d9b3926
|
Merge remote-tracking branch 'sascha-egerer/feature/changereport_interface'
|
11 years ago |
Jordi Boggiano
|
7912253df6
|
Retry downloading when a corrupt zip is found, fixes #2133, fixes #2128, fixes #2125
|
11 years ago |
Sascha Egerer
|
80cebbd4be
|
Fixed getLocalChanges calls in VCS downloaders to match new function interface
|
11 years ago |
Sascha Egerer
|
49d89bbbfc
|
CGL fix
|
11 years ago |
Sascha Egerer
|
667176d1d0
|
Add ChangeReport Interface
Added a ChangeReport Interface to allow also non VCS-Downloaders to check the status of there package
|
11 years ago |
Jordi Boggiano
|
67407801b8
|
Add debugging info for invalid zip files to try and get to the bottom of it, refs #2125
|
11 years ago |
Albert Casademont
|
5234e64e97
|
Retry file download also on Internal Server Error 500 code as is mostly a temporary glitch (at least on GitHub)
|
11 years ago |
Jordi Boggiano
|
771233a5a0
|
Make it clear what is going on when a vcs folder is missing, fixes #2108
|
11 years ago |
Jordi Boggiano
|
a6e3b23ca5
|
Stop trying to bypass https since github does not and will not support non-https transports
|
11 years ago |
Jordi Boggiano
|
81b2b84112
|
Clean up git env vars consistently
|
11 years ago |
Jordi Boggiano
|
27d958a1de
|
Extract archives into vendor dir to avoid permission errors, fixes #1765, fixes #1714
|
11 years ago |
Jordi Boggiano
|
f79c4e4309
|
Detect safe_mode and output correct error, closes #2006
|
11 years ago |
Jordi Boggiano
|
7b6f0ab047
|
Code cleanups, enforce url for https, refs #2009
|
11 years ago |
Stéphane Klein
|
42119dde6b
|
Use github protocols setting for push urls
|
11 years ago |
Jordi Boggiano
|
8d0b7f278e
|
CS fixes
|
11 years ago |
Pavel Savinov
|
831bd844bd
|
Almost PHPDoc problems fixed
|
11 years ago |
Christoph
|
0524d28b03
|
fixed escaping the path (it's no cmdline argument anymore)
|
11 years ago |
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
|
b38db73611
|
Clean up rogue git env vars in case this is running in a git hook, refs #1832
|
11 years ago |
Phansys
|
d574e5fcab
|
Added FilesystemException to handle errors on local filesystem.
|
11 years ago |
Jordi Boggiano
|
8a06e461e5
|
Fix a few bugs, fixes #1867
|
11 years ago |
Jordi Boggiano
|
4b26c627ff
|
Retry file downloads 3 times before giving up in case of basic network failure
|
11 years ago |
Jordi Boggiano
|
343d4effaa
|
Fix usage of GitDownloader with relative paths, fixes #1843
|
11 years ago |
Jordi Boggiano
|
5cdf40d165
|
Output VcsDownloader process commands in -vvv mode
|
11 years ago |
Jordi Boggiano
|
3fd883a489
|
Set cwd instead of using cd in GitDownloader, refs #1832
|
11 years ago |
Jordi Boggiano
|
2ec75f298d
|
Remove useless output in verbose mode
|
11 years ago |
Jordi Boggiano
|
10a7008fdf
|
Trim query string from extension when downloading archives
|
11 years ago |
Jordi Boggiano
|
d81740ab7d
|
Fix authorization/authentication merge, fixes #1684
|
11 years ago |
Jordi Boggiano
|
c9f0e458a2
|
Merge remote-tracking branch 'machee/gitUserPassNonGithub'
Conflicts:
src/Composer/Downloader/GitDownloader.php
|
11 years ago |
Jordi Boggiano
|
f06c0cb580
|
Code reorgs and make bool values real booleans, refs #1637
|
11 years ago |
Ricard Clau
|
2a2bb6aad6
|
remove unnecessary else
|
12 years ago |
Ricard Clau
|
56f4625ec8
|
check first if there are changes
|
12 years ago |
Ricard Clau
|
48ac383599
|
initial steps with new config value, implementation of discard changes for git and svn
|
12 years ago |
Jordi Boggiano
|
e3f06582e4
|
Clean up archive downloader, fixes #1630
|
12 years ago |
Jordi Boggiano
|
9f961dca92
|
Guard against arrays being passed to is_file, fixes #1627
|
12 years ago |
Jordi Boggiano
|
88ae6c023b
|
Extract archives into temp dir to shorten paths and avoid issues on windows, fixes #1591
|
12 years ago |
Jordi Boggiano
|
f98f093f7b
|
Minor code reformatting and error message clarification
|
12 years ago |
Jordi Boggiano
|
8bcb442d2b
|
Merge remote-tracking branch 'romainneutron/zip-downloader'
|
12 years ago |
Jordi Boggiano
|
2d40e14985
|
Try twice to remove a directory on windows because sometimes it fails due to temporary locks
|
12 years ago |
Romain Neutron
|
72d4bea89e
|
Change strategy for ZipDownloader
Try to use unzip command-line before ZipArchive as this one does not correctly handle file permissions whereas unzip does.
|
12 years ago |
Filippo Tessarotto
|
470adc47df
|
Switched rand() to mt_rand()
|
12 years ago |
Jordi Boggiano
|
a18db058d5
|
Fix typo
|
12 years ago |
Jordi Boggiano
|
ee1691f799
|
Also try authenticating on github for 403 responses
|
12 years ago |
Jordi Boggiano
|
514a3cde77
|
CS fixes
|
12 years ago |
Galymzhan
|
219b489d01
|
add size-based limit for files cache, fixes #1321
|
12 years ago |
Jordi Boggiano
|
b34e8554d2
|
Output info about downloads even with --no-progress and show when reading from cache, refs #1410
|
12 years ago |
Galymzhan
|
f59181d7d5
|
add support for --no-progress, fixes #621
|
12 years ago |
Jordi Boggiano
|
04c6670f0c
|
Detect invalid ssh URLs, fixes #1124
|
12 years ago |
Jordi Boggiano
|
6ed65c9e91
|
Reuse hostname var
|
12 years ago |
Jordi Boggiano
|
224934831d
|
Change all github archive URLs to API URLs and handle fallback for those to nodeload
|
12 years ago |
Wes Mason
|
1ce7c28f11
|
Allow OAuth2 authentication to downloads on api.github.com not just github.com
|
12 years ago |
Jordi Boggiano
|
9c3201f6d7
|
Fix commit logs display with svn
|
12 years ago |
Jordi Boggiano
|
07f7487c60
|
Clear cached files when they fail to extract or validate, refs #941
|
12 years ago |
Mikołaj Kopras
|
534fe36149
|
Added php.ini path to error message #1052
|
12 years ago |
Jordi Boggiano
|
18973ed0b9
|
Do not check for changes if there is no vcs dir
In case the package is in a broken state we do not want to show diffs from the main project
|
12 years ago |
Jordi Boggiano
|
5a9d986e67
|
Implement cache GC and fix keys
|
12 years ago |
Jordi Boggiano
|
fb3a43b2f0
|
Add local cache to dist downloads
|
12 years ago |
Igor Wiedler
|
4959c2bdc6
|
Replace references of a11n with a12n where appropriate
Authorization => Authentication.
|
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
|
06a588c197
|
Show 7 chars of the git hashes everywhere
|
12 years ago |
Pascal Borreli
|
83fd3967f0
|
Fixed PHPDoc
|
12 years ago |
Pascal Borreli
|
5eead93250
|
Fixed typos
|
12 years ago |
Jordi Boggiano
|
a7cc5f187f
|
Always reset stash change, refs #1254
|
12 years ago |
Jordi Boggiano
|
b8a408883c
|
Reset state after applying stash, fixes #1254
|
12 years ago |
Jordi Boggiano
|
bebd1ce9c7
|
Always check for OAuth token in git config, fixes #1243
|
12 years ago |
Jordi Boggiano
|
39e69a3b12
|
Refactor OAuth acquisition code to generalize it
|
12 years ago |
Jordi Boggiano
|
fa3d6c7ce2
|
Fix originUrl in FileDownloader, refs #423
|
12 years ago |
Jordi Boggiano
|
a28d53d4c0
|
Add missing v before checkout branches when needed, refs #1164
|
12 years ago |
Jordi Boggiano
|
3b01d26d67
|
Swap user credentials for an OAuth token from GitHub
|
12 years ago |
Jordi Boggiano
|
ee0cd07468
|
CS fixes
|
12 years ago |
Jordi Boggiano
|
f752b29fc6
|
Always make sure we are on the right branch
|
12 years ago |
Jordi Boggiano
|
110044c3ea
|
Fix up create-project command
|
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
|
55bff36be1
|
Avoid displaying passwords in git exceptions, fixes #1199
|
12 years ago |
Jordi Boggiano
|
84ba1cc098
|
Fix typo
|
12 years ago |
Jordi Boggiano
|
3a9c5b3678
|
Remove dead break statements
|
12 years ago |
Jordi Boggiano
|
0a549efd0e
|
Allow interactive resets or stash/apply cycles when updating dirty packages instead of failing hard
|
12 years ago |
Mark Achee
|
5ed5f1314b
|
Capture user/pass from 'git remote' when updating non github repo
|
12 years ago |
Mark Achee
|
6f689f8926
|
Look for Auth failed anywhere in errorOutput
|
12 years ago |
Mark Achee
|
ac2fed29a4
|
Store http auth creds by domain only
|
12 years ago |
Mark Achee
|
9d03dc5a89
|
Attempt user/pass authentication for git repos not on github
|
12 years ago |
Mateusz Heleniak
|
91fc635ca5
|
better rename reliability on Windows - a workaround for random "Access denied" errors
|
12 years ago |
Jordi Boggiano
|
027037bb9f
|
Fix dist urls for lock files and hardcoded references
|
12 years ago |
Jordi Boggiano
|
8a35353e8d
|
Allow dist installs for dev packages that do not have a source setup
|
12 years ago |
Jordi Boggiano
|
a9afa8bc1f
|
Merge remote-tracking branch 'mheleniak/prefer_dist' and fix dists
Conflicts:
src/Composer/Installer.php
src/Composer/Package/Locker.php
|
12 years ago |
Jordi Boggiano
|
d3d35f24a1
|
Trim query strings from dist filenames, fixes #1087
|
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 |
Mateusz Heleniak
|
aa0ff14be5
|
added --prefer-dist option
|
12 years ago |