dpmgood morning all08:05
happyaronmorning david, !08:29
dpmhey happyaron :)09:04
dpmhappyaron, there is internal discussion going on right now about the complete zh_CN desktop project. I'm sorry these are all the details I can give for now, but I just wanted to let you know, that after these last few weeks someone is already working at estimating the work, cost, etc.09:06
happyarondpm: good to know, thanks!09:09
dpmhappyaron, np, I'll keep you updated as soon as I get more news :)09:10
TLEdpm: hey09:12
dpmgood morning TLE09:12
TLEHow's it going with the server setup, had any time to work on it?09:13
dpmTLE, unfortunately no, I'm sorry :( The server is online and out there, but I've got django just half-configured ->
TLEdpm: ok, did you know something about how to change this (db?) encryption (seed?) (in the settings file there is a "secret key" which I'm assuming has something to do with that and which has now been shared on LP), that I wrote about in the email, or should I try and look into that?09:21
dpmTLE, I haven't had the chance to look at it since you mentioned it. Just a sec, let me re-read the e-mail to remind myself of the details09:22
TLEdpm: yeah ok, it was just that if you knew then there would be no reason for me to research, but otherwise we might as well share the work09:23
=== goof2092_ is now known as goof2092
dpmTLE, from what I understand, it seems regeneration is a matter of just rewriting a new value. I think this can be done manually or alternatively, by running django-admin.py startproject and copying it from there to the docs project. http://stackoverflow.com/questions/7382149/django-secret-key - as per keeping it secret: give me two mins to see what other projects do09:26
TLEdpm: Yeah I imagined as much, I think the best way is to figure out what magic command to execute to change it. Then we simply do that whenever we pull from lp, that way we can keep having a functioning version in lp (with public key) and regenerate when we pull to the server09:28
TLEI'll just read the post, but I think it is better to figure out how to change the key and regenerate, reinitializing the project will be a bit more work09:29
dpmTLE, I believe there is no command to change it, just django-admin will generate one and it will be used at runtime as far as I understand it - I'm not talking about regenerating the project, just running django-admin.py start project to create a dummy project and copy the generated SECRET_KEY value to the docs project. But looking at the LoCo directory project from loco.ubuntu.com, it seems they're not using one at all -> http://bazaar.launchpad.09:31
TLEdpm: hmm yes, if it is only used at runtime there that would work09:35
dpmTLE, I'm asking dholbach and mhall119, as they are loco directory hackers. Hopefully they should be able to tell us more - I hope we can set it to an empty value and forget about it09:36
TLEdpm: yeah09:37
dpmTLE, ok, so while waiting for a definitive answer, I think the current practice is to set the sensitive values to empty strings in the settings.py version kept under revision control, and then have a unique settings_local.py file on the server where the service it's running, the values of which are loaded. Here's what I've just read (sorry the result came only in Spanish, but google translate should do a good job at translating it, as the text is09:45
dpmquite technical) http://fitoria.net/2011/11/django-suite-ii-configurando-nuestro-proyecto-de-manera-correcta/09:45
dpmTLE, dholbach confirms that:09:49
dpm<dholbach> dpm, it's set in local_settings.py09:49
dpm<dholbach> so we don't have to share the actual value in the bzr branch09:49
TLEdpm: yes that makes sense, does he confirm also that the value is only used at runtime?09:50
dpmasking now...10:01
dpmdholbach, we've already mistakenly shared the value on bzr. Do you happen to know whether we can just generate a new one, hide it in local_settings.py and forget about it? Or can it only be generated at the start of a project?10:02
dpm<dholbach> yes10:02
dpm<dpm> yes to 'we can just generate a new one...'?10:02
dpm<dholbach> yes10:02
dpm :)10:02
TLEdpm: great. I'll make the change10:11
TLEon another note, I have had a little time to think about the directory structure and I might just change it again, but as long as you are still settings up the server I guess that is ok10:12
TLEsorry about flipflopping on this, I think I should have given it a little more thorough thought to begin with10:14
TLEno actually, now I'm _sure_ I need to change it, I'll fix it and let you know10:16
dpmcool, yeah, no worries at all about changing structure. Even if I had gotten to set it up with the old structure, it should not be too hard to move things around10:17
TLEdpm: great10:18

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