Re: 9.5 branching?

Lists: pgsql-translators
From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-translators(at)postgresql(dot)org
Subject: 9.5 branching?
Date: 2015-07-01 01:07:34
Message-ID: 55933D56.1060006@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-translators

The postgresql repository has branched of the REL9_5_STABLE branch. For
the time being, the "9.5" branch in the messages repository is still master.

I was wondering, would it be easier if we also branched off
REL9_5_STABLE in messages right now?

We could just ignore the master branch for now and later on fork it off
REL9_5_STABLE (instead of the other way around, which is what we'd
usually do).

(We could also blow away the master branch altogether and recreate it
later, but I don't know what that would do to new checkouts in the
meantime, because we don't have access to set the default branch on the
git.postgresql.org hosting.)


From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-translators(at)postgresql(dot)org
Subject: Re: 9.5 branching?
Date: 2015-07-01 03:07:29
Message-ID: 20150701030729.GB3289@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-translators

Peter Eisentraut wrote:
> The postgresql repository has branched of the REL9_5_STABLE branch. For
> the time being, the "9.5" branch in the messages repository is still master.
>
> I was wondering, would it be easier if we also branched off
> REL9_5_STABLE in messages right now?
>
> We could just ignore the master branch for now and later on fork it off
> REL9_5_STABLE (instead of the other way around, which is what we'd
> usually do).

I don't really care either way because by now I'm used to the way we do
things, but I have the recollection that having "master" not follow
upstream's master is confusing. However, I'm not sure that it makes a
lot of sense to branch "master" from REL9_5_STABLE.

> (We could also blow away the master branch altogether and recreate it
> later, but I don't know what that would do to new checkouts in the
> meantime, because we don't have access to set the default branch on the
> git.postgresql.org hosting.)

I think it might be useful to offer a way to change the default branch
using the web interface. Let me ask the sysadmin dudes. What would be
the git command to change the default branch?

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: pgsql-translators(at)postgresql(dot)org, Peter Eisentraut <peter_e(at)gmx(dot)net>
Subject: Re: 9.5 branching?
Date: 2015-07-01 04:53:16
Message-ID: CAECtzeWCpSZ6_yASY0QcQGMRzq5ya9ZpDCE0Eej8YVN-UjmGnw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-translators

Le 1 juil. 2015 5:07 AM, "Alvaro Herrera" <alvherre(at)2ndquadrant(dot)com> a
écrit :
>
> Peter Eisentraut wrote:
> > The postgresql repository has branched of the REL9_5_STABLE branch. For
> > the time being, the "9.5" branch in the messages repository is still
master.
> >
> > I was wondering, would it be easier if we also branched off
> > REL9_5_STABLE in messages right now?
> >
> > We could just ignore the master branch for now and later on fork it off
> > REL9_5_STABLE (instead of the other way around, which is what we'd
> > usually do).
>
> I don't really care either way because by now I'm used to the way we do
> things, but I have the recollection that having "master" not follow
> upstream's master is confusing. However, I'm not sure that it makes a
> lot of sense to branch "master" from REL9_5_STABLE.
>

Agreed.

> > (We could also blow away the master branch altogether and recreate it
> > later, but I don't know what that would do to new checkouts in the
> > meantime, because we don't have access to set the default branch on the
> > git.postgresql.org hosting.)
>
> I think it might be useful to offer a way to change the default branch
> using the web interface. Let me ask the sysadmin dudes. What would be
> the git command to change the default branch?
>


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: pgsql-translators(at)postgresql(dot)org
Subject: Re: 9.5 branching?
Date: 2015-07-01 17:39:24
Message-ID: 559425CC.1030006@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-translators

On 6/30/15 11:07 PM, Alvaro Herrera wrote:
> However, I'm not sure that it makes a
> lot of sense to branch "master" from REL9_5_STABLE.

Why not?

> I think it might be useful to offer a way to change the default branch
> using the web interface. Let me ask the sysadmin dudes. What would be
> the git command to change the default branch?

https://stackoverflow.com/questions/3301956/git-correct-way-to-change-active-branch-in-a-bare-repository


From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-translators(at)postgresql(dot)org
Subject: Re: 9.5 branching?
Date: 2015-07-01 17:42:11
Message-ID: 20150701174211.GG3289@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-translators

Peter Eisentraut wrote:
> On 6/30/15 11:07 PM, Alvaro Herrera wrote:
> > However, I'm not sure that it makes a
> > lot of sense to branch "master" from REL9_5_STABLE.
>
> Why not?

Because it's at odds with what normally you do in Git, but I guess it
doesn't really matter.

> > I think it might be useful to offer a way to change the default branch
> > using the web interface. Let me ask the sysadmin dudes. What would be
> > the git command to change the default branch?
>
> https://stackoverflow.com/questions/3301956/git-correct-way-to-change-active-branch-in-a-bare-repository

Okay, so currently would be this:
git symbolic-ref HEAD refs/heads/REL9_4_STABLE
right?

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-translators(at)postgresql(dot)org
Subject: Re: 9.5 branching?
Date: 2015-07-02 18:08:57
Message-ID: 20150702180857.GM3289@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-translators

Peter Eisentraut wrote:

> (We could also blow away the master branch altogether and recreate it
> later, but I don't know what that would do to new checkouts in the
> meantime, because we don't have access to set the default branch on the
> git.postgresql.org hosting.)

I have changed the default branch to refs/heads/REL9_4_STABLE. Not
great, because you don't get 9.5 anymore in a default checkout. Feel
free to create the REL9_5_STABLE branch and remove master, and I can
re-point default branch to that.

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services