Jordi Boggiano
e4711326a4
Fix tests
9 years ago
Jordi Boggiano
b31052fcde
composer status now includes untracked files in git repos, fixes #2664
9 years ago
Jordi Boggiano
3b0a1c6f70
Run cs fixer and update config to latest master
9 years ago
Jordi Boggiano
da9b43dcc8
Merge remote-tracking branch 'curry684/code-quality' into 1.0
9 years ago
Christoph Herbst
cbfd83ba0e
trim trailng slash from symlink names
...
symlink names are not allowed to contain
a trailing slash, so trim it.
9 years ago
Niels Keurentjes
e6f21137ad
Undefined or default return points fixed.
9 years ago
Niels Keurentjes
49524bc4ba
Centralize secure-http checking
9 years ago
Alain Schlesser
4e9885e9bc
Make sure to use an absolute path for symlinking in PathDownloader. Resolves #4451
9 years ago
Nicolas Grekas
08d48cb61a
Prefer ZipArchive over unzip on Windows
9 years ago
Jordi Boggiano
b93b73e836
Rewrite git unpushed status checks, fixes #4987
9 years ago
Jordi Boggiano
fea99bcb1b
Clarify the fetch/push URL selection for github repos and various protocols, fix regression
9 years ago
Jordi Boggiano
b080a73840
Fix broken test on windows, fixes #4973
9 years ago
Jordi Boggiano
6f42b9c865
Disable git, svn, http protocols for VCS downloaders, fixes #4968
9 years ago
Jordi Boggiano
0ed5b541a9
Fix CS
9 years ago
Niels Keurentjes
f794ee7870
Fixes for implicit variable declarations, return type mismatches and invalid method declarations.
9 years ago
Niels Keurentjes
d60e0c1842
Accidentally indented.
9 years ago
Niels Keurentjes
379d769132
Troubleshooting and warning in code related to issues with native ZipArchiver.
9 years ago
Jordi Boggiano
3753ccf25d
Merge pull request #4962 from curry684/issue-4955
...
Improve handling of removing junctions in Windows path repositories
9 years ago
Niels Keurentjes
756f9e10b7
Further protect junctioned path repos from accidentally deleting source packages.
9 years ago
Jordi Boggiano
be4d385942
Fix uncommitted change detection, refs #3633
9 years ago
Jordi Boggiano
9f4f8a9578
Merge remote-tracking branch 'greg0ire/improve-status-for-unpushed-branches'
9 years ago
Jordi Boggiano
3c640e689e
Fix regex escaping and remove constants
9 years ago
Jordi Boggiano
06be9b88c2
Merge remote-tracking branch 'slbmeh/feature/gh-2787'
9 years ago
Jordi Boggiano
a63f8d511e
Avoid chmod on windows
9 years ago
Jordi Boggiano
2c67fb67f2
Rename variable and remove useless comment
9 years ago
Jordi Boggiano
b945fc4d83
Add unzip support on windows and fail earlier if unzipping is impossible, fixes #4943
9 years ago
Jordi Boggiano
4df7ade801
Merge remote-tracking branch 'burci/feature/path_downloader_option_to_force_copy'
9 years ago
Rob Bast
a245c4618b
php-cs-fixer
9 years ago
Peter Buri
861b2bc8e8
Introduce option to force copy instead of symlinking in PathDownloader
9 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.
9 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
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