Policy for stable/1.x.x branches

77 views
Skip to first unread message

Yo-Yo Ma

unread,
Mar 28, 2013, 12:34:56 PM3/28/13
to django-d...@googlegroups.com
The commit https://github.com/django/django/commit/2f121dfe635b3f497fe1fe03bc8eb97cdf5083b3 fixed a problem where a custom regex validator's customized message was ignored, in favor of the one set on the class (you just see "Please enter a valid value").

If I pip install the latest master, the problem is of course fixed. If I pip install stable/1.5.x, the problem persists.

I searched the docs for info about using the stable/1.x.x branches, but couldn't find anything, so I wanted to ask:

1) Is doing so considered safe (e.g., for production usage), since they're "stable"?
2) What is the policy or lag time for getting commits such as the aforementioned bug-fix into these stable branches?
3) Are there docs for this, and if not, should there be an entry on https://docs.djangoproject.com/en/dev/faq/install/?

Jacob Kaplan-Moss

unread,
Mar 28, 2013, 12:41:47 PM3/28/13
to django-developers
See https://docs.djangoproject.com/en/dev/internals/git/#other-branches
and also https://docs.djangoproject.com/en/dev/internals/release-process/#bug-fix-releases

The short version is that stable/* branches only receive "critical"
backports: security fixes, crashers/data-loss bugs, and occasionally
regressions if they're considered "serious" enough. But that's it; we
simply don't have the bandwidth to backport everything that we "could"
backport.

Jacob
> --
> You received this message because you are subscribed to the Google Groups
> "Django developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-develop...@googlegroups.com.
> To post to this group, send email to django-d...@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-developers?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Ramiro Morales

unread,
Mar 28, 2013, 12:43:54 PM3/28/13
to django-d...@googlegroups.com
On Thu, Mar 28, 2013 at 1:34 PM, Yo-Yo Ma <baxters...@gmail.com> wrote:
> The commit
> https://github.com/django/django/commit/2f121dfe635b3f497fe1fe03bc8eb97cdf5083b3
> fixed a problem where a custom regex validator's customized message was
> ignored, in favor of the one set on the class (you just see "Please enter a
> valid value").
>
> If I pip install the latest master, the problem is of course fixed. If I pip
> install stable/1.5.x, the problem persists.
>
> I searched the docs for info about using the stable/1.x.x branches, but
> couldn't find anything, so I wanted to ask:
>
> 1) Is doing so considered safe (e.g., for production usage), since they're
> "stable"?

Doing what?

> 2) What is the policy or lag time for getting commits such as the
> aforementioned bug-fix into these stable branches?

That kind of fixes aren't ported to the stable branches.
See https://docs.djangoproject.com/en/1.5/internals/release-process/#supported-versions

> 3) Are there docs for this, and if not, should there be an entry on
> https://docs.djangoproject.com/en/dev/faq/install/?

Sound like a dood idea. We could add at least a link there.

--
Ramiro Morales
@ramiromorales

Yo-Yo Ma

unread,
Mar 28, 2013, 3:46:10 PM3/28/13
to django-d...@googlegroups.com
@Jacob - thank you much. That was the exact docs page I didn't think existed.
@Ramiro - I meant using stable/1.5.x in production.

BTW, Jacob, the first of 2 docs links you provided mentioned providing bug fixes for the most recent release, and follows up with essentially, "they're at stable/A.B.x". Will bugs like that one I mentioned in the OP actually be eventually fixed in 1.5.1, instead? I'm just trying to decide what the best thing (tag, commit, branch tip, etc.) to install to make sure I get those sorts of updates in my production server. It could be just that I install the tip of master and test it out before updating, but that's not ideal of course.

Jacob Kaplan-Moss

unread,
Mar 28, 2013, 4:43:05 PM3/28/13
to django-developers
On Thu, Mar 28, 2013 at 2:46 PM, Yo-Yo Ma <baxters...@gmail.com> wrote:
> Will bugs like that one I mentioned in the OP actually be eventually fixed
> in 1.5.1, instead?

No, it's not a critical fix, so the fix'll be in 1.6.

Jacob

Yo-Yo Ma

unread,
Mar 29, 2013, 10:33:29 AM3/29/13
to django-d...@googlegroups.com
Ah, thanks Jacob. Also, great job on the 1.5.1 release. Thanks to everyone for all the hard work.


On Thursday, March 28, 2013 12:34:56 PM UTC-4, Yo-Yo Ma wrote:
Reply all
Reply to author
Forward
0 new messages