profile
viewpoint
Jeffrey Cafferata cafferata JCID Vlaardingen, The Netherlands

dataoverheid/DCAT-AP-NL 2

Documentation DCAT

cafferata/ansible-role-homebrew 0

Ansible Role - Homebrew

dataoverheid/waardelijsten 0

Data.overheid.nl - Waardelijsten

Idsgn/Digisupplies 0

Test repo

push eventminvws/nl-covid19-notification-app-coordination

Bram Duvigneau

commit sha 434baf84c767c505b6bbcc03403f52488f169413

Update accessibility audits from Stichting Accessibility

view details

damaarten

commit sha a464e89aca4343a823fffec3766eb8bb8956bcb4

Update README.md tekstuele correcties

view details

Dirk-Willem van Gulik

commit sha c05a4250f8d05bc7224b06d057df9e41b4c76d1a

Merge pull request #87 from bramd/update-accessibility-audits Update accessibility audits from Stichting Accessibility

view details

push time in 34 minutes

pull request commentminvws/nl-covid19-notification-app-coordination

Update accessibility audits from Stichting Accessibility

@bramd bedankt voor de update! Ik heb 2 tekstuele correcties gedfaan in de README.md. @ijansch kun jij deze approven en mergen? ik mag niet meer

bramd

comment created time in an hour

issue commentdeployphp/deployer

Unable to run in windows because of escapeshellarg()

Yes, some work should be done on windows to enable it.

TrueXakeP

comment created time in 2 hours

issue commentSequel-Ace/Sequel-Ace

Linux support

Understood. No bandwidth for this on our end right now, but I'm always pushing for the company to do more FOSS work. It's a giant slow moving machine - still, maybe I can justify it in the future. If anyone else does first, that'd be lovely, I'll keep watch on this project.

aradapilot

comment created time in 3 hours

created tagminvws/nl-covid19-notification-app-website

tag5.0.69

Project website

created time in 3 hours

release minvws/nl-covid19-notification-app-website

5.0.69

released time in 3 hours

push eventminvws/nl-covid19-notification-app-website

Anneke Sinnema

commit sha ce444a948dad51698be1e0b31aa40fe529554be5

Content updates & reordering Signed-off-by: Anneke Sinnema <mail@annekesinnema.nl>

view details

Anneke Sinnema

commit sha 01600913a44c1c1009ef2bb39a8ab3c9aba771b0

Updated downloadnumber december 2 Signed-off-by: Anneke Sinnema <mail@annekesinnema.nl>

view details

push time in 3 hours

issue openeddeployphp/deployer

Unable to run in windows because of escapeshellarg()

When deployer runs in windows (php for windows) then in this line escapeshellarg() corrupts an ssh command by replacing a '%' to a space so the printf become printf [exit_code: s] $?; : https://github.com/deployphp/deployer/blob/9a48ed0561dc52cf49e7fbf8b754d12ff12f55af/src/Component/Ssh/Client.php#L62 Maybe related to #1001

Also I see that ssh multiplexing via ControlPath is not working in windows. And it seems a known problem. So I just disable it.

  • Deployer version: 7.0.0-beta.11
  • Local OS: Windows 10 Enterprise Insider Preview x86_64 2004 20201.1000
  • Target OS: Ubuntu 18.04.5 LTS
  • php -v:
PHP 7.4.11 (cli) (built: Sep 29 2020 13:18:06) ( ZTS Visual C++ 2017 x64 )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Xdebug v2.9.8, Copyright (c) 2002-2020, by Derick Rethans
  • A minimal reproducible example of deploy.php:
<?php
namespace Deployer;
set('ssh_multiplexing', false);
host('unix@ubuntu-h-v');
task('test_test', function () {
    $pwd = run('pwd');
    writeln($pwd);
});

Actual output:

