Re: django version for production?

2008-02-06 Thread Pigletto


On 6 Lut, 04:50, "Christian W. Koch" <[EMAIL PROTECTED]> wrote:
> i'm no django expert, yet, but i use trunk. now, for production
> purposes i still use trunk because before i "svn up" on production i
> make sure that the site runs on my development box on the latest
> trunk.
>
> you do have a development environment, right? ;)
In fact I have 3 environments:
1. developement (dev server at developer machines)
2. testing environment (available for customers etc. - identical to
production environment)
3. production environment

When I'm finished with some functionality (iteration), I make a tag in
svn. Then, this tagged version is deployed at test environment.
Customer checks it etc and if accepted it goes to production (using
svn tag). If not accepted, then fixes are made and next version is
commited into tags at svn. Then it goes into test environment again.
My taged version contains .tar.gz with django used by this application
version so it is easy to maintain.

--
Maciej Wisniowski
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: django version for production?

2008-02-06 Thread Christian W. Koch

exactly, that's what i meant. i usually skip a staging server, for
cost reasons, and configure my dev box to run the same configuration
as my production server. either way, keneth and jarek are right. the
point is that trunk is as safe as you want it to be, or at least as
pain-free as you want.

On Feb 6, 3:46 am, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On 06-Feb-08, at 2:08 PM, Jarek Zgoda wrote:
>
> >> you do have a development environment, right? ;)
>
> > I remember one issue just after autoescaping went into trunk, that was
> > visible only on sites runnung on FastCGI, so development server/env
> > sometimes clearly is not enough to catch everything.
>
> even if you do development using the development server, you should  
> have a staging server replicating your production environment - or  
> else do your development on a machine that replicates the production  
> environment.
>
> Further the staging server should be tested with data taken from the  
> production environment and not from test data.
>
> This is what is known as a development environment.
>
> --
>
> regards
> kghttp://lawgon.livejournal.comhttp://nrcfosshelpline.in/web/
> Foss Conference for the common man:http://registration.fossconf.in/web/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: django version for production?

2008-02-06 Thread Kenneth Gonsalves


On 06-Feb-08, at 2:08 PM, Jarek Zgoda wrote:

>> you do have a development environment, right? ;)
>
> I remember one issue just after autoescaping went into trunk, that was
> visible only on sites runnung on FastCGI, so development server/env
> sometimes clearly is not enough to catch everything.

even if you do development using the development server, you should  
have a staging server replicating your production environment - or  
else do your development on a machine that replicates the production  
environment.

Further the staging server should be tested with data taken from the  
production environment and not from test data.

This is what is known as a development environment.

-- 

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
Foss Conference for the common man: http://registration.fossconf.in/web/



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: django version for production?

2008-02-06 Thread Jarek Zgoda

Christian W. Koch napisał(a):

> i'm no django expert, yet, but i use trunk. now, for production
> purposes i still use trunk because before i "svn up" on production i
> make sure that the site runs on my development box on the latest
> trunk.
> 
> you do have a development environment, right? ;)

I remember one issue just after autoescaping went into trunk, that was
visible only on sites runnung on FastCGI, so development server/env
sometimes clearly is not enough to catch everything.

-- 
Jarek Zgoda
Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101

"We read Knuth so you don't have to." (Tim Peters)

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: django version for production?

2008-02-05 Thread Christian W. Koch

i'm no django expert, yet, but i use trunk. now, for production
purposes i still use trunk because before i "svn up" on production i
make sure that the site runs on my development box on the latest
trunk.

you do have a development environment, right? ;)

On Feb 5, 6:57 am, Aljosa Mohorovic <[EMAIL PROTECTED]>
wrote:
> please post your opinions on using 0.96 or trunk version in production
> environment.
> which would you choose and why?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: django version for production?

2008-02-05 Thread Kenneth Gonsalves


On 05-Feb-08, at 7:15 PM, Jarek Zgoda wrote:

