modular: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Aug 14 19:03:06 UTC 2018


 release.sh |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 82bfede89c515b283e5d29da55bcd69449819443
Author: Adam Jackson <ajax at redhat.com>
Date:   Tue Aug 14 14:58:53 2018 -0400

    release.sh: Make project slug detection a bit more robust
    
    Typical gitlab remote urls look like:
    
        git at gitlab.freedesktop.org:xorg/driver/xf86-video-v4l.git
    
    The existing code would fail to parse this, because it looks for /xorg/
    not :xorg/. So first, fix the match pattern. After that we'd break down
    the slug wrong because we're counting /s wrong. Rather than carefully
    know how many to care about: reverse the string, pick out the first two
    fields from that, and reverse the result, so we're always picking off
    the last two fields of the URL whatever it is.
    
    Signed-off-by: Adam Jackson <ajax at redhat.com>



More information about the xorg-commit mailing list