chore: remove obsolete deployer rsync fix
This commit is contained in:
Generated
+6
-6
@@ -12325,16 +12325,16 @@
|
||||
},
|
||||
{
|
||||
"name": "friendsofphp/php-cs-fixer",
|
||||
"version": "v3.95.23",
|
||||
"version": "v3.95.24",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git",
|
||||
"reference": "b2932a5af3157a0c28324b1efe5e3b556dee09c4"
|
||||
"reference": "9a4b8050f8768646bf3693ee7416978ceeca6206"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/b2932a5af3157a0c28324b1efe5e3b556dee09c4",
|
||||
"reference": "b2932a5af3157a0c28324b1efe5e3b556dee09c4",
|
||||
"url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/9a4b8050f8768646bf3693ee7416978ceeca6206",
|
||||
"reference": "9a4b8050f8768646bf3693ee7416978ceeca6206",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -12417,7 +12417,7 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues",
|
||||
"source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.95.23"
|
||||
"source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.95.24"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@@ -12425,7 +12425,7 @@
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2026-08-26T19:54:54+00:00"
|
||||
"time": "2026-08-31T15:31:12+00:00"
|
||||
},
|
||||
{
|
||||
"name": "marcocesarato/php-conventional-changelog",
|
||||
|
||||
-18
@@ -69,24 +69,6 @@ $rsyncOptions = [
|
||||
'timeout' => 300,
|
||||
];
|
||||
|
||||
// The provider's rsync (3.5.0) fails to chdir into a destination whose path traverses
|
||||
// symlinks, which /home/www/p704161 does: `change_dir#1 ... Too many levels of symbolic
|
||||
// links (40)`. Verified: the same directory rsyncs fine when addressed relative to $HOME.
|
||||
// Only contrib/rsync.php hands a path to rsync; every other task goes through the SSH
|
||||
// shell, which resolves the absolute path without trouble, so deploy_path stays absolute.
|
||||
set('remote_home', '/home/www/p704161');
|
||||
|
||||
set('rsync_dest', function () {
|
||||
$releasePath = get('release_path');
|
||||
$home = rtrim(get('remote_home'), '/').'/';
|
||||
|
||||
if (!str_starts_with($releasePath, $home)) {
|
||||
return $releasePath;
|
||||
}
|
||||
|
||||
return substr($releasePath, strlen($home));
|
||||
});
|
||||
|
||||
host('prod')
|
||||
->setHostname('185.243.135.29')
|
||||
->setRemoteUser('p704161')
|
||||
|
||||
Reference in New Issue
Block a user