diff options
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/allow-dashes-in-repository-names.patch | 13 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 0 insertions, 14 deletions
diff --git a/debian/patches/allow-dashes-in-repository-names.patch b/debian/patches/allow-dashes-in-repository-names.patch deleted file mode 100644 index 9fe5994..0000000 --- a/debian/patches/allow-dashes-in-repository-names.patch +++ /dev/null @@ -1,13 +0,0 @@ -This allows '-' for package names -see: https://github.com/xiam/vanity/pull/6 ---- a/main.go -+++ b/main.go -@@ -24,7 +24,7 @@ - repoRootFlag = flag.String("repo-root", "", "Git repository root URL (e.g.: https://github.com/upper).") - ) - --var packagePattern = regexp.MustCompile(`^/([a-zA-Z0-9]+)\.?(v[1-9][0-9]*)?(.*)$`) -+var packagePattern = regexp.MustCompile(`^/([-a-zA-Z0-9]+)\.?(v[1-9][0-9]*)?(.*)$`) - - var httpClient = &http.Client{Timeout: 10 * time.Second} - diff --git a/debian/patches/series b/debian/patches/series deleted file mode 100644 index f599fcd..0000000 --- a/debian/patches/series +++ /dev/null @@ -1 +0,0 @@ -allow-dashes-in-repository-names.patch |