$ dep test_test -vvv
[unix@ubuntu-h-v] C:\tools\openserver\modules\php\PHP_7.4\php.exe C:\Tools\OpenServer\userdata\composer\vendor\deployer\deployer\bin\dep connect --host unix@ubuntu-h-v --decorated -vvv
task test_test
[unix@ubuntu-h-v] C:\tools\openserver\modules\php\PHP_7.4\php.exe C:\Tools\OpenServer\userdata\composer\vendor\deployer\deployer\bin\dep worker --task test_test --host unix@ubuntu-h-v --port 15121 --decorated -vvv
[unix@ubuntu-h-v] ssh  -A unix@ubuntu-h-v  ": 0d84caafc8c06b09c0f7; bash -ls; printf  $?;"
[unix@ubuntu-h-v] run pwd
[unix@ubuntu-h-v] /home/unix
[unix@ubuntu-h-v] [exit_code:
[unix@ubuntu-h-v]  error  in deploy.php on line 6:
[unix@ubuntu-h-v] exit code -1 (Unknown error)
done test_test 1s 302ms

Expected output:

$ dep test_test -vvv
[localhost] /usr/bin/php7.4 /mnt/c/tools/openserver/userdata/composer/vendor/deployer/deployer/bin/dep connect --host localhost --decorated -vvv
task test_test
[localhost] /usr/bin/php7.4 /mnt/c/tools/openserver/userdata/composer/vendor/deployer/deployer/bin/dep worker --task test_test --host localhost --port 44209 --decorated -vvv
[localhost] ssh  -A localhost  ': d4ad40a034b99eb1827f; bash -ls; printf  $?;'
[localhost] run pwd
[localhost] /home/unix
[localhost] /home/unix
done on localhost
done test_test 3s 45ms

created time in 3 hours

push eventTomasVotruba/tomasvotruba.com

TomasVotruba

commit sha bd1c14c15126a983ec8a4cd73b82e669303ae669

Deploying to gh-pages from @ 5ae8b4153c5d6286b256ad665b0b79905e99395e 🚀

view details

push time in 4 hours

delete branch TomasVotruba/tomasvotruba.com

delete branch : remove-thank-you-talks

delete time in 4 hours

push eventTomasVotruba/tomasvotruba.com

Tomas Votruba

commit sha 5ae8b4153c5d6286b256ad665b0b79905e99395e

Remove thank you + talks to narrow focus on website (#1110)

view details

push time in 4 hours

push eventTomasVotruba/tomasvotruba.com

TomasVotruba

commit sha cc1dacc778b1ce0ec11ad2ee538e6e418037b6fb

drop talks, drop contributor list, not much visited

view details

push time in 4 hours

create barnchTomasVotruba/tomasvotruba.com

branch : remove-thank-you-talks

created branch time in 4 hours

issue commentdeployphp/deployer

Duplicate releases in status

This is really strange. Let's try to investigate what is going on. Try to unarchive phar and show the content of modified files. Your deploy.php looks all right, I use something similar, and my phar dep works just fine.

Can you find a way to reproduce the problem?

patrickhoehn

comment created time in 5 hours

issue commentdeployphp/deployer

Duplicate releases in status

Now I can't deploy anymore :( The first time I tried I got: Deployer\Exception\GracefulShutdownException in lock.php on line 14: Deploy locked. Execute "deploy:unlock" task to unlock. Then I tried it again: In ClassLoader.php line 444: include(phar:///usr/local/bin/dep/vendor/composer/../../src/Executor/Server.php): failed to open stream: phar error: internal corruption of phar "/usr/local/bin/dep" (crc32 mismatch on file "src/Executor/Server.php") and when I run dep status the first time: ParseError in Server.php on line 131: syntax error, unexpected '<', expecting end of file The second time: Error in Deployer.php on line 160: Class 'Deployer\Executor\Server' not found And the third times it works again

patrickhoehn

comment created time in 6 hours

issue commentdeployphp/deployer

tty option of run() not work if a host is remote

It’s insecure if password are getting logged somewhere. For example in history. Or ci logs. Deployer has secrets specifically for this case.

TrueXakeP

comment created time in 6 hours

pull request commenthautelook/AliceBundle

WIP: support for ORM + ODM loaders at the same time DO NOT MERGE

@data219 will try to have a look tonight

dkarlovi

comment created time in 6 hours

pull request commentdeployphp/deployer

Allow changing Composer channel

An update - I will have it today at evening.

Mika56

comment created time in 7 hours

issue closedgiggsey/libphonenumber-for-php

Netherlands phone number does not pass validation

For example, +3197010253162 does not pass validation. Problem is that the returned number type from getNumberTypeHelper method is UNKNOWN. Why?

closed time in 7 hours

valentin-pazushko

issue commentdeployphp/deployer

tty option of run() not work if a host is remote

Yes, for now I am using mysqladmin -u root password '%secret%'. But mysqladmin tells me it is insecure and it worries me.

TrueXakeP

comment created time in 7 hours

push eventsymplify/symplify

TomasVotruba

commit sha b6851dc0d7994f654090588672e9dfd488bbbb04

[ECS] Remove deprecated slevomat dead code sniffs

view details

push time in 8 hours

push eventsymplify/symplify

TomasVotruba

commit sha 8d3074eb8e6c0ddfb9eeef9fb9790097efe50e08

fix bad code

view details

push time in 8 hours

issue commentdeployphp/deployer

Duplicate releases in status

On the server are just two releases left now (26 and 27) where should be 5. Is that because Deployer adds up the duplicates? What should I look for in -v? Here is my deploy.php:

namespace Deployer;

require 'recipe/laravel.php';

// Project name
set('application', 'xyz');

// Project repository
set('repository', 'git@github.com:patrickhoehn/xyz.git');

// [Optional] Allocate tty for git clone. Default value is false.
set('git_tty', true);

set('ssh_multiplexing', true);

// Shared files/dirs between deploys 
add('shared_files', [
    'public/.htaccess',
    'config/statamic/protect.php'
]);
/* add('shared_dirs', [
    'content',
    'public/assets'
]); */

set('writable_mode', 'chmod');

set('bin/php', function () {
    return '/usr/bin/php7.4-cli';
});

// Writable dirs by web server 
add('writable_dirs', []);

// http_user
set('http_user', 'u102339275');

// Hosts
host('xyz')
    ->set('remote_user', 'u102339275')
    ->set('identity_file', '~/.ssh/id_rsa')
    ->set('deploy_path', '/xyz');    
    
// Tasks
task('build', function () {
    run('composer install');
    run('npm install');
    run('npm run production');
})->local();

task('clear', function () {
    run('cd {{release_path}} && /usr/bin/php7.4-cli artisan cache:clear');
    run('cd {{release_path}} && rm -rf node_modules/');
});

task('upload', function () {
    upload(__DIR__ . "/", '{{release_path}}');
});

// TEST!

task('download', function () {
    download("{{deploy_path}}/shared/config", __DIR__ . "/test");
});

// TEST!

task('release', [
    'deploy:prepare',
    'deploy:release',
    'upload',
    'deploy:shared',
    'deploy:writable',
    'deploy:symlink',
]);

task('deploy', [
    'build',
    'release',
    'deploy:cleanup',
    'clear',
    'deploy:success'
]);

// [Optional] if deploy fails automatically unlock.
after('deploy:failed', 'deploy:unlock');```
patrickhoehn

comment created time in 8 hours

push eventsymplify/symplify

Abdul Malik Ikhsan

commit sha 526126aa54489ee997a3a8a2344a716415c26fcf

[RuleDocGenerator] Fixes rectorphp/rector#4756 AbstractCodeSample parameter order (#2583) Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>

view details

push time in 8 hours

more