Wednesday, 2008-12-17

nkinkadepaulproteus: For the new git repo for civicrm, there are two branches cc_production and cc_staging.00:02
paulproteusDo they point to the same revision, out of curiosity?00:02
nkinkadeThey do.00:02
paulproteusNeato.00:03
nkinkadeNow I have a question.00:03
paulproteusYou've got questions, we've got answers.00:03
paulproteusAnd cupcakes.00:03
nkinkadeI have a bug I reported a week or so ago.  They applied my patch, now I'd like to cherry pick that commit backward into our branch.00:03
paulproteusI really like that slogan, actually.00:04
paulproteus"You've got questions, we've got cupcakes."00:04
nkinkadehaha00:04
nkinkadeCupcakes could be an answer for many things.00:04
Bovinityare cupcakes flammable?00:04
paulproteusBut better is how many things it's *not* an answer to.00:04
nkinkadeI remember someone telling me once that if you didn't know the answer to something to just reply with "Margaret Thacher".00:04
paulproteusThatcher?  I hardly even know 'er!00:05
nkinkadeThat it was statistically most likely to be the right answer.00:05
nkinkade:-)00:05
Bovinityah, Thatcher, now she's flammable00:05
nkinkadeBut she's no cupcake.00:05
paulproteusThe cause of many flame-wars.00:05
Bovinityno, not at all00:05
paulproteusnkinkade, git cherry-pick $REV_ID00:05
paulproteusThat's all you need to know, no?00:05
nkinkadepaulproteus: So can I can cherry pick that revision directly to production, or should I pick it to staging, then merge that with production, or something like that?00:06
paulproteusWell, looksee.00:06
paulproteusThose two are equivalent.00:06
paulproteusIs that clear why?00:06
paulproteusStrictly equivalent.00:07
nkinkadeI guess I'm confused because of the svnmerge stuff and how we've managed branches/production relative to trunk.00:07
paulproteusThere is no record of which you pick.00:07
paulproteushttp://www.kernel.org/pub/software/scm/git/docs/git-merge.html - "How merge works"00:07
paulproteusGit merge is *unlike* svn merge.00:07
paulproteusIf you read that, you'll see that the cherry pick to staging and then merge into production is a fast-forward.00:07
paulproteusMight as well have this policy, IMHO: make the only thing you do with "production" be merges from "staging".00:08
nkinkadeSo if I want the change in both branches, then I should just cherry pick it to both individually?00:08
paulproteusIn my opinion you should (1) cherry-pick it to staging, then (2) test it, then (3) merge that into production.00:08
nkinkadeThat sounds reasonable.00:09
nkinkadeI keeps the workflow sane.00:09
paulproteusIf you do things that way, at the end, you'll notice that production and staging always point to the same commit.00:09
nkinkadeBut you are saying that there is no difference from git's perspective to pick to staging, merge to production, and cherry picking it to both individually?00:10
paulproteusThat's not what I said.00:10
nkinkadeI guess I'll read that document.00:10
paulproteusI think that's not what I said.00:10
nkinkade"(07:06:52 PM) paulproteus: Those two are equivalent."00:10
paulproteusYeah, I'm rereading carefully what you said now.00:10
nkinkadeYou just meant functionally equivalent.00:10
nkinkade?00:11
paulproteusNo, I misunderstood what you said.00:11
paulproteusIgnore what I said. (-:00:11
paulproteusAs a reply to something you didn't say, it should be dropped.00:11
nkinkadeWhat shouldn't be dropped?00:11
paulproteusRST00:11
nkinkadeNow I'm misreading things.  I thought you said "should."00:12
* nkinkade goes to read about git-svn and finding a sub rev number in a git repository.00:12
paulproteusYes.  Listen. Ignore the past 10 minutes of our conversation.00:12
paulproteusnkinkade, What I do is open up gitk and look for the svn rev.00:13
nkinkadeMaybe that would be easiest.  But I think it might be a useful tidbit to know how to do it on the command line.00:13
paulproteusgit log | grep rxxx00:13
nkinkadeI don't see the revision number in git log.00:13
paulproteusThere's also a thing you can use to reconstruct git-svn metadata and then use "git svn find-rev rxxx".00:14
paulproteusMaybe you'd need -v or something, la di da, I'm going to leave you and git alone for now.00:14
nkinkadePerhaps git log needs another option .... or just run what you wrote. :-)00:14
*** nathany has quit IRC00:15
paulproteusOr surf gitweb.00:16
*** mlinksva has quit IRC00:28
*** [mharrison] has quit IRC00:52
*** Bovinity has quit IRC00:57
*** jgay has quit IRC01:42
*** Bovinity has joined #cc01:44
*** mlinksva has joined #cc01:44
*** stevel has quit IRC01:54
*** skyfaller has joined #cc02:28
*** klutzy has joined #cc02:51
*** nkinkade has quit IRC03:21
*** scientes has joined #CC03:40
*** scientes has left #CC03:45
*** [mharrison] has joined #cc03:52
*** tsbtmn has joined #cc05:29
*** tsbtmn has left #cc05:29
*** Bovinity has quit IRC07:26
*** sama has joined #cc08:24
*** klutzy has quit IRC08:31
*** mlinksva has quit IRC09:25
*** mlinksva has joined #cc09:29
*** parkerhiggins has joined #cc09:48
*** sama has quit IRC10:32
*** sama has joined #cc10:32
*** mlinksva has quit IRC10:50
*** parkerhiggins has quit IRC11:54
*** rohitj has quit IRC11:59
*** K`Tetch_ has joined #cc13:53
*** K`Tetch has quit IRC14:02
*** mlinksva has joined #cc15:20
*** nkinkade has joined #cc15:29
*** Bovinity has joined #cc15:58
*** nkinkade has left #cc16:19
*** nkinkade has joined #cc16:30
*** stevel has joined #cc16:32
*** nathany has joined #cc17:08
nathanynkinkade: ping17:08
nkinkadenathany: Yup.17:19
*** Bovinity has quit IRC17:19
*** sama has quit IRC17:30
nathanynkinkade: (sorry, i went away for a bit)17:45
nathanyi sent you an email...17:45
nathanynot urgent, when you get a chance...17:45
nkinkadenathany: I saw it.  Looks like my attempt yesterday failed.17:46
nkinkadeI'm not sure how, or even if it's possible, to have the $ORIGIN also be a CNAME record.17:47
nkinkadeOnly one name can be of type CNAME and the origin is already use in SOA and NS records, so BIND rejects it.17:48
*** Bovinity has joined #cc17:48
nkinkadeThere may be a workaround, but at the moment I'm not sure what to do other than setup a vhost and modrewrite the thing.17:48
nkinkadeMaybe paulproteus knows something.17:48
nkinkadeDNAME!17:51
nkinkadeInteresting, but since it appears to be new to BIND9, and not being sure how many other nameservers out there actually support that RR type I'm just going to create a vhost on a6 and use mod_rewrite.18:02
nathanynkinkade: i don't follow that at all -- a CNAME is just an alias, which is definitely not what we want (we want a redirect)18:09
nathanyi guess we can just point oerfeeds.info to a6, www to google and then use apache on a6 to do the initial redirects18:09
nkinkadenathany: An alias would work, as it does in the case of www, but in this case it can't because a name with a CNAME RR cannot have an RR of any other type, which can never work for the $ORIGIN.18:11
nkinkadeWhich must a a minimum have an SOA and one NS record.18:11
nkinkadeI have setup a redirect on a6, but you'll have to wait for the changes to propogate.18:12
nathanyok, thanks :) i still don't understand the RR stuff but that's why you're around ;)18:12
nathanythanks for taking care of that18:12
*** sama has joined #cc18:52
*** Ekushey has joined #cc18:55
*** sama has quit IRC19:38
*** stevel is now known as stevel-fence-sit19:39
*** stevel-fence-sit is now known as stevel19:40
*** [mharrison] has quit IRC20:27
nkinkadem3cr3d1s: Bovinity: What was that video template on Wordpress?20:40
nkinkadeOr example.20:40
Bovinity /asharedculture/20:41
Bovinityoh damn, it's 12:4020:41
Bovinityfeels earlier than that...20:42
m3cr3d1syeah, thats the one with a massive amount of attribution20:42
nkinkadeBovinity: I forgot (sorry), are we keeping /about/videos/, or moving that to /videos/20:46
nkinkade?20:46
Bovinityi think keep /about/videos, it contains other content - comics20:46
nkinkadeBovinity: So I'll create a new page at /videos/ with a TOC of the videos and then make that the parent page of each individual video page?20:47
Bovinitynkinkade: yep20:47
nkinkadeCool.20:47
*** Ekushey has quit IRC21:58
*** jgay has joined #cc21:59
*** nathany has quit IRC22:16
Bovinitynkinkade: on learn.cc wordpress is saying php.ini's upload_max_filesize is 4M, even though I've upped it to 15M and restarted apache. thoughts?22:28
nkinkadeBovinity: Are you sure you edited the right php.ini file?22:29
nkinkadeThere could perhaps be more than more ... /etc/php5/apache/php.ini?22:30
Bovinitynkinkade: /etc/php5/apache2/php.ini:upload_max_filesize = 15M22:30
Bovinityweird thing is, the value used to be 2M, not the 4M wordpress is saying22:30
nkinkadeWhat's that 15 on the next line?22:30
Bovinitynext line?22:32
nkinkade; Maximum allowed size for uploaded files.22:33
nkinkadeupload_max_filesize = 15M22:33
nkinkade1522:33
nkinkadeThere a stray "15" on the line immediately following.22:33
nkinkadeSeems wrong to me.  Not saying it's the issue, but it doesn't look right.22:33
Bovinitya phantom 15. no idea where that came from.22:34
Bovinitynot that it fixes it22:35
nkinkadeWhere the upload form?22:35
Bovinitythe add media upload form from the new post page22:36
*** skyfaller has left #cc22:38
nkinkadeBovinity: I just uploaded a 5M file.22:42
Bovinityah, browser uploader appears to work fine.. flash uploader, not so much.22:44
nkinkadeYeah, I used the regular HTML uploader, not because I meant to but because the Flash one didn't work.  I clicked the button to browse and nothing happened.22:45
* greg-g has had very limited results with most flash uploaders22:46
greg-gs/results/success/22:46
Bovinitythey should just use an AJAX uploader like every other app i've used with upload abilities22:46
nkinkadeMaybe it's different in 2.7.22:49
nkinkadeI can flick the switch any time.22:50
nkinkade:-)22:50
nkinkadeI figure we should play with it a bit more on staging.22:50
Bovinitymaybe show it to some people in office first22:52
nkinkadeI think only Mike and you really use it in the office.22:53
nkinkadeI guess Cameron should see it.22:53
Bovinity*use* it yes, but most people blog22:53
nkinkadeBut in the end, it doesn't matter anyway, because we are going to upgrade it whether people like it or not.22:53
nkinkadeWe could ask people to test drive it, but likely they won't.22:54
Bovinityi guess so22:54
nkinkadeAnd waiting will just delay the launch.22:54
nkinkadeWhat I *will* do however is to send out a warning message.22:54
nkinkadeAlerting people that it will be changing and encouraging them to take a look at staging and to express any concerns.22:54
Bovinityright22:57
K`Tetch_whts this, wordpress?23:01
K`Tetch_I'd always used the browser uploader in 2.6, flash wasn't even an option23:02
K`Tetch_the flash upload words for me in 2.723:02
*** mizzz has joined #cc23:43
mizzzhi23:44
nkinkadeHi mizzz.23:44
*** mizzz has quit IRC23:48

Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!