[packages/rpm-build-tools] - bitbucket.org support
arekm
arekm at pld-linux.org
Wed May 15 10:22:23 CEST 2013
commit 72aa4a20da3266d15655c08cda1fcce2806d52cf
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed May 15 10:20:14 2013 +0200
- bitbucket.org support
pldnotify.awk | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/pldnotify.awk b/pldnotify.awk
index 1f403c6..b21c31d 100755
--- a/pldnotify.awk
+++ b/pldnotify.awk
@@ -283,6 +283,12 @@ function get_links(url,filename, errno,link,oneline,retval,odp,wholeodp,lowero
d("github archive url, mungled url to: " url)
}
+ # https://bitbucket.org/logilab/pylint/get/tip.tar.bz2 -> https://bitbucket.org/logilab/pylint/downloads
+ if (url ~/^(http|https):\/\/bitbucket.org\/.*\/get\/.*/) {
+ gsub("\/get\/.*", "/downloads", url)
+ d("github bitbucket url, mungled url to: " url)
+ }
+
if (url ~/^(http|https):\/\/cgit\..*\/(.*)\/snapshot\//) {
gsub("\/snapshot\/.*", "/", url)
d("cgit snapshot tarball url, mungled url to: " url)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/72aa4a20da3266d15655c08cda1fcce2806d52cf
More information about the pld-cvs-commit
mailing list