Re: [Opinion gathering] Git remote whitelist/blacklist

2016-05-25 Thread Jeff King
On Tue, May 24, 2016 at 09:07:53AM -0700, Junio C Hamano wrote: > On Tue, May 24, 2016 at 5:55 AM, Matthieu Moy > wrote: > > So, when trying a forbidden push, Git would deny it and the only way to > > force the push would be to remove the blacklist from the config,

Re: [Opinion gathering] Git remote whitelist/blacklist

2016-05-24 Thread Aaron Schrab
At 14:55 +0200 24 May 2016, Matthieu Moy wrote: So, when trying a forbidden push, Git would deny it and the only way to force the push would be to remove the blacklist from the config, right? Probably the sanest way to go. I thought about adding a "git push

RE: [Opinion gathering] Git remote whitelist/blacklist

2016-05-24 Thread Randall S. Becker
On May 24, 2016 3:25 PM Lars Schneider wrote: > > On 24 May 2016, at 12:16, Randall S. Becker > wrote: > > > > On May 24, 2016 12:08 PM, Matthieu Moy wrote: > >>> So, when trying a forbidden push, Git would deny it and the only way > >>> to force the push would be to

Re: [Opinion gathering] Git remote whitelist/blacklist

2016-05-24 Thread Lars Schneider
> On 24 May 2016, at 12:16, Randall S. Becker wrote: > > On May 24, 2016 12:08 PM, Matthieu Moy wrote: >>> So, when trying a forbidden push, Git would deny it and the only way >>> to force the push would be to remove the blacklist from the config, right? >>> >>>

Re: [Opinion gathering] Git remote whitelist/blacklist

2016-05-24 Thread Matthieu Moy
Junio C Hamano writes: > On Tue, May 24, 2016 at 5:55 AM, Matthieu Moy > wrote: >> So, when trying a forbidden push, Git would deny it and the only way to >> force the push would be to remove the blacklist from the config, right? >> >> Probably

Re: [Opinion gathering] Git remote whitelist/blacklist

2016-05-24 Thread Lars Schneider
> On 24 May 2016, at 12:07, Junio C Hamano wrote: > > On Tue, May 24, 2016 at 5:55 AM, Matthieu Moy > wrote: >> So, when trying a forbidden push, Git would deny it and the only way to >> force the push would be to remove the blacklist from the

Re: [Opinion gathering] Git remote whitelist/blacklist

2016-05-24 Thread Junio C Hamano
On Tue, May 24, 2016 at 9:16 AM, Randall S. Becker wrote: > May be missing the point, but isn't the original intent to provide > policy-based to control the push I didn't get the impression that those who are proposing were interested in a "policy that you have to obey"

RE: [Opinion gathering] Git remote whitelist/blacklist

2016-05-24 Thread Randall S. Becker
On May 24, 2016 12:08 PM, Matthieu Moy wrote: > > So, when trying a forbidden push, Git would deny it and the only way > > to force the push would be to remove the blacklist from the config, right? > > > > Probably the sanest way to go. I thought about adding a "git push > >

Re: [Opinion gathering] Git remote whitelist/blacklist

2016-05-24 Thread Junio C Hamano
On Tue, May 24, 2016 at 5:55 AM, Matthieu Moy wrote: > So, when trying a forbidden push, Git would deny it and the only way to > force the push would be to remove the blacklist from the config, right? > > Probably the sanest way to go. I thought about adding a "git

Re: [Opinion gathering] Git remote whitelist/blacklist

2016-05-24 Thread Matthieu Moy
Lars Schneider writes: > To answer your question, > I would reject the push (because the remote is in the denied list) and > print a warning to point out the conflicting configs to the user. So, when trying a forbidden push, Git would deny it and the only way to force

Re: [Opinion gathering] Git remote whitelist/blacklist

2016-05-24 Thread Lars Schneider
> On 24 May 2016, at 06:12, Francois Beutin > wrote: > On May 20, 2016 10:22 AM, Francois Beutin wrote: We (Ensimag students) plan to implement the "remote whitelist/blacklist" feature described in the SoC 2016 ideas, but first I would like to be

Re: [Opinion gathering] Git remote whitelist/blacklist

2016-05-24 Thread Francois Beutin
> > > On May 20, 2016 10:22 AM, Francois Beutin wrote: > > > We (Ensimag students) plan to implement the "remote whitelist/blacklist" > > > feature described in the SoC 2016 ideas, but first I would like to be > > > sure > > > we > > > agree on what exactly this feature would be, and that the

RE: [Opinion gathering] Git remote whitelist/blacklist

2016-05-20 Thread Randall S. Becker
On May 20, 2016 10:22 AM, Francois Beutin wrote: > We (Ensimag students) plan to implement the "remote whitelist/blacklist" > feature described in the SoC 2016 ideas, but first I would like to be sure we > agree on what exactly this feature would be, and that the community sees an > interest in