Thursday, 2010-07-29

JED3nkinkade: you still around?00:01
nkinkadeJED3: Yeah, I'm here.00:01
*** oshani has joined #cc00:02
JED3nkinkade: just a quick question regarding civicrm00:03
nkinkadeJED3: Shoot.00:03
JED3so for this ccnet.php project, i need to import a bunch of users into drupal from our current db on cc.net00:04
JED3lots of objects in the current cc.net use the user id for managing relations...00:04
JED3so I'd like to retain the same user id's when we move the data into drupal00:05
JED3so that i dont have to manipulate the data very much to fit our new setup00:05
JED3the problem is that there are going to be some user id collisions with the users we currently have in drupal+civicrm (like mine, allisons, etc)00:06
JED3my thought was to delete those users... import the cc.net users.... and then re-add the initial users so that they have new id's that are unique00:07
JED3nkinkade: so my question is, would deleting say Mellissa's user in civicrm have any bad side effects00:08
JED3?00:08
mralexJED3: you shouldn't be deleting anyone who has admin access already, it'll probably screw things up00:09
JED3mralex: are you sure of that?00:10
mralexfairly sure00:10
mralexmay hazardly break associations with things like mailings, groups, roles, and maybe any content created by the original user00:11
nkinkadeJED3: I somewhat agree with mralex.  I don't know, but there must surely be relationships setup in Drupal that are user ID dependent.00:11
nkinkadeWell, not "somewhat," but fully00:12
nkinkadeJED3: My advice would be to figure out the collisions in advance and not import the colliding records, and handle those 5 or 6 records manually.00:12
nkinkadeThat should be fairly easy, I would think.00:12
JED3nkinkade: its just added work00:14
nkinkadeYeah, but only on the level of manually adjusting 5 or 10 records, I would think.00:14
JED3nkinkade: * n number of works * n profiles ... etc00:15
nkinkadeJust finding the intersection of CC.net IDs with Drupal IDs and excluding those records.00:15
nkinkadeOh.00:15
nkinkadeWell, I suppose you could try it out zupport, right.00:16
JED3yeah. most of the data in cc.net uses the user id to manage the relations between tables00:16
nkinkadeJED3: ^^00:16
nkinkadeGive it a shot on zupport and see if things break.00:16
JED3nkinkade: trying now00:16
*** mralex has quit IRC00:17
nkinkadeJED3: I'm heading out.  But let me know how it goes ...00:17
*** nkinkade has left #cc00:17
*** akozak has quit IRC00:18
*** JED3 has quit IRC00:28
*** JoiIto has joined #cc00:40
*** little-boy has joined #cc00:42
little-boyhi00:42
little-boyi have question00:45
little-boyhttp://codepad.org/Extux9Nm00:45
little-boyany one?00:48
little-boyhere00:48
little-boy?00:48
*** little-boy has quit IRC00:48
*** erlehmann has joined #cc02:12
*** JoiIto has quit IRC02:13
*** JoiIto has joined #cc02:16
*** JoiIto1 has joined #cc02:21
*** jgay has quit IRC02:21
*** JoiIto has quit IRC02:25
*** MarkDude has joined #cc03:04
*** trombonechamp_ has joined #cc03:08
*** JoiIto1 has quit IRC03:10
*** oshani has quit IRC03:13
*** JED3 has joined #cc04:22
*** JED3 has quit IRC05:11
*** MarkDude has quit IRC05:58
*** MarkDude has joined #cc05:59
*** MarkDude has quit IRC06:00
*** MarkDude has joined #cc06:00
*** MarkDude has joined #cc06:01
*** izdubar has joined #cc06:10
*** MarkDude has quit IRC06:10
*** izdubar has quit IRC06:23
*** izdubar has joined #cc06:24
*** izdubar has quit IRC06:46
*** MarkDude has joined #cc06:51
*** bassel has joined #cc07:59
*** bassel has quit IRC08:07
*** bassel has joined #cc09:12
*** bassel has quit IRC11:26
*** JoiIto has joined #cc11:28
*** wormsxulla has joined #cc11:30
*** JoiIto has quit IRC12:06
*** JoiIto has joined #cc12:12
*** MarkDude has quit IRC12:29
*** bassel has joined #cc12:48
*** oshani has joined #cc13:12
*** thisisparker has joined #cc13:15
*** CIA-66 has quit IRC14:37
*** JoiIto has quit IRC14:46
*** JoiIto has joined #cc15:00
*** nyergler has joined #cc15:05
*** CIA-63 has joined #cc15:09
*** jgay has joined #cc15:23
*** thisisparker has quit IRC15:29
*** CIA-63 has quit IRC15:38
*** CIA-66 has joined #cc16:27
*** mralex has joined #cc16:31
*** JED3 has joined #cc16:38
*** nkinkade has joined #cc16:41
JED3nkinkade: ping17:06
nkinkadeJED3: Hi.17:06
JED3hey, so after talking yesterday i went ahead and deleted an admin user from civicrm and I can't see that it messed up anything, where and what should i be looking for if you had to guess?17:07
JED3nkinkade: ^^17:07
nyerglernkinkade, are we still running asterisk on that dell in the office?17:07
JED3i deleted allison's username fwiw, that user may not have much history on zupport now that i think about it17:07
nkinkadenyergler: It may be running there, but I don't think it was ever configured.17:07
nyerglerwhere were we running it for the conf call?17:08
nkinkadenyergler: The Linode.17:08
nyergleroh right17:08
nkinkadeJED3: Hmm.  It may just be that there isn't much to be lost.17:08
nkinkadeI can't honestly think of any particular thing that might break.17:08
nkinkadenyergler: Asterisk is still installed on the Linode, but not running, and I also reverted to using a stock Debian kernel.17:09
nkinkadeSo, even if you fired up Asterisk, the sound quality would probably be horrific with the patched kernel.17:09
nyerglerthanks17:10
*** JoiIto has quit IRC17:10
*** JoiIto has joined #cc17:51
paroneayeaJED3: how much do you know about git hooks?18:11
*** akozak has joined #cc18:13
JED3paroneayea: not an immense amount, why whats up?18:13
paroneayeaJED3: it seems that changing directories in a git hook to somewhere else and then running git pull doesn't work18:15
JED3nkinkade: any idea how to disable civicrm's automatic Drupal user to civi contact synchronization?18:15
paroneayeaI wonder if they're using environment variables or something?18:15
paroneayeais there a list of special environment variables that git pays attention to?18:15
paroneayeaoh.18:15
paroneayeahttp://www.kernel.org/pub/software/scm/git/docs/18:15
JED3so your script is chdir'ing somewhere which breaks execution ?18:15
nyerglerparoneayea, paulproteus might have a suggestion as well18:16
paroneayeaJED3: it's not breaking execution of the git repository that's being pushed to and initing the hook18:16
paroneayeacd /var/www/staging.creativecommons.org/i18n_hook_checkout/18:17
paroneayea/usr/bin/git pull18:17
paroneayea18:17
paroneayeais part of the hook18:17
paroneayeait looks like there are some environment variables18:17
paroneayeagonna look to see if those are being affected.18:17
nkinkadeJED3: No, I'm not sure how to disable that.  Someone on #civicrm might have an idea.18:19
jgayquick question, CC BY works can be mixed with CC BY NC SA works and redistributed under CC BY NC SA license, right?18:23
jgayrobmyers, paulproteus, anyone?18:24
paroneayeaaha, unset GIT_DIR works18:24
paroneayeajgay: yes18:25
jgayparoneayea, thanks ... I put it in a policy document I'm revising and I realized I should double check that statement even though I was fairly confident.18:27
paulproteus(-: re: git hooks18:39
paulproteusre: "cd'ing somewhere else and running git pull..."18:39
paulproteusSeems like you figured it out, okay good (-:18:40
paroneayeapaulproteus: :)18:48
robmyersYes BY is BY-NC-SA compatible. (IANAL, etc.)18:52
robmyersI'm sure there used to be a diagram of license compatibility on the old wiki18:52
paroneayeathey are compatible but robmyers will give you a sour look for the NC component18:53
mralexjgay: http://wiki.creativecommons.org/FAQ#If_I_use_a_Creative_Commons-licensed_work_to_create_a_new_work__.28ie_a_derivative_work_or_adaptation.29.2C_which_Creative_Commons_license_can_I_use_for_my_new_work.3F18:53
robmyersLOL18:54
robmyersI should have stickers made...18:54
*** mralex has left #cc18:54
*** mralex has joined #cc18:54
mralexi forget Focus-follows-eyes doesn't exist.18:55
paroneayeaxeyes-follows-eyes18:55
paroneayeaxeyes-follows-cursor-follows-eyes18:55
mralex--spooky18:56
paroneayea:D18:56
paroneayeankinkade: nyergler: JED3:18:56
paroneayeaoops18:56
paroneayeawhat on staging.cc.org needs babel installed on the system level, do you know?18:57
nkinkadeparoneayea: Is it installed on a7?18:58
*** oshani has quit IRC18:59
nkinkade"dpkg -al | grep babel" doesn't return anything.18:59
*** oshani has joined #cc19:01
paroneayeankinkade: it is19:05
nkinkadeparoneayea: Why doesn't the above command return anything?19:05
paroneayealet me double check that I'm not lying.19:05
paroneayeankinkade:  /usr/lib/python2.5/site-packages/Babel-0.9.4-py2.5.egg/19:05
paroneayeait was probably installed w/ easy_install(?)19:06
nkinkadeparoneayea:  Perhaps it was installed for translate.creativecommons.org?  For the old Pootle install?19:06
paroneayeaoh maybe.19:08
jgaymralex, great diagram. Definitely adding that to my documentation19:08
paroneayeapootle was python?  I thought it was php for some reason.19:09
paroneayeacould have been installed for the tooling though19:09
paroneayeawell anyway it is making my life difficult! :<19:12
paroneayeaI guess it can't be removed if we don't know what it's for19:13
*** papyromancer has quit IRC19:33
*** papyromancer has joined #cc19:35
robmyersjgay: make sure you check the licence on the diagram first ;-)19:57
jgayrobmyers, i was thinking of maybe mixing things-up a bit on it, I hope it's not non-derivs19:58
* paroneayea pops due to dependency issues20:01
*** papyroma1cer has joined #cc20:03
paroneayeanyergler: would you be upset if I `sudo easy_install-2.5 http://code.creativecommons.org/basket/Babel-1.0b_cc_2009_03_17-py2.5.egg` on a720:05
paroneayeaI don't know what the system library of babel is for but it's flat out preventing us from installing the patched babel w/ buildout.  I've even tried doing an svn checkout into the current directory and doing develop=babel and it refuses to accept that either20:07
*** papyromancer has quit IRC20:07
paroneayeawell20:15
paroneayeaI think I am just gonna do it.20:15
*** papyroma1cer is now known as papyromancer20:24
nyerglerparoneayea, sorry, was at lunch20:43
nyerglerpresumably fine20:43
*** oshani has quit IRC20:43
paroneayeanyergler: cool20:51
*** oshani has joined #cc20:53
*** jgay has quit IRC20:54
*** oshani has quit IRC21:01
*** oshani has joined #cc21:03
JED3nyergler: sigh ping21:20
JED3in Django a user's email uniqueness wasn't enforced, so we have multiple users for the same email address21:21
JED3but it appears that the civicrm feature that links drupal users to contacts requires that the email be unique21:22
JED3so i'm only able to add 1 user in drupal per email address21:22
JED3whoops wrong ping, meant for nkinkade21:23
nkinkadeJED3: Need a few minutes ... on a call.21:23
JED3nkinkade: take your time21:24
paroneayeaJED3: can I steal your time while you're waiting for others' time? :D21:24
paroneayeahave you ever made a buildout recipe?21:24
JED3paroneayea: sure, no i haven't21:26
JED3fun?21:26
paroneayeaheh, it's actually not so hard but21:27
paroneayeaI can't figure out why the stupid thing keeps uninstalling and installing the recipes on every update instead of calling update()21:27
paroneayeait makes this take a lot longer.21:28
JED3paroneayea: where is the recipe right now?21:32
paroneayeaJED3: check out i18n.git21:32
paroneayeaand then look at cc/i18n/tools/po2cc.py or compile_mo.py21:33
*** DNS777 has quit IRC21:42
*** DNS777 has joined #cc21:42
*** bassel has quit IRC21:45
nkinkadeJED3: What's up?22:05
JED3nkinkade: nm i think i figured it out22:08
*** oshani has joined #cc22:27
*** akozak has quit IRC22:34
*** oshani has quit IRC22:56
nyerglerparoneayea, the call to uninstall/install may be due to either the recipe version increasing, or the files it writes changing between runs (can't remember if the latter triggers uninstall first)23:11
*** nyergler has quit IRC23:21
*** wormsxulla has quit IRC23:27
*** wormsxulla has joined #cc23:45
*** JoiIto has quit IRC23:49
*** JoiIto has joined #cc23:49
*** mralex has quit IRC23:58

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