> some day it would not be feasible to port any application to "1.0". I
> know personally many people still having their apps running on 0.91
> because of too large amount of work needed to port to any later  
> version.

I have 5 old sites running on .91 - too much work to do the MR, let  
alone the rest.

-- 

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
Foss Conference for the common man: http://registration.fossconf.in/web/



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: django version for production?

2008-02-05 Thread Massimiliano Ravelli

On 5 Feb, 14:45, Jarek Zgoda <[EMAIL PROTECTED]> wrote:
> If anyone can afford running on trunk (as I do with my personal
> projects), then there's no reason to run on 0.96.

I agree: I'm running a very recent version of newforms-admin branch in
my *production* site with no problem at all.
Please note that upgrading from an older version, despite all the
operations are well documented, can be quite demanding
(especially if you don't proceed  step by step).

Regards
Massimiliano

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: django version for production?

2008-02-05 Thread Jarek Zgoda

Kenneth Gonsalves napisał(a):

>>> please post your opinions on using 0.96 or trunk version in  
>>> production
>>> environment.
>>> which would you choose and why?
>> I'm using svn version from newforms-admin branch with some additional
>> patches.
>> As Kenneth already said, svn version has a lot of usefull (and even
>> necessary for me) goodies.
> 
> oh, and I forgot to add - moving from trunk to 1.0 will be much less  
> painful than moving from .96 to 1.0

It would be much less painful if we got, say, 0.97 with unicode, 0.98
with something and so on. This was discussed many times here and I
understand the case is closed (iow there would be no intermediary
releases before 1.0). With every commit, the hole just widens and at
some day it would not be feasible to port any application to "1.0". I
know personally many people still having their apps running on 0.91
because of too large amount of work needed to port to any later version.

If anyone can afford running on trunk (as I do with my personal
projects), then there's no reason to run on 0.96.

-- 
Jarek Zgoda
Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101

"We read Knuth so you don't have to." (Tim Peters)

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: django version for production?

2008-02-05 Thread Kenneth Gonsalves


On 05-Feb-08, at 6:58 PM, Pigletto wrote:

>> please post your opinions on using 0.96 or trunk version in  
>> production
>> environment.
>> which would you choose and why?
> I'm using svn version from newforms-admin branch with some additional
> patches.
> As Kenneth already said, svn version has a lot of usefull (and even
> necessary for me) goodies.

oh, and I forgot to add - moving from trunk to 1.0 will be much less  
painful than moving from .96 to 1.0

-- 

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
Foss Conference for the common man: http://registration.fossconf.in/web/



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: django version for production?

2008-02-05 Thread Pigletto

On 5 Lut, 12:57, Aljosa Mohorovic <[EMAIL PROTECTED]> wrote:
> please post your opinions on using 0.96 or trunk version in production
> environment.
> which would you choose and why?
I'm using svn version from newforms-admin branch with some additional
patches.
As Kenneth already said, svn version has a lot of usefull (and even
necessary for me) goodies.

--
Maciej Wisniowski
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: django version for production?

2008-02-05 Thread Kenneth Gonsalves


On 05-Feb-08, at 5:27 PM, Aljosa Mohorovic wrote:

> please post your opinions on using 0.96 or trunk version in production
> environment.
> which would you choose and why?

trunk - because it has a lot of goodies that .96 doesnt have - 96 is  
really old

-- 

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
Foss Conference for the common man: http://registration.fossconf.in/web/



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: django version for production?

2008-02-05 Thread Jarek Zgoda

Aljosa Mohorovic napisał(a):

> please post your opinions on using 0.96 or trunk version in production
> environment.
> which would you choose and why?

My company uses 0.96 and, save some quirks and not-really-usable
newforms, it is acceptable. For my personal projects I use svn trunk.

-- 
Jarek Zgoda
Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101

"We read Knuth so you don't have to." (Tim Peters)

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



django version for production?

2008-02-05 Thread Aljosa Mohorovic

please post your opinions on using 0.96 or trunk version in production
environment.
which would you choose and why?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---