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
9 years ago
Jordi Boggiano
8db550b118
Merge pull request #4851 from curry684/pull-4431
...
Fixes in path repository handling of removed or nested sources
9 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