pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/fetch gitlab: underscore is a valid character in gi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e4561deabe93
branches:  trunk
changeset: 379881:e4561deabe93
user:      nikita <nikita%pkgsrc.org@localhost>
date:      Tue May 24 13:05:37 2022 +0000

description:
gitlab: underscore is a valid character in gitlab project/user names.

diffstat:

 mk/fetch/gitlab.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 83719c61925a -r e4561deabe93 mk/fetch/gitlab.mk
--- a/mk/fetch/gitlab.mk        Tue May 24 13:03:25 2022 +0000
+++ b/mk/fetch/gitlab.mk        Tue May 24 13:05:37 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: gitlab.mk,v 1.1 2022/05/23 21:45:45 nikita Exp $
+# $NetBSD: gitlab.mk,v 1.2 2022/05/24 13:05:37 nikita Exp $
 #
 # gitlab.com master site handling
 #
@@ -30,9 +30,9 @@
 #
 # Keywords: gitlab
 
-.if defined(MASTER_SITES) && !empty(MASTER_SITES:C,^https\://gitlab.com/[-a-zA-Z0-9]*/$,match,:Mmatch)
+.if defined(MASTER_SITES) && !empty(MASTER_SITES:C,^https\://gitlab.com/[-a-zA-Z0-9_]*/$,match,:Mmatch)
 _USE_GITLAB=           YES
-.elif defined(MASTER_SITES) && !empty(MASTER_SITES:C,^https\://gitlab.com/[-a-zA-Z0-9]*/[-a-zA-Z0-9]*/$,match,:Mmatch)
+.elif defined(MASTER_SITES) && !empty(MASTER_SITES:C,^https\://gitlab.com/[-a-zA-Z0-9_]*/[-a-zA-Z0-9_]*/$,match,:Mmatch)
 _USE_GITLAB=           YES
 .endif
 



Home | Main Index | Thread Index | Old Index