"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: gotd protected references
To:
Omar Polo <op@omarpolo.com>
Cc:
gameoftrees@openbsd.org
Date:
Wed, 5 Apr 2023 18:42:24 +0200

Download raw body.

Thread
  • Omar Polo:

    gotd protected references

  • On Wed, Apr 05, 2023 at 02:16:32PM +0200, Omar Polo wrote:
    > On 2023/04/05 10:54:20 +0200, Stefan Sperling <stsp@stsp.name> wrote:
    > > On Wed, Apr 05, 2023 at 08:27:35AM +0200, Stefan Sperling wrote:
    > > > We should detect cases where branches and tags overlap and error out:
    > > > 
    > > >  	protect branch namespace foo/
    > > >  	protect tag namespace foo/
    > > 
    > > Here is a diff for this:
    > 
    > ok op@
    
    Thanks, committed.
    
    > going fancy with this we could even check that we don't add a branch
    > namespace under a tag one, e.g. something like the following which is
    > currently permitted:
    > 
    > 	protect branch namespace refs/foo/bar/
    > 	protect tag namespace refs/foo/
    
    Oh, good idea.
    
    
  • Omar Polo:

    gotd protected references