Wednesday, 2010-10-13

*** mralex has quit IRC00:06
*** akozak has quit IRC00:07
*** Danny_B has quit IRC00:15
*** Danny_B has joined #cc00:16
*** JoiIto has quit IRC00:30
*** JED3 has quit IRC00:36
*** kreynen has joined #cc01:27
*** bassel has quit IRC01:37
*** blight_ has quit IRC01:51
*** erlehmann has quit IRC02:00
*** JoiIto has joined #cc02:07
*** JED3 has joined #cc02:30
*** MarkDude has quit IRC02:49
*** MarkDude has joined #cc03:10
*** JoiIto has quit IRC03:14
*** nkinkade has quit IRC03:18
*** DNS777 has quit IRC03:43
*** DNS777 has joined #cc04:05
*** DNS777 has joined #cc04:05
*** JoiIto has joined #cc04:23
*** kreynen has quit IRC04:37
*** JED3 has quit IRC04:51
*** JoiIto has quit IRC05:06
*** MarkDude has quit IRC05:54
*** JED3 has joined #cc06:04
*** Kaetemi has quit IRC06:09
*** Kaetemi has joined #cc06:15
*** pmiller has joined #cc06:36
*** Kaetemi has quit IRC07:03
*** bassel has joined #cc07:48
*** wormsxulla has quit IRC08:16
*** wormsxulla has joined #cc08:31
*** bassel has quit IRC09:18
*** BjornW has joined #cc09:54
*** BjornW has quit IRC11:20
*** pmiller has left #cc11:43
*** tvol has joined #cc12:44
*** tvol has quit IRC13:01
*** tvol has joined #cc13:01
*** oshani has joined #cc14:06
*** Kaetemi has joined #cc14:10
*** kreynen has joined #cc14:50
*** JoiIto has joined #cc14:57
*** oshani has quit IRC15:12
*** oshani has joined #cc15:13
*** bassel has joined #cc15:15
*** nkinkade has joined #cc15:31
*** oshani has joined #cc16:01
*** JoiIto has quit IRC16:02
*** JED3 has quit IRC16:41
*** akozak has joined #cc16:51
*** paulproteus has quit IRC16:57
*** dithyramble has quit IRC16:58
*** greg-g has quit IRC16:58
*** pyrak has quit IRC16:58
*** JED3 has joined #cc17:21
JED3paroneayea: ping17:21
paroneayeaJED3: pong17:22
JED3paroneayea: hi, can i request a change to the cc0 deed template?17:22
paroneayeaJED3: sure; can I pick your brain about extractions? ;)17:23
JED3paroneayea: definitely, my request is simple though17:23
JED3<li style="padding-bottom: 0.5em; display:none;"><strong>Work Details</strong></li> in the CC0 template does not have a css selector id17:23
JED3in the PDM tempalte you have "work-details-title" as the id for that node, can we do the same for cc0?17:23
paroneayeayes17:24
paroneayeanow for my question!17:24
paroneayeahttp://paste.pocoo.org/show/275049/ the stuff I've extracted from zpt using a script built from zope's tools17:25
paroneayeanow does the pot file normally have what we end up with in the msgstr in the Default "comment" like that?17:25
paroneayeabefore merging?17:25
JED3paroneayea: are you asking whether or not msgstr should == the default text there?17:26
paroneayeayes17:27
paroneayeabasically does this get "corrected" by msgmerge or whatever the hell17:27
paroneayeaI'm guesing no17:27
JED3paroneayea: no, i don't believe so17:29
paroneayeakk, I think I need to interface-monkeypatch some of these zope tools then17:29
paroneayeablaurgablaurga17:29
paroneayeathx JED317:29
JED3paroneayea: well now i'm a bit stumped17:31
JED3where/when is the default text used?17:31
JED3in the gettext machinery?17:31
paroneayeawell normally we turn that into the msgstr in *our* pot files17:32
paroneayeabut I'm not sure how the hell that happened with the old i18nextract.py setup since instead of putting that in the msgstr it puts it in the Default thing17:32
paroneayeaam I making any sense?17:32
akozakJED3, network seem slow to you?17:36
JED3the local network or the cc network? i'm concerned with the latter17:36
*** pyrak has joined #cc17:37
*** paulproteus_ has joined #cc17:37
JED3akozak: i'm not experiencing anything over here17:38
*** dithyramble has joined #cc17:38
*** greg-g has joined #cc17:38
JED3paroneayea: http://code.creativecommons.org/viewsvn/metadata_scraper/trunk/src/cc/deedscraper/i18n/cc_org.pot?revision=13957&view=markup&pathrev=1395717:40
paroneayeaJED3: oh hrm!!17:40
paroneayeaso maybe this is working "right" after all17:41
paroneayeaI've never done a msgmerge or message extract before17:41
JED3yeah i think so17:41
paroneayeaand am doing it at a time when the tools are broken, so it's kind of frustrating not knowing what is and isn't broken17:41
paroneayeahowever nathan's speech has been pushed back till friday so I am flipping a few less tables17:42
JED3paroneayea: i can help with the i18n merge17:42
JED3quick question, how are you setting the default text?17:43
paroneayeaJED3: I'm not setting it myself, zope's tools are in this section of code:17:43
paroneayeahttp://dpaste.com/257383/17:44
JED3paroneayea: this is from the routine performing the extraction?17:46
paroneayeayes17:47
paroneayeawere you asking how it looks on the template side?17:47
JED3yeah17:48
paroneayeait just takes whatever text is between the elements like so:17:48
JED3paroneayea: ahh nvm then17:48
paroneayeahttp://paste.pocoo.org/show/275059/17:48
JED3paroneayea: i think before you go the i18n_merge, you'll need to moved those default values in the msgstr's17:50
JED3paroneayea: unless there's a shit ton of new strings being added?17:50
paroneayeathere are quite a few.  how did you do it?17:51
paroneayeamanually? :o17:51
paroneayeaJED3: updated on live17:52
paroneayeaw/ your request17:52
JED3paroneayea: great thank you17:52
paroneayeayup17:55
paroneayeaonce I figure out the "proper" way to move from Default->msgstr I think I'll be in a good state17:55
paroneayeaI might just write a script that runs the thing through Babel if necessary17:55
*** Bersam has joined #cc17:59
*** mralex has joined #cc18:06
*** Bersam has left #cc18:33
*** MarkDude has joined #cc18:51
*** MarkDude has quit IRC18:56
*** JoiIto has joined #cc19:12
*** MarkDude has joined #cc19:46
*** JoiIto has quit IRC19:51
akozakmralex, if only those miners had some sticks. they could craft diamond picks and torches to avoid the creepers.20:15
mralexthat was my first though too :(20:21
mralexi hope they had enough light to fend off zombies and creepers20:21
akozaknkinkade, not sure I totally understand your last email. what are some circumstances where a client forces varnish to refresh an object, and does this affect the wiki at all?20:28
akozakI understand the http header cache-control, but I don't necessarily know in what circumstances it's common to be sent20:30
nyerglerJED3: paroneayea: not sure who this should be assigned to, but it is embarassing -- http://code.creativecommons.org/issues/issue68620:31
nkinkadeakozak: Any client can set what request headers they want.20:32
akozakright, but does no-cache correspond with e.g. browser refresh20:32
nkinkadeOne common way to cause that to happen, in Firefox, at least, is the Shift-Refresh method.20:32
akozakah ok20:32
nkinkadeNo, but it does correspond with Shift-Refresh.20:32
nkinkadeOr you could use wget and set it manually.20:33
nkinkadeOr I'm sure there are Firefox extensions for manually altering headers.20:33
paroneayeanyergler: looking20:33
nkinkadeAnd I have no idea how Opera, Safari, IE and the others work.20:33
nyerglerthanks20:33
akozaknkinkade, so do you know how long varnish caches a page? i'm having a hard time envisioning how all of this works in relation to internal caching in SMW since there are two layers of it20:34
nkinkadeakozak: From what I've known it's always been 180 seconds.20:35
akozaknormally SMW refreshes data on a page when its saved. but could varnish theoretically serve an older version?20:35
akozakah ok20:35
nkinkadeakozak: I wouldn't worry too much about it until you know there's a problem.20:35
nkinkadeIf things seem to work fine, then they are probably fine.20:35
akozaknkinkade, I'm mostly worried about my own development, since I'm refreshing pages a lot when developing templates.20:36
nkinkadeakozak: Like I say, if there is a major caching issue, you'll know about soon enough.20:36
akozakjust wondering if I should consider avarnish a factor if something isnt working20:36
nkinkadePerhaps.20:36
akozakok thanks20:36
JED3paroneayea: should we be including the license number in the "title" of a license object?20:37
JED3>>> cc.license.by_uri('http://creativecommons.org/publicdomain/zero/1.0/').title()20:37
JED3u'CC0 1.0 Universal'20:37
paroneayeaJED3: yes20:37
paroneayeaI think?20:37
JED3paroneayea: you're right20:37
*** paroneayea has quit IRC20:39
*** paroneay` has joined #cc20:40
*** paroneay` has quit IRC20:41
nyerglerakozak: just request your page from port 8080 when developing to bypass varnish20:41
*** paroneayea has joined #cc20:41
akozakah thanks nyergler20:42
paroneayeaJED3:     <dc:title xml:lang="en-sg">Attribution 3.0 Unported</dc:title>20:43
paroneayea20:43
paroneayeaso that's the norm20:43
* JED3 raises hand to claim the embarrassing bug20:43
paroneayeato have the version in the title20:43
JED3nyergler: paroneayea: just pushed the fix20:43
nyerglerawesome, thanks JED3!20:44
*** bassel has quit IRC20:45
nkinkadeJED3: What is /var/www/staging.creativecommons.net on a9?20:47
nkinkadeShould I just move zupport.CC.org to that dir?20:47
JED3hmm, yeah thats no longer needed20:47
nkinkadeJED3: Like you were saying a few days ago, I think it makes sense that zupport.CC.org goes away and becomes staging.CC.net.20:48
nkinkadeI'll do that now if the exiting staging.CC.net isn't needed any longer.20:48
JED3agreed, and zapport can be blown away as well20:48
mralexnkinkade: can we make staging.cc.net a fresh clone of production?20:51
nkinkademralex: Yeah, I can do that while I'm cleaning up right now.20:51
JED3nkinkade: mralex is there any way to sync 2 drupal installations?20:52
nkinkademralex: JED3: I'm going to clean up the /var/www and also /etc/apache, but I'll archive any of the old dirs and files in my home dir just in case we need them in the coming months.20:52
nkinkadeJED3: In terms of the database?20:52
mralexi'm not sure if i hit send on my reply to that deployment roundup thread, but i think it would be a good idea to have a development instance too, so staging remains as clean as possible for production testing20:52
JED3nkinkade: yes20:52
nkinkadeJED3: For that I usually just mysqldump the production version, then drop the staging version, then import the dump into the staging db.20:53
nkinkadeIt generally works pretty well, but you have to be a little careful about site configs and paths that might be saved in the db instead of the config files.20:53
JED3nkinkade: hmm, couldn't we set the staging db to act as a slave to the production one?20:53
nkinkadeJED3: I'm not sure I follow.20:54
nkinkadeHow would we resolve places where the dbs differed necessarily.20:54
nkinkadeLike in CiviCRM where paths are saved?20:54
JED3nkinkade: i'm pretty sure you can configure which tables should be replicated and which should not20:55
nkinkadeHmm.  Yeah, we'll then maybe that could be a possibility.20:55
nkinkadeI don't really know anything about master/slave setups in MySQL or replication.20:55
JED3http://twitter.com/wizwow hehe this is pretty entertaining20:58
*** paulproteus_ is now known as paulproteus21:11
JED3nkinkade: ping21:19
nkinkadeJED3: ?21:19
JED3do you know what just happened to civicrm?21:19
JED3https://creativecommons.net/civicrm/dashboard21:19
nkinkadeJED3: Not sure.  But could it be related to my moving some old directories around?21:21
JED3nkinkade: hmm possibly, i was using civicrm about 30 min ago and it was working fine21:21
nkinkadeJED3: I just moved all the old webroots back into place, but the problem seems to be persisting.21:23
nkinkadeLet's keep looking a bit more.21:23
*** wormsxulla has quit IRC21:24
nkinkadeJED3: Fixed, I believe.21:26
JED3nkinkade: awesome, what was it?21:26
nkinkadeIt would appear that CiviCRM was still using /var/www/support.CC.org for some things.21:26
nkinkadeI'm going to check all the file paths in the settings.21:26
nkinkadeYup.  That was it.  So when I moved the old directory, thinking it was defunct, CiviCRM got upset.21:28
JED3nkinkade: ahh okay21:29
*** tvol has quit IRC21:35
*** wormsxulla has joined #cc21:36
nkinkadeJED3: I also found an old path in civicrm.settings.php, and settings_location.php.21:42
nkinkadeAnd discovered that it was necessary to delete files/civicrm/templates_c/en_US/ConfigAndLog/Config.IDS.ini21:42
*** oshani has quit IRC22:01
*** oshani has joined #cc22:04
*** erlehmann has joined #cc22:05
*** bassel has joined #cc22:26
*** oshani has quit IRC23:17
*** kreynen has quit IRC23:21
*** akozak has quit IRC23:27

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