*** nyergler has quit IRC | 00:02 | |
*** JoiIto has joined #cc | 00:03 | |
*** jgay has quit IRC | 00:12 | |
*** mralex has quit IRC | 00:26 | |
*** JoiIto has quit IRC | 00:37 | |
*** JoiIto has joined #cc | 00:37 | |
*** JoiIto has quit IRC | 00:38 | |
*** JoiIto has joined #cc | 00:39 | |
*** JoiIto has quit IRC | 00:45 | |
*** JoiIto has joined #cc | 00:52 | |
*** igorlukanin has joined #cc | 01:19 | |
*** oshani has joined #cc | 01:42 | |
*** nb has quit IRC | 01:47 | |
*** nb_ has joined #cc | 01:47 | |
*** nb_ is now known as Guest99814 | 01:47 | |
*** Guest99814 has quit IRC | 01:50 | |
*** Guest99814 has joined #cc | 01:50 | |
*** Guest8087 has joined #cc | 01:51 | |
*** nkinkade has joined #cc | 01:51 | |
*** Guest99814 is now known as nb | 01:51 | |
*** Guest8087 has quit IRC | 01:52 | |
*** igorlukanin has quit IRC | 01:53 | |
*** nb has quit IRC | 01:56 | |
*** JoiIto has quit IRC | 01:59 | |
*** JoiIto has joined #cc | 01:59 | |
*** nb has joined #cc | 02:04 | |
*** oshani has quit IRC | 02:42 | |
*** oshani has joined #cc | 03:16 | |
*** oshani has quit IRC | 03:54 | |
*** nkinkade has quit IRC | 04:28 | |
*** Kaetemi has quit IRC | 06:13 | |
*** erlehmann has joined #cc | 06:24 | |
niekie | /j #freenode | 06:28 |
---|---|---|
niekie | Er. | 06:28 |
erlehmann | good morning, #cc ! | 06:33 |
*** parker-fcnyu has quit IRC | 06:51 | |
niekie | Good morning erlehmann :) | 06:53 |
*** JoiIto1 has joined #cc | 07:10 | |
*** JoiIto has quit IRC | 07:15 | |
*** JoiIto has joined #cc | 07:36 | |
*** JoiIto has left #cc | 07:37 | |
*** JoiIto1 has quit IRC | 07:40 | |
*** BjornW has joined #cc | 08:43 | |
*** BjornW has quit IRC | 09:10 | |
*** JoiIto1 has joined #cc | 09:53 | |
*** JoiIto1 has quit IRC | 10:41 | |
*** JoiIto has joined #cc | 10:43 | |
*** erlehmann has quit IRC | 10:52 | |
*** wormsxulla has quit IRC | 12:13 | |
*** wormsxulla has joined #cc | 12:31 | |
*** user_ has joined #cc | 12:55 | |
*** nkinkade has joined #cc | 13:01 | |
*** user_ has quit IRC | 13:02 | |
*** lml has quit IRC | 13:04 | |
*** nkinkade has quit IRC | 13:06 | |
*** nkinkade has joined #cc | 13:07 | |
*** nkinkade has quit IRC | 13:12 | |
*** nkinkade has joined #cc | 13:12 | |
*** nkinkade has quit IRC | 13:17 | |
*** nkinkade has joined #cc | 13:27 | |
*** nkinkade has quit IRC | 13:31 | |
*** nkinkade has joined #cc | 13:32 | |
*** nkinkade has quit IRC | 13:51 | |
*** nkinkade has joined #cc | 13:53 | |
*** JoiIto1 has joined #cc | 14:41 | |
*** JoiIto has quit IRC | 14:41 | |
*** tim_hwang has joined #cc | 14:56 | |
*** cchelpbot has joined #cc | 15:13 | |
*** nyergler has joined #cc | 15:13 | |
nkinkade | nyergler: The little blips on a5 and a6 are just me. There were some security updates that required a reboot and I didn't shut down Nagios. | 15:28 |
nyergler | nkinkade, got it, thanks :) | 15:31 |
nyergler | nkinkade, just saw the support.xsl commit | 16:12 |
nyergler | looks like you have an extra character in trunk | 16:12 |
nyergler | + $jurisdiction='vnr'">3.0</xsl:when> | 16:12 |
nkinkade | nyergler: Damn. Thanks for catching that. | 16:12 |
nyergler | nkinkade, no problem | 16:13 |
*** mralex has joined #cc | 16:17 | |
*** oshani has joined #cc | 16:24 | |
*** MarkDude has quit IRC | 16:27 | |
*** MarkDude has joined #cc | 16:27 | |
*** JED3 has quit IRC | 16:40 | |
nkinkade | paroneayea: How do I update cc.engine on staging? | 16:51 |
nkinkade | Oh, wait ... nevermind. | 16:51 |
nkinkade | I'm just going to skip that step. | 16:51 |
nkinkade | The RDF isn't generated for it, but only via the old method. | 16:51 |
paroneayea | nkinkade: for the record, the way to update things is to "sudo su john", cd to the cc.engine_stage directory, git fetch and merge the cc.engine subdirectory, and then do a ./bin/buildout in the main cc.engine_stage directory | 16:55 |
*** michi_ has joined #cc | 17:00 | |
*** jgay has joined #cc | 17:12 | |
*** MarkDude has quit IRC | 17:13 | |
*** Kaetemi has joined #cc | 17:18 | |
nyergler | nkinkade, is it easy to turn off editing captchas for mediawiki users in the email confirmed group? | 17:20 |
nkinkade | nyergler: I thought the captcha only showed up for verified users if they were adding external links. | 17:21 |
nkinkade | Is that not right? | 17:21 |
nyergler | nkinkade, it does; acawiki was asking about turning it off completely for confirmed users | 17:21 |
nkinkade | nyergler: So you are saying you want to turn them off under all circumstances for verified users? | 17:24 |
nyergler | nkinkade, correct | 17:24 |
nyergler | on acawiki | 17:24 |
nyergler | (and to be clear, "i" don't want to, Neeru and Jodi want to) | 17:24 |
*** JED3 has joined #cc | 17:25 | |
nkinkade | nyergler: Hmm. According to this confirmed users shouldn't get the captcha: http://recaptcha.net/plugins/mediawiki/ | 17:26 |
nkinkade | I'll look at this. | 17:26 |
nyergler | nkinkade, ok, don't spend too much time on it :) | 17:26 |
nkinkade | nyergler: Is there a way to make mkdeeds output only the Unported Deeds just for one jurisdiction? | 17:27 |
mralex | nkinkade: just to confirm; oneclickdonate will still accept a source= string to change the contribution source, correct? | 17:27 |
nkinkade | I tried -j - -l vn | 17:27 |
nkinkade | mralex: Yeah, it does. | 17:28 |
nyergler | nkinkade, do you mean the Unported for one *language*? | 17:28 |
nkinkade | nyergler: Yeah, that's it. | 17:28 |
nyergler | the params you tried didn't work? | 17:28 |
nkinkade | nyergler: No, it didn't seem to work. | 17:29 |
nyergler | hrm | 17:29 |
nyergler | that's what i'd have guessed :/ | 17:29 |
nkinkade | nyergler: It worked, but it just created deed.vn | 17:29 |
nyergler | oh | 17:29 |
nyergler | wait, what were you expecting? | 17:29 |
nkinkade | I was expecting "deed" | 17:29 |
nkinkade | For some reason the -l vn option didn't created the default deeds, but I feel like it has in the past. | 17:30 |
nyergler | but "Deed" isn't in vietnamese for unproted | 17:30 |
nyergler | no, specifying -l will only do the defaults if that language is also the default language for the jurisdiction | 17:30 |
nyergler | only do the default deeds, that is | 17:30 |
nkinkade | Shit. I was doing -l vn, but it shoudl have been -l vi | 17:31 |
nkinkade | Sorry. | 17:31 |
nyergler | :) | 17:31 |
nkinkade | nyergler: I just logged into Acawiki and create a new page and wasn't presented with a captcha. | 17:34 |
nyergler | nkinkade, hrm, with an external link? | 17:35 |
nkinkade | nyergler: No. I can try that too. | 17:35 |
nkinkade | According to the recaptcha site they only present a recaptcha with external links for anonymous edits. | 17:35 |
nyergler | nkinkade, ok, thanks | 17:36 |
nkinkade | nyergler: http://acawiki.org/Kinkade | 17:36 |
nkinkade | I just made that page with no recaptcha. I suspect that they think they are verified, but really aren't. | 17:36 |
nyergler | got it | 17:37 |
nyergler | ok, thanks | 17:37 |
nkinkade | JED3: The international/ pages use the API, right? | 17:55 |
nkinkade | I'm getting country.vn instead of the name here: http://creativecommons.org/international/vn/ | 17:55 |
nkinkade | And also on the chooser. | 17:55 |
nkinkade | I'm trying to figure out what I did wrong here. | 17:55 |
JED3 | nkinkade: if it does, i wasn't aware that it used the API | 17:57 |
nkinkade | JED3: I think I found it. | 17:57 |
nkinkade | questions.xml in license_xsl | 17:57 |
nkinkade | mralex: Did you by chance just make a change to includes/referrer/deed.js on the live site? | 18:03 |
mralex | nkinkade: just now? no | 18:04 |
nkinkade | nyergler: Do you know why country.vn is showing up here: http://creativecommons.org/international/vn/ | 18:06 |
nkinkade | ... or where to go looking for the solution? I have forgot where that comes from. | 18:06 |
*** michi_ has quit IRC | 18:07 | |
nyergler | nkinkade, did you svn up the worldwide plugin? | 18:07 |
JED3 | nkinkade: I did | 18:07 |
nyergler | nkinkade, oh, wait | 18:07 |
nkinkade | nyergler: I svn uped everything under /var/www/creativecommons.org/www | 18:08 |
nkinkade | I've updated the API for 1.5 and dev, too. | 18:08 |
nyergler | looks like you regenerated licenses.xml before there was a translation for country.vn | 18:08 |
nkinkade | Damn. | 18:08 |
nyergler | nkinkade, those values get pulled from licenses.xml, IIRC | 18:08 |
nyergler | (looking to double check) | 18:09 |
nkinkade | Yeah. I had forgot to add country.vn to i18n, but thought I had regenerated everything. | 18:09 |
nyergler | nkinkade, never mind, it's not licenses.xml | 18:09 |
nyergler | hrm | 18:09 |
JED3 | nkinkade: did you revert the changes to deed.js? | 18:09 |
nkinkade | There's were a lot of country.vn in licenselocal.xsl and questions.xml, but I regenerated those. | 18:09 |
nkinkade | JED3: I did. | 18:09 |
nkinkade | Sorry. | 18:09 |
JED3 | nkinkade: that's okay | 18:10 |
nkinkade | Look back a bit in this thread. | 18:10 |
JED3 | i can re-edit it | 18:10 |
nkinkade | I did an svn up and got a conflict so I went with the installed version over the one in svn. | 18:10 |
nkinkade | JED3: Just commit the change when you're done. | 18:10 |
nyergler | nkinkade, looks like the international page is fine now | 18:12 |
JED3 | nkinkade: yeah, i won't explain why i didn't commit, mainly because my fix was a quick hack and plan on throwing away way this checkout very soon anyways | 18:12 |
nkinkade | nyergler: Maybe caching of some sort. | 18:12 |
nyergler | nkinkade, probably | 18:12 |
nyergler | nkinkade, i forgot -- it gets the list of license URIs from a local copy of licenses.xml, asks the API for their names | 18:12 |
nkinkade | JED3: Cool. I svn up the live site maybe twice a year and it just so happened you made that change just as I was doing it. | 18:12 |
nkinkade | paroneayea: Hurry up with those i18n changes because I'm missing sanity badly. | 18:13 |
paroneayea | nkinkade: heh | 18:15 |
nkinkade | I forgot how crazy it is to launch jurisdictions the old way. | 18:15 |
nkinkade | I've been going at it for over 2 hours now. | 18:16 |
nkinkade | You forget one small thing in one small place and then you find yourself going back and having to redo practically everything, jumping from one repo to the next and regenerating everything under the sun ... wondering where some data comes from, etc. | 18:16 |
paroneayea | :< | 18:17 |
greg-g | sounds like a hell of a way to spend a friday | 18:19 |
JED3 | nkinkade: nyergler working on metadata_scraper for a bit, plz excuse the inevitable nagios alerts as a result | 18:20 |
JED3 | paroneayea: dont you have the day off? | 18:30 |
mattl | paroneayea never sleeps. | 18:31 |
paroneayea | I have the day off? | 18:36 |
paroneayea | JED3: I have off the 2nd-8th of next month | 18:39 |
paroneayea | which is maybe what you are thinking of | 18:39 |
paroneayea | my spouse and I's 1st year anniversary :D | 18:39 |
JED3 | paroneayea: ahh okay, well early congrats | 18:40 |
paroneayea | thx! | 18:41 |
*** jgay has quit IRC | 18:47 | |
JED3 | paroneayea: ping | 19:04 |
*** erlehmann has joined #cc | 19:16 | |
greg-g | lots o' committing going on for a friday (yeah, I'm still subscribed to get all commit messages) | 19:31 |
paroneayea | JED3: pong | 19:53 |
*** michi__ has joined #cc | 19:56 | |
JED3 | paroneayea: hey | 20:17 |
paroneayea | JED3: yo | 20:17 |
JED3 | have you specified rdfadict=0.7.2 in the latest cc.license egg? | 20:17 |
paroneayea | no | 20:19 |
paroneayea | I did specify 'rdflib<3.0' though I think | 20:19 |
paroneayea | ah, that's in cc.licenserdf | 20:19 |
paroneayea | it was rdflib that was creating those problems we were talking about a bit back | 20:20 |
JED3 | yeah, for some reason this buildout is fetching rdfadict 2.7.2.dev which grabs rdflib 3.0 | 20:21 |
JED3 | but I've just registered a 2.7.3 version of rdfadict on pypi | 20:21 |
JED3 | oh well, i have a workaround | 20:24 |
*** jgay has joined #cc | 20:41 | |
*** jgay has quit IRC | 20:48 | |
JED3 | paulproteus: ping | 21:00 |
*** michi__ has quit IRC | 21:04 | |
nkinkade | JED3: paroneayea: Do either of you know how to get git-log to show detail for a specific commit? | 21:21 |
paroneayea | nkinkade: I just use tig | 21:22 |
JED3 | nkinkade: detail as in the file diffs? | 21:22 |
paroneayea | ah | 21:22 |
paroneayea | that's "git show" iird | 21:22 |
paroneayea | er iirc | 21:22 |
JED3 | git show -R revid | 21:22 |
JED3 | yeah | 21:22 |
nkinkade | ah. | 21:22 |
nkinkade | Thanks. | 21:22 |
JED3 | np | 21:23 |
paroneayea | (tig is awesome though) | 21:23 |
nkinkade | git show is exactly what I've been looking for. | 21:23 |
JED3 | nkinkade: how fluent is your spanish? | 21:24 |
nkinkade | JED3: advanced conversational, perhaps. | 21:24 |
JED3 | nkinkade: i'm itching to get a string translated in one of our catalogs so we can show off a new feature in the deeds | 21:25 |
nkinkade | JED3: Send it to me. | 21:25 |
nkinkade | Or tell me where I can translate. | 21:26 |
JED3 | nkinkade: i'll need to merge the messages into the catalog.. one sec | 21:26 |
JED3 | we're still using i18n.svn for our catalogs right? | 21:27 |
nkinkade | JED3: Which ones? | 21:27 |
JED3 | cc_org | 21:27 |
nkinkade | i18n is pretty much only Deeds and the chooser. | 21:27 |
JED3 | okay then yeah | 21:27 |
*** Kaetemi has quit IRC | 21:34 | |
nkinkade | JED3: Are you presently working on the scraper stuff? | 21:35 |
nkinkade | Or should I disable alerts for the weekend? | 21:35 |
JED3 | no actually, will you put them up | 21:36 |
*** Kaetemi has joined #cc | 21:36 | |
nkinkade | JED3: Put which up? | 21:36 |
JED3 | nkinkade: actually... we need to remove the nagios check for /apps/scrape | 21:36 |
JED3 | nyergler: iirc we decided that we could put /scrape out of it's misery? | 21:38 |
nyergler | JED3, is this on staging or production? | 21:38 |
JED3 | well the nagios are for production | 21:39 |
JED3 | only for scrape though | 21:39 |
nyergler | but we aren't using triples in the new world, are we? | 21:40 |
nyergler | or did we add a third method? | 21:40 |
nyergler | just trying to remember what's been killed, what hasn't :) | 21:41 |
JED3 | triples is there but as of about 20 minutes, no longer being used | 21:42 |
JED3 | scrape is gone entirely | 21:42 |
nyergler | ok, great | 21:42 |
JED3 | the deed's are requesting apps/deed?... right now | 21:42 |
nyergler | great, so let's have nagios check that | 21:43 |
nyergler | (does this mean we're rollign out the new scraper code?) | 21:43 |
JED3 | if you'd like to.. yes heh | 21:43 |
JED3 | it was broken before this due a mismatch btwn the javascript and the web service | 21:44 |
JED3 | so i figured just pull an svn switch on the scraper on it while i was debugging, which fixed our immediate problem | 21:45 |
nyergler | JED3, i'm not sure how long it was broken; i had rolled back to an explicit version of the javascript a week or two ago | 21:45 |
nyergler | great | 21:45 |
nyergler | yeah, let's roll that sucker out :) | 21:45 |
JED3 | the logs are pumping right now, and i'm getting popup info boxes on the deeds | 21:45 |
JED3 | working on adding the strings to the cc_org catalog so this rollout would be of actual interest to other people hah | 21:46 |
nyergler | great | 21:47 |
JED3 | so we're good to remove the scrape nagios check right>? | 21:47 |
nkinkade | JED3: So what needs to be done re: scraper monitoring? | 21:47 |
nkinkade | how about apps/triples? | 21:48 |
nyergler | nkinkade, i think we just need apps/deed, right JED3? | 21:48 |
JED3 | nkinkade: http://creativecommons.org/apps/scrape needs to be changed to apps/deed | 21:48 |
JED3 | yes | 21:48 |
JED3 | you can remove the triples one too if you'd like | 21:48 |
JED3 | since nothings using it anymore | 21:48 |
nkinkade | JED3: What a good sample URL for the apps/deed test? | 21:49 |
JED3 | nkinkade: http://creativecommons.org/apps/deed?url=http://creativecommons.org/weblog&license_uri=http://creativecommons.org/licenses/by/3.0/us/ | 21:50 |
JED3 | actually thats overkill | 21:51 |
nkinkade | JED3: Is there another URL? | 21:51 |
JED3 | nkinkade: something else we could use? | 21:51 |
nkinkade | Somehow it doesn't seem ideal for the check to be using a URL on the same machine as the app. | 21:51 |
nkinkade | Maybe it doesn't matter. | 21:52 |
nkinkade | JED3: So can labs.creativecommons.org/apps/scrape go away too? | 21:57 |
JED3 | nkinkade: yes | 21:57 |
JED3 | nkinkade: if you want a sperate machine url, http://creativecommons.org/apps/deed?url=http://code.creativecommons.org/tests/metadata_scraper/attribution.html&license_uri=http://creativecommons.org/licenses/by/3.0/us/ | 22:06 |
nkinkade | JED3: Where is the log the apps/deed. | 22:09 |
nkinkade | It's returning a 127 (??) error to Nagios, but I'm not sure where it's fucked up. | 22:09 |
JED3 | /var/log/metadata_scraper/metadata.log | 22:09 |
nkinkade | JED3: Will errors be logged there? | 22:12 |
nkinkade | JED3: Or ... better yet, can you help me figure out why the request from Nagios is failing? | 22:13 |
JED3 | nkinkade: sorry | 22:28 |
JED3 | back now, was eating celebratory cupcakes for jen's bday ;) | 22:29 |
JED3 | can you send me the response nagios is getting? | 22:29 |
nkinkade | JED3: All I see is this: (Return code of 127 is out of bounds - plugin may be missing) | 22:29 |
nkinkade | I'm not sure where that code is coming from. | 22:30 |
JED3 | hmm, are you using check_ping? | 22:30 |
nkinkade | JED3: I'm using check_http | 22:34 |
nkinkade | I can run it manually and get the right response, but for some reason it's not working when Nagios runs it. | 22:35 |
nkinkade | /usr/lib/nagios/plugins/check_http -t 30 -H creativecommons.org -u "/apps/deed?url=http://creativecommons.org/weblog&license_uri=http://creativecommons.org/licenses/by/3.0/us/" -e "200 OK" | 22:35 |
JED3 | nkinkade: hmm it must be a config error then, it doesn't deal with user-agent or anything of the sort | 22:36 |
nkinkade | JED3: Can you see any errors of any sort? | 22:37 |
JED3 | nkinkade: maybe uri encode those parameters? | 22:37 |
JED3 | http://creativecommons.org/apps/deed?url=http%3A%2F%2Fcode.creativecommons.org%2Ftests%2Fmetadata_scraper%2Fattribution.html&license_uri=http%3A%2F%2Fcreativecommons.org%2Flicenses%2Fby%2F3.0%2Fus%2F | 22:39 |
JED3 | nkinkade: ^^ | 22:39 |
nkinkade | JED3: I would think that could be it, but there is a similar check for another service and it's not URL encoded. | 22:39 |
JED3 | nkinkade: hmm, thats my only guess | 22:40 |
nkinkade | JED3: Check staging.creativecommons.org/apps/triples | 22:40 |
nkinkade | in a7_services.cfg | 22:40 |
nkinkade | /etc/nagios3/conf.d | 22:40 |
JED3 | nkinkade: so it's failing for the a7 checks? | 22:41 |
nkinkade | It's failing for a5. I was just showing you the a7 config for the sake of an example of a non-urleconded check. | 22:41 |
JED3 | ohh ok | 22:43 |
*** oshani has quit IRC | 22:43 | |
nkinkade | Fuck it. It's Friday. I'm just going to forget it for today. | 22:43 |
JED3 | hahaha | 22:43 |
JED3 | i'll mess with it for a little bit | 22:44 |
JED3 | nkinkade: 80 degrees there right now isnt it? | 22:45 |
nkinkade | JED3: I'm in Asheville, NC. It's about 68. | 22:47 |
JED3 | nkinkade: oh even better | 22:47 |
nkinkade | And raining at the moment. | 22:47 |
nkinkade | But it's been nice weather. | 22:47 |
JED3 | nkinkade: nevermind | 22:47 |
nkinkade | No, 68 is not better. :-) | 22:47 |
JED3 | hah, what are you doing in asheville? | 22:48 |
JED3 | no, but asheville in spring is | 22:48 |
*** oshani has joined #cc | 22:48 | |
*** erlehmann has quit IRC | 22:52 | |
*** erlehmann has joined #cc | 22:55 | |
*** tim_hwang has quit IRC | 23:06 | |
*** nyergler has quit IRC | 23:12 | |
*** erlehmann has quit IRC | 23:44 |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!