IRC logs for #aegir, 2014-11-24 (GMT)

2014-11-23
2014-11-25
TimeNickMessage
[11:00:23]* maestrojed has joined #aegir
[11:05:21]* btopro has joined #aegir
[11:08:12]* btopro has left #aegir ()
[11:15:49]* Egyptian[Home] has joined #aegir
[11:21:33]* e-anima has quit (Quit: reallife not found)
[11:30:47]* Egyptian[Home] has quit (Quit: Leaving.)
[11:31:05]* Egyptian[Home] has joined #aegir
[11:37:21]* glennpratt has quit (Remote host closed the connection)
[11:43:33]* glennpratt has joined #aegir
[11:44:09]* chaloum has joined #aegir
[11:48:05]* glennpratt has quit (Remote host closed the connection)
[12:02:01]* maestrojed has quit (Quit: Computer has gone to sleep.)
[12:07:45]* glennpratt has joined #aegir
[12:11:09]* Egyptian[Home] has quit (Ping timeout: 258 seconds)
[12:14:00]* Egyptian[Home] has joined #aegir
[12:21:35]* fatguylaughing has joined #aegir
[12:25:32]* fatguylaughing has quit (Client Quit)
[12:38:45]* glennpratt has quit (Remote host closed the connection)
[13:09:11]* glennpratt has joined #aegir
[13:45:25]* wolfpackmars2 has quit (Read error: Connection reset by peer)
[13:46:18]* glennpratt has quit (Remote host closed the connection)
[13:51:49]* wolfpackmars2 has joined #aegir
[13:56:31]* glennpratt has joined #aegir
[14:06:02]* maestrojed has joined #aegir
[14:14:58]* Egyptian[Home] has quit (Ping timeout: 258 seconds)
[14:32:05]* maestrojed has quit (Quit: Computer has gone to sleep.)
[14:39:38]* chaloum has quit ()
[14:41:50]* glennpratt has quit (Remote host closed the connection)
[14:42:03]* fatguylaughing has joined #aegir
[14:42:03]* fatguylaughing has quit (Client Quit)
[14:46:35]* berniecram has quit (Quit: berniecram)
[14:53:05]* MrScumbag has joined #aegir
[15:00:49]* Egyptian[Home] has joined #aegir
[15:06:16]* glennpratt has joined #aegir
[15:07:32]* wolfpackmars2 has quit (Remote host closed the connection)
[15:08:00]* MrScumbag has quit (Quit: MrScumbag)
[15:09:47]* realityloopAFK is now known as realityloop
[15:24:17]* berniecram has joined #aegir
[15:34:39]* berniecram has quit (Quit: berniecram)
[15:37:32]* MrScumbag has joined #aegir
[15:52:52]* MrScumbag has quit (Quit: MrScumbag)
[15:57:16]* fatguylaughing has joined #aegir
[16:01:19]* maestrojed has joined #aegir
[16:07:49]* fatguylaughing has quit (Quit: fatguylaughing)
[16:09:12]* beautifulmind has joined #aegir
[16:10:08]* berniecram has joined #aegir
[16:14:02]* beautifulmind has quit (Read error: Connection reset by peer)
[16:19:29]* beautifulmind has joined #aegir
[16:22:05]* beautifulmind has quit (Read error: Connection reset by peer)
[16:24:28]* MrScumbag has joined #aegir
[16:24:50]* beautifulmind has joined #aegir
[16:29:17]* beautifulmind has quit (Ping timeout: 240 seconds)
[16:33:14]* beautifulmind has joined #aegir
[16:41:22]* MrScumbag has quit (Quit: MrScumbag)
[17:17:03]* Egyptian[Home] has quit (Ping timeout: 258 seconds)
[17:18:30]* maestrojed has quit (Quit: Computer has gone to sleep.)
[17:22:13]* stijnvbrande has joined #aegir
[17:25:44]* stijnvbrande has quit (Remote host closed the connection)
[17:26:17]* berniecram has quit (Quit: berniecram)
[17:51:48]* stijnvbrande has joined #aegir
[17:52:03]* David_Hernandez has joined #aegir
[17:56:23]* stijnvbrande has quit (Remote host closed the connection)
[18:03:52]* BenjDaAfrican has joined #aegir
[18:04:29]* realityloop is now known as realityloopAFK
[18:06:11]* boshtian has joined #aegir
[18:27:39]* boshtian has quit (Ping timeout: 264 seconds)
[18:28:41]* maestrojed has joined #aegir
[18:29:04]* beautifulmind has quit (Quit: Leaving.)
[18:43:41]* esolitos has joined #aegir
[18:54:56]* realityloopAFK is now known as realityloop
[18:56:38]* maestrojed has quit (Quit: Computer has gone to sleep.)
[19:13:24]* realityloop is now known as realityloopAFK
[19:15:50]* boshtian has joined #aegir
[19:45:51]* berniecram has joined #aegir
[19:49:02]* littledynamo has joined #aegir
[19:59:05]* ivanjaros has joined #aegir
[20:04:09]* e-anima has joined #aegir
[20:06:07]* berniecram has quit (Quit: berniecram)
[20:07:06]* BenjDaAfrican has quit (Remote host closed the connection)
[20:09:17]* BenjDaAfrican has joined #aegir
[20:18:53]* gandhiano has joined #aegir
[20:40:37]* ivanjaros3916 has joined #aegir
[20:43:17]* ivanjaros has quit (Ping timeout: 240 seconds)
[20:51:52]* realityloopAFK is now known as realityloop
[21:02:11]* realityloop is now known as realityloopAFK
[21:02:11]* berniecram has joined #aegir
[21:10:54]* beautifulmind has joined #aegir
[21:27:03]* berniecram has quit (Quit: berniecram)
[21:30:44]* stemount has quit (Quit: Connection closed for inactivity)
[21:46:36]* jerryitt has joined #aegir
[21:49:17]* berniecram has joined #aegir
[22:26:27]* boshtian has quit (Ping timeout: 255 seconds)
[22:40:37]* realityloopAFK is now known as realityloop
[22:50:48]* realityloop is now known as realityloopAFK
[22:52:22]* ratioweb has joined #aegir
[23:13:44]* josephleon has joined #aegir
[23:16:14]* boshtian has joined #aegir
[00:03:47]* berniecram has quit (Quit: berniecram)
[00:17:53]* BenjDaAfrican has quit (Ping timeout: 264 seconds)
[00:18:41]* jerryitt has quit (Quit: Connection closed for inactivity)
[00:20:53]* beautifulmind has quit (Quit: Leaving.)
[00:23:54]* dsnopek has quit (Read error: Connection reset by peer)
[00:24:40]* dsnopek has joined #aegir
[00:25:19]* VeggieMeat_ has joined #aegir
[00:25:30]* elijah_ has joined #aegir
[00:25:37]* elijah has quit (Ping timeout: 265 seconds)
[00:25:38]* lowell has quit (Ping timeout: 265 seconds)
[00:26:06]* VeggieMeat has quit (Ping timeout: 265 seconds)
[00:26:06]* jonpugh has quit (Ping timeout: 265 seconds)
[00:26:09]* lowell has joined #aegir
[00:26:55]* elijah_ is now known as elijah
[00:29:01]* jonpugh has joined #aegir
[00:29:34]* realityloopAFK is now known as realityloop
[00:39:39]* realityloop is now known as realityloopAFK
[00:55:55]* josephleon has quit (Quit: Leaving...)
[01:02:04]* David_Hernandez has quit (Quit: Saliendo)
[01:04:18]* zz_drakythe is now known as drakythe
[01:07:47]* gandhiano has quit (Ping timeout: 258 seconds)
[01:18:01]* JeremyR has joined #aegir
[01:21:05]* JeremyR has quit (Client Quit)
[01:28:12]* boshtian has quit (Quit: boshtian)
[01:28:24]* boshtian has joined #aegir
[01:45:21]* MrScumbag has joined #aegir
[01:48:04]* MrScumbag_ has joined #aegir
[01:48:45]* btopro has joined #aegir
[01:48:48]* realityloopAFK is now known as realityloop
[01:50:01]* btopro has left #aegir ()
[01:50:13]* MrScumbag has quit (Ping timeout: 255 seconds)
[01:50:13]* MrScumbag_ is now known as MrScumbag
[01:56:29]* josephleon has joined #aegir
[01:56:44]* zombiebeard has joined #aegir
[01:56:52]* JeremyR has joined #aegir
[01:57:42]* maestrojed has joined #aegir
[01:59:09]* realityloop is now known as realityloopAFK
[02:00:46]* jerryitt has joined #aegir
[02:01:15]* josephleon has quit (Ping timeout: 264 seconds)
[02:04:03]* josephleon has joined #aegir
[02:07:03]* esolitos has quit (Quit: esolitos)
[02:07:28]* josephleon has quit (Client Quit)
[02:14:52]* josephleon has joined #aegir
[02:31:39]* boshtian has quit (Quit: boshtian)
[02:53:39]* VeggieMeat_ is now known as VeggieMeat
[02:55:46]* littledynamo has quit (Ping timeout: 244 seconds)
[02:58:01]* littledynamo has joined #aegir
[03:09:09]* zombiebeard has quit (Quit: zombiebeard)
[03:09:33]* noecc has joined #aegir
[03:12:25]* fatguylaughing has joined #aegir
[03:16:54]* zombiebeard has joined #aegir
[03:22:57]* gandhiano has joined #aegir
[03:34:20]* boshtian has joined #aegir
[03:37:33]* realityloopAFK is now known as realityloop
[03:47:44]* realityloop is now known as realityloopAFK
[03:48:44]* stijnvbrande has joined #aegir
[03:53:59]* littledynamo has quit (Quit: ChatZilla 0.9.91 [Firefox 33.1/20141106120505])
[03:55:19]* stijnvbrande has quit (Remote host closed the connection)
[03:58:55]* ivanjaros3916 has quit (Quit: https://drupal.org/user/135190)
[04:06:23]* ratioweb has quit (Ping timeout: 240 seconds)
[04:11:26]* Peuc2 has joined #aegir
[04:17:27]* joestewart has quit (Ping timeout: 264 seconds)
[04:18:04]* zz_cdracars is now known as cdracars
[04:19:43]* joestewart has joined #aegir
[04:40:33]* Peuc2 has quit (Quit: Konversation terminated!)
[05:13:52]* ivanjaros has joined #aegir
[05:24:22]<fatguylaughing>gboudrias: ping
[05:24:28]* boshtian has quit (Quit: boshtian)
[05:26:19]* realityloopAFK is now known as realityloop
[05:28:45]* du5k has joined #aegir
[05:36:36]* realityloop is now known as realityloopAFK
[05:50:37]<gboudrias>fatguylaughing: hey
[05:50:39]<gboudrias>What's up?
[05:51:15]<fatguylaughing>gboudrias: Do you have some free time in about an hour or hour and a half?
[05:51:52]<fatguylaughing>gboudrias: I’m having trouble creating my aegir hosting task. Let alone trying to connect it to the backend drush command.
[05:54:16]* Peuc2 has joined #aegir
[05:54:20]<gboudrias>fatguylaughing: Not really, today's really busy. Tomorrow probably.
[05:54:51]<fatguylaughing>gboudrias: Well, do you mind if I just talk at you :D No need to respond
[05:55:09]<gboudrias>fatguylaughing: Go ahead
[05:55:32]<fatguylaughing>gboudrias: I will after lunch :D
[05:55:56]<gboudrias>fatguylaughing: I don't know if I've mentioned this, but if this is for a client or an employer it might be worth setting up some sort of coaching agreement
[05:56:12]<gboudrias>So I can really get in there and actually help
[05:58:25]<fatguylaughing>gboudrias: Well it’s something for the client but also something that will help us in-house. Also, I would have to talk to my bosses :)
[06:03:59]<gboudrias>Doesn't hurt to try :P Anyway as long as it's in a public channel we consider it "volunteering" for the community, I just can't promise anything
[06:04:30]<gboudrias>But feel free to email me at gboudrias@praxis.coop if you think such an agreement might be helpful
[06:15:06]* gusaus has joined #aegir
[06:56:26]* berniecram has joined #aegir
[07:03:27]* cdracars is now known as zz_cdracars
[07:04:31]* zz_cdracars is now known as cdracars
[07:06:02]* cdracars is now known as zz_cdracars
[07:06:39]* zz_cdracars is now known as cdracars
[07:08:17]* cdracars is now known as zz_cdracars
[07:09:15]* noecc has left #aegir ("pax")
[07:11:10]* zz_cdracars is now known as cdracars
[07:19:01]* iribarne has joined #aegir
[07:19:38]* berniecram has quit (Quit: berniecram)
[08:15:39]<fatguylaughing>gboudrias: Is there something more than implementing hook_hosting_task() that I need to do to get my task to show up for Aegir?
[08:16:37]<gboudrias>fatguylaughing: As far as I remember, there are several things that all need to be correct, but an important one was that the drush function it refers to actually exists
[08:16:59]<fatguylaughing>gboudrias: The provision one?
[08:17:03]<gboudrias>fatguylaughing: yeah
[08:17:06]<fatguylaughing>gboudrias: Or do I need another drush command.
[08:17:08]<fatguylaughing>oh ok
[08:17:20]<fatguylaughing>gboudrias: Well I’ll read up on how it auto gens the names
[08:17:29]<gboudrias>fatguylaughing: Well as you may know we call "provision commands" the drush commands that depend on Provision
[08:17:33]<gboudrias>So that's... tricky
[08:17:45]<gboudrias>fatguylaughing: There's a parameter to specify it manually in case of doubt
[08:18:10]<fatguylaughing>gboudrias: Thanks - I’m going to read the description on the API again.
[08:18:20]<gboudrias>cool no problem
[08:18:50]<gboudrias>fatguylaughing: OH, access as wel
[08:18:53]<gboudrias>well*
[08:19:10]<gboudrias>fatguylaughing: The "access callback" parameter is pretty important iirc
[08:19:18]<fatguylaughing>gboudrias: Yeah it’s using the default. So I’m looking at hosting_task_menu_access right now.
[08:19:29]<gboudrias>cool
[08:22:12]* Peuc2 has quit (Quit: Konversation terminated!)
[08:22:20]* fatguylaughing scratches head
[08:22:51]<fatguylaughing>It seems if the $node->type is a site then the only possible out come is FALSE unless the site can be disabled or enabled.
[08:31:11]* btopro has joined #aegir
[08:36:34]<fatguylaughing>The frontend also define drush commands that are ran through a cronjob and therefore provide the glue to the backend.
[08:36:34]* btopro has quit (Ping timeout: 255 seconds)
[08:38:21]<fatguylaughing>gboudrias: So I feel like that says I need to have a drush command locally for my hosting module to actually fire off my backend stuff for the provision_s3fs command?
[08:40:21]<gboudrias>fatguylaughing: That doesn't sound right. It should be either or.
[08:40:42]<gboudrias>fatguylaughing: You can set the access callback to "TRUE" to ignore the access problems until you know the task works
[08:40:44]<fatguylaughing>gboudrias: Ok
[08:40:51]<fatguylaughing>Reading the http://api.aegirproject.org/api/aegir/hosting2%21hosting.queues.inc/grou... now
[08:41:01]<fatguylaughing>I did the access TRUE didn’t work.
[08:41:24]<fatguylaughing>site clone for example.
[08:41:32]<fatguylaughing>Has a task keyed as clone
[08:41:33]<gboudrias>hey cool
[08:41:42]<gboudrias>ok
[08:41:45]<fatguylaughing>I imagine that it calls provision-call on the backend.
[08:41:53]* gandhiano has quit (Ping timeout: 264 seconds)
[08:42:06]<fatguylaughing>So I believe Aegir is appending provision- to the task name.
[08:42:09]* josephleon has quit (Quit: Leaving...)
[08:42:17]<fatguylaughing>If so, then mine should match the backend.
[08:42:21]<gboudrias>(You can just create an access function that always returns TRUE)
[08:42:41]<fatguylaughing>So that’s where I’m confused.
[08:42:45]<fatguylaughing>Ok I’ll do it as a function instead of just TRUE
[08:46:55]* realityloopAFK is now known as realityloop
[08:48:16]<gboudrias>fatguylaughing: This is the provision command for tasks that have all been tested thoroughly: http://cgit.drupalcode.org/provision_tasks_extra/tree/provision_tasks_ex...
[08:49:41]<gboudrias>It's from provision_tasks_extra (for hosting_tasks_extra), which might be the most supported Aegir contrib module: http://cgit.drupalcode.org/hosting_tasks_extra/tree
[08:50:19]<gboudrias>(Looking at hosting_site_backup_manager, it's not a good example on the provision side, since it doesn't define new tasks.)
[08:50:29]<gboudrias>(And also it gets a few things wrong... todo.)
[08:51:09]* realityloop is now known as realityloopAFK
[08:51:51]<fatguylaughing>gboudrias: Just making sure I’m looking in the right area… but on the site node there is the task list to the right that can be executed. It should be in there yeah?
[08:52:38]<gboudrias>fatguylaughing: Yeah if it's a task to be executed on a site
[08:53:08]<fatguylaughing>ok just making sure :D
[08:56:59]* josephleon has joined #aegir
[09:01:35]* josephleon has quit (Ping timeout: 258 seconds)
[09:03:04]* iribarne has quit (Quit: iribarne)
[09:03:23]* btopro has joined #aegir
[09:06:58]* cdracars is now known as zz_cdracars
[09:09:36]* btopro has left #aegir ()
[09:10:41]* MrScumbag has quit (Ping timeout: 264 seconds)
[09:14:17]<fatguylaughing>gboudrias: Looks like this might be messing me up. $hook = 'hosting_' . $task->ref->type . '_context_options';
[09:14:43]<fatguylaughing>gboudrias: The code is assuming that my task name will have underscores in it if I am using multiple words.
[09:15:03]<fatguylaughing>gboudrias: So I bet my task of s3fs-create-bucket is not going to work as a hook :D
[09:15:13]<fatguylaughing>gboudrias: That would be a bad funciton name.
[09:15:38]<gboudrias>fatguylaughing: Sounds likely
[09:16:02]<gboudrias>fatguylaughing: In general anyway, you either want hosting_s3fs etc or provision_s3fs etc
[09:16:06]<fatguylaughing>gboudrias: Which means my provision name needs to be provision-s3fs_create_bucket
[09:16:26]<gboudrias>fatguylaughing: Yeah, I recommend underscores though (not dashes)
[09:16:52]<gboudrias>(That doesn't matter on the folder name, but for function names I think similar assumptions are made)
[09:17:01]<fatguylaughing>gboudrias: If that works then we need to update Docs.
[09:17:14]<fatguylaughing>gboudrias: Right. I will try it out before getting to crazy here.
[09:17:30]* gandhiano has joined #aegir
[09:17:36]<gboudrias>fatguylaughing: Always a good idea :p
[09:17:47]* zz_cdracars is now known as cdracars
[09:18:04]<fatguylaughing>gboudrias: You wouldn’t know where I will need to add in a patch at. I’m so used to doing it on D.o.
[09:18:14]<fatguylaughing>gboudrias: Not sure if that is the right spot for a patch to Aegir
[09:18:20]<fatguylaughing>On docs that is :D
[09:18:48]<gboudrias>fatguylaughing: Aegir docs are generated from the code docs
[09:18:53]<fatguylaughing>gboudrias: Right
[09:19:20]* cdracars is now known as zz_cdracars
[09:19:21]<gboudrias>fatguylaughing: So if it's provision that would be drupal.org/project/provision
[09:19:41]<gboudrias>fatguylaughing: If it's doc for hosting it's drupal.org/project/hosting
[09:19:42]<gboudrias>etc
[09:19:45]<fatguylaughing>gboudrias: Yeah, I forget Aegir isn’t a project . It’s separated.
[09:19:47]<fatguylaughing>Thanks
[09:20:04]<gboudrias>Right, it's a lot of projects :p (mostly just 2 though)
[09:20:04]<gboudrias>np
[09:20:23]* zz_cdracars is now known as cdracars
[09:24:13]* cdracars is now known as zz_cdracars
[09:29:54]* FatherShawn has joined #aegir
[09:41:30]* Egyptian[Home] has joined #aegir
[09:45:37]* zombiebeard has quit (Quit: zombiebeard)
[09:48:44]* Egyptian[Home] has quit (Ping timeout: 258 seconds)
[09:50:06]* ivanjaros has quit (Quit: https://drupal.org/user/135190)
[09:59:55]* zz_cdracars is now known as cdracars
[10:01:06]<fatguylaughing>gboudrias: Just ran hosting_available_tasks() it’s not picking up my task at all :D
[10:01:08]<fatguylaughing>Fun times
[10:01:13]<fatguylaughing>Thanks for the help earlier.
[10:07:41]* fatguylaughing has quit (Quit: fatguylaughing)
[10:09:03]<gboudrias>hefring: Tell fatguylaughing good start to debugging though
[10:09:04]<hefring>gboudrias: I'll pass that on when fatguylaughing is around.
[10:11:19]* berniecram has joined #aegir
[10:13:49]* glennpratt has quit (Remote host closed the connection)
[10:27:47]* glennpratt has joined #aegir
[10:34:08]* FatherShawn has quit (Quit: (null))
[10:40:05]* du5k has quit (Ping timeout: 264 seconds)
[10:44:53]* cdracars is now known as zz_cdracars
[10:56:36]* zz_cdracars is now known as cdracars