Tuesday, 2008-11-25

nkinkadeBovinity: Before I get to business.  Where did Bovinity come from?00:28
Bovinitynkinkade: it stems from my old irc handle, bse. someone started calling me bovinity, and it kinda stuck.00:29
Bovinityit's more or less as random as asheesh's.00:29
nkinkadeHow does one get Bovinity from bse?00:29
nkinkadeBut what was bse?00:30
Bovinitynkinkade: Bovine spongiform encephalopathy00:30
nkinkadeAh.00:30
Bovinitymad cow disease00:30
nkinkadeNow that that is cleared up and I can sleep well, do you object to me taking down zupport long enough to get it running from a git checkout?00:31
Bovinitynkinkade: nope, go ahead00:32
nkinkadeBovinity: Do you have any changes in zupport that haven't been implemented in support yet?00:33
nkinkadeI'm wondering if we should just start clean with a copy of production, or if there are testing features that should stay put.00:33
Bovinitynkinkade: nope, afaik zupport and support are the same - DB aside00:35
nkinkadePerfect.  I'll just start fresh so that zupport will be identical to production as it looks right now.00:36
*** parkerhiggins has joined #cc00:43
Bovinityis it just me or is http://creativecommons.org/asharedculture taking a damn long time to load00:49
Bovinityoh, there it is00:50
nkinkadeBovinity: paulproteus not around today?00:51
Bovinitynkinkade: apparently not, i think he's travelling.. there's an email00:51
nkinkadeI'm rather bumbling along with git and submodules, but I guess it's good because I'm reading a lot and learning.00:51
Bovinityhe would be proud00:51
greg-gonly thing I learned about git today was how the rebase option should be destroyed00:54
Bovinitygah... blip.tv.fail00:54
greg-gteamspeace is failing too00:56
greg-gcan't save an edit00:56
greg-gFx wants to save the index.php file00:56
nkinkadegreg-g: A technical problem with teamspace?00:56
* greg-g tries with epiphany00:57
greg-ghmm, weird, epiphany did it00:59
greg-gnevermind completely, Fx now works too.  I'm puzzled to why that happened01:00
* greg-g waves as he leaves the coffee shop01:01
*** [mharrison] has joined #cc01:03
*** tvol has quit IRC01:36
*** is4 has quit IRC01:52
paulproteusnkinkade, I'm around now.01:52
paulproteusgreg-g, I don't mind rebase, but don't tell anyone (-;01:53
paulproteusnkinkade, Dude01:53
paulproteusnkinkade, git push $REMOTE_TO_PUSH_TO $NAME_OF_LOCAL_OBJECT:$REMOTE_BRANCH_NAME01:53
paulproteusYou don't have to use the refs/heads/ syntax any longer.01:53
nkinkadepaulproteus: Where are you?01:54
paulproteusPrinceton, New Jersey.01:54
nkinkadeCool.01:54
paulproteusThe REMOTE_TO_PUSH_TO is almost always origin, but consider for a moment that you might have other remote servers than just "origin".01:54
nkinkadeFriends there?01:54
paulproteusYa.01:55
paulproteusI'm on my way back to Brooklyn tomorrow, and then Wednesday I'm at home in Rochester.01:55
paulproteusThe NAME_OF_LOCAL_OBJECT is e.g. the local branch name, like local_cc_funtime.01:55
paulproteusIt would pretty much never be "origin."01:55
nkinkadepaulproteus: I've got it mostly going on a9, but was having a problem with submodules.01:55
paulproteusOkay.01:55
paulproteusCan I help?01:56
nkinkadeIt would seem that there is some other submodule already existent in the drupal checkout01:56
nkinkade.01:56
nkinkadeAnd I think it may be messing with the submodule I added.01:56
nkinkadeOn a9:/var/www/zupport.CC.org/www.gittted01:56
nkinkadeTry git update.01:57
nkinkadeIt complains about the template dir.01:57
nkinkadeI haven't looked much at it yet, was going to tomorrow, but I suspect it's another git checkout or submodule.01:57
paulproteus"git update"?01:57
paulproteusWhat a weird command.01:57
* paulproteus wonders what it does01:57
nkinkadegit submodule update01:58
nkinkadesorrty01:58
nkinkadesortie?01:58
paulproteusNo probtlem.01:58
paulproteusnkinkade@a9:/var/www/zupport.creativecommons.org/www.gitted$ git submodule init01:59
paulproteusNo submodule mapping found in .gitmodules for path 'sites/default/themes/support2008'01:59
paulproteusI wonder what that's about.01:59
paulproteusgit submodule update says the same.01:59
nkinkadepaulproteus: I was wondering the same thing.02:00
nkinkadeWhat I do know is that support2008 is it's own git repository.02:01
nkinkadeOr at least themes (I think)02:01
nkinkadeSo I hit that wall, then decided to quite for the day, but figured it was related to some stray .git or .gitmodules.02:01
nkinkadeAnd resolved to look into it tomorrow, and possibly to email you or hit you up on #cc.02:02
nkinkade:-)02:02
paulproteusBut there is a .gitmodules.02:02
paulproteusAnd it doesn't mention support2008.02:02
paulproteusWhy does it think about support2008, I wonder.02:02
nkinkadeI asked myself that same question.02:03
Bovinitycc_support_theme.git branch 200802:03
nkinkadeMaybe there's a .gitmodules in that dire?02:03
Bovinityif i recall02:03
Bovinitysubmodule that to your will02:03
paulproteusnkinkade@a9:/var/www/zupport.creativecommons.org/www.gitted$ find -name .gitmodules02:03
paulproteus./.gitmodules02:03
paulproteusnkinkade@a9:/var/www/zupport.creativecommons.org/www.gitted$ find -name .git02:03
paulproteus./.git02:03
paulproteus./sites/default/modules/civicrm/.git02:03
nkinkadeIt would be easy to fiind out some of this stuff, but like I say, I resolved to check it tomorrow, but since you're here ...02:03
paulproteusI'll see if my fiddling can improve things.  You can go about your business.02:04
nkinkadeI have no business here.02:04
nkinkadeAnd I say that to myself every day.02:04
nkinkadeAnd I believe it might be true.02:04
nkinkadeBovinity: Good God.  How did you slip in here.02:05
Bovinitywith my eyes02:05
paulproteusDastardly.02:05
Bovinityi also haven't left the office yet.02:05
nkinkadeIt was so surreptitiously that I didn't even notice that your previous comments were yours.02:05
nkinkadeIf it weren't for the color coding of usernames, I'd have thought you were paulproteus.02:06
* paulproteus does his one clone02:08
* paulproteus whips out git bisect02:10
nkinkadegit-bisect!02:10
nkinkadeHow many git commands are there?02:10
Bovinitywc -l | ls -l /usr/bin/git*02:11
paulproteusEr, that may not be in the right direction.02:11
paulproteusAlso /usr/libexec/git/ these days I think.02:11
Bovinityoh, oops, wrong way02:11
Bovinitythus i should go home02:11
*** Bovinity has quit IRC02:15
*** Dalvion has joined #cc02:28
*** Dalvion has left #cc02:28
*** stevel has quit IRC03:02
*** mlinksva has quit IRC03:33
*** nkinkade has left #cc03:42
*** [mharrison] has quit IRC04:48
*** [mharrison] has joined #cc05:17
*** CriticalDozens has joined #cc05:18
*** adjohn has joined #cc05:23
*** adjohn has quit IRC05:27
*** adjohn has joined #cc05:27
*** is4 has joined #cc05:35
*** CriticalDozen has quit IRC05:36
*** [mharrison] has quit IRC07:45
*** [mharrison] has joined #cc07:45
*** balor has joined #cc08:24
*** [mharrison] has quit IRC09:40
*** Administrator has joined #cc10:08
*** sama has joined #cc10:30
*** balor has quit IRC10:32
*** sama has quit IRC10:49
*** Administrator has quit IRC10:57
*** balor has joined #cc11:16
*** sama has joined #cc11:24
*** balor has quit IRC11:54
*** applesauce has joined #cc12:07
*** remotec has quit IRC12:21
*** balor has joined #cc12:48
*** jgay has joined #cc13:42
*** mlinksva has joined #cc14:16
*** jgay has quit IRC15:10
*** jgay has joined #cc15:11
*** nkinkade has joined #cc15:24
*** stevel has joined #cc16:09
*** pandadave has joined #cc16:11
*** TRD has joined #cc16:14
*** nathany has joined #cc16:18
paulproteusnkinkade, I look forward to your feedback on my git-related Drupal email.16:34
nkinkadepaulproteus: I'll respond shortly.16:35
mlinksvankinkade: i think a7 (teamspace, forum) has a problem16:35
paulproteusI mention it here mostly to indicate that response via IRC may make more sense now that we're both awake.16:35
nkinkademlinksva: Let me see .16:36
nkinkadeI haven't got a Nagios message yet, but it could be lagging by a few minutes.16:36
mlinksvankinkade: well the websites don't respond :)16:40
mlinksvamachine does ping, haven't tried logging in16:40
nkinkademlinksva: I see that.  I can't even SSH to it.16:40
nkinkadeI'm already logged into my.serverbeach.com thinking about pressing the "Rapid Reboot" button.16:41
paulproteusI see you did.16:42
nkinkadeYes, I just did.16:42
nkinkadeBut this bring up a fault the Nagios config.  We're not getting notifications from Nagios on a7 because it's unresponsive.  a8 would normally take over in this case, but it won't unless it thinks the host is down, which it determines with ping.16:43
paulproteusDon't use ping, use a more rigorous "is host up?" check then.16:44
paulproteusObviously that's a problem.16:44
paulproteusYou could possibly have both act as master, and have them write messages with the a Message ID header that is a hash of the complaint they want to deliver, along with the date.16:45
paulproteusThat way, message-id based duplicate elimination in your email client would merge them into the same message.16:45
paulproteusBut that doesn't stop duplicate SMSs, and I'm not sure if Google Mail does message-ID based duplicate elimination (it's been in 'man procmailex' for about 20 years).16:45
nkinkadepaulproteus: We're talking about SMS here.16:45
nkinkadeyup.16:45
paulproteusYou could have a7 SMS you and CC: a8.16:46
nkinkadeI'll just have to determine a better "is host up?" test.16:46
paulproteusIf a8 gets the message it would have sent within one minute of it wanting to send it, it doesn't.16:46
paulproteusI think that's how Nagios master-slave should work.16:46
nkinkadeI'd probably have to write a plugin for that.16:47
paulproteusYeah, it's probably not worth your time to do it, but it seems to me it's "clearly" how Nagios should handle it.16:47
nkinkadeThere may already be a plugin of some sort.  I'll just have to poke around.16:49
nkinkadeNagios does have ways of running remote checks.16:49
paulproteusAh, right, that's true.16:49
mlinksvankinkade: thanks for taking care of it, and always glad to see more rigorous checks paulproteus and more rigor in general :)16:53
paulproteusMighty fine rigor.16:53
*** CriticalDozen has joined #cc16:56
*** CriticalDozens has quit IRC17:13
*** stevel_ has joined #cc17:15
*** is4 has quit IRC17:18
*** Bovinity has joined #cc17:22
*** pandadave has left #cc17:27
*** stevel has quit IRC17:30
*** sama has quit IRC17:30
*** CIA-61 has quit IRC17:31
*** rohitj has joined #cc17:43
paulproteusnkinkade, Any thoughts...?17:52
nkinkadepaulproteus: About drupal/civicrm -> git?17:54
* paulproteus nods17:54
nkinkadeOne thing is confusing me.  gitk shows a slightly different tree for cc_production and the cc_staging I made yesterday.17:55
nkinkadeAnd I just now got zapped by the master -> master (non-fast forward) issue.17:55
paulproteusI can't see what you see unless you push them.17:55
*** mecredis has joined #cc17:55
nkinkadeThey are pushed, I think.17:55
paulproteusmaster -> master (non-fast forward) is no big deal.17:55
paulproteusOkay.17:55
mecredisBovinity: nkinkade  <li>s are acting strange17:56
mecredishttp://creativecommons.org/weblog/entry/1101517:56
Bovinitymecredis: bah. thx, taking a look.17:56
mecredisthink they just need some padding17:56
paulproteusI like your merged_cc tree.17:57
paulproteusI'm going to run out for 30m or so.17:57
mecredisBovinity: thanks17:57
paulproteusnkinkade, http://code.creativecommons.org/viewgit?p=pootle.git doesn't show those branches.18:04
paulproteusSo I disagree that they are pushed.18:04
nkinkadePootle?18:04
mecredisheh18:05
mecredisnice fix Bovinity18:05
paulproteusEr18:05
paulproteusOops18:05
paulproteusGot Pootle on the brain.18:05
paulproteushttp://code.creativecommons.org/viewgit?p=drupal.git doesn't show 'em either, though.18:05
paulproteusSo there.18:05
paulproteus(-;18:05
Bovinitymecredis: yes, bandaid, there still remains some minor li style issues18:05
nkinkadeDrupal?18:05
nkinkadepaulproteus: Try http://code.creativecommons.org/viewgit?p=civicrm,git18:06
paulproteusOh!18:06
paulproteusOkay.18:06
nkinkade:-)18:06
nkinkadeSorry, I wasn't clear.18:06
nkinkadeThe merged_cc stuff was yours.18:06
nkinkadeOn the drupal repository.18:06
paulproteusRight.18:06
paulproteusOkay, so what's your question?18:07
paulproteusWhy are the trees different?18:07
paulproteuson cc_staging vs. cc_production18:07
paulproteusI have the same question for you (-:18:07
paulproteusWhy do those branches not share more history?18:07
paulproteusShouldn't the top commit at http://code.creativecommons.org/viewgit?p=civicrm.git;a=shortlog;h=refs/heads/cc_production be part of the cc_staging history, too?18:08
nkinkadepaulproteus: I was wondering that too.18:09
paulproteusnkinkade, Dude.18:09
paulproteusYou're the one who made them.18:09
nkinkadeI thought I created the cc_staging branch the same way I had done for cc_production.18:09
paulproteus"Because you did it that way"18:09
paulproteusHere's how I would have made them.18:09
paulproteusStart at the cc_staging branch, all checked out.18:09
paulproteusAnd then:18:09
paulproteusgit branch cc_production18:09
paulproteusEr, reversed.18:09
paulproteusStart w/ cc_production, all checked out, then git branch cc_staging ; git checkout cc_staging ; add stuff.18:10
paulproteusYou branched off the release instead of cc_production.18:10
nkinkadeI did a "git checkout --track -b cc_staging origin/tags/2.0.3"18:10
paulproteus(bye18:10
Bovinitythat makes sense if you mean to reset cc_production, and start fresh from staging18:11
nkinkadeReset cc_production?18:12
nkinkadeAs far as I know I didn't touch cc_production.  That was the same method I used to create cc_production.18:13
nkinkadeDid paulproteus just leave?18:14
Bovinityoh, ok, nevermind then, that's not hte ulterior motive i though it could be.18:14
nkinkadeI wasn't sure that cc_staging should be a branch of the cc_production branch.18:15
nkinkadeBut it seems that paulproteus is saying that it should be.18:15
Bovinityyes, as a starting point, it should be18:16
nkinkadeI guess in our subversion models it's more like productions is branched from staging, but I guess with git it's six of one half dozen of another.18:16
nkinkadeAs the branch is simply a commit reference.18:16
Bovinityprdocution branch will merge in origin/cc_staging, as we do with SVN18:16
nkinkade"merge in"?18:17
Bovinitydamn, i'm using the wrong terminology i expect18:17
Bovinityi'll refrain from butchering any more of this and wait for asheesh to get back.18:18
nkinkadeNomeclature and terminology aside, I'm just going to delete the cc_staging branch and then make it a branch of cc_production.18:18
Bovinitysounds good18:20
*** is4 has joined #cc18:22
paulproteusrehi18:28
paulproteusYour idea is solid re: "delete the cc_staging branch and then make it a branch of cc_production"18:29
paulproteusThat plan is good.18:29
paulproteusBut I want to make sure we share a clarity of thought.18:29
paulproteusSo now let me know when *you*'re here.18:30
* paulproteus sighs18:33
paulproteusI feel like http://smcv.pseudorandom.co.uk/2008/11/nonblocking/ .18:33
nathanymecredis: are you coming to boston for the tech summit/board mtg? (just curious)18:34
mecredisyes sir18:34
mecredisi'll be there for the night of 11th / 12th18:34
*** C2H5OH has joined #cc18:37
paulproteusHello C2H5OH.18:38
C2H5OHHello18:39
paulproteusHow are you?  What brings you to #cc?18:39
paulproteusLet me know if you have any questions not answered in the topic.18:40
* Bovinity smirks18:40
*** C2H5OH has left #cc18:40
* paulproteus rattles the tip jar18:40
paulproteusThe last time I assumed someone was a carder, he turned out to be interested in translating the license chooser to some language.18:40
paulproteusSo best to be gentle!18:41
nkinkadepaulproteus: Do you base those guesses on username and domain?18:55
paulproteusnkinkade, Yes.18:56
paulproteusAlso lack of talking.18:56
paulproteusLife with airlines is stupid.18:56
nkinkadeEthanol.18:56
paulproteusFor $300 I can fly from Rochester to Philadelphia non-stop.18:56
nkinkadeWow.  What a bargain.18:57
paulproteusOr I can buy a $125 ticket to Baltimore from Rochester via PHL and throw away the extra leg to Baltimore.18:57
paulproteusMy mistake, the direct flight is $410 without the disposable Baltimore leg.18:57
paulproteusThey are literally paying me three hundred dollars to waste a seat.18:58
paulproteusWell, all but literally.18:58
*** jgay has quit IRC18:59
paulproteusAnyway, do you have clarity of thought on the git branching stuff?18:59
nkinkadepaulproteus: I blasted the local and remote cc_staging branch and simply made it a branch of cc_production.18:59
paulproteusI agree with your actions. Do they make sense to you?19:00
nkinkadepaulproteus: A little, but it's not precisely clear to me why branching off of tags/2.0.3 would be wrong.19:01
nkinkade... or less than ideal.19:01
paulproteusBecause you want the changes in cc_production that were made on top of tags/2.0.3.19:02
paulproteusSo if you want them, get them.19:02
paulproteusThe key is to remember that in git, branches are just labels for particular commits.19:02
nkinkadepaulproteus: But the workflow will be the othe way around.19:02
paulproteusSo two branches can point to the same commit.19:02
nkinkadeAnd wasn't that what I had before, when both were branched from the same commit (release of 2.0.3)?19:03
paulproteusBut there were changes in cc_production you wanted in cc_staging, right?19:03
paulproteusHere, imagine this:19:03
paulproteus$ git branch cc_production tags/2.0.319:03
paulproteus$ git branch cc_staging tags/2.0.319:04
nkinkadepaulproteus: Would you like to try Ekiga?19:04
paulproteusIf you do that and look at gitk, you would see that the very commit that is tags/2.0.3 has three labels on it: "tags/2.0.3", "cc_production", and "cc_staging"19:04
nkinkadeAnd chat in combination?19:04
nkinkade(#cc, I mean)19:04
paulproteusHmm, I'm in a library.19:04
* paulproteus nods19:04
nkinkadeOh.19:04
paulproteusMy laptop has a mic but no video, also.19:04
paulproteusI wonder if I get the wifi outdoors.19:05
paulproteusI'll check.19:05
paulproteusI have the battery to support it.19:05
nkinkadeVideo doesn't matter, but voice would be interesting.19:05
paulproteusAnd Princeton handed me a frickin' globally-routable address and as far as I can tell no firewall, and no splash page telling me I should agree to some stupid terms of service.19:05
paulproteusI just DHCP'd and got a global IP on the guest network.19:05
*** CIA-37 has joined #cc19:05
nkinkadeWow.  So kind of Princeton.19:06
nkinkadeSo, what's the problem with the last scenario?19:06
nkinkadeOr are you looking into wifi?19:06
paulproteusI'm going to get up and see what happens if I go outside.19:07
paulproteusI'm having trouble with pulseaudio and the mic, I think.19:14
nkinkadeHmm.19:14
*** grahl has joined #cc19:15
nkinkadepaulproteus: Do you have a sip address?19:15
paulproteusSure, though I'm not logged in.19:15
paulproteusI am probably paulproteus@ekiga.19:15
nkinkadeHmm.  Ekiga just told me that registration of edaknik failed.19:16
paulproteusI'm also a bunch of stuff @supercore.laroia.net.19:16
Bovinitypaulproteus: does a CC fan named Ethan ring a bell?19:18
paulproteusEthan J?19:19
Bovinityhe's here!19:19
Bovinitysurprise!19:19
paulproteusJacovi?19:19
paulproteusEek.19:19
paulproteusSurprise 'cause I'm not!19:19
nathanyyup19:19
paulproteusI don't remember telling him to go to CC.19:19
paulproteusHow silly.19:19
Bovinitywasn't there a dude who was going to come by on Friday?19:20
Bovinitydifferent one?19:20
paulproteusDifferent one.19:20
paulproteusLuis.19:20
paulproteusUm, send him my regards.  I hope he doesn't think we scheduled this.19:21
nathanypaulproteus: i don't think he does19:21
nathanyjen's giving him a t-shirt :)19:21
Bovinityi think jen set him straight19:21
paulproteusYay!19:21
paulproteusTell him to feel free to call me right now.19:22
paulproteus585 506 886519:22
paulproteusIf he hasn't left yet.19:22
paulproteusnkinkade, Let's do voice later.19:26
paulproteusI will be more settled tomorrow 2h from this time.  We can try then.19:26
paulproteusWell, let me try one thing...19:26
nkinkadepaulproteus: We can try again tomorrow.19:29
nkinkadeAnd Ekiga isn't registering for some reason.19:29
nathanypaulproteus: the one with a UCSD shirt said he'll find you on IRC19:30
paulproteusOkay, cool.19:30
paulproteusI don't know anyone well who went to UCSD, I think.19:30
paulproteusMaybe IRC will soon prove me wrong.19:30
paulproteusnkinkade, Sorry to always put this off!19:30
paulproteusI'm glad my mysterious friends came by.19:32
paulproteusI guess this is why my other friends tell me to let them know before I try to visit them.19:33
Bovinityyour notifications need improvement19:36
paulproteusWell, two years ago Chris stopped by without notice and this year, we planned the trip.19:36
paulproteusSimilarly, I now generally notify friends when I want to visit them.19:37
*** Ekushey has joined #cc19:40
nathanymlinksva: Bovinity: you guys doing curry today?20:00
Bovinitynathany: nope20:01
mlinksvanathany: y20:01
nathanymlinksva: let me know when you want to go20:01
mlinksvanow, ahora, hima20:01
*** [mharrison] has joined #cc20:05
*** tvol has joined #CC20:14
*** rohitj has quit IRC20:39
*** balor has quit IRC20:57
*** [mharrison] has quit IRC21:10
nkinkadepaulproteus: git submodules are pinned to a particular revision, as I understand it.  How do I get git to update the submodule to a newer revision?  Would this require editing .gitmodules?21:22
paulproteusnkinkade, No.  What you do is:21:22
paulproteus$ cd the-submodule21:22
paulproteus$ git checkout <revision_you_want>21:22
nkinkadeAh.,21:22
paulproteus$ cd ..21:22
paulproteusgit add the-submodule21:22
paulproteusOr even before you do "git add", take a look at "git status"21:22
nkinkadeRight.  git submodule status just looks at .git of the submodule, right?21:23
paulproteusYup.21:23
paulproteusJust the current HEAD of that .git/ actually.21:23
nkinkadeSo there's no problems with treating the submodule as any old git clone?21:23
paulproteusThere's one problem:21:24
paulproteusBy default you don't have a branch checked out, so "commit" cannot mean anything.21:24
nkinkadeI saw a document about that.21:24
paulproteusYou can address by "git checkout $some_branch".21:24
nkinkadehttp://git.or.cz/gitwiki/GitSubmoduleTutorial21:24
paulproteusThen you can make commits, and then you can "cd .. ; git add the-submodule"21:24
nkinkadeThat's a fairly nice page.21:24
paulproteusJust be sure to push.21:24
paulproteusYa.21:24
nkinkadeAnd it goes over the scenario you just mentioned.21:24
nkinkadeCool.21:25
nkinkadeI'm learning things little by little.21:25
paulproteus had to go through the tutorial a few times before I actually got it. (-:21:25
nkinkadepaulproteus: Interestingly the civicrm submodule is tracking master, which tracks remote, unless I'm reading it wrong.21:29
paulproteusSubmodules don't track anything.21:29
nkinkadeIn a9:/var/www/zupport.creativecommons.org/www.gitted21:29
paulproteusThey're strictly pinned to a revision, not a branch.21:29
paulproteusOh, in that current checkout.21:29
nkinkadeIn the example that guy gave "git branch" would show something like "(no branch)"21:30
paulproteusYeah, it would in a fresh clone ; submodule init ; submodule update.21:30
paulproteusSomeone (me?) did "git checkout master", I guess.21:31
paulproteus(you?)21:31
paulproteus(I dunno)21:31
nkinkadeI don't think I did that.21:31
paulproteusMaybe it was me, then.21:32
* paulproteus shrugs21:32
nkinkadeBut I'm happy to see that I understood it enough to know that that was looking strange.21:32
paulproteus(-:21:33
nkinkadepaulproteus: Does this seem reasonable to you, then, for the submodule civicrm "git checkout --trach -b cc_staging origin/cc_staging"21:35
nkinkade(--track)21:35
nathanypaulproteus: i recall an admonition from you that nkinkade and i should be using svn 1.5's merge tracking instead of svnmerge.py21:35
paulproteus"git branch"21:35
paulproteusnathany, Yeah, it's the same as svnmerge.py but faster and server-accelerated I think.21:35
paulproteusMaybe the client is faster, too?21:35
nkinkadepaulproteus: Doesn't "checkout --track -b" do the same thing, but just eliminate one step?21:36
paulproteusThe release notes say http://svnbook.red-bean.com/nightly/en/svn.branchmerge.advanced.html#svn.branchmerge.advanced.finalword is first thing to read.21:36
nathanyfor some definition of "the same" -- do you know if our code.cc.org repos is at the latest repos schema?21:36
nathanygot it21:36
nathanythanks21:36
paulproteusIt will work with a 1.4-schema database I think.21:36
paulproteusnkinkade, Please do me a favor and never use "git checkout" to create a branch.21:36
paulproteusIt's just too confusing.21:36
paulproteusIf what you write works, I'll be shocked.21:37
nkinkadepaulproteus: I know that it does work.21:37
nathanypaulproteus: not according to http://subversion.tigris.org/svn_1.5_releasenotes.html21:37
paulproteusnathany, Good thing I can't read (?).21:37
paulproteusI guess it's not current-format then.21:37
nkinkadeThe -b options tells checkout to create the branch and then check it out.21:37
paulproteusnkinkade, /me tries it..21:37
paulproteusBut --track works for git-checkout?21:37
paulproteusI thought that was only for git-branch.21:37
nkinkadeYes, it does.21:37
paulproteusWow, weird.21:38
paulproteusSo I see from the man page.21:38
paulproteusOkay, you can do it that way...21:38
paulproteusI'll still suggest not doing it, since it's just Too Weird.21:38
paulproteus(For Me)21:38
nkinkadeIt's a bit confusing, but not any more weird than "git push origin :heads/<some branch>" to delete a remote branch.21:38
paulproteusDon't use refs/heads in git-push anymore.21:39
paulproteusIt's implicit now, so best to forget about it.21:39
nkinkadeJust a bare (!) colon?21:39
nkinkadeWhat a relief.21:39
paulproteusgit push origin :master # deletes remote master, if I'm right21:39
nkinkadeI'll take your word for that one.21:39
nkinkadeBut what about getting git 1.6 on my laptop.21:40
nkinkadeIntrepid only has 1.5.3.21:40
nkinkade1.5.6.521:40
paulproteusgit version 1.5.6.3 is what I'm running on this here laptop apparently.21:40
paulproteusI haven't been using it much since this trip though.21:40
nkinkadeIt seems that the implicit --track may be available in 1.5.6.521:40
nkinkadeI think I've witnessed it work, and the message git emits says as much.21:41
paulproteusOkay, awesome.21:41
paulproteusThat's a relief.21:41
nkinkade$ git branch cc_staging origin/cc_staging21:42
paulproteus(I believe you.)21:42
nkinkadeBranch cc_staging set up to track remote branch refs/remotes/origin/cc_staging.21:42
paulproteushttp://stagootle.creativecommons.org/ gets closer and closer.21:44
nkinkadeThe search function still sucks.21:47
nkinkadeI can't see why it doesn't return a list of strings that match and the let the user select which one, instead going to the first and offering you a "Skip" button.21:48
nkinkadeMaybe I just don't know how to use the interface.21:48
nathanypaulproteus: nkinkade: we need to upgrade the svn repository on code.cc.org to 1.5 to support the new schema21:48
nathanythoughts on whether we should:21:49
*** tvol has quit IRC21:49
nkinkadenathany: Do you know what that involves?  I've never done it.21:49
paulproteusI read in the release notes how, and it didn't seem bad.21:49
nathanythere are a few options21:49
paulproteusThere's some Python script you can use to regenerate some indices.21:49
nathanydump/load is the common way21:49
nathanypaulproteus: i think you're only talking about svnmerge21:49
paulproteusnathany, I think you're right.21:49
paulproteusIs there an uncommon way?21:50
nathanythere's also an "svnadmin upgrade" you can do that does the minimal amount of work21:50
nathanyso your repos may be "sub-optimal"21:50
paulproteusRight, svnadmin upgrade'.21:50
paulproteus"After running svnadmin upgrade, you may wish to also run the svn-populate-node-origins-index program"21:50
paulproteusIs that all the work it skips?21:51
paulproteus-- http://subversion.tigris.org/svn_1.5_releasenotes.html#repos-upgrades21:51
paulproteusFWIW, if we start filing bugs en masse against Pootle Bugzilla, we can probably fix them / get them fixed.21:51
nathanyno idea21:51
paulproteusLooks to me like it is, based on that paragraph.21:51
nathanyi love that they link to a C source file there21:52
* nathany rolls eyes21:52
paulproteusI love it too.21:52
nathany(although it seems to be installed as a binary on a7)21:53
paulproteusYay!21:53
paulproteusWell, svnadmin upgrade seems very sane to me then.21:53
nathanyhrm21:53
nathanywell i guess i'll make a backup "just in case" and then try to do it live21:53
paulproteusBy and large, the svn folks are nothing if not conservative and reasonable.21:53
nathany(of course, we have a 1.5GB repository :) )21:54
paulproteuspaulproteus@rose:~ $ du -sh svnned/music21:55
paulproteus109Gsvnned/music21:55
paulproteusA few days ago, I put my music collection into a Subversion repository.21:55
paulproteusI upgraded to svn 1.5 before doing that!21:55
nathanyuh... why? (nevermind...)21:55
paulproteusSo when I fix tags or get new music, I can commit and "svn up" everywhere!21:55
paulproteus+ http://scord.sourceforge.net/21:56
* nathany tries to decide if upgrading the svn repos now is a good use of his time21:58
nkinkadepaulproteus: Why didn't you use git?  The blob model wouldn't work for music?21:58
paulproteusIt would work great, but I don't get the possibility of using scord to save space.21:58
paulproteusPlus whole-history seemed like bad news.21:58
paulproteusI'll end up wanting to check out parts of the tree.21:58
paulproteusAnd if I "svn rm" something, I don't want to keep paying the price.21:58
nathanybasically every thing I ever bitch about wrt git ;)21:58
nathany(j/k)21:58
paulproteusWell, "svn commit" took like 12 hours.21:59
paulproteusAnyway, I'm going afk for a few hours, but I'll be back online later.21:59
paulproteusnathany, Feel free to tell me (or NK) to upgrade the repo.21:59
nkinkadepaulproteus:  one thin21:59
nkinkadeg21:59
paulproteusSure.21:59
nathany(making a backup now)21:59
nkinkadeI think I'm going to version all those DAO and mysql files in CiviCRM.21:59
nkinkadeCan you think of a reason not to?21:59
nkinkade(the generated files)22:00
paulproteusI guess we decided they won't mess up merges.22:00
nkinkadeI want a git clone to be usable.22:00
paulproteusWell, that's not very true.22:00
paulproteusHere's the bad case:22:00
nkinkadeRight, since they aren't in the releases or their repository.22:00
paulproteus1. You version them22:00
paulproteus2. The rebuild clobbers them22:00
paulproteus3. You commit the changed files, but22:00
nkinkadeWhat rebuild?22:00
paulproteusRebuild from a merge or other sort of upgrade.22:00
paulproteus4. It turns out there's some old generated files that are still around but shouldn't be, causing CiviCRM to do something weird.22:01
paulproteusIf 4 is possible, then that would suck.22:01
paulproteusIf it's not, then whatevs.22:01
nkinkadeI'm not 100%, but I think those files have to be manually generated from a script.22:01
paulproteus"manually generated from a script" means "you run the script and it makes them"?22:01
nkinkadeI think that may be the case.22:01
paulproteusNot very manual, but more manual than git clone.22:01
nkinkadeThey certainly aren't generated on the fly by CiviCRM ... at least I"m pretty sure not.22:01
paulproteusI'd rather have two commands to get a *working* working copy than have possible weirdness down the road.22:02
paulproteusBut it's probable that my (4) is not actually possible, and the only problem you'll see is cruft growth.22:02
nkinkadepaulproteus: that makes sense, and thus why I asked you. :-)22:02
nkinkadeI guess I'll leave them out.  I'll just have to learn how to regenerate them later, which should be easy enough.22:02
nkinkadeThey are currently strewn about cc_staging.22:03
nkinkadeWhen I dropped our current install on top, but they aren't tracked.22:03
* paulproteus nods22:03
nkinkadeI guess I could delete them, and the work to see how one regenerates them.22:03
paulproteusFor sanity gitignore them.22:03
* paulproteus vanishes22:03
*** pandadave_ has joined #cc22:07
nathanypaulproteus: nkinkade: any idea why a7 has svn 1.5 but a6 only has 1.4?22:09
nkinkadenathany: Not sure.22:10
nathanypaulproteus: nkinkade22:10
nathanypaulproteus: nkinkade: I'm bailing on the svn repo upgrade22:10
nkinkadeI think paulproteus installed a backport recently.22:10
nathany(just FYI)22:10
nkinkadeAnd I forget why, but he had some good reason.22:10
nathanyi'm sure22:10
nkinkadeI think it had something to do with Mozootle  and a feature that needed 1.522:11
*** CriticalDozen has quit IRC22:17
*** CriticalDozen has joined #cc22:18
CriticalDozenWith the http://creativecommons.org/licenses/by-sa/3.0/ - Are people requried to get my premission to released a modifed piece of work?22:18
CriticalDozenrelease*22:18
Bovinityno, but by-nd would22:19
CriticalDozenHmmm22:21
CriticalDozenThanks Bovinity, think i'll just use by-sa as it's a template22:23
*** rohitj has joined #cc22:51
*** Ekushey- has joined #cc22:56
*** Ekushey_ has joined #cc23:00
*** grahl has quit IRC23:10
*** Ekushey- has quit IRC23:11
*** Ekushey has quit IRC23:18
Bovinitymecredis: around?23:36
*** nathany has quit IRC23:50

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