[FBR] Hotfix pagure on src.fp.o

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

 



Good Morning Everyone,

In order to fix https://pagure.io/releng/fedora-scm-requests/issue/1078 I would
like to manually apply the following change to pagure on src.fp.o:

--- a/pagure/forms.py
+++ b/pagure/forms.py
@@ -31,7 +31,7 @@ import pagure.lib

 STRICT_REGEX = '^[a-zA-Z0-9-_]+$'
 TAGS_REGEX = '^[a-zA-Z0-9-_, .]+$'
-PROJECT_NAME_REGEX = '^[a-zA-z0-9_][a-zA-Z0-9-_]*$'
+PROJECT_NAME_REGEX = '^[a-zA-z0-9_][a-zA-Z0-9-_\.]*$'
 FALSE_VALUES = ('false', '', False, 'False', 0, '0')

I'll try to find a more elegant/flexible solution for the long term in pagure
itself (like a configuration key).

+1s?

Thanks,
Pierre

Attachment: signature.asc
Description: PGP signature

_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux