[vhffs-dev] [1938] now allowing - and _ in SCM repositories names |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 1938
Author: gradator
Date: 2012-01-24 23:44:56 +0100 (Tue, 24 Jan 2012)
Log Message:
-----------
now allowing - and _ in SCM repositories names
Modified Paths:
--------------
trunk/vhffs-api/src/Vhffs/Services/Bazaar.pm
trunk/vhffs-api/src/Vhffs/Services/Cvs.pm
trunk/vhffs-api/src/Vhffs/Services/Git.pm
trunk/vhffs-api/src/Vhffs/Services/Mercurial.pm
trunk/vhffs-api/src/Vhffs/Services/Svn.pm
Modified: trunk/vhffs-api/src/Vhffs/Services/Bazaar.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Services/Bazaar.pm 2012-01-24 22:30:18 UTC (rev 1937)
+++ trunk/vhffs-api/src/Vhffs/Services/Bazaar.pm 2012-01-24 22:44:56 UTC (rev 1938)
@@ -43,7 +43,7 @@
sub check_name($) {
my $name = shift;
- return ($name =~ /^[a-z0-9]+\/[a-z0-9]{3,64}$/);
+ return ($name =~ /^[a-z0-9]+\/[a-z0-9\-_]{3,64}$/);
}
sub delete
Modified: trunk/vhffs-api/src/Vhffs/Services/Cvs.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Services/Cvs.pm 2012-01-24 22:30:18 UTC (rev 1937)
+++ trunk/vhffs-api/src/Vhffs/Services/Cvs.pm 2012-01-24 22:44:56 UTC (rev 1938)
@@ -64,7 +64,7 @@
sub check_name($) {
my $name = shift;
- return ($name =~ /^[a-z0-9]+\/[a-z0-9]{3,64}$/);
+ return ($name =~ /^[a-z0-9]+\/[a-z0-9\-_]{3,64}$/);
}
sub delete
Modified: trunk/vhffs-api/src/Vhffs/Services/Git.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Services/Git.pm 2012-01-24 22:30:18 UTC (rev 1937)
+++ trunk/vhffs-api/src/Vhffs/Services/Git.pm 2012-01-24 22:44:56 UTC (rev 1938)
@@ -44,7 +44,7 @@
sub check_name($) {
my $name = shift;
- return ($name =~ /^[a-z0-9]+\/[a-z0-9]{3,64}\.git$/);
+ return ($name =~ /^[a-z0-9]+\/[a-z0-9\-_]{3,64}\.git$/);
}
sub delete
Modified: trunk/vhffs-api/src/Vhffs/Services/Mercurial.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Services/Mercurial.pm 2012-01-24 22:30:18 UTC (rev 1937)
+++ trunk/vhffs-api/src/Vhffs/Services/Mercurial.pm 2012-01-24 22:44:56 UTC (rev 1938)
@@ -43,7 +43,7 @@
sub check_name($) {
my $name = shift;
- return ($name =~ /^[a-z0-9]+\/[a-z0-9]{3,64}$/);
+ return ($name =~ /^[a-z0-9]+\/[a-z0-9\-_]{3,64}$/);
}
sub delete
Modified: trunk/vhffs-api/src/Vhffs/Services/Svn.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Services/Svn.pm 2012-01-24 22:30:18 UTC (rev 1937)
+++ trunk/vhffs-api/src/Vhffs/Services/Svn.pm 2012-01-24 22:44:56 UTC (rev 1938)
@@ -45,7 +45,7 @@
sub check_name($) {
my $name = shift;
- return ($name =~ /^[a-z0-9]+\/[a-z0-9]{3,64}$/);
+ return ($name =~ /^[a-z0-9]+\/[a-z0-9\-_]{3,64}$/);
}
sub delete