Rasmus Schultz
07867724d0
add back the warning about missing unzip
...
display an error-message on non-Windows OS if unzip is unavailable, per #7383
6 years ago
Jordi Boggiano
0f373e3249
Fix issues introduced by #7191 , fixes #7263
6 years ago
Jordi Boggiano
c917865fe9
Fix handling of dev versions and consolidate logic, refs #7119
6 years ago
Jordi Boggiano
24ad6307a7
Merge remote-tracking branch 'austris-argalis/issue-7085'
6 years ago
Jordi Boggiano
ea78712822
Merge branch '1.6'
6 years ago
Edwin Rodríguez
9dc6222288
Allow using fossil dependency in a fossil repository, fixes #7125 , closes #7126
6 years ago
Jordi Boggiano
a51911f295
Merge commit 'b1a78b60fe552bc6e7df09cb1c0154797fea6f64'
6 years ago
Jordi Boggiano
b1a78b60fe
Remove output while the changes are being collected
6 years ago
Jordi Boggiano
79d62cc51c
Escape references properly when getting commit logs for verbose update
6 years ago
Markus Staab
71d058b97b
refactored "svn --version" calls into a single place, closes #7152
...
this saves a lot of process-spawning as we re-use the result of a process started once.
6 years ago
Hector Prats
2413b55c60
LocalChanges for ArchiveFiles
6 years ago
austris argalis
8a5645ffda
Wording: Downgrading instead of Updating #7085
6 years ago
Jordi Boggiano
a29ad2bfd6
Add some more debugging info
7 years ago
Markus Staab
e67a559db9
make sure "svn info" output is parsed in a x-platform way
7 years ago
Markus Staab
9bc83d698e
Pass auth credentials to svn log while retrieving commit logs
7 years ago
Jordi Boggiano
e6114b2ca7
Fix support for replacing dist refs in gitlab URLs and add support for gitlab/github enterprise too
7 years ago
Gabriel Caruso
7aad20cb30
[SvnDownloader] Improve plurals and singulars
7 years ago
Jordi Boggiano
50665aa18d
Simplify check for current revision, refs #6684
7 years ago
Jordi Boggiano
93cd9d874b
Merge remote-tracking branch 'RobberPhex/git-repo'
7 years ago
Jordi Boggiano
3e1b0c88d7
Merge branch '1.5'
7 years ago
Christian Mayer
512188d212
Filter macOS .DS_Store files when detecting github archives, fixes #6784 , closes #6785
7 years ago
Robert Lu
e768e297cd
fetch tag,commit form local but not ref
7 years ago
Robert Lu
0ad985122d
Don't fetch when ref already on local
7 years ago
Vladimir Reznichenko
c8615358cb
SCA with PHP Inspections (EA Extended)
7 years ago
Jordi Boggiano
8b61315b14
Normalize URL as symfony Filesystem::mirror does a straight str_replace on realUrl vs actual iteratee path without normalization and our aRchivableFilesFinder does normalize the path, refs #6667
7 years ago
Gawain Lynch
b859bbcdcf
Pass a VCS filtered iterator to mirror
7 years ago
AjiYakin
03c560ce05
Warn identical names w/ different capitalization for unzip
...
Warn about identical names with different capitalization on unzip archive
extract failure (Not a directory)
Issue #5938
7 years ago
Martin Hasoň
88ec172bd8
Fix CS
7 years ago
Jordi Boggiano
c917c52f81
Message tweak, refs #6341
7 years ago
AjiYakin
8858b27ced
Warn identical names w/ different capitalization - extract zip archive
...
Warn about identical names with different capitalization on zip archive
extract failure (Not a directory)
Issue #5938
7 years ago
Jordi Boggiano
eff9326b0d
Fix BC break, fixes #6419
7 years ago
Jordi Boggiano
61511cfed6
Fix CS issues, refs #6159
7 years ago
Jordi Boggiano
0a337e7c75
Merge remote-tracking branch 'gza/fix_unzip_on_win_php56'
7 years ago
David Zuelke
f20d40a33a
fix #6244
7 years ago
Guillaume ZITTA
f89e01d622
switch first / fallback order
7 years ago
Jordi Boggiano
122e422682
CS fixes
7 years ago
Jordi Boggiano
260b85882f
Merge remote-tracking branch 'dzuelke/installmsgs' into 1.3
7 years ago
Jordi Boggiano
f85a4a2f51
Add notice about not trying to allow path symlinks into source dir, refs #5974 , refs #6174
7 years ago
Guillaume ZITTA
2e8d715c2f
fix bad visibility
7 years ago
Guillaume ZITTA
98b7bd68b4
fix docstring and useless return
7 years ago
Guillaume ZITTA
921ffe741f
Cleaner fallback Algorithm
7 years ago
Guillaume ZITTA
211c874b93
split into 2 extract methods
7 years ago
Guillaume ZITTA
374ada6914
useless if, condition il already true
7 years ago
Pieter Frenssen
9020b7113c
Fix invalid calculation on non-numeric string
8 years ago
David Zuelke
17d5f6d88a
fix some install msg corner cases
...
mostly around updates; had to go back to a colon even for 'from cache'
8 years ago
David Zuelke
2d36324e99
streamline install progress messages
8 years ago
Jordi Boggiano
fcbc1044e0
Revert "Allow use of parent directories in PathDownloader when not mirroring the path"
8 years ago
Cameron Eagans
1cda8e1ef0
Allow use of parent directories in PathDownloader when not mirroring the path
8 years ago
Jordi Boggiano
a1b468ea50
Fix git shortening, it is sunday..
8 years ago
Jordi Boggiano
58b94b66e5
Shorten git hashes to 10chars to avoid long lines, refs #5946
8 years ago
Jordi Boggiano
4d77ffcb4a
Merge branch 'simplify-output'
8 years ago
golodnyi
1cced223d8
Not actual parameters
8 years ago
Jordi Boggiano
4d082f77b8
Simplify composer output to take less lines
8 years ago
Jordi Boggiano
f1eb787013
Merge pull request #5882 from johnstevenson/xdebug-handler-ini
...
Use random name for tmp ini and delete after use
8 years ago
johnstevenson
379fb70ad9
Use random name for tmp ini and delete after use
...
Thanks to Patrick Rose for reporting this issue.
8 years ago
Mark Ingman
a330d27b10
Code formatting
...
Updating variable name and whitespace formats inline with the project’s
standards
8 years ago
Mark Ingman
98d2fcb4d8
Fixing local file VCS URLs with encoded characters
...
realpath() returns FALSE for paths with URL encoding like %20, and
decoded path needs file:/// reapplied.
8 years ago
Mark Ingman
98ba6d8bf4
Fixing empty VCS URL for file:/// paths with spaces
...
realpath() returns FALSE for fFile paths with URL encoding like %20 for
spaces.
8 years ago
Richard Heelin
5dfd23668e
Only update the git repo if the commit we want doesn't exist, speeds up update from source
8 years ago
Jordi Boggiano
b6cc2c7b83
Merge pull request #5665 from radmiraal/default-strategy-from-environment
...
Allow setting default transport strategy for path repositories
8 years ago
Jordi Boggiano
0c4cae056f
Simplify code
8 years ago
Rens Admiraal
a294af3f16
Allow setting default transport strategy for path repositories
...
This change allows setting COMPOSER_MIRROR_PATH_REPOS to 1
in the environment to set the default strategy to 'mirror'.
This allows using 'mirror' during deployments while still symlinking
on a development machine. The default is still overwritten by the
options on the repository configuration.
8 years ago
Jordi Boggiano
3030dab90e
Merge branch '1.2'
8 years ago
Ruslan Bekenev
8c1f889806
cut out "file://" from VCS download() method
...
this issue was happening due to realpath() function
that cannot work with "file://" path.
For local repositories it is valid url but not valid for realpath()
8 years ago
Nicolas Grekas
f063d28a59
Cleanup processes output handling
8 years ago
Jordi Boggiano
2f3db8c397
Make it clear that a package is cloned from source, fixes #5489
8 years ago
Jordi Boggiano
334d0cce6b
Make sure we do not clone from local mirror if mirroring failed
8 years ago
Jordi Boggiano
4998ee27b3
Re-use mirror code from the git driver, refs #5384
8 years ago
Jordi Boggiano
55e90093a4
Merge remote-tracking branch 'marvil07/faster-git-clones-using-cache'
8 years ago
Jordi Boggiano
44ddcf4da7
Merge remote-tracking branch 'slbmeh/feature/version-status'
8 years ago
bohwaz
517a9b6f4c
Fix fossil update
8 years ago
bohwaz
5674262030
fix typo and bugs on Fossil support
8 years ago
bohwaz
abcbef4a67
Add Fossil support to Composer
8 years ago
Marco Villegas
44f94a7b83
Prevent duplicate file checking on git download.
8 years ago
Marco Villegas
7e91e9fd80
Use git cache path to mirror the repository before download to vendor target.
8 years ago
Luís Faceira
7b22b7a511
Use dissociate git option
...
Added the usage of dissociate so that the repos work properly
even if the cache gets deleted after the clone
8 years ago
Luís Faceira
5dd35c590e
Escaped git --reference argument
8 years ago
Luís Faceira
292bd3f6a3
Use vcs dir as git reference, if existing, to speed up download
...
Also added home dir to default initial settings
8 years ago
Steve Buzonas
89d2f58c05
use version parser in vcs downloader
8 years ago
Steve Buzonas
8d766c8eb2
cleaner implementation of status output with support for path repositories
8 years ago
Jordi Boggiano
9cb6c2322a
Fix more git URL escaping
8 years ago
Jordi Boggiano
2062070be9
Warn users with secure-http disabled once per hostname they access insecurely to avoid bad URLs going by undetected, fixes #5008
8 years ago
Jordi Boggiano
31dcc0bdea
Merge branch '1.0'
8 years ago
Jordi Boggiano
1bf711fe1f
Guard against mbstring func_overload, fixes #5218
8 years ago
Jordi Boggiano
73139a59bf
Update origin remote URL when package URL changed and origin still uses the same url as the composer remote, fixes #3874
8 years ago
Jordi Boggiano
e4711326a4
Fix tests
8 years ago
Jordi Boggiano
b31052fcde
composer status now includes untracked files in git repos, fixes #2664
8 years ago
Jordi Boggiano
3b0a1c6f70
Run cs fixer and update config to latest master
8 years ago
Jordi Boggiano
da9b43dcc8
Merge remote-tracking branch 'curry684/code-quality' into 1.0
8 years ago
Christoph Herbst
cbfd83ba0e
trim trailng slash from symlink names
...
symlink names are not allowed to contain
a trailing slash, so trim it.
8 years ago
Niels Keurentjes
e6f21137ad
Undefined or default return points fixed.
8 years ago
Niels Keurentjes
49524bc4ba
Centralize secure-http checking
8 years ago
Alain Schlesser
4e9885e9bc
Make sure to use an absolute path for symlinking in PathDownloader. Resolves #4451
8 years ago
Nicolas Grekas
08d48cb61a
Prefer ZipArchive over unzip on Windows
8 years ago
Jordi Boggiano
b93b73e836
Rewrite git unpushed status checks, fixes #4987
8 years ago
Jordi Boggiano
fea99bcb1b
Clarify the fetch/push URL selection for github repos and various protocols, fix regression
8 years ago
Jordi Boggiano
b080a73840
Fix broken test on windows, fixes #4973
8 years ago
Jordi Boggiano
6f42b9c865
Disable git, svn, http protocols for VCS downloaders, fixes #4968
8 years ago
Jordi Boggiano
0ed5b541a9
Fix CS
8 years ago
Niels Keurentjes
f794ee7870
Fixes for implicit variable declarations, return type mismatches and invalid method declarations.
8 years ago
Niels Keurentjes
d60e0c1842
Accidentally indented.
8 years ago
Niels Keurentjes
379d769132
Troubleshooting and warning in code related to issues with native ZipArchiver.
8 years ago
Jordi Boggiano
3753ccf25d
Merge pull request #4962 from curry684/issue-4955
...
Improve handling of removing junctions in Windows path repositories
8 years ago
Niels Keurentjes
756f9e10b7
Further protect junctioned path repos from accidentally deleting source packages.
8 years ago
Jordi Boggiano
be4d385942
Fix uncommitted change detection, refs #3633
8 years ago
Jordi Boggiano
9f4f8a9578
Merge remote-tracking branch 'greg0ire/improve-status-for-unpushed-branches'
8 years ago
Jordi Boggiano
3c640e689e
Fix regex escaping and remove constants
8 years ago
Jordi Boggiano
06be9b88c2
Merge remote-tracking branch 'slbmeh/feature/gh-2787'
8 years ago
Jordi Boggiano
a63f8d511e
Avoid chmod on windows
8 years ago
Jordi Boggiano
2c67fb67f2
Rename variable and remove useless comment
8 years ago
Jordi Boggiano
b945fc4d83
Add unzip support on windows and fail earlier if unzipping is impossible, fixes #4943
8 years ago
Jordi Boggiano
4df7ade801
Merge remote-tracking branch 'burci/feature/path_downloader_option_to_force_copy'
8 years ago
Rob Bast
a245c4618b
php-cs-fixer
8 years ago
Peter Buri
861b2bc8e8
Introduce option to force copy instead of symlinking in PathDownloader
8 years ago
Magnus Nordlander
4689d836fe
Fixed (and added a test for) a regression introduced in a77e2fb
, which causes package Git package updates to fail when the package has two or more URLs and the last URL is the only one that actually works.
8 years ago
Jordi Boggiano
d6d0435c54
Merge pull request #4845 from curry684/pull-4690
...
Implement junctioning on Windows for path repositories
8 years ago
Jordi Boggiano
8db550b118
Merge pull request #4851 from curry684/pull-4431
...
Fixes in path repository handling of removed or nested sources
8 years ago
Jordi Boggiano
02952c3bdc
Add missing </error> tag, refs #4878
9 years ago
Jordi Boggiano
d347e1efca
Minor tweaks refs #4878
9 years ago
Jordi Boggiano
e4ede0c582
Merge remote-tracking branch 'bozerkins/force-to-reinstall-package-when-missing-vcs-metadata'
9 years ago
Jordi Boggiano
8808638ea9
Make sure cache clearing works easily in all cases
9 years ago
Jordi Boggiano
2378c9e308
Remove dead code
9 years ago
Jordi Boggiano
477da3a448
Fix clearCache in case of download failure
9 years ago
Jordi Boggiano
502c5431a2
Add hashing of the complete URL for cache entries of dist downloads for extra safety
9 years ago
Niels Keurentjes
80bf5b75fc
Merge branch 'master' of https://github.com/composer/composer into pull-4431
9 years ago
Niels Keurentjes
54c079b559
Fixed Windows detection based on #4873 and suppressed some console output in removeJunction.
9 years ago
Niels Keurentjes
582e4796a3
Merge branch 'master' of https://github.com/composer/composer into pull-4690
9 years ago
bogdan
e0fad1f55b
Implemented interactive user confirmation on source package update failure
...
Removed unnecessary options for installation
Removed unnecessary exception
9 years ago
Jordi Boggiano
16215c1937
Merge pull request #4877 from cs278/zip-zlib-muddle
...
zlib suggest and fallback on non Windows
9 years ago
bogdan
581ce91f90
Implemented new option (ignore-missing-metadata) for composer install command
...
The command allows to slightly change how repository updates are handled during install
In the previous version composer failed to updated if .git|.svn|.hg folder was missing from the package
In the current version, with the option enabled, if the update fails for exactly this reason,
it'll try to remove the package completely and install it from remote
9 years ago
bogdan
a77e2fb093
Removed code duplication with abstract hasMetadataRepository method
...
which checks if vcs metadata is present in the package
Fixed a bug with -vvv mode. When .git folder is missing from package
in normal mode, -v mode, -vv mode the program throws the exception about missing .git folder
in -vvv mode an exception about inability to read logs
9 years ago
Chris Smith
e4877473cf
Fallback to zlib extension to unpack gzip on non Windows systems
9 years ago
Niels Keurentjes
0dab63e050
Unified all Windows tests throughout the code.
9 years ago
Niels Keurentjes
1b1462317c
Merge branch 'master' of https://github.com/composer/composer into pull-4690
9 years ago
Niels Keurentjes
05caf8349c
Fixed bug potentially causing broken sites and solved #4431 along the way.
9 years ago
Jordi Boggiano
49d7d65933
Add verbosity input support to IOInterface
9 years ago
Niels Keurentjes
5489586436
Fully implemented junctioning on Windows for path repositories.
9 years ago
Jordi Boggiano
a13b06725e
Add support for if-modified-since on lazy repos and turning packagist into a lazy provider repo
9 years ago
Jordi Boggiano
c1cc6bfecf
Avoid doing too many loads of the remotefilesystem
9 years ago
Jordi Boggiano
86a911150b
Update bundled CAfile and other cleanups
9 years ago
Jordi Boggiano
5d015defb8
Merge remote-tracking branch 'origin/master' into tls-config
9 years ago
Jordi Boggiano
5dbc8fa30b
Make sure getRepoConfig is only called on VcsRepos, refs #4700
9 years ago
Jordi Boggiano
f874842535
Merge remote-tracking branch 'chorry/4331-svn-creds'
9 years ago
Jordi Boggiano
47b05eab7a
Fix type errors
9 years ago
Jordi Boggiano
29312be4df
Strict typing fixes
9 years ago
Alexander Loutsenko
f42ba46175
#4331 use --no-auth-cache for svn downloader when such option was set
9 years ago
Jordi Boggiano
966a982738
CS fixes
9 years ago
Jordi Boggiano
67a1924173
Merge remote-tracking branch 'Rudloff/xz'
9 years ago
Jordi Boggiano
690c7f572f
Enable -f flag based on user selection and not only config values, refs #3789
9 years ago
Steve Buzonas
27d51642c8
stash untracked and force checkout if discarding changes
9 years ago
Jordi Boggiano
d35fc31f62
Add process error to the output of failed unzipping
9 years ago
Pierre Rudloff
3abad250e9
.tar.xz downloader
9 years ago
xelan
32517d90d2
Escape angle brackets for commit message output
9 years ago
Jordi Boggiano
ce08582671
Fix CS
9 years ago
Samuel ROZE
f6d5d65bcd
Use shortest relative paths for symlinks
9 years ago
Samuel ROZE
d0a9550dea
Uses `realpath` to fix relative path issues
9 years ago
Samuel ROZE
a3f5f60359
Update output to have a coherent one
9 years ago
Samuel ROZE
0e8c5fa62e
Store path from composer.json with the `path` repository to ensure lock file to be reused
9 years ago
Jordi Boggiano
89c6a68a76
Updates to path repository and path downloader, refs #4365
9 years ago
James Titcumb
d85bad29d6
Warn about unpushed changes
...
`composer status` now prevents overwriting Git package if changes have not been pushed.
9 years ago
Samuel ROZE
ead68d3d49
Create the path repository and downloader
9 years ago
Jordi Boggiano
33badac0a8
Include full error message in debug mode
9 years ago
iamluc
d02ab54be1
Add a new option to view local modifications (git diff)
9 years ago
Kunal Mehta
f634c6946d
Update callers of VersionParser::formatVersion()
...
Tests were moved to BasePackageTest.
9 years ago
Jordi Boggiano
6a64041055
CS fixes
9 years ago
Andreas Möller
eac5fbdee4
Fix: Remove unused imports
9 years ago
Wim Vandersmissen
1ff2a02517
fix to download correct Bitbucket archive reference when using --prefer-dist
9 years ago
Rob Bast
b957d1c4a6
load xml as string from local file, fixes #3942
...
If the entity loader is disabled on a system, loading files, even from
the local file system, is considered as external to the running php
process, and thus not allowed by the libxml extension. Reading the file
contents and loading the xml as a string is a valid alternative however.
9 years ago
Jordi Boggiano
0081964428
Merge remote-tracking branch 'colinodell/fix-tag-ambiguity'
...
Conflicts:
src/Composer/Downloader/GitDownloader.php
tests/Composer/Test/Downloader/GitDownloaderTest.php
9 years ago
Possum
2e99b9fdf5
Use https where possible
9 years ago
Steve Buzonas
b44c3bee52
add tests to cover different use cases of package install preferences
9 years ago
Steve Buzonas
124739d055
fix preference resolution to be backwards compatible
9 years ago
Jordi Boggiano
ec6d727af8
Add comment about --, refs #3853
9 years ago
hakre
7077803aa4
Git Checkout Branch / File Differentiation
...
This fixes a minor inaccuracy issue when creating git checkout commands
for branches.
The git checkout command used within `GitDownloader::updateToCommit()`
does not use the "`--`" sequence to separate branch from file parameters.
This leads to an inaccuary as git tries as well the branch name as file
name. If the non-existent branch is actually the name of a file, the file
is checked out. If the non-existent branch is not the name of a file, an
error message is given:
> error: pathspec 'non-existent-branch' did not match any file(s) known to
git.
Both cases are not expected for the program flow in
`GitDownloader::updateToCommit()`.
The only thing that is expected is a non-existent branch to fail to
checkout - but with a different error message:
> // reference was not found (prints "fatal: reference is not a tree:
$ref")
This can be easily fixed by adding the missing separator when constructing
the command which is applied with this commit.
9 years ago
Steve Buzonas
bf08b6eb90
add support for package based install type preferences
9 years ago
Rob Bast
cb336a5416
Implement writeError throughout Composer
9 years ago
Jordi Boggiano
777f2e81a3
Show more info when a download fails
10 years ago
Padraic Brady
19e24c5804
Merge branch 'master' into tls-config
...
Conflicts:
.travis.yml
doc/03-cli.md
src/Composer/Command/ConfigCommand.php
src/Composer/Command/CreateProjectCommand.php
src/Composer/Command/DiagnoseCommand.php
src/Composer/Command/InstallCommand.php
src/Composer/Command/RequireCommand.php
src/Composer/Command/SelfUpdateCommand.php
src/Composer/Command/ShowCommand.php
src/Composer/Command/UpdateCommand.php
src/Composer/Config.php
src/Composer/Downloader/FileDownloader.php
src/Composer/Factory.php
src/Composer/Repository/ComposerRepository.php
src/Composer/Repository/PearRepository.php
src/Composer/Repository/Vcs/VcsDriver.php
src/Composer/Util/GitHub.php
src/Composer/Util/RemoteFilesystem.php
10 years ago
Colin O'Dell
f304611014
Fix Git failures due to tag ambiguity (issue #3417 )
10 years ago
Jordi Boggiano
a309e1d89d
Fix tests and run it before the push url updater
10 years ago
Jordi Boggiano
fb1747624c
Force the origin remote url to be the original one and not that of a mirror
10 years ago
Jordi Boggiano
3e1d0681d1
Merge pull request #3334 from NAYZO/master
...
minor fixes in DownloadManager.php
10 years ago
Jordi Boggiano
94926218e8
CS fixes
10 years ago
Jordi Boggiano
332a933e8b
Remove fallback on missing commit, fixes #3314 , fixes #3147
10 years ago
Jordi Boggiano
b7bd165fed
Merge pull request #3122 from garthkerr/patch-1
...
Add blank line to output for FileDownloader.
10 years ago
Ala Eddine Khefifi
7cea912d30
minor fixes in DownloadManager.php
...
We should use "===" instead of "==" since it's better and faster in this case.
10 years ago
Chris Harvey
43b9ef309e
Adding missing closing <info> tag when re-applying stashed changes
10 years ago
Jordi Boggiano
4e774e8b2c
Fix formatting
10 years ago
frederik
d1d40502bf
ProcessExecutor::escape
10 years ago
frederik
7ae1430689
#3297 ProcessUtil class using ProcessUtil of Symfony Console
10 years ago
Frederik Bosch
4c58abbb76
Update GitDownloader.php
10 years ago
Frederik Bosch
6edabc629d
Update GitDownloader.php
...
PHP 5.3. compat.
10 years ago
Frederik Bosch
f3b0890cf4
GitDownloader.php: better escaping for Windows
...
Compability for Windows usernames and passwords. When usernames and passwords contain characters that are rawurlencoded to a string containing a % sign (e.g. @ becomes %40), the procent was replaced with a space. Git can there not authenticate.
10 years ago
Jordi Boggiano
0ce0cf42e8
Merge remote-tracking branch 'francoispluchino/fix-phpdoc'
...
Conflicts:
src/Composer/EventDispatcher/EventDispatcher.php
10 years ago
Jordi Boggiano
1110074d5f
Clean up properly after creating the vendor dir
10 years ago
François Pluchino
8b5c00bff0
Fix phpdoc
10 years ago
Garth Kerr
dc90397d1e
Add blank line to output for FileDownloader.
...
The VcsDownloader outputs a blank line between each dependency:
745dcbce33/src/Composer/Downloader/VcsDownloader.php (L80)
This write makes output consistent.
10 years ago
Jordi Boggiano
745dcbce33
Fix file deletions to always use a delayed retry on windows, fixes #3074
10 years ago
Jordi Boggiano
ac497feaba
CS fixes
10 years ago
Jordi Boggiano
e890d1bc59
Remove use of glob, fixes #3042
10 years ago
Jordi Boggiano
89ec322929
Merge remote-tracking branch 'benja-M-1/feature/svn-auth-from-auth-json'
10 years ago
Jordi Boggiano
71397f82e4
Remove forced dir removal before install, fixes #3035
10 years ago
Jordi Boggiano
f16e3a88e2
Clean up code format and error message
10 years ago
Jordi Boggiano
5336b039c1
Merge remote-tracking branch 'discordier/fix-zip-downloader'
10 years ago
Jordi Boggiano
170f395004
Merge pull request #2949 from jakoch/patch-3
...
renamed listFiles() to getFolderContent(). fixed comment: the method doe...
10 years ago
Jordi Boggiano
56c5af8dc4
realpathGlob tweaks, refs #2932
10 years ago
Richard Quadling
443858dae7
Force all glob results to be realpath'd.
10 years ago
Jordi Boggiano
effacc1185
Do not realpath relative local URLs, fixes #2916
10 years ago
Benjamin Grandfond
a21b0f82db
Allow SVN to connect with credentials provided with the auth.json file
10 years ago
Jordi Boggiano
3ebc869060
Extract functionality from GitDownloader to make it more reusable
10 years ago
Jordi Boggiano
e0886b94a2
Make Git::cleanEnv static
10 years ago
Christian Schiffler
7cec839d30
Fix the ZipDownloader to catch the exceptions thrown in Symfony process.
...
The problem was introduced in 72d4bea8
and causes composer to not fallback
to ZipArchive when unzip can not be executed (i.e. when proc_open() is
not allowed).
10 years ago
Jordi Boggiano
b6981d09e8
Fix handling of origin url in composer repository class
10 years ago
Jordi Boggiano
97873a27af
Update perforce code
10 years ago
Jordi Boggiano
ba776c06ee
Add composer mirror class
10 years ago
Jordi Boggiano
9cbfe31983
Fix regression when using -vvv
10 years ago
Jordi Boggiano
77163f66fc
Add support for mirrors in composer repos
10 years ago
Jordi Boggiano
32cd883daa
Rename options to transport-options, refs #2189
10 years ago
Jordi Boggiano
016a016455
Merge remote-tracking branch 'lcobucci/master'
...
Conflicts:
src/Composer/Downloader/FileDownloader.php
10 years ago
jakoch
01968efa6f
renamed listFiles() to getFolderContent(). fixed comment: the method doesn't return a "list of files in a directory, including dotfiles", it returns a "list of files and folders, excluding dotfiles". switched from !is_file() to is_dir() check.
10 years ago
Jordi Boggiano
b437c1cc05
Support github auth directly in the RemoteFilesystem class
10 years ago
Jordi Boggiano
6e16d53def
Also use rawurlencode in git downloader, refs #2859
10 years ago
Jordi Boggiano
07b8fe8109
Refactor code so it works cross-platform, refs #2825
10 years ago
Jordi Boggiano
01bf61fede
Merge remote-tracking branch 'sebbrandt87/master'
10 years ago
Sebastian Brandt
f633ab503e
Update SvnDownloader.php
10 years ago
Clark Stuth
dd1fd0e306
fixed perforce to reference labels instead of invalid tags
10 years ago
Clark Stuth
3a3661a0b3
removing dead code lines and excess comments
10 years ago
Clark Stuth
24dd42267f
almost all unit tests passing after IOInterface dependency refactor. no longer passing IOInterface into any Perforce methods
10 years ago
Clark Stuth
0f7b078d6c
added new dependency to Perforce object, updating some tests.
10 years ago
Sebastian Brandt
16489dc084
Update SvnDownloader.php
...
added --ignore-ancestry to the switch statement because it can be a problem with svn:properties
10 years ago
Jordi Boggiano
78343ead10
Merge pull request #2765 from neoascetic/gzip_downloader
...
Gzip downloader (resolves #2521 )
10 years ago
Pavel Puchkin
9fda8cdc84
Type in comment
10 years ago
Pádraic Brady
306ba77e93
Implement the RemoteFilesystem Factory everywhere...
...
- also fixes impacted test
10 years ago
Pavel Puchkin
7ccb91667f
Fallback to gzip functions when on Windows
10 years ago
Jordi Boggiano
28bb781324
Capture response bodies in exceptions when http requests fail
10 years ago
Pavel Puchkin
c598fdb0f5
Since there is no solution for non-unix (for now), remove the condition
10 years ago
Pavel Puchkin
ba56ac362a
Final fix. Preserve initial file name
10 years ago
Pavel Puchkin
a287884619
There is no need in DIRECTORY_SEPARATOR since it Unix
10 years ago
Pavel Puchkin
3811fe7d8b
Resolves #2521 . First and simple attempt to make a gzip downloader
10 years ago
Jordi Boggiano
665a2bd0c0
Tweak error message and make TransportException extend from RuntimeException, refs #2753
10 years ago
Nils Adermann
31fd6c233c
Rethrow download exceptions when no options left & clean up code
11 years ago
Nils Adermann
5ed18d9aa2
Fail over from source to dist and vice versa when downloads fail
...
Any RuntimeException descendent will be caught and cause another
download attempt using either source or dist depending on what was
attempted first.
11 years ago
Jordi Boggiano
60bf5633ea
Wording tweaks, refs #2728
11 years ago
Jordi Boggiano
7ac1f1265e
Merge remote-tracking branch 'sndpl/issue/2494'
11 years ago
Sandy Pleyte
40095d980c
Fix for #2494 , don't retrieve svn log when the references don't contain a reference number.
11 years ago
Jordi Boggiano
432ace33d4
Clean up svn environment to fix OSX issues, fixes #2708 , refs #2146
11 years ago
Jordi Boggiano
5d4900e79d
Add --no-checkout flag to avoid checking out the default branch first, fixes #2717
11 years ago
Jordi Boggiano
245461d8ed
Merge pull request #2682 from gena01/ssh-support-in-github-protocols
...
Adding ssh protocol support to "github-protocols".
11 years ago
Jordi Boggiano
e03057156c
CS fixes
11 years ago
Gennady Feldman
ac78eaa027
Adding ssh protocol support to github-protocols.
11 years ago