IRC logs for #aegir, 2014-12-05 (GMT)

2014-12-04
2014-12-06
TimeNickMessage
[11:12:29]* drakythe is now known as zz_drakythe
[11:56:59]* maestrojed has quit (Quit: Computer has gone to sleep.)
[12:03:02]* Euk_ has joined #aegir
[12:03:18]<Euk_>Hello!
[12:03:18]<hefring>salut
[12:03:35]<Euk_>Looking for some help with Aegir
[12:03:52]<Euk_>namely - saving some settings in the context file for platforms
[12:04:48]<Euk_>Does anybody have an example?
[12:05:37]* bgm has quit (Changing host)
[12:05:37]* bgm has joined #aegir
[12:05:47]<Euk_>I've tryed lots of examples posted in the community but nothing works for me... and documentation is pure and contains a lot of mistakes...
[12:06:32]<Euk_>Guys?
[12:15:47]* berniecram has joined #aegir
[12:30:15]* Euk_ has quit (Quit: Page closed)
[12:35:44]* Egyptian[Home] has joined #aegir
[12:40:04]* fatguylaughing has joined #aegir
[13:01:59]* zz_cdracars is now known as cdracars
[13:04:32]* Egyptian[Home] has quit (Ping timeout: 258 seconds)
[13:10:40]* Egyptian[Home] has joined #aegir
[13:22:33]* Egyptian[Home] has quit (Ping timeout: 258 seconds)
[13:23:54]* josh_k has quit (Read error: Connection reset by peer)
[13:24:18]* josh_k has joined #aegir
[13:24:37]* Egyptian[Home] has joined #aegir
[13:37:53]* Egyptian[Home] has quit (Ping timeout: 258 seconds)
[13:38:54]* Egyptian[Home] has joined #aegir
[13:41:17]* du5k0r has joined #aegir
[13:41:44]* du5k has quit (Ping timeout: 260 seconds)
[14:07:09]* drastik-jw_ has quit (Remote host closed the connection)
[14:08:17]* drastik-jw has joined #aegir
[14:36:55]* Egyptian[Home] has quit (Ping timeout: 258 seconds)
[14:54:43]* josh_k has quit (Remote host closed the connection)
[14:57:14]* Egyptian[Home] has joined #aegir
[15:04:10]* btopro has joined #aegir
[15:05:12]* btopro has left #aegir ()
[15:09:51]* josh_k has joined #aegir
[15:14:26]* josh_k has quit (Remote host closed the connection)
[15:22:36]* beautifulmind has joined #aegir
[15:24:10]* beautifulmind has quit (Read error: Connection reset by peer)
[15:31:03]* beautifulmind has joined #aegir
[15:33:20]* beautifulmind has quit (Read error: Connection reset by peer)
[15:44:24]* beautifulmind has joined #aegir
[15:47:50]* Egyptian[Home] has quit (Ping timeout: 258 seconds)
[15:50:32]* beautifulmind has quit (Ping timeout: 250 seconds)
[16:03:06]* beautifulmind has joined #aegir
[16:34:47]* omega8cc has joined #aegir
[16:43:10]* orangey_ has quit (Ping timeout: 256 seconds)
[16:46:15]* wolfpackmars2 has quit (Remote host closed the connection)
[16:47:21]* orangey has joined #aegir
[16:48:36]* cdracars is now known as zz_cdracars
[16:51:32]* orangey has quit (Ping timeout: 245 seconds)
[16:57:12]* orangey has joined #aegir
[17:29:30]* stijnvbrande has joined #aegir
[17:31:45]* beautifulmind has quit (Ping timeout: 252 seconds)
[17:34:24]* berniecram has quit (Quit: berniecram)
[18:04:12]* David_Hernandez has joined #aegir
[18:26:49]* omega8cc has quit (Quit: zzzzzz...)
[19:04:42]* ivanjaros has joined #aegir
[19:26:14]* boshtian has joined #aegir
[20:01:36]* danquah has quit (Ping timeout: 258 seconds)
[20:01:42]* danquah has joined #aegir
[20:22:20]* gandhiano has joined #aegir
[21:00:56]* beautifulmind has joined #aegir
[21:05:45]* e-anima has joined #aegir
[21:28:15]* jerryitt has joined #aegir
[22:27:35]* ratioweb has joined #aegir
[22:37:30]* Egyptian[Home] has joined #aegir
[22:38:42]* Egyptian[Home] has quit (Client Quit)
[22:38:56]* Egyptian[Home] has joined #aegir
[22:51:01]* dominikb1888 has joined #aegir
[22:51:41]* ivanjaros3916 has joined #aegir
[22:54:08]* ivanjaros has quit (Ping timeout: 265 seconds)
[22:57:10]* Egyptian[Home] has quit (Ping timeout: 258 seconds)
[22:58:31]* Egyptian[Home] has joined #aegir
[23:02:45]* beautifulmind has quit (Quit: Leaving.)
[23:03:37]* David_Hernandez has quit (Quit: Saliendo)
[23:20:14]* gandhiano has quit (Ping timeout: 245 seconds)
[23:25:23]* stijnvbrande has quit (Remote host closed the connection)
[23:25:55]* Egyptian[Home] has quit (Ping timeout: 258 seconds)
[23:32:51]* stijnvbrande has joined #aegir
[23:37:46]* fatguylaughing has quit (Read error: Connection reset by peer)
[23:38:36]* fatguylaughing has joined #aegir
[23:42:58]* noecc has joined #aegir
[00:26:22]* omega8cc has joined #aegir
[00:30:54]* dominikb1888 has quit (Quit: dominikb1888)
[00:44:13]<hefring>Git => Issue #2267057 by helmo: Pre-upgrade add ctools to 6.x-2.x . => http://cgit.drupalcode.org/hostmaster/commit/?id=fe729f7eb4d962375ad7494...
[00:55:52]* zombiebeard has joined #aegir
[01:09:07]* zz_drakythe is now known as drakythe
[01:18:43]* jerryitt has quit (Quit: Connection closed for inactivity)
[01:28:20]* rokk has joined #aegir
[01:47:40]* gandhiano has joined #aegir
[01:59:11]* stijnvbrande has quit (Remote host closed the connection)
[02:18:03]* fatguylaughing has quit (Quit: fatguylaughing)
[02:25:58]* gandhiano has quit (Read error: Connection reset by peer)
[02:28:55]* ivanjaros3916 has quit (Quit: https://drupal.org/user/135190)
[02:32:19]* rokk has quit (Ping timeout: 245 seconds)
[02:33:54]* zombiebeard has quit (Quit: zombiebeard)
[02:37:04]* zombiebeard has joined #aegir
[02:44:50]* maestrojed has joined #aegir
[02:51:09]* MrScumbag has joined #aegir
[02:51:37]* omega8cc has quit (Quit: zzzzzz...)
[02:53:09]<ergonlogic>hefring: tell Euk_ ping me when you want to try adding settings to a platform context
[02:53:09]<hefring>ergonlogic: I'll pass that on when Euk_ is around.
[03:00:56]* omega8cc has joined #aegir
[03:01:16]* fatguylaughing has joined #aegir
[03:45:40]* josh_k has joined #aegir
[04:04:22]* josephleon has joined #aegir
[04:20:33]* zombiebeard has quit (Quit: zombiebeard)
[04:21:23]* zombiebeard has joined #aegir
[04:54:37]* ratioweb has quit (Ping timeout: 240 seconds)
[04:58:32]* Euk has joined #aegir
[04:58:56]<Euk>Hello, everyone!
[04:59:42]<Euk>Is there anybody in the house?
[05:02:19]<Euk>OK... I need an advice with extending Aegir... Anybody?
[05:07:15]<gboudrias>Euk: "Don't ask to ask" :)
[05:08:02]<Euk>ok )))
[05:08:45]<gboudrias>There's always someone, but sometimes it might take some time to get a reply
[05:08:50]<gboudrias>Euk: Anyway, what's up?
[05:09:09]<Euk>here is the question - how to store some settings to platform_PLATFORM.alias.drushrc.php from the front-end
[05:11:06]<Euk>there are osme examples for services and sites, but I cannot make it work for platforms... I ned to store some additional settings there or have a way to get them from the front-end
[05:11:34]<Euk>*sorry for types...
[05:11:42]<Euk>*typos
[05:13:02]* cweagans has joined #aegir
[05:13:04]<cweagans>Euk: hi
[05:13:12]<Euk>hi!
[05:13:12]<hefring>hey
[05:13:32]<Euk>so... the question is - how to store some settings to platform_PLATFORM.alias.drushrc.php from the front-end
[05:14:12]<Euk>there are some examples for services and sites, but I cannot make it work for platforms... I need to store some additional settings there or have a way to get them from the front-end
[05:15:50]* htoip has joined #aegir
[05:15:57]<cweagans>Okay, so there's two parts to this - first is that you need to implement hook_hosting_platform_context_options() in the frontend. There, you'll be able to set up the info you need to pass to the backend.
[05:16:20]<Euk>done )
[05:16:43]<Euk>I am actually strugling to save that data to alias (context)
[05:17:03]<cweagans>Okay, and then part two is that you need to create a service in the backend to "Receive" the data
[05:17:08]<cweagans>For instance, http://cgit.drupalcode.org/provision_storage/tree/Provision/Service/stor...
[05:17:11]* mforbes has joined #aegir
[05:17:28]<cweagans>that subscribe_server() method is how you'd receive data for hook_hosting_server_context_options()
[05:18:20]<cweagans>so you can change that to subscribe_platform() and then do $context->setProperty("whatever_your_var_is");
[05:19:14]<Euk>ok... I think I tryed that, but know as I received a confirmation taht this is a way - I will go and try few more times ))
[05:19:34]<cweagans>If you want to pastebin your code or point me toward a repo where it lives, I can take a look
[05:20:13]<Euk>also - the documentation is kinda sucks... Do you guys-maintainers have some drafts, notes or something that can help to solve the mistery of Aegir internals?
[05:20:20]<cweagans>heh. I wish.
[05:20:34]<cweagans>I learned by banging my head against it for days.
[05:20:52]<cweagans>I guess I should probably write some documentation for it, but I just don't have the time right now :(
[05:21:09]<Euk>Our org is pretty closed... no code online, but I can post a piece that doesn't work... but let my try fist few more times...
[05:21:28]<cweagans>No problem. I'll be here.
[05:21:40]<htoip>What's going on with the IRC notifier plugin on Jenkins? http://ci.aegirproject.org/view/Upgrades/job/U_aegir_6.x-2.x_to_7.x-3.x_...
[05:22:22]<cweagans>Can't connect, maybe? dunno. ergonlogic - ping?
[05:22:59]<Euk>Here is the idea about the documentation... good thing will be to have a diagram showing how different part work together... like theming drill-down, or drupal rendering drill-down diagrams... than just photo them - I'll convert them into images
[05:23:30]<Euk>if you drown them on a paper - i'll convert them into images ))
[05:24:11]<cweagans>Euk: I could probably do that next week. What do you need to know. Drop me a bullet list at me@cweagans.net and I'll see what I can do.
[05:34:53]* gandhiano has joined #aegir
[05:54:15]* mforbes has left #aegir ()
[05:54:55]<Euk>cweagans: sure - will send you a list
[07:00:57]* gandhiano has quit (Read error: Connection reset by peer)
[07:09:21]* htoip has quit (Quit: Leaving.)
[07:18:15]* omega8cc has quit (Quit: zzzzzz...)
[07:22:20]* BenjDaAfrican has quit (Ping timeout: 244 seconds)
[07:24:00]* omega8cc has joined #aegir
[07:26:15]* omega8cc has quit (Client Quit)
[07:34:31]* btopro has joined #aegir
[07:34:41]* btopro has left #aegir ()
[07:36:58]* BenjDaAfrican has joined #aegir
[07:46:00]* iribarne has joined #aegir
[07:47:51]* htoip has joined #aegir
[08:03:46]* rokk has joined #aegir
[08:22:19]* gandhiano has joined #aegir
[08:45:14]* boshtian has quit (Ping timeout: 264 seconds)
[08:53:40]* zz_cdracars is now known as cdracars
[08:58:05]* josh_k has quit (Remote host closed the connection)
[09:01:37]* rokk has quit (Ping timeout: 252 seconds)
[09:09:14]* rokk has joined #aegir
[09:11:01]* MrScumbag has quit (Quit: MrScumbag)
[09:17:16]* josephleon has quit (Quit: Leaving...)
[09:18:46]<Euk>Cameron, are you here?
[09:20:09]* josephleon has joined #aegir
[09:22:36]* josephleon has quit (Client Quit)
[09:23:20]<cweagans>Euk: hey, sorry - gotta use my irc nick to notify me :)
[09:23:21]<cweagans>what's up?
[09:24:22]<Euk>that thing with a service is not working.... question - do I need to have service functionality on teh front-end as well? like comlete implementation?
[09:24:39]<Euk>*complete implementation
[09:25:18]<Euk>I looked at this article: http://www.computerminds.co.uk/articles/storing-data-aegir. Here I don't see the service to be implemented in the front-end...
[09:25:22]* Egyptian[Home] has joined #aegir
[09:25:32]<cweagans>I don't think so. Can you send me your provision extension? I'll take a look.
[09:25:38]<Euk>while hosting_storage has that implementation...
[09:26:00]<Euk>sure. gimme a minute
[09:31:35]* Egyptian[Home] has quit (Ping timeout: 258 seconds)
[09:36:02]* josephleon has joined #aegir
[09:43:45]* Egyptian[Home] has joined #aegir
[09:44:13]* josh_k has joined #aegir
[09:44:31]<cweagans>hmm. that's really strange. it seems like everything should be working.
[09:44:35]<cweagans>did you `drush cc drush` ?
[09:48:31]* e-anima has quit (Quit: reallife not found)
[09:49:21]<Euk>yup
[09:49:59]<Euk>Dos it matter if I do it inside provision or hostamster?
[09:50:05]<Euk>*hostmaster
[09:50:35]<cweagans>In theory, it shouldn't, but I usually keep it all separate
[09:50:58]<cweagans>usually, I have ~/.drush/provision, ~/.drush/provision_my_extension, etc.
[09:51:02]<cweagans>in the aegir home dir
[09:51:46]<Euk>I have ~/.drush/custom/my_thing
[09:52:15]<cweagans>That *might* work. Maybe try moving it to ~/.drush/my_think, drush cc drush, and try again?
[09:52:19]<cweagans>(just to make sure)
[09:52:25]<cweagans>thing*
[09:52:25]<Euk>ok
[09:52:29]<Euk>gimme minute
[09:53:04]* josephleon has quit (Quit: Leaving...)
[09:53:15]<Euk>hm but I have other stuff in '/custom' that works
[09:54:07]<cweagans>oh! I know.
[09:54:37]<cweagans>delete the .drush.load.inc file from your extension, drush cc drush, and try once more
[09:54:49]* htoip has left #aegir ()
[09:55:17]<Euk>can I just comment the stuff inside?
[09:56:07]* Egyptian[Home] has quit (Ping timeout: 258 seconds)
[09:56:18]<cweagans>eh, just return TRUE; at the top of the function. should be fine.
[10:00:45]<Euk>nope.... nothing
[10:03:53]<Euk>let me check one thing here
[10:04:16]* zombiebeard has quit (Quit: zombiebeard)
[10:10:19]<Euk>nope... so the method is not called... subscribe_platform is not working for me....
[10:11:26]* josephleon has joined #aegir
[10:11:37]* cdracars is now known as zz_cdracars
[10:11:55]* josephleon has quit (Client Quit)
[10:17:15]* drakythe is now known as zz_drakythe
[10:23:10]* anarcat has quit (Quit: rebooting)
[10:28:27]* Egyptian[Home] has joined #aegir
[10:40:32]* Egyptian[Home] has quit (Quit: Leaving.)
[10:49:06]* Egyptian[Home] has joined #aegir
[10:54:02]* anarcat has joined #aegir
[10:58:59]* Egyptian[Home] has quit (Quit: Leaving.)
[10:59:36]* fatguylaughing has quit (Quit: fatguylaughing)