[Pkg-mozext-commits] [mozilla-devscripts] 01/01: amo-changelog: loosen domain matching when stripping outgoing redirector

Ximin Luo infinity0 at debian.org
Wed Sep 7 12:17:54 UTC 2016


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository mozilla-devscripts.

commit c0c94951b56f6099634ae015809dd36bce382791
Author: Ximin Luo <infinity0 at debian.org>
Date:   Wed Sep 7 14:17:27 2016 +0200

    amo-changelog: loosen domain matching when stripping outgoing redirector
    
    mozilla seem to be using a new domain name for that service
---
 amo-changelog | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/amo-changelog b/amo-changelog
index f95359b..df2e8a8 100755
--- a/amo-changelog
+++ b/amo-changelog
@@ -26,7 +26,7 @@ import urllib2
 import xml.etree.cElementTree as etree
 
 URL_TEMPLATE = "https://addons.mozilla.org/en-US/addon/{ext}/versions/format:rss"
-OUTGOING_HREF = re.compile(r'href="https?://outgoing\.mozilla\.org/v\d+/\w+/(.+?)"')
+OUTGOING_HREF = re.compile(r'href="https?://outgoing.*?moz.*?/v\d+/\w+/(.+?)"')
 HTML_HEAD = "<html>\n<head><title>{title}</title></head>\n<body>\n"
 HTML_FOOT = "</body>\n</html>"
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/mozilla-devscripts.git



More information about the Pkg-mozext-commits mailing list