IRC logs for #aegir, 2011-10-27 (GMT)

2011-10-26
2011-10-28
TimeNickMessage
[11:05:48]* ryanarmstrong has quit (Quit: Leaving.)
[11:17:18]* ezra-g has quit (Quit: COD: The Conference Organizing Distribution. http://usecod.com)
[11:30:34]* redndahead has left #aegir ()
[11:33:12]<theMusician>Woo! I have just completed a D5->D6->D7 upgrade process of a fairly complex D5 site. I now need to recreate functionality that existed in older legacy modules but the upgrade went smooth.
[11:36:29]<chaz>good luck :+)
[11:42:13]* theMusician has left #aegir ()
[11:49:36]* michaelfavia has joined #aegir
[11:50:31]<michaelfavia>are there any special tips for installing aegir on an aws box?
[11:50:40]<michaelfavia>im getting: Setting up aegir-hostmaster (1.4-1) ...
[11:50:40]<michaelfavia>installing the Aegir frontend (Drupal with the hostmaster profile), please wait...
[11:50:40]<michaelfavia>Unable to download drush_make-6.x-2.3.tar.gz to [error]
[11:50:40]<michaelfavia>/tmp/drush_tmp_1319676544 from
[11:50:40]<michaelfavia>http://ftp.drupal.org/files/projects/drush_make-6.x-2.3.tar.gz
[11:57:38]* fatguylaughing has joined #aegir
[11:59:12]* mrconnerton has quit (Ping timeout: 240 seconds)
[12:04:57]<mig5>michaelfavia: see http://community.aegirproject.org/1.4#Known_issues
[12:04:59]<mig5>second item
[12:12:24]* jamsilver has quit (Ping timeout: 240 seconds)
[12:13:36]* stevetweeddale has quit (Ping timeout: 240 seconds)
[12:14:24]* darthsteven has quit (Ping timeout: 240 seconds)
[12:16:15]* grobot|laptop has joined #aegir
[12:16:19]<michaelfavia>mig5, hah. i hjust did that myself ;)
[12:16:29]<michaelfavia>thank you for the heads up though as it took me a while to find.
[12:17:03]* grobot has quit (Read error: Connection reset by peer)
[12:17:03]* grobot|laptop is now known as grobot
[12:20:15]<michaelfavia>up and running.
[12:22:15]* krisbulman has quit (Quit: krisbulman)
[12:26:15]* krisbulman has joined #aegir
[12:26:52]* fatguylaughing has quit (Quit: fatguylaughing)
[12:30:32]* darthsteven has joined #aegir
[12:31:18]* jamsilver has joined #aegir
[12:32:17]* stevetweeddale has joined #aegir
[12:52:36]* tne_ has quit (Ping timeout: 255 seconds)
[12:56:27]* tne_ has joined #aegir
[13:03:09]* josh_k has quit (Quit: This computer has gone to sleep)
[13:04:58]* tne_ has quit (Ping timeout: 245 seconds)
[13:09:13]* tne_ has joined #aegir
[13:17:10]* EclipseGc has quit (Quit: EclipseGc)
[13:22:24]* fatguylaughing has joined #aegir
[13:48:58]* AquaticDisorder has quit (Remote host closed the connection)
[13:53:09]* ivanjaros has joined #aegir
[13:55:39]* unconed has joined #aegir
[13:56:54]<unconed>question: is "drush @hostmaster help" failing with aegir 1.4 + drush 7.x-4.5 for anyone else? drush tries to list the hosting.drush.inc commands without including hosting.module for me
[13:56:54]<hefring>unconed: 8 months 2 weeks ago <mig5> tell unconed ping me if/when you get a chance
[14:06:01]* krisbulman has quit (Quit: krisbulman)
[14:14:55]* kvanderw has joined #aegir
[14:24:47]* krisbulman has joined #aegir
[14:30:15]* grobot has quit (Quit: grobot)
[14:33:01]<unconed>seems that this is by design… drush help only bootstraps up to the configuration level, thus not including any modules. hosting.drush.inc is odd in that it relies on hosting.module to generate the list of commands
[14:33:20]<unconed>the difference with drush 3.x being that drush help used to not show commands from .drush.inc files in the profiles directory
[14:33:28]<unconed>lovely
[14:34:58]* unconed has left #aegir ()
[14:38:37]* oadaeh has joined #aegir
[14:50:52]* EclipseGc has joined #aegir
[14:51:33]* ivanjaros has quit (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)
[15:06:48]* AdamDK has quit (Ping timeout: 240 seconds)
[15:14:33]* krisbulman has quit (Quit: krisbulman)
[15:15:56]* grobot has joined #aegir
[15:26:58]* berniecram has quit (Quit: berniecram)
[15:30:35]<rovo>I've been struggling trying to find a way to import a 6.6 site into my php 5.3 nginx aegir setup
[15:31:06]<rovo>any suggestions or known articles on this would be awesome
[15:31:18]* grobot has quit (Quit: grobot)
[15:31:30]* berniecram has joined #aegir
[15:32:09]* EclipseGc has quit (Quit: EclipseGc)
[15:33:00]* berniecram has quit (Client Quit)
[15:34:41]* ivanjaros has joined #aegir
[15:40:07]<rovo>this is probably really more of a php5.3 issue i need to research more
[15:46:48]* rovo has quit (Remote host closed the connection)
[15:59:11]* fatguylaughing has quit (Quit: fatguylaughing)
[16:03:36]* darthsteven has quit (Ping timeout: 240 seconds)
[16:04:24]* jamsilver has quit (Ping timeout: 240 seconds)
[16:04:34]* stevetweeddale has quit (Ping timeout: 260 seconds)
[16:05:08]* berniecram has joined #aegir
[16:08:48]* michaelfavia has quit (Ping timeout: 240 seconds)
[16:11:12]* darthsteven has joined #aegir
[16:11:35]* grobot has joined #aegir
[16:11:57]* jamsilver has joined #aegir
[16:12:28]<grobot>hey unconed, yes "drush @hostmaster help" was failing for me. thought i was mad.
[16:12:42]* stevetweeddale has joined #aegir
[16:27:02]* lolmaus has joined #aegir
[16:32:49]* Pasqualle has joined #aegir
[16:47:10]* Kutts has joined #aegir
[17:11:53]* realityloop has quit (Remote host closed the connection)
[17:15:26]<Kutts>Running aegir on debian 6, want to upgrade. Do I run apt-get install aegir-provision and apt-get install aegir-hostmaster as root or aegir?
[17:16:22]* Deciphered has quit (Remote host closed the connection)
[17:20:07]* Kutts_ has joined #aegir
[17:22:28]* Kutts has quit (Ping timeout: 245 seconds)
[17:22:34]* Kutts_ is now known as Kutts
[17:29:31]* amateescu has joined #aegir
[17:29:31]* amateescu has quit (Changing host)
[17:29:31]* amateescu has joined #aegir
[17:30:52]* CraHan has quit (Read error: Operation timed out)
[17:39:04]* CraHan has joined #aegir
[17:47:00]* grobot has quit (Quit: grobot)
[17:56:58]* ivanjaros has quit (Read error: Connection reset by peer)
[18:28:26]* lolmaus has quit ()
[18:28:38]* berniecram has quit (Quit: berniecram)
[18:30:36]* eft has left #aegir ()
[18:36:18]* e-anima has joined #aegir
[18:41:12]* siliconmeadow has joined #aegir
[18:56:30]* David_Hernandez has joined #aegir
[18:58:57]<Kutts>Running aegir on debian 6, want to upgrade. Do I run apt-get install aegir-provision and apt-get install aegir-hostmaster as root or aegir?
[19:11:11]* Kutts has quit (Quit: ChatZilla 0.9.87 [Firefox 7.0.1/20110928134238])
[19:14:50]* lolmaus has joined #aegir
[19:19:01]* AdamDK has joined #aegir
[19:26:07]* jonhattan has joined #aegir
[19:45:23]* Kutts has joined #aegir
[19:45:46]* Kutts has quit (Client Quit)
[20:14:37]* ivanjaros has joined #aegir
[20:20:40]* algar has joined #aegir
[21:23:34]* yareckon has joined #aegir
[21:29:05]* bertodsera_ has quit (Remote host closed the connection)
[21:31:03]* bertodsera has joined #aegir
[21:44:16]* AquaticDisorder has joined #aegir
[21:51:39]* bertodsera has quit (Remote host closed the connection)
[21:53:51]* bertodsera has joined #aegir
[21:57:59]* berniecram has joined #aegir
[21:59:10]* berniecram has quit (Client Quit)
[22:03:26]* noecc has joined #aegir
[22:17:42]* amateescu has quit (Quit: Leaving)
[22:20:54]* bertodsera has quit (Remote host closed the connection)
[22:22:54]* rovo has joined #aegir
[22:23:05]* bertodsera has joined #aegir
[22:30:31]* bertodsera has quit (Read error: Connection reset by peer)
[22:32:35]* bertodsera has joined #aegir
[22:44:14]* bertodsera has quit (Remote host closed the connection)
[22:46:29]* bertodsera has joined #aegir
[22:47:20]* j0nathan has quit (Quit: ¡Hasta luego!)
[22:55:10]<tne_>if it is not otherwise stated, you should run it as root
[22:55:14]<tne_>http://community.aegirproject.org/upgrading/debian
[22:55:37]<tne_>apt-get install won't run as a normal user anyway i guess
[22:55:44]* ivanjaros has quit (Read error: Connection reset by peer)
[22:58:25]* amateescu has joined #aegir
[22:58:25]* amateescu has quit (Changing host)
[22:58:25]* amateescu has joined #aegir
[22:58:35]* luke_ has joined #aegir
[22:59:46]* vantage|work has joined #aegir
[22:59:52]* recidive has joined #aegir
[23:03:51]* recidive_ has joined #aegir
[23:04:16]* recidive has quit (Ping timeout: 258 seconds)
[23:04:16]* recidive_ is now known as recidive
[23:11:39]* FransK has quit (Quit: No Ping reply in 180 seconds.)
[23:11:52]* FransK has joined #aegir
[23:18:18]* FransK has quit (Quit: No Ping reply in 180 seconds.)
[23:18:38]* FransK has joined #aegir
[23:25:59]* grobot has joined #aegir
[23:43:45]* grobot has quit (Quit: grobot)
[23:47:35]* Artusamak_afk is now known as Artusamak
[23:53:38]* ergonlogic has joined #aegir
[23:54:52]* j0nathan has joined #aegir
[23:56:13]* q-rban is now known as q0rban
[00:06:39]* lolmaus has quit ()
[00:14:44]* ezra-g has joined #aegir
[00:16:08]* kvanderw has quit (Quit: Computer has gone to sleep)
[00:18:57]* EclipseGc has joined #aegir
[00:31:48]* AquaticDisorder has quit (Remote host closed the connection)
[00:37:44]* chabz has joined #aegir
[00:38:57]* chaz has quit (Ping timeout: 258 seconds)
[00:45:48]* mrconnerton has joined #aegir
[00:50:46]* michaelfavia has joined #aegir
[00:57:10]* luke_ is now known as lukeW
[00:57:12]* lukeW has quit (Changing host)
[00:57:12]* lukeW has joined #aegir
[00:57:22]* lukus has quit (Disconnected by services)
[00:57:26]* lukeW is now known as lukus
[00:58:03]* luke_ has joined #aegir
[01:09:22]* fatguylaughing has joined #aegir
[01:15:58]<darthsteven>anarcat: pong!
[01:16:15]<darthsteven>(from yesterday)
[01:30:22]* wizonesolutions has quit (Quit: No Ping reply in 180 seconds.)
[01:31:33]* wizonesolutions has joined #aegir
[01:39:50]* e-anima has quit ()
[01:40:09]* e-anima has joined #aegir
[01:40:42]* patcon has quit (Remote host closed the connection)
[01:40:54]* eft has joined #aegir
[01:42:37]* patcon has joined #aegir
[01:51:38]* adrinux has joined #aegir
[01:59:45]* penyaskito has joined #aegir
[02:02:59]* Brandonian has joined #aegir
[02:06:21]* Egyptian[Home] has quit (Ping timeout: 258 seconds)
[02:08:49]* obicke has joined #aegir
[02:11:40]* shonk|offline is now known as shonk
[02:34:25]* ivanjaros has joined #aegir
[02:37:08]* amateescu has quit (Quit: Leaving)
[02:37:17]* penyaskito has quit (Ping timeout: 252 seconds)
[02:38:48]* penyaskito has joined #aegir
[02:41:29]* algar has quit (Remote host closed the connection)
[02:45:15]* penyaskito has quit (Ping timeout: 256 seconds)
[02:45:20]* Kutts has joined #aegir
[02:46:15]* Kutts has quit (Client Quit)
[02:56:43]* David_Hernandez has quit (Read error: Connection reset by peer)
[02:59:34]* vantage|work has quit (Remote host closed the connection)
[03:00:06]* adrinux has left #aegir ()
[03:09:09]* ezra-g is now known as ezra-g|afk
[03:19:42]* shonk is now known as shonk|offline
[03:22:38]* oadaeh has quit (Ping timeout: 258 seconds)
[03:28:32]* oadaeh has joined #aegir
[03:33:36]* siliconmeadow has quit (Ping timeout: 240 seconds)
[03:41:15]<anarcat>darthsteven: do we release 1.5?
[03:42:46]<darthsteven>anarcat: can we postpone to early next week, I think I've spotted a bug, but need to confirm and fix
[03:43:02]<anarcat>darthsteven: sure, no problem for me
[03:43:10]<darthsteven>anarcat: awesome
[03:43:17]<anarcat>we should really do it soon though, because a lot of people are stumbling upon the drush_make bug and so on
[03:43:24]<anarcat>and apparently people can't read the known issues :P
[03:43:26]<darthsteven>yup yup
[03:43:29]<anarcat>maybe we should call it Errata?
[03:43:31]<anarcat>dunno
[03:43:34]<darthsteven>heh
[03:44:55]<darthsteven>hmm…actually maybe we can roll 1.5 today...
[03:45:00]<darthsteven>give me 15 mins!
[03:45:55]<anarcat>nah, don't worry!
[03:46:01]<anarcat>i got the drush_make packages up
[03:46:08]<anarcat>i think we should ship 1.5 with them
[03:46:27]<anarcat>or rather, ergonlogic got drush_make packages up, i merely uploaded and reviewed them :)
[03:46:40]<anarcat>i could work on the drush_make integration today
[03:48:34]<darthsteven>ok ok
[03:48:44]<darthsteven>we'll aim for Monday?
[03:49:35]<anarcat>alright!
[03:49:56]<anarcat>hey, and what about scrums? do we want to keep doing those?
[03:57:44]* kepford has joined #aegir
[04:01:11]* AdamDK has quit (Quit: Leaving)
[04:02:57]* josh_k has joined #aegir
[04:02:57]* josh_k has quit (Changing host)
[04:02:57]* josh_k has joined #aegir
[04:04:58]* penyaskito has joined #aegir
[04:08:06]* jonhattan has quit (Quit: llevaré una chaquete de guns'n'roses)
[04:10:25]* penyaskito has quit (Ping timeout: 252 seconds)
[04:11:17]* kepford_ has joined #aegir
[04:13:30]<michaelfavia>anarcat, i actuaslly got caught in the drush make issue myself
[04:13:51]* yareckon has quit (Ping timeout: 248 seconds)
[04:13:55]<michaelfavia>i was looking in the installation issues section not 1.4 release notes
[04:14:05]* kepford has quit (Ping timeout: 252 seconds)
[04:14:05]* kepford_ is now known as kepford
[04:14:07]<michaelfavia>becaus ei downlaoded via apt-get
[04:14:30]<michaelfavia>i figured it outmyself but it was a tough one.
[04:15:04]* ezra-g|afk is now known as ezra-g
[04:22:47]* penyaskito has joined #aegir
[04:26:32]* theMusician has joined #aegir
[04:27:52]<darthsteven>anarcat: yes, I think so, but we need to re-arrange a time that suits you
[04:28:28]<anarcat>darthsteven: time for a world clock again :)
[04:28:33]<anarcat>6AM is clearly not possible for me
[04:28:41]<anarcat>i'm a 10AM to 2AM guy ;)
[04:29:32]<darthsteven>heh
[04:30:02]<darthsteven>anarcat: http://community.aegirproject.org/discuss/change-scrum-time
[04:31:54]* flailingmaster has joined #aegir
[04:32:27]* penyaskito has quit (Quit: Saliendo)
[04:32:59]<noecc>On c.a.o can the default search time frame be changed from '6 months' to 'anytime'?
[04:33:28]<anarcat>commented
[04:35:26]<darthsteven>anarcat: I'm not sure your comment makes 100% sense
[04:35:39]<anarcat>maybe i was too quick
[04:36:41]<darthsteven>I've replied though
[04:37:13]<darthsteven>hefring: tell mig5 that your valuable input is required here: http://community.aegirproject.org/discuss/change-scrum-time thanks!
[04:37:14]<hefring>darthsteven: I'll pass that on when mig5 is around.
[04:37:55]<anarcat>darthsteven: i revised my comment, i hope it's more clear
[04:38:10]<darthsteven>anarcat: it is :)
[04:38:46]<darthsteven>is there another timezone that we could find to make finding a slot more difficult?
[04:39:27]<anarcat>well, adding LA in the slot pretty much covers it all
[04:39:33]<anarcat>maybe india?
[04:39:43]<darthsteven>who is the LA slot for?
[04:40:08]<anarcat>nobody
[04:40:11]<anarcat>just an indicator
[04:40:15]<anarcat>because you know
[04:40:20]<darthsteven>ah okay
[04:40:20]<anarcat>there are some tech people over there ;)
[04:40:26]<anarcat>we can totally ignore it for now
[04:40:31]* michaelfavia is now known as michaelf_eat
[04:40:34]<anarcat>screw the west coast ;)
[04:43:40]* eft_ has joined #aegir
[04:44:16]<theMusician>I heart the west coast :)
[04:44:40]<theMusician>yeah, I said that.
[04:48:45]<anarcat>yeah, i love the west coast too, i'm kidding :)
[04:48:57]<anarcat>it's just we have no active there now
[04:49:00]<anarcat>active dev*
[04:50:55]* arianek_afk has joined #aegir
[04:51:41]<theMusician>anarcat: I understand, just needed to stick up for my home coast. Scrum away at the time that works for all of the devs.
[04:51:52]<anarcat>represeeent yo :)
[04:52:49]<theMusician>:)
[04:54:29]* Artusamak is now known as Artusamak_afk
[05:02:34]* amateescu has joined #aegir
[05:02:34]* amateescu has quit (Changing host)
[05:02:34]* amateescu has joined #aegir
[05:05:13]<noecc>Performing a search on c.a.o of fewer than 3 char. produces: You must include at least one positive keyword with 3 characters or more.
[05:05:15]<noecc>Reducing the minimum char required to 2 would allow for searching D7. Is this possible?
[05:11:53]* patcon has quit (Read error: Connection reset by peer)
[05:22:54]* patcon has joined #aegir
[05:23:04]* wizonesolutions has quit (Ping timeout: 260 seconds)
[05:26:00]<sfyn>anarcat: Are there any drush contexts that are shared across tasks running in the same command (ie, how can I pass values to the verify task run during a migrate?)
[05:30:30]* josh_k has quit (Quit: Holla!)
[05:31:08]<sfyn>Anyone?
[05:33:27]* josh_k has joined #aegir
[05:33:27]* josh_k has quit (Changing host)
[05:33:27]* josh_k has joined #aegir
[05:37:29]* wizonesolutions has joined #aegir
[05:38:35]* oadaeh has quit (Quit: Quitting)
[05:43:42]* grobot has joined #aegir
[05:48:26]<anarcat>sfyn: hum
[05:48:36]<anarcat>i am not sure that is possible
[05:50:01]* kolafson has joined #aegir
[05:52:31]<sfyn>ok
[05:52:38]<sfyn>nor am I
[05:52:57]<anarcat>what are you trying to do?
[05:53:01]<anarcat>still that same bug?
[05:54:50]* Artusamak_afk is now known as Artusamak
[05:55:14]* kepford has quit (Remote host closed the connection)
[05:55:20]<sfyn>anarcat: yup
[05:55:42]* kepford has joined #aegir
[05:55:55]* grobot has quit (Quit: grobot)
[05:55:56]<anarcat>what are you trying to do again?
[05:56:03]<sfyn>I wrote some code to try and pass a variable in each context, and I will see if I can get a valid context again
[05:56:06]<anarcat>you want to have the civicrm secret key in the settings.php?
[05:56:24]<sfyn>Well, I noticed that values saved using drush_set_option during the post_verify hook are written to drushrc.php
[05:56:29]<anarcat>or is it in a different config file?
[05:56:46]<sfyn>The secret key, civicron user and civicron password
[05:56:50]<anarcat>ok
[05:56:57]<anarcat>i see
[05:57:26]<sfyn>It doesn't look like there is a context, internal to drush, in which the verify and migrate tasks share a context
[05:57:42]<sfyn>so that is not an option
[05:57:50]* michaelf_eat is now known as michaelfavia
[05:58:02]<sfyn>but I can successfully pass the values to the post_migrate hook using the task context
[05:58:09]<sfyn>from the pre_migrate hook
[05:58:10]<anarcat>well, there's the alias, but then you end up with the same more general bug
[05:58:23]<sfyn>yeah
[05:58:44]<anarcat>maybe you can look at how verify is queued after the migrate?
[05:58:45]<sfyn>Is there a way I can write to drushrc.php for the site from the post_migrate hook?
[05:58:56]<anarcat>i always found it odd that there's a new task queued as opposed to the work just being done in post migrate
[05:59:12]<sfyn>I also find it odd
[05:59:12]<anarcat>i believe post_migrate does write the drushrc.php, but i may be wrong
[05:59:39]<sfyn>Hmmm
[05:59:51]<sfyn>Maybe verify after the post_migrate hook is overwriting the values, then
[06:01:59]<sfyn>Can you think of anywhere I can cache those values while the migrate task runs?
[06:02:17]<sfyn>Maybe in /tmp or in the sites /tmp folder?
[06:02:44]<anarcat>that sounds just wrong
[06:02:49]<anarcat>verify should reload the drushrc
[06:02:58]<anarcat>try to disable the queue so that you control when the verify runs
[06:03:10]<anarcat>and then migrate without verify, you'll see if your drushrc is written
[06:03:16]<anarcat>you can also see when the drushrc is written in the log
[06:03:16]<sfyn>so then I can check the state of drushrc - ok
[06:03:57]<sfyn>ah
[06:04:00]<sfyn>Now I understand
[06:04:02]<sfyn>I think
[06:04:04]<sfyn>:
[06:04:26]<sfyn>anarcat: verify is run after pre-migrate is run, but before post-migrate is run, and then run again afterwards
[06:05:01]* grobot has joined #aegir
[06:05:44]<sfyn>OK thank-you for the clues
[06:07:48]<anarcat>wtf
[06:07:54]<anarcat>that seems so freaking wrong
[06:10:26]<sfyn>I am going to retry the migrate and take a look again
[06:10:32]<sfyn>I think I am confused right now
[06:10:41]<anarcat>nah, maybe not
[06:10:58]<anarcat>one of the common mottos i have is : "you are not confused, this is just freakin weird, keep going"
[06:11:02]<anarcat>in aegir anyways
[06:11:23]<sfyn>btw, here is how I tried to find a context to pass values in: https://wiki.koumbit.net/Sofian/ScratchPad#Trying_find_a_drush_context_t...
[06:14:18]<anarcat>weird
[06:14:23]<anarcat>that is some bruteforce searching :)
[06:16:22]* noecc has left #aegir ("pax")
[06:17:55]* kepford_ has joined #aegir
[06:18:46]<sfyn>ok
[06:19:12]<sfyn>this line seems pretty indicative that drushrc is being written to: loaded: /usr/share/drush/commands/provision/provision_drushrc_alias.tpl.php
[06:19:31]<sfyn>but that is for the alias
[06:19:54]<sfyn>ok, here it is
[06:19:57]<sfyn>Template loaded: /usr/share/drush/commands/provision/provision_drushrc_site.tpl.php
[06:20:31]<anarcat>yes
[06:20:36]<sfyn>occurs before my pre_verify hooks informs me it has not managed to get the values from the site contex
[06:20:40]<sfyn>t
[06:21:14]<sfyn>hmmmmm
[06:21:28]* grobot has quit (Quit: grobot)
[06:21:41]* kepford has quit (Ping timeout: 252 seconds)
[06:21:41]* kepford_ is now known as kepford
[06:25:33]* sfyn sfyn is going to put his work into github and look it into it some more later
[06:33:14]<sfyn>anarcat: no luck
[06:33:19]<sfyn>so far
[06:34:00]<sfyn>anarcat: deactivating the queue has no effect, since the verify is launched from within the migrate task
[06:34:35]<anarcat>indeed
[06:34:54]<anarcat>sfyn: you see where in the code? can you point me to it?
[06:38:10]<sfyn>no - I deduce that from the fact that the migrate log still contains code from the verify hooks in provision_civicrm even after deactivating the task queue
[06:38:44]<anarcat>ok, lemme check
[06:39:07]<anarcat>yeah, ok
[06:39:20]<anarcat>platform/migrate.provision.inc:98 - provision_backend_invoke($target, 'provision-verify');
[06:39:45]<anarcat>this is the gist of it:
[06:39:46]<anarcat> provision_backend_invoke($target, 'provision-deploy', array(drush_get_option('backup_file')), array('old_uri' => d()->uri));
[06:39:49]<anarcat> if (!drush_get_error()) {
[06:39:52]<anarcat> drush_log(dt("Bringing site out of maintenance"));
[06:39:54]<anarcat> d()->site_enabled = true;
[06:39:57]<anarcat> drush_set_option('provision_save_config', false);
[06:39:59]<anarcat> provision_backend_invoke($target, 'provision-verify');
[06:40:02]<anarcat> }
[06:40:32]<anarcat>provision-migrate explicitely doesn't write the drushrc.php, that would be provision-deploy's job
[06:40:42]<anarcat>because provision-migrate operates on the original site, not the migrated one
[06:40:49]<anarcat>that's one thing to keep in mind
[06:41:01]<anarcat>so maybe you want to fool around a post_provision_deploy hook?
[06:47:04]<sfyn>anarcat: ok
[06:47:13]<sfyn>thanks - that really helps
[06:47:18]* oxtub has joined #aegir
[06:49:31]<eft_>mig5: got my first Jenkins job running :)
[06:49:54]<eft_>it built fine but the site was not enabled
[06:55:03]* tne_ has quit (Ping timeout: 252 seconds)
[06:59:25]* tne_ has joined #aegir
[07:02:53]* Pasqualle has quit (Ping timeout: 245 seconds)
[07:07:05]* kepford has quit (Remote host closed the connection)
[07:07:27]* kepford has joined #aegir
[07:12:32]* tne_ has quit (Ping timeout: 252 seconds)
[07:13:39]<sfyn>anarcat: same issue with deploy, in fact in post-deploy, the whole site context contains only database data, not even the modules list
[07:14:11]<sfyn>anarcat: is there a way for me to load up the old site and get data from it in pre-deploy, and pass those values into the site context?
[07:14:51]<anarcat>sfyn: you got the old_uri there, you could d(drush_get_option('old_uri')) to load the previous context i believe
[07:14:57]<anarcat>but that may not load the drushrc
[07:15:09]* grobot has joined #aegir
[07:16:33]<sfyn>won't that screw up the deploy by changing the current context?
[07:16:55]<anarcat>no, d() just returns a context, it doesn't change @self
[07:16:56]* sfyn is not sure he fully groks d() yet
[07:16:59]* tne_ has joined #aegir
[07:16:59]<sfyn>ah
[07:17:04]<anarcat>d() loads a context
[07:17:10]<anarcat>returns*
[07:17:12]<anarcat>i should say.
[07:17:30]<anarcat>d() by defaults loads '@self', which can be the current site, platform or server, whatever
[07:17:36]<anarcat>whatever is on the commandline, basically
[07:17:44]<sfyn>ok
[07:17:51]<sfyn>starting to get the hang of this
[07:17:59]<sfyn>it was about time I wrapped my head around provision
[07:18:02]<anarcat>it's really confusing
[07:18:33]<sfyn>what context are you expecting to find the old uri option in?
[07:18:38]<sfyn>because it is not in the site...
[07:20:22]<anarcat>cli
[07:20:26]<anarcat>or whatever that's called
[07:20:30]<anarcat>don't specify a context
[07:20:36]<anarcat>if you don't need to be explicit about it
[07:21:27]<sfyn>process is the default context
[07:21:34]<sfyn>and it is empty in post_deploy
[07:21:43]<sfyn>anywhere, I'll try
[07:22:13]<anarcat>no it isn't
[07:22:17]<anarcat>http://api.drush.ws/api/function/drush_get_option/4.x
[07:22:19]<anarcat>function drush_get_option($option, $default = NULL, $context = NULL) {
[07:22:23]<anarcat> if ($context) {
[07:22:25]<anarcat>[...]
[07:22:28]<anarcat> else {
[07:22:29]<anarcat> // We are not checking a specific context, so check them in a predefined order of precedence.
[07:22:32]<anarcat> foreach ($contexts as $context) {
[07:22:33]<anarcat>...
[07:22:44]<anarcat>which is basically what you're doing in drush_set_option :)
[07:22:46]<anarcat>also
[07:22:54]<sfyn>duh
[07:23:03]<anarcat>there is a very unfortunate ambiguity when we use the word "context"
[07:23:08]<sfyn>that dug is directed at me
[07:23:15]<anarcat>:)
[07:23:21]<sfyn>ok
[07:23:22]<anarcat>drush contexts are not exactly the same as aegir contexts
[07:23:33]<anarcat>in fact, they are not the same at all
[07:24:04]<anarcat>http://api.drush.ws/api/function/drush_context_names/4.x
[07:24:08]<anarcat>those are the drush contexts
[07:24:54]<anarcat>and this is an aegir context:
[07:24:55]<anarcat>http://api.aegirproject.org/api/Provision/provision.context.inc/class/pr...
[07:25:00]<anarcat>a big WTF if you ask me :)
[07:25:26]* sfyn cries
[07:26:03]<sfyn>I dumped the keys of the array returned by drush_get_context()
[07:26:15]<sfyn>And that is what I am using as a reference to drush contexts
[07:26:20]<mig5>and then you have http://drupal.org/project/context :)
[07:26:20]<hefring>mig5: 2 hours 49 min ago <darthsteven> tell mig5 that your valuable input is required here: http://community.aegirproject.org/discuss/change-scrum-time thanks!
[07:26:23]<mig5>(sorry I'm not helping)
[07:26:29]<anarcat>mig5: haha you bastard :)
[07:26:40]<mig5>we do apparently love that word in drupal..
[07:26:43]<anarcat>mig5: i *knew* we would get out of silence with that fun discussion :)
[07:26:46]* sfyn slaps mig5 with a trout
[07:27:04]<anarcat>mig5: good morning :)
[07:27:10]<mig5>morning
[07:27:33]<mig5>darthsteven seems to think i've still something of use to offer in scrums
[07:27:37]<mig5>he's normally smarter than that
[07:27:49]<anarcat>dude, he's a brit, it's diplomacy ;)
[07:27:59]<anarcat>and i'm half brit, being canadien
[07:28:07]<anarcat>so i also think you have something to offer :)
[07:28:46]<darthsteven>mig5: of course you have something to offer!
[07:28:59]<mig5>no need to be so polite :)
[07:29:00]<darthsteven>how are we all here at the same time again?
[07:29:04]<darthsteven>madness!
[07:31:07]<anarcat>wow!
[07:31:11]<mig5>almost should be scrum time :P
[07:31:15]<mig5>well, 30 min out from the plan
[07:31:21]<mig5>7:30am here
[07:31:31]<anarcat>well, it's just not the right day :P
[07:31:36]<mig5>i am fine with the 7:00am one (my time) on tuesday
[07:31:37]* recidive has quit (Quit: zzz)
[07:31:41]<anarcat>hey, we *could* do half hours you know :)
[07:31:52]<anarcat>we're always on the hour... 16h30 works for me :)
[07:34:15]<mig5>well 7:30am is easier for me than 7:00am :)
[07:34:32]<mig5>that's 30min more for me to try and think of something i've done for @aegirproject
[07:34:40]<mig5>:P
[07:34:42]<anarcat>cool
[07:43:08]* grobot has quit (Quit: grobot)
[07:43:23]<sfyn>anarcat: so, d('@' . drupal_get_option('old_uri')) in post_deploy just returns the now deployed site
[07:43:31]<sfyn>anarcat: so I am trying in pre_deploy
[07:45:13]<anarcat>ah crap, that's true, because the url didn't change
[07:45:18]<anarcat>yeah, try in pre
[07:48:09]* grobot has joined #aegir
[07:51:13]<sfyn>anarcat: same problem
[07:51:34]<sfyn>Looking at the migrate log, I see the alias drushrc template loaded multiple times before the deploy hook is called
[07:52:17]<sfyn>So it looks like that is a dead end
[07:52:50]<sfyn>anarcat: is there another option with the old paltform in it?
[07:53:34]<anarcat>... i don't know
[07:54:07]<sfyn>so here's an ugly fix
[07:54:32]<sfyn>I dump the old site object to the sites variables table, call it provision_old_site
[07:54:50]<sfyn>Then load that up in the verify or deploy step and get what values I want to retrieve from it
[07:55:00]<anarcat>that's pretty ugly indeed :)
[07:55:06]* Deciphered has joined #aegir
[07:55:15]<sfyn>I think I heard your teeth grinding against each other all the way over here
[07:55:45]<sfyn>No but seriously, give me good reasons not to do it that way
[07:56:02]<sfyn>Asides from the fact it is inelegant
[07:56:58]* Decipher_ has joined #aegir
[07:58:22]* e-anima has quit ()
[07:59:34]<anarcat>okay
[07:59:54]<anarcat>for one, why would you bother writing that data to the file if you can just put it in the variables table anyways?
[08:00:40]* vcardoso has joined #aegir
[08:00:44]<sfyn>Because drushrc is a convenient way to provide data to drush, and those values are ones we need to run command line operations on civicrm
[08:00:55]* Deciphered has quit (Ping timeout: 260 seconds)
[08:04:05]<sfyn>Also it is kind of silly to store a user's password in cleartext in the database
[08:04:29]<anarcat>but you're going to do that :)
[08:04:39]<anarcat>i mean, if you don't write the user pass in the db, then don't
[08:04:43]<anarcat>if you will, do
[08:04:55]<anarcat>wait, user password?
[08:05:59]<sfyn>to start the cronjobs for civicrm, we need to authentofy with the username/password of a user than can do that, and pass the unique site authentication key
[08:06:05]* chabz is now known as chaz|afk
[08:06:20]<sfyn>that authentication model is changing in civi 4, but we are stuck with it in 3, which is the drupal 6 version
[08:06:25]* oxtub has quit (Quit: oxtub)
[08:09:18]<sfyn>I am not sure I understand why provision contexts can't have properties added to them with SetProperty that aren't defined in a service
[08:09:25]<sfyn>I mean, I see it doesn't work
[08:09:31]<sfyn>But I am confused as to why
[08:09:37]<anarcat>sfyn: if you run the cronjob with drush, you can bootstrap the site and pretty much do what you want from there
[08:09:56]<anarcat>sfyn: i think that is detailed in the issue, isn't it?
[08:10:01]* Brandonian has quit (Quit: Brandonian)
[08:12:13]<sfyn>I have read the issue back and forth and I think I am missing some crucial step for understanding
[08:12:27]<sfyn>That is, if you are referring to http://drupal.org/node/955018
[08:12:28]<hefring>http://drupal.org/node/955018 => ability to save new arbitrary data to a context from outside the service => Provision, Code, normal, needs work, 21 comments, 2 IRC mentions
[08:13:27]<sfyn>It documents very well that you can't do it
[08:13:28]<anarcat>yeah, i am
[08:13:32]<anarcat>haha
[08:13:37]<anarcat>yeah, you have a point there
[08:13:42]<anarcat>i don't get it very well either
[08:14:00]<anarcat>i think the issue is that the variables are declared a members of the class and other data is disregarded
[08:14:53]<anarcat> /**
[08:14:53]<anarcat> * Check the $options property for a field, saving to the properties array.
[08:14:53]<anarcat> */
[08:14:53]<anarcat> function setProperty($field, $default = NULL, $array = FALSE) {
[08:14:53]<anarcat> if (isset($this->options[$field])) {
[08:14:57]<anarcat>i think this is the gist of it
[08:17:15]<anarcat>honestly, i don't understand that code very well
[08:17:24]<sfyn>anarcat: I assume you tried directly changing the value of d()->properties?
[08:17:26]<anarcat>$this->options isn't set anywhere in that freakin class
[08:17:49]<anarcat>sfyn: everything i tried i documented in the issue, i believe
[08:18:09]<sfyn>ok
[08:18:54]<sfyn>this is a different issue I am dealing with though
[08:19:04]<anarcat>this is so fucked
[08:19:15]<sfyn>Because it also involves passing variables to two different site instances, over the migrate
[08:19:23]<sfyn>or from one to the other
[08:19:33]<sfyn>and that is done, somehow, magically
[08:19:38]<sfyn>somewhere
[08:20:02]* flailingmaster has quit (Quit: flailingmaster)
[08:20:25]* amateescu has quit (Quit: Leaving)
[08:20:27]<anarcat>i still think you shouldn't store a drupal user/pass in the drushrc, that shouldn't be necessary
[08:20:42]<anarcat>but that doesn't solve the problem of the civicrm key
[08:21:06]<sfyn>well, it's possible to reset the civicrm key on migration
[08:21:17]<sfyn>which is what we were doing
[08:21:39]<sfyn>anarcat: I think part of the problem is we are dealing with two systems here
[08:22:13]<sfyn>It's almost as if we were storing values we intended to use with an external, REST api, when we store that data
[08:23:22]<anarcat>i need to go very soon (5min)
[08:23:50]<sfyn>ok
[08:24:12]<sfyn>anarcat: Thanks for all your help today
[08:24:24]<anarcat>i don't feel i helped much but ok :)
[08:24:29]<anarcat>i wish we had a clean way
[08:24:37]<anarcat>you could already look at running the cron job the right way
[08:24:53]<anarcat>and if you can regen the civicrm key, just do it in post-deploy or post-migrate and you're done, no need to fiddle with the ugly internals
[08:25:12]<anarcat>and tell the civicrm folks i'm real sorry about the mess down here, we're going to clean up the basement in 2.x, hopefully :)
[08:31:21]<anarcat>lovely
[08:31:25]<anarcat>will check tomorrow
[08:32:57]* Decipher_ is now known as Deciphered
[08:38:17]<eft_>mig5: hey
[08:40:01]* obicke has quit (Ping timeout: 260 seconds)
[08:43:49]* Decipher_ has joined #aegir
[08:44:08]* SqyD has joined #aegir
[08:45:23]* Deciphered has quit (Ping timeout: 245 seconds)
[09:00:00]* recidive has joined #aegir
[09:03:05]* ezra-g is now known as ezra-g|afk
[09:04:28]* EclipseGc has quit (Read error: Connection reset by peer)
[09:04:49]* EclipseGc has joined #aegir
[09:05:53]* AquaticDisorder has joined #aegir
[09:06:36]* ergonlogic has quit (Read error: Connection reset by peer)
[09:07:49]* mrconnerton has quit (Ping timeout: 240 seconds)
[09:08:49]* ergonlogic has joined #aegir
[09:10:25]* oxtub has joined #aegir
[09:13:27]* fatguylaughing has quit (Quit: fatguylaughing)
[09:19:44]* fndtn357 has joined #aegir
[09:19:51]* Decipher_ is now known as Deciphered
[09:20:12]* fndtn357 has left #aegir ()
[09:23:51]* vcardoso has quit (Quit: Leaving.)
[09:31:36]* mrconnerton has joined #aegir
[09:32:11]* penyaskito has joined #aegir
[09:40:28]* eft_ has left #aegir ()
[09:47:46]* q0rban is now known as q-rban
[09:51:51]* ryanarmstrong has joined #aegir
[09:52:58]* kepford has quit (Quit: kepford)
[10:00:06]* oxtub has quit (Quit: oxtub)
[10:09:07]* EclipseGc has quit (Quit: EclipseGc)
[10:14:19]* Met4physica has joined #aegir
[10:14:30]<Met4physica>is wildcard on barracuda install recommended againts?
[10:14:33]* EclipseGc has joined #aegir
[10:17:13]* realityloop has joined #aegir
[10:20:49]* realityloop has quit (Remote host closed the connection)
[10:28:49]* wizonesolutions has quit (Ping timeout: 252 seconds)
[10:38:22]* ryanarmstrong has quit (Quit: Leaving.)
[10:42:49]* wizonesolutions has joined #aegir
[10:43:46]* AquaticDisorder has quit (Remote host closed the connection)
[10:44:55]* berniecram has joined #aegir
[10:47:21]* wizonesolutions has quit (Ping timeout: 244 seconds)
[10:52:36]* theMusician has quit (Quit: theMusician)
[10:53:14]* ivanjaros has quit (Read error: Connection reset by peer)
[10:54:56]* ryanarmstrong has joined #aegir
[10:58:40]* welly has joined #aegir