On Sat, Oct 15, 2016 at 4:07 AM, Johannes Schlüter <johan...@php.net> wrote:

> Hi,
>
> I've restricted access to main/php_version.h. This should restrict wrong
> merges by a bit. Hope this doesn't cause issues. Current RMs should have
> access. This is the current list:
>
> avail|rasmus,johannes,tyrael,ab,jpauli,davey,krakjoe,dsp|php
> -src.git/main/php_version.h
>
> johannes
>
>
> ---------- Forwarded message ----------
> From: "Johannes Schlüter" <johan...@php.net>
> To: php-...@lists.php.net
> Cc:
> Date: Sat, 15 Oct 2016 02:02:15 +0000
> Subject: [PHP-CVS] svn: /SVNROOT/ global_avail
> johannes                                 Sat, 15 Oct 2016 02:02:15 +0000
>
> Revision: http://svn.php.net/viewvc?view=revision&revision=340492
>
> Log:
> Limit access to php_vesion.h
>
> This serves as a small mitigation to prevent wrong merges (i.e. merging
> PHP-7.1 into PHP-7.0 instead of the other way round) This won't cover all
> cases, but hopefully reduces the number of issues.
>
> Changed paths:
>     U   SVNROOT/global_avail
>
> Modified: SVNROOT/global_avail
> ===================================================================
> --- SVNROOT/global_avail        2016-10-14 22:23:44 UTC (rev 340491)
> +++ SVNROOT/global_avail        2016-10-15 02:02:15 UTC (rev 340492)
> @@ -28,6 +28,14 @@
>  # php-src karma and before lines granting Zend/TSRM karma)
>  unavail||php-src.git/Zend,php-src.git/TSRM
>
> +# Limit access to man/php_version.h as a mitigation for wrong merges
> (this line
> +# MUST come after lines granting hp-src karma and before lines granting
> +# man/php_version.h karma)
> +unavail||php-src.git/main/php_version.h
> +
> +# RMs and a few others have access to main/php_version.h (see unavail
> above)
> +avail|rasmus,johannes,tyrael,ab,jpauli,davey,krakjoe,dsp|ph
> p-src.git/main/php_version.h
> +
>  # PEAR bits in the main php-src module
>  avail|mj,vblavet,dickmann,tal,jmcastagnetto,alexmerz,
> cellog,pajoye,timj,clay,dufuz,bjori,davidc,saltybeagle,
> derick|php-src.git/pear
>
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

hi,

the only case I can think of would be if we were using feature branches,
this change would prevent other people from merging from the dev branches
if the merge touches php_version.h
but I think it is clearly better to have an easy guard against bogus merges
which prevents a feature not even used atm.
and of course we can have a better fix in the future if we ever want to use
feature branches in the php-src repo.

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu

Reply via email to