# |
Oct 4th 2018, 15:14 |
rudy1976s |
good afternoon |
# |
Oct 4th 2018, 15:13 |
btx |
what, nooo - look at the Cake example |
# |
Oct 4th 2018, 15:12 |
clynch |
It is :( |
# |
Oct 4th 2018, 15:12 |
ricksaccous |
with the same logic, lol |
# |
Oct 4th 2018, 15:12 |
ricksaccous |
oh, i thought it was the same exact function duplicated |
# |
Oct 4th 2018, 15:12 |
btx |
traits would only help if you have the *same* options available in each Task (like a help function) |
# |
Oct 4th 2018, 15:11 |
ricksaccous |
@clynch can probably use traits in this case? |
# |
Oct 4th 2018, 15:10 |
clynch |
K, good. Like I said, it is just odd having the same exact function on both files in order for it to work. Maybe it is just something I will just have to live with. I am not a fan of redundancy. |
# |
Oct 4th 2018, 15:10 |
ricksaccous |
i wonder if this spam is AI trying to learn how to communicate with humans |
# |
Oct 4th 2018, 15:10 |
btx |
@admad converted my XML gen to Shell and it worked like a charm - thanks for the help |
# |
Oct 4th 2018, 15:06 |
btx |
@mail947 that seems to be how Cake itself does it https://github.com/cakephp/bake/blob/master/src/Shell/Task/TemplateTask.php#L394 |
# |
Oct 4th 2018, 15:06 |
methods_aC |
CustosLimen: did you manage to solve your packages ? |
# |
Oct 4th 2018, 15:06 |
methods_aC |
the1iplay: 1 big tip for you: be careful what version of centos you use, the tests are often older, like 7.1 or even 7.0 instead of 7.5, and for some things specific to the test there IS a difference |
# |
Oct 4th 2018, 15:06 |
methods_aC |
Thanks in advance for your help and time |
# |
Oct 4th 2018, 15:05 |
methods_aC |
(on phone) |
# |
Oct 4th 2018, 15:05 |
methods_aC |
danielbeck: :) |
# |
Oct 4th 2018, 15:05 |
methods_aC |
Kashi_, let's say 'ok' |
# |
Oct 4th 2018, 14:58 |
slackebot |
getOptionParser() { $parser = parent::getOptionParser(); return $parser->addOption( 'clear', array( 'short' => 'c', 'help' => 'Clear cached folders')); }``` |
# |
Oct 4th 2018, 14:58 |
clynch |
Hey all, so I have a command shell which has a task. I need to add an option to the console option parser for the task to use. The only way I can seem to get it to work is to have a function that calls the getOptionParser() on both the shell and task. This seems odd to me to have the same function on both. Is there a way to just have it on either the shell or the task? Or am I just adding the option wrong... ```public function |
# |
Oct 4th 2018, 14:52 |
neon1024 |
I guess you store when they started? |
# |
Oct 4th 2018, 14:51 |
dereuromark |
we have some that dont end after 30min and then run for 2h blocking others. |
# |
Oct 4th 2018, 14:51 |
dereuromark |
can i query all currently long running jobs somehow? |
# |
Oct 4th 2018, 14:42 |
ContifE |
nope, appaentlyt it was cancelled |
# |
Oct 4th 2018, 14:42 |
ContifE |
no.. |
# |
Oct 4th 2018, 14:38 |
kenzierocksMq |
feel free to crbug.com/new ; cs stuff is just tracked in the regular bug tracker |
# |
Oct 4th 2018, 14:38 |
kenzierocksMq |
explain it better |
# |
Oct 4th 2018, 14:38 |
kenzierocksMq |
robin_listas: ... OK, good luck to you my friend. |
# |
Oct 4th 2018, 14:38 |
kenzierocksMq |
waht's so funny? :) |
# |
Oct 4th 2018, 13:52 |
ricksaccous |
@neon1024 are you asking me if i'm roman? probably not, lol |
# |
Oct 4th 2018, 13:40 |
wyrihaximus |
@dereuromark you mean https://github.com/php-api-clients/travis ? |
# |
Oct 4th 2018, 13:34 |
neon1024 |
Probably from a famous line of inbred village idiots |
# |
Oct 4th 2018, 13:34 |
neon1024 |
No idea on my heritage |
# |
Oct 4th 2018, 13:34 |
neon1024 |
Well I might be I guess, being in Britainnia |
# |
Oct 4th 2018, 13:34 |
neon1024 |
Are you Roman? |
# |
Oct 4th 2018, 13:33 |
ricksaccous |
@neon1024 i am, feels bad man |
# |
Oct 4th 2018, 13:32 |
dereuromark |
@wyrihaximus Hey, you did the travis PHP api? |
# |
Oct 4th 2018, 13:32 |
neon1024 |
I am no pleb! |
# |
Oct 4th 2018, 13:31 |
ricksaccous |
@dereuromark gives his time and heart and soul to us plebians, he does it out of his graciousness |
# |
Oct 4th 2018, 13:29 |
dereuromark |
rector should be quite complete these days for it |
# |
Oct 4th 2018, 13:27 |
neon1024 |
Thanks Mark! :thumbsup: |
# |
Oct 4th 2018, 13:26 |
neon1024 |
@dereuromark upgrade plugin with upgrade skeleton worked good for me :slightly_smiling_face: |