IRC logs for #aegir, 2012-08-19 (GMT)

2012-08-18
2012-08-20
TimeNickMessage
[10:41:35]* ivanjaros has quit (Read error: Connection reset by peer)
[10:51:14]* divbox has joined #aegir
[11:01:08]* wizonesolutions has quit (Ping timeout: 244 seconds)
[11:03:42]* wizonesolutions has joined #aegir
[11:35:52]* obrienmd has quit (Quit: Leaving.)
[12:24:43]* divbox_ has joined #aegir
[12:26:00]* divbox has quit (Ping timeout: 276 seconds)
[12:26:24]* divbox_ has quit (Remote host closed the connection)
[12:28:12]* obrienmd has joined #aegir
[12:33:57]* obrienmd has quit (Quit: Leaving.)
[13:17:00]* obrienmd has joined #aegir
[13:26:15]* obrienmd has quit (Quit: Leaving.)
[13:31:13]* obrienmd has joined #aegir
[13:50:15]* obrienmd has quit (Quit: Leaving.)
[13:55:02]* patcon has joined #aegir
[14:31:40]* patcon has quit (Quit: patcon)
[14:37:58]* penyaskito has quit (Ping timeout: 276 seconds)
[14:50:19]* penyaskito has joined #aegir
[15:05:02]* divbox has joined #aegir
[15:13:26]* divbox has quit (Remote host closed the connection)
[17:02:50]* attiks|away is now known as attiks
[17:04:42]* gusaus|out has quit (Quit: gusaus|out)
[17:24:18]* grobot_ has joined #aegir
[17:41:33]* grobot_ has quit (Quit: ^dd)
[17:58:17]* boztek has joined #aegir
[18:18:18]* AquaticDisorder has joined #aegir
[19:55:28]* attiks is now known as attiks|away
[21:05:31]* ivanjaros has joined #aegir
[21:14:16]* boztek has quit (Quit: Textual IRC Client: http://www.textualapp.com/)
[21:23:24]* boztek has joined #aegir
[21:23:36]* boztek has quit (Client Quit)
[22:38:17]* AquaticDisorder has quit (Remote host closed the connection)
[22:38:36]* AquaticDisorder has joined #aegir
[22:43:45]* jerryitt has joined #aegir
[23:27:46]* jerryitt has quit (Quit: Leaving.)
[23:29:31]* jerryitt has joined #aegir
[23:29:40]* jerryitt has quit (Client Quit)
[23:30:49]* SeanBannister has quit (*.net *.split)
[23:30:49]* corsair__ has quit (*.net *.split)
[23:30:49]* Met4physica has quit (*.net *.split)
[00:06:15]* Harley has joined #aegir
[00:07:01]* Harley is now known as HyperGlide
[00:09:47]* SeanBannister has joined #aegir
[00:09:47]* corsair__ has joined #aegir
[00:09:47]* Met4physica has joined #aegir
[00:26:47]* rv0 has joined #aegir
[00:47:27]* steveoliver has joined #aegir
[00:53:54]* obrienmd has joined #aegir
[01:00:37]* rv0_ has joined #aegir
[01:03:49]* rv0 has quit (Ping timeout: 244 seconds)
[01:03:49]* rv0_ is now known as rv0
[01:06:35]* obrienmd has left #aegir ()
[01:14:15]* obicke has joined #aegir
[01:22:49]* HyperGlide has quit (Remote host closed the connection)
[01:33:46]* divbox has joined #aegir
[01:43:55]* divbox has quit (Remote host closed the connection)
[01:44:31]* rv0 has quit (Quit: rv0)
[01:46:56]* rv0 has joined #aegir
[02:00:14]* wamilton has joined #aegir
[02:24:59]* rv0 has quit (Quit: rv0)
[02:48:43]* attiks|away is now known as attiks
[03:00:12]* attiks is now known as attiks|away
[03:47:26]* careernerd has joined #aegir
[03:48:33]* gboudrias has joined #aegir
[03:51:09]<careernerd>has anyone had experience extending provisionContext class?
[04:03:01]* gboudrias has quit (Ping timeout: 248 seconds)
[04:18:12]* gboudrias has joined #aegir
[04:26:54]* gboudrias has quit (Ping timeout: 244 seconds)
[04:29:43]<careernerd>i see now how out of the loop i am... just learned 2.x uses Symfony...
[04:36:59]* steveoliver has quit (Ping timeout: 252 seconds)
[04:41:29]<darthsteven>careernerd: oohh…why do you need to extend it?
[04:42:04]<darthsteven>there are three examples in provision: site; platform; server. Not sure if anyone else has extended it
[04:43:12]<careernerd>its for devshop, a big addon for aegir that I am working on.... I successfully made a "project" context and nodetype that contains 3 platforms, for dev/test/live
[04:43:43]<careernerd>I have to include provision.inc before my own provisionContext code
[04:44:11]<careernerd>but drush loads it afterwards, causing a "provisionContext not found"
[04:44:42]<darthsteven>hmm...
[04:44:47]<darthsteven>is this for 6.x-1.x
[04:44:54]<careernerd>yeah
[04:45:11]<careernerd>i got it working with a hack using drushrc.php options
[04:45:33]<careernerd> store the path to provision.inc and include it in hook_drush_init()
[04:46:13]<careernerd>but also, on an unrelated note, I had to make one more tiny patch to hosting
[04:47:00]<careernerd>because drush_hosting_task only runs provision-save for install, verify, and import tasks
[04:47:00]<darthsteven>yeah…so 1.x doesn't really let you use provision from other Drush extensions sadly, which is why we have an autoloader in 6.x-2.x
[04:47:17]<darthsteven>careernerd: yes…hate that bit of code
[04:47:25]<careernerd>yeah, i saw symfony and realized its probably the route i'll have to take
[04:47:58]<darthsteven>could you raise an issue in the hostmaster queue for that provision-save issue please? We'll add a hook or something :)
[04:48:45]<careernerd>YES! and I'll submit the patch... its a critical part of my mission of browser-only project setup
[04:48:57]<careernerd>also, was looking for something to alter the "context" options for other types, but it won't save to the alias files...
[04:50:44]<darthsteven>careernerd: can't think of a way to do that off the top of my head
[04:52:11]<careernerd>I tried hook_hosting_TASK_OBJECT_context_options() but it doesn't seem to do anything
[04:53:15]<careernerd>I'd be happy to help with documentation too, if someone can help me to figure out how it works :D
[04:53:18]<careernerd>http://api.aegirproject.org/api/Hostmaster/modules--hosting--hosting.api...
[04:53:29]<careernerd>^-- implies that is what it is for...
[04:54:14]<careernerd>oh wait... what is "content_options"?
[04:54:33]<careernerd><quote>This gives other modules the chance to send data to the backend to be persisted by services there. The entire task is sent so that you have access to it, but you should avoid changing things outside of the $task->content_options collection.</quote>
[04:54:58]<darthsteven>ah, no that one is called when the frontend is doing a provision-save, so the results will get saved in the backed
[04:55:12]<darthsteven>suspect that that's a typo
[04:55:14]<darthsteven>:(
[04:56:34]<careernerd>do you mean "saved" as in saved to the context object (aka drush alias)?
[04:56:48]<careernerd>because that is what i want but it doesn't seem to do it
[04:57:02]<careernerd>oh wait, i guess i mean...
[04:57:16]<careernerd>the context objects can't be altered to save the to the file
[04:57:39]<darthsteven>not sure what you mean?
[04:58:43]<careernerd>it seems that hook_hosting_TASK_OBJECT_context_options just defines what data is available in provisionContext_TASK_OBJECT...
[04:59:04]<careernerd>but you can't hook into provisionContext_TASK_OBJECT to actually save the data
[04:59:40]<careernerd> function init_platform() {
[04:59:42]<careernerd> $this->setProperty('root');
[04:59:44]<careernerd> $this->setProperty('makefile', '');
[04:59:46]<careernerd> }
[04:59:54]<careernerd>or at least, i don't know how to modify init_platform() to add my own properties
[05:00:47]<darthsteven>ah right
[05:00:54]<darthsteven>yes, this is annoying
[05:00:55]<darthsteven>so...
[05:01:50]<careernerd>my lack of knowledge in OOP is disturbing...
[05:02:08]<darthsteven>http://community.aegirproject.org/node/323
[05:02:27]<darthsteven>You might need a service to be able to store more data in the contexts in the backedn
[05:03:43]<careernerd>interesting...
[05:03:51]<darthsteven>and you may want to read: http://www.computerminds.co.uk/articles/storing-data-aegir
[05:05:40]<careernerd>yes that does help explain things...
[05:06:33]<careernerd>I have to give up for the day, but I want to help the project anyway I can
[05:07:13]<careernerd>Would it be appropriate to attempt a patch that would make saving data to context's easier? creating a service seems overkill when, according to that article, "A service in Aegir is a couple of classes that essentially define some resource on a server, like a HTTP server, or DB server"
[05:07:50]<careernerd>I've had a tough time extending aegir up to this point, and would like to help improve documentation and DX
[05:09:57]<careernerd>anyway, I am off thanks for your help, darthsteven!
[05:10:01]<darthsteven>yeah…improvements to documentation would be welcome :)
[05:33:34]* attiks|away has quit (Quit: ChatZilla 0.9.88.2 [Firefox 14.0.1/20120713134347])
[06:41:26]* steveoliver has joined #aegir
[06:45:44]<wamilton>darthsteven: I see you've been flagging things for provision 2.x
[06:45:45]<wamilton>is focus shifting to 2.x?
[06:46:20]<darthsteven>focus is everywhere, but currently going through ALL aegir issues
[06:47:20]<wamilton>that sounds laudable, have you seen one about sql backups?
[06:47:41]<darthsteven>I've seen lots about backups :)
[06:49:03]<wamilton>or do you know anything about why we maintain our own mysqldump code or if there would be a problem with drush_invoke_process(...'sql-dump'...) ?
[06:51:58]<darthsteven>we maintain it because the Drush one is insecure
[06:52:12]<darthsteven>we are working on getting the one in Drush secure
[06:52:33]<darthsteven>and then we can replace it out
[06:52:45]<wamilton>is it just the umask or something else as well / do you have a link to the issue in the drush queue?
[06:53:20]<darthsteven>http://drupal.org/node/671906
[06:53:22]<hefring>http://drupal.org/node/671906 => mysql credentials leak in drush sqlc => Drush, Base system (internal API), normal, active, 58 comments, 4 IRC mentions
[06:53:32]<darthsteven>the mysql password ends up on the command line
[06:57:41]<wamilton>lame
[06:59:12]<wamilton>for some reason, the shell exec line does not work for one of my sites -- it just generates an empty database.sql file and doesn't show an error, and I wasn't able to test it with the --defaults-file=/dev/fd/3 option, so I switched it out and it worked
[07:09:53]* CIA-39 has joined #aegir
[07:18:57]* obicke has quit (Quit: Leaving.)
[07:27:42]* banghouse has quit (Remote host closed the connection)
[07:27:51]* hypro has joined #aegir
[07:28:05]* miquel_ has joined #aegir
[07:37:14]* patcon has joined #aegir
[08:04:07]* wizonesolutions has quit (Ping timeout: 268 seconds)
[08:08:01]* wizonesolutions has joined #aegir
[08:09:42]* elvis2 has joined #aegir
[08:10:09]<elvis2>what kind of solutions are available for an aegir or boa install - for multiple domains?
[08:14:00]* patcon has quit (Ping timeout: 265 seconds)
[08:24:45]* careernerd has quit (Quit: See ya!)
[08:34:38]* steveoliver has quit (Remote host closed the connection)
[08:47:45]* ivanjaros has quit (Read error: Connection reset by peer)
[09:05:24]* Welly has joined #aegir
[09:38:53]* AquaticDisorder has quit (Read error: Connection reset by peer)