You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Christian Schulte <cs...@schulte.it> on 2017/01/08 22:47:24 UTC

[DISCUSS] Stop allowing forced pushes to GIT repositories.

Hi,

subject says it all. I'd like to request that our GIT repositories are
setup in a way that a 'git --force push' is not possible. Not pulling
changes of others in and then force pushing to exchange the remote
master branch with some other branch should not be possible. In fact, in
subversion you just could not commit to trunk whithout updating your
local working copy first and that is something very good about
subversion. We should not change this just because we switched from
subversion to git.

Regards,
-- 
Christian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [DISCUSS] Stop allowing forced pushes to GIT repositories.

Posted by Christian Schulte <cs...@schulte.it>.
Am 01/09/17 um 12:23 schrieb Stephen Connolly:
> And INFRA have applied the protections to the master branches of all our
> Git repos

Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [DISCUSS] Stop allowing forced pushes to GIT repositories.

Posted by Stephen Connolly <st...@gmail.com>.
And INFRA have applied the protections to the master branches of all our
Git repos

On 9 January 2017 at 11:03, Stephen Connolly <
stephen.alan.connolly@gmail.com> wrote:

> https://issues.apache.org/jira/servicedesk/agent/INFRA/issue/INFRA-13288
> filed
>
> On 8 January 2017 at 22:55, Stephen Connolly <stephen.alan.connolly@gmail.
> com> wrote:
>
>> Master is supposed to be set up that way by infra... if some repositories
>> are not set up that way we should just get infra to fix it
>>
>> On Sun 8 Jan 2017 at 22:47, Christian Schulte <cs...@schulte.it> wrote:
>>
>>> Hi,
>>>
>>>
>>>
>>> subject says it all. I'd like to request that our GIT repositories are
>>>
>>> setup in a way that a 'git --force push' is not possible. Not pulling
>>>
>>> changes of others in and then force pushing to exchange the remote
>>>
>>> master branch with some other branch should not be possible. In fact, in
>>>
>>> subversion you just could not commit to trunk whithout updating your
>>>
>>> local working copy first and that is something very good about
>>>
>>> subversion. We should not change this just because we switched from
>>>
>>> subversion to git.
>>>
>>>
>>>
>>> Regards,
>>>
>>> --
>>>
>>> Christian
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>>
>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>>
>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>
>>>
>>>
>>> --
>> Sent from my phone
>>
>
>

Re: [DISCUSS] Stop allowing forced pushes to GIT repositories.

Posted by Stephen Connolly <st...@gmail.com>.
https://issues.apache.org/jira/servicedesk/agent/INFRA/issue/INFRA-13288
filed

On 8 January 2017 at 22:55, Stephen Connolly <
stephen.alan.connolly@gmail.com> wrote:

> Master is supposed to be set up that way by infra... if some repositories
> are not set up that way we should just get infra to fix it
>
> On Sun 8 Jan 2017 at 22:47, Christian Schulte <cs...@schulte.it> wrote:
>
>> Hi,
>>
>>
>>
>> subject says it all. I'd like to request that our GIT repositories are
>>
>> setup in a way that a 'git --force push' is not possible. Not pulling
>>
>> changes of others in and then force pushing to exchange the remote
>>
>> master branch with some other branch should not be possible. In fact, in
>>
>> subversion you just could not commit to trunk whithout updating your
>>
>> local working copy first and that is something very good about
>>
>> subversion. We should not change this just because we switched from
>>
>> subversion to git.
>>
>>
>>
>> Regards,
>>
>> --
>>
>> Christian
>>
>>
>>
>> ---------------------------------------------------------------------
>>
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
>>
>> --
> Sent from my phone
>

Re: [DISCUSS] Stop allowing forced pushes to GIT repositories.

Posted by Arnaud Héritier <ah...@gmail.com>.
+1. It should be forbidden on master.

Le dim. 8 janv. 2017 à 23:56, Stephen Connolly <
stephen.alan.connolly@gmail.com> a écrit :

> Master is supposed to be set up that way by infra... if some repositories
>
> are not set up that way we should just get infra to fix it
>
>
>
> On Sun 8 Jan 2017 at 22:47, Christian Schulte <cs...@schulte.it> wrote:
>
>
>
> > Hi,
>
> >
>
> >
>
> >
>
> > subject says it all. I'd like to request that our GIT repositories are
>
> >
>
> > setup in a way that a 'git --force push' is not possible. Not pulling
>
> >
>
> > changes of others in and then force pushing to exchange the remote
>
> >
>
> > master branch with some other branch should not be possible. In fact, in
>
> >
>
> > subversion you just could not commit to trunk whithout updating your
>
> >
>
> > local working copy first and that is something very good about
>
> >
>
> > subversion. We should not change this just because we switched from
>
> >
>
> > subversion to git.
>
> >
>
> >
>
> >
>
> > Regards,
>
> >
>
> > --
>
> >
>
> > Christian
>
> >
>
> >
>
> >
>
> > ---------------------------------------------------------------------
>
> >
>
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>
> >
>
> > For additional commands, e-mail: dev-help@maven.apache.org
>
> >
>
> >
>
> >
>
> > --
>
> Sent from my phone
>
>

Re: [DISCUSS] Stop allowing forced pushes to GIT repositories.

Posted by Stephen Connolly <st...@gmail.com>.
Master is supposed to be set up that way by infra... if some repositories
are not set up that way we should just get infra to fix it

On Sun 8 Jan 2017 at 22:47, Christian Schulte <cs...@schulte.it> wrote:

> Hi,
>
>
>
> subject says it all. I'd like to request that our GIT repositories are
>
> setup in a way that a 'git --force push' is not possible. Not pulling
>
> changes of others in and then force pushing to exchange the remote
>
> master branch with some other branch should not be possible. In fact, in
>
> subversion you just could not commit to trunk whithout updating your
>
> local working copy first and that is something very good about
>
> subversion. We should not change this just because we switched from
>
> subversion to git.
>
>
>
> Regards,
>
> --
>
> Christian
>
>
>
> ---------------------------------------------------------------------
>
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
>
> --
Sent from my phone