summaryrefslogtreecommitdiff
path: root/debian/patches/allow-dashes-in-repository-names.patch
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2017-05-19 21:18:43 +0200
committerChristian Pointner <equinox@spreadspace.org>2017-05-19 21:23:30 +0200
commit36ef789f056d9ba55810c0a21bc4560b13325e74 (patch)
tree1b029c8b9f524e2c5e2772f89313b148da5a07c3 /debian/patches/allow-dashes-in-repository-names.patch
parentfixed default config (diff)
upgraded to lates release
Diffstat (limited to 'debian/patches/allow-dashes-in-repository-names.patch')
-rw-r--r--debian/patches/allow-dashes-in-repository-names.patch13
1 files changed, 0 insertions, 13 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}
-