diff --git a/advisors/check_upstream.py b/advisors/check_upstream.py index 701f9ba5fcc269457751addc53577ad1b7b38126..7845c966620aebf6cf90e23e9fca381564b0d3a7 100755 --- a/advisors/check_upstream.py +++ b/advisors/check_upstream.py @@ -41,6 +41,9 @@ def clean_tags(tags, info): if info.get("tag_pattern", "") != "" and info.get("tag_pattern", "") is not None: pattern_regex = re.compile(info["tag_pattern"]) result_list = [pattern_regex.sub("\\1", x) for x in tags] + elif info.get("tag_reorder", "") != "" and info.get("tag_reorder", "") is not None: + pattern_regex = re.compile(info["tag_reorder"]) + result_list = [pattern_regex.sub(info["tag_neworder"], x) for x in tags] elif info.get("tag_prefix", "") != "" and info.get("tag_prefix", "") is not None: prefix_regex = re.compile(info["tag_prefix"]) result_list = [prefix_regex.sub("", x) for x in tags] @@ -81,8 +84,40 @@ def dirty_redirect_tricks(url, resp): if "" in cookie: cookie.remove("") return need_trick, new_url, list(cookie) +def check_hg_raw(info): + eprint("{repo} > Using hg raw-tags".format(repo=info["src_repo"]+"/raw-tags")) + resp = load_last_query_result(info) + if resp == "": + headers = { + 'User-Agent' : 'Mozilla/5.0 (X11; Linux x86_64)' + } + url = urljoin(info["src_repo"] + "/", "raw-tags") + resp = requests.get(url, headers=headers) + resp = resp.text + need_trick, url, cookie = dirty_redirect_tricks(url, resp) + if need_trick: + # I dont want to introduce another dependency on requests + # but urllib handling cookie is outragely complex + c_dict = {} + for c in cookie: + k, v = c.split('=') + c_dict[k] = v + resp = requests.get(url, headers=headers, cookies=c_dict) + resp = resp.text + + last_query = {} + last_query["time_stamp"] = datetime.now() + last_query["raw_data"] = resp + info["last_query"] = last_query + tags = [] + for l in resp.splitlines(): + tags.append(l.split()[0]) + result_list = clean_tags(tags, info) + return result_list + def check_hg(info): + eprint("{repo} > Using hg json-tags".format(repo=info["src_repo"]+"/json-tags")) resp = load_last_query_result(info) if resp == "": headers = { @@ -114,6 +149,7 @@ def check_hg(info): result_list = clean_tags(result_list, info) return result_list + def check_metacpan(info): resp = load_last_query_result(info) if resp == "": @@ -140,6 +176,7 @@ def check_metacpan(info): last_query["time_stamp"] = datetime.now() last_query["raw_data"] = resp info["last_query"] = last_query + tags = clean_tags(tags, info) return tags def check_pypi(info): @@ -233,9 +270,31 @@ def check_github(info): tags = clean_tags(tags, info) return tags +def check_gnu_ftp(info): + headers = { + 'User-Agent' : 'Mozilla/5.0 (X11; Linux x86_64)' + } + url = urljoin("https://ftp.gnu.org/gnu/", info["src_repo"] + "/") + eprint("{repo} > List ftp directory".format(repo=url)) + resp = requests.get(url, headers=headers) + resp = resp.text + re_pattern = re.compile("href=\"(.*)\">(\\1)") + tags = [] + for l in resp.splitlines(): + m = re_pattern.search(l) + if m: + tags.append(m[1]) + tags = clean_tags(tags, info) + return tags + + def check_gnome(info): resp = load_last_query_result(info) - repo_url = "https://gitlab.gnome.org/GNOME/"+info["src_repo"]+".git" + src_repos = info["src_repo"].split("/") + if len(src_repos) == 1: + repo_url = "https://gitlab.gnome.org/GNOME/" + info["src_repo"] + ".git" + else: + repo_url = "https://gitlab.gnome.org/" + info["src_repo"] + ".git" if resp == "": resp = __check_git_helper(repo_url) @@ -264,7 +323,8 @@ def check_gitee(info): def check_svn(info): resp = load_last_query_result(info) - repo_url = info["src_repo"] + "/tags" + tag_dir = info.get("tag_dir", "tags") + repo_url = info["src_repo"] + "/" + tag_dir if resp == "": resp = __check_svn_helper(repo_url) last_query = {} diff --git a/advisors/oa_upgradable.py b/advisors/oa_upgradable.py index 7f5d49b6fa3fcbf1fb15185ffc3b228a76a10cf8..8043cc0c87cafb114e808875dbabfcfc594d5028 100755 --- a/advisors/oa_upgradable.py +++ b/advisors/oa_upgradable.py @@ -60,6 +60,8 @@ def get_ver_tags(gt, repo, cwd_path=None): return None if vc_type == "hg": tags = check_upstream.check_hg(pkg_info) + elif vc_type == "hg-raw": + tags = check_upstream.check_hg_raw(pkg_info) elif vc_type == "github": tags = check_upstream.check_github(pkg_info) elif vc_type == "git": @@ -74,6 +76,8 @@ def get_ver_tags(gt, repo, cwd_path=None): tags = check_upstream.check_pypi(pkg_info) elif vc_type == "gitee": tags = check_upstream.check_gitee(pkg_info) + elif vc_type == "gnu-ftp": + tags = check_upstream.check_gnu_ftp(pkg_info) else: print("Unsupport version control method {vc}".format(vc=vc_type)) return None diff --git a/upstream-info/CUnit.yaml b/upstream-info/CUnit.yaml index 025e65d1c347424503b8c9826586dc2a058ae425..e4b8d28eb4fa41ccac65f6ca2ad89541b21f2bb7 100644 --- a/upstream-info/CUnit.yaml +++ b/upstream-info/CUnit.yaml @@ -1,4 +1,4 @@ version_control: svn -src_repo: https://svn.code.sf.net/p/cunit/code/trunk +src_repo: https://svn.code.sf.net/p/cunit/code tag_prefix: separator: diff --git a/upstream-info/SDL.yaml b/upstream-info/SDL.yaml index 5ebce56dfed1b703a46ee19070da71ae4a9f5132..89da0333701d9597af0739bf5ea411243692439f 100644 --- a/upstream-info/SDL.yaml +++ b/upstream-info/SDL.yaml @@ -1,4 +1,4 @@ -version_control: hg +version_control: hg-raw src_repo: http://hg.libsdl.org/SDL -tag_prefix: "release-" +tag_prefix: "release-(2)?" separator: "." diff --git a/upstream-info/SDL2.yaml b/upstream-info/SDL2.yaml index 73d2256db48fb95e5fb9f261c09b5b33087191e8..40adf4e396accdcdbdf3e2586ff0d2eb5ab1f1aa 100644 --- a/upstream-info/SDL2.yaml +++ b/upstream-info/SDL2.yaml @@ -1,4 +1,4 @@ -version_control: hg +version_control: hg-raw src_repo: http://hg.libsdl.org/SDL tag_prefix: ^release- separator: . diff --git a/upstream-info/acpica-tools.yaml b/upstream-info/acpica-tools.yaml index 75924c01b029a82cbc9fd94c9e6c3923f09c98bd..99b6912b62bb564b02a5a63830ac6696cd8e700c 100644 --- a/upstream-info/acpica-tools.yaml +++ b/upstream-info/acpica-tools.yaml @@ -1,4 +1,5 @@ version_control: github src_repo: acpica/acpica -tag_prefix: "^R" +tag_reorder: "^R(\\d\\d)_?(\\d\\d)_?(\\d\\d)" +tag_neworder: "20\\3\\1\\2" separator: "_" diff --git a/upstream-info/apr-util.yaml b/upstream-info/apr-util.yaml index 7b32c1afaef35065b0373269ecb62690c5c0b420..fb3887b2911b5a6047dc1eab3a81c32d3284b5ae 100644 --- a/upstream-info/apr-util.yaml +++ b/upstream-info/apr-util.yaml @@ -1,4 +1,4 @@ version_control: svn -src_repo: https://svn.apache.org/viewvc/apr/apr-util +src_repo: https://svn.apache.org/repos/asf/apr/apr-util tag_prefix: ^ separator: . diff --git a/upstream-info/apr.yaml b/upstream-info/apr.yaml index b3813c6e1eee0bc27d2997ee648e38b24611b255..210712c1dc3ecad09133d8a1cb85859d63ffb843 100644 --- a/upstream-info/apr.yaml +++ b/upstream-info/apr.yaml @@ -1,4 +1,4 @@ version_control: svn -src_repo: https://svn.apache.org/viewvc/apr/apr +src_repo: https://svn.apache.org/repos/asf/apr/apr tag_prefix: ^ separator: . diff --git a/upstream-info/atk.yaml b/upstream-info/atk.yaml index 314c9cb075d1a9511cc7d14fe1fc0fdc66eee6d4..74e874dd092df151ed81a6f3f455205a0fba025e 100644 --- a/upstream-info/atk.yaml +++ b/upstream-info/atk.yaml @@ -1,8 +1,8 @@ --- version_control: gitlab.gnome src_repo: atk -tag_prefix: "^v" -separator: "." +tag_prefix: "^ATK_" +separator: "_" last_query: time_stamp: 2020-04-24 13:50:12.668396540 +00:00 raw_data: | diff --git a/upstream-info/bc.yaml b/upstream-info/bc.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ff357aa0fa4f005e96625f13bf3567b70df6fdc8 --- /dev/null +++ b/upstream-info/bc.yaml @@ -0,0 +1,4 @@ +version_control: gnu-ftp +src_repo: bc +tag_pattern: bc-(.*).tar.gz(.sig)? +seperator: "." diff --git a/upstream-info/bridge-utils.yaml b/upstream-info/bridge-utils.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5c688dc9b61f5b76044c8f8efcbfa908a8b901a4 --- /dev/null +++ b/upstream-info/bridge-utils.yaml @@ -0,0 +1,4 @@ +version_control: git +src_repo: https://git.kernel.org/pub/scm/linux/kernel/git/shemminger/bridge-utils.git +tag_prefix: '^v' +seperator: . diff --git a/upstream-info/celt051.yaml b/upstream-info/celt051.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a7c1c76ec90363ee9ef3de635f1556eb4fc26f86 --- /dev/null +++ b/upstream-info/celt051.yaml @@ -0,0 +1,4 @@ +version_control: NA +rpm_repo: https://git.centos.org/rpms/celt051.git +tag_prefix: "^celt051-" +seperator: "." diff --git a/upstream-info/ctags.yaml b/upstream-info/ctags.yaml index 62517c8b11d52184415ce91be68e34946580774f..6420a6d2fc3137d7de76a1057c853e6bf4845179 100644 --- a/upstream-info/ctags.yaml +++ b/upstream-info/ctags.yaml @@ -1,4 +1,4 @@ version_control: svn -src_repo: https://svn.code.sf.net/p/ctags/code/trunk +src_repo: https://svn.code.sf.net/p/ctags/code tag_prefix: "^Ctags-" separator: "_" diff --git a/upstream-info/ed.yaml b/upstream-info/ed.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f70f29d6b1e5efcc28c01bc949bc5d3b4dd74d6a --- /dev/null +++ b/upstream-info/ed.yaml @@ -0,0 +1,4 @@ +version_control: gnu-ftp +src_repo: ed +tag_pattern: ed-(.*).(tar.*) +seperator: "." diff --git a/upstream-info/edac-utils.yaml b/upstream-info/edac-utils.yaml index db6018281fca72c6fc2fb68aef3635fe81fb91b2..e7e81edc414ac1cafb43e81fd608c626726e664f 100644 --- a/upstream-info/edac-utils.yaml +++ b/upstream-info/edac-utils.yaml @@ -1,4 +1,4 @@ version_control: svn -src_repo: https://svn.code.sf.net/p/edac-utils/code/trunk +src_repo: https://svn.code.sf.net/p/edac-utils/code tag_prefix: separator: "." diff --git a/upstream-info/emacs.yaml b/upstream-info/emacs.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f9a510c7e79161b9147e8753b4393caa1cb843d4 --- /dev/null +++ b/upstream-info/emacs.yaml @@ -0,0 +1,4 @@ +version_control: git +src_repo: https://git.savannah.gnu.org/git/emacs.git +tag_prefix: ^emacs- +seperator: "." diff --git a/upstream-info/epydoc.yaml b/upstream-info/epydoc.yaml index dc13b6e49d6826aa37a8e0de25e9ce6bddd9dd3d..cae631b7ff64dd82db16f94443d706b6b131e5f1 100644 --- a/upstream-info/epydoc.yaml +++ b/upstream-info/epydoc.yaml @@ -1,4 +1,4 @@ version_control: svn -src_repo: https://epydoc.svn.sourceforge.net/svnroot/epydoc/trunk/epydoc +src_repo: https://svn.code.sf.net/p/epydoc/code tag_prefix: ^epydoc- separator: . diff --git a/upstream-info/fabtests.yaml b/upstream-info/fabtests.yaml new file mode 100644 index 0000000000000000000000000000000000000000..db0fcb3053c137bbcbd51f78dba23ab7e0632d6b --- /dev/null +++ b/upstream-info/fabtests.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: ofiwg/fabtests +tag_prefix: ^v +seperator: . diff --git a/upstream-info/gdbm.yaml b/upstream-info/gdbm.yaml index a5c7c6e1d14c91e89c7b035744e67d1c0a532ea7..d3b95602b53cab866b0bc2ad3ab6610a9c334075 100644 --- a/upstream-info/gdbm.yaml +++ b/upstream-info/gdbm.yaml @@ -1,4 +1,4 @@ version_control: git -src_repo: git://gnu.org.ua/gdbm.git -tag_prefix: gdbm- +src_repo: https://git.savannah.gnu.org/git/gdbm.git +tag_prefix: ^v separator: . diff --git a/upstream-info/gnu-free-fonts.yaml b/upstream-info/gnu-free-fonts.yaml index a9769aa0ae8cade02e3f29ef2eb6fa711a97771e..c904707e1ae1583e102dd3df9a7fd1e1e019a6ed 100644 --- a/upstream-info/gnu-free-fonts.yaml +++ b/upstream-info/gnu-free-fonts.yaml @@ -1,4 +1,4 @@ version_control: svn -src_repo: https://svn.savannah.gnu.org/viewvc/freefont -tag_repo: RELEASE_ +src_repo: svn://svn.savannah.gnu.org/freefont +tag_prefix: "^RELEASE_" separator: . diff --git a/upstream-info/gperftools.yaml b/upstream-info/gperftools.yaml index d7db9d98f4479650484622e1c98d5b5ab7f46ebd..b75e1057eb28bb9e170f6bfa5c33056279ff073d 100644 --- a/upstream-info/gperftools.yaml +++ b/upstream-info/gperftools.yaml @@ -1,4 +1,4 @@ version_control: github src_repo: gperftools/gperftools -tag_prefix: ^v +tag_prefix: ^gperftools- separator: . diff --git a/upstream-info/guile.yaml b/upstream-info/guile.yaml new file mode 100644 index 0000000000000000000000000000000000000000..09a431b7abfb2866338eb9772817c2741384e8da --- /dev/null +++ b/upstream-info/guile.yaml @@ -0,0 +1,4 @@ +version_control: git +src_repo: https://git.savannah.gnu.org/git/guile.git +tag_prefix: ^v +seperator: "." diff --git a/upstream-info/iptables.yaml b/upstream-info/iptables.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d650d8185612e094b37dd139d3f390beaf33a687 --- /dev/null +++ b/upstream-info/iptables.yaml @@ -0,0 +1,4 @@ +version_control: git +src_repo: git://git.netfilter.org/iptables.git +tag_prefix: "^v" +seperator: . diff --git a/upstream-info/irrlicht.yaml b/upstream-info/irrlicht.yaml index 3e1ab5f8b7b9ef4315de4a45cce9f1a84f10d8e4..c810c6209ecf5b43dcaae55456e3a5cf306291e6 100644 --- a/upstream-info/irrlicht.yaml +++ b/upstream-info/irrlicht.yaml @@ -1,4 +1,4 @@ version_control: svn -src_repo: https://svn.code.sf.net/p/irrlicht/code/trunk +src_repo: https://svn.code.sf.net/p/irrlicht/code tag_prefix: release- separator: . diff --git a/upstream-info/kurdit-unikurd-web-fonts.yaml b/upstream-info/kurdit-unikurd-web-fonts.yaml index eaf17490f56bc2f6e0bf3fdd77819979a3751340..e90a1272f27451f804198e98f8ce35b7016f9364 100644 --- a/upstream-info/kurdit-unikurd-web-fonts.yaml +++ b/upstream-info/kurdit-unikurd-web-fonts.yaml @@ -1,4 +1,5 @@ -version_control: github +version_control: NA src_repo: gooselinux/kurdit-unikurd-web-fonts +note: src_repo here is not the actual repo for font tag_prefix: ^ separator: . diff --git a/upstream-info/lame.yaml b/upstream-info/lame.yaml index 3814121683522de401e1289d1b343b633cde83ca..f3a622131acd9d6e347b9e65eaf1bc649c24c4d7 100644 --- a/upstream-info/lame.yaml +++ b/upstream-info/lame.yaml @@ -1,4 +1,4 @@ version_control: svn -src_repo: https://svn.code.sf.net/p/lame/svn/trunk/lame -tag_prefix: RELEASE_ +src_repo: https://svn.code.sf.net/p/lame/svn +tag_prefix: RELEASE__ separator: _ diff --git a/upstream-info/libavc1394.yaml b/upstream-info/libavc1394.yaml index d0a29d16c0662b26a6fc25fbd1521c20bede4b05..cce0a8ab6b5de85e3256c64e0501373cca1e7700 100644 --- a/upstream-info/libavc1394.yaml +++ b/upstream-info/libavc1394.yaml @@ -1,4 +1,4 @@ version_control: svn -src_repo: https://svn.code.sf.net/p/libavc1394/code/trunk -tag_prefix: "^v" -separator: "." +src_repo: https://svn.code.sf.net/p/libavc1394/code +tag_prefix: "^V_" +separator: "_" diff --git a/upstream-info/libdvdnav.yaml b/upstream-info/libdvdnav.yaml index c5c08b74d220486c9542725c09167f8058c3409e..77f1dc1d34fa53e5b77b6d72adfd1df8ccb1facb 100644 --- a/upstream-info/libdvdnav.yaml +++ b/upstream-info/libdvdnav.yaml @@ -1,4 +1,4 @@ -version_control: github -src_repo: mirror/libdvdnav -tag_pattern: ^v +version_control: git +src_repo: https://code.videolan.org/videolan/libdvdnav.git +tag_prefix: ^v separator: . diff --git a/upstream-info/libdwarf.yaml b/upstream-info/libdwarf.yaml index 0e3ecb22848689767d2247924b77a678277d4b90..92a50b75fe3dae166224b84f8c6b38526a1b13a1 100644 --- a/upstream-info/libdwarf.yaml +++ b/upstream-info/libdwarf.yaml @@ -1,5 +1,5 @@ git_url: https://github.com/Distrotech/libdwarf.git version_control: github src_repo: Distrotech/libdwarf -tag_prefix: "v" +tag_prefix: "^" separator: "" diff --git a/upstream-info/libgphoto2.yaml b/upstream-info/libgphoto2.yaml index a28c612089392bf09e36ed5c8ef080d4423ea1bd..3500103303c3aad50e7012f8c0947466e488523f 100644 --- a/upstream-info/libgphoto2.yaml +++ b/upstream-info/libgphoto2.yaml @@ -1,4 +1,4 @@ version_control: github src_repo: gphoto/libgphoto2 -tag_pattern: libgphoto2- +tag_prefix: libgphoto2- separator: _ diff --git a/upstream-info/libiec61883.yaml b/upstream-info/libiec61883.yaml index eb7bd69127303da72283938bd9dce44a8b89b8b4..f10a700cb112e1ea09dba6fd990a06d1b96ba0ec 100644 --- a/upstream-info/libiec61883.yaml +++ b/upstream-info/libiec61883.yaml @@ -1,4 +1,4 @@ version_control: github src_repo: Distrotech/libiec61883 -tag_pattern: ^v +tag_prefix: ^v separator: . diff --git a/upstream-info/libieee1284.yaml b/upstream-info/libieee1284.yaml index 827a694fb41e9253fc7c8375fb96186818e1d9ab..325c5caa072bc8c5ea044f46e41ac77387674476 100644 --- a/upstream-info/libieee1284.yaml +++ b/upstream-info/libieee1284.yaml @@ -1,4 +1,4 @@ version_control: github src_repo: twaugh/libieee1284 -tag_pattern: ^v +tag_prefix: ^v separator: _ diff --git a/upstream-info/libisofs.yaml b/upstream-info/libisofs.yaml index b8f38837d9d58ba873b19ca19ef2cee4e22f3397..2c275299f79392050f762c7f8d1e365f3ec19b8c 100644 --- a/upstream-info/libisofs.yaml +++ b/upstream-info/libisofs.yaml @@ -1,4 +1,4 @@ version_control: git -src_repo: https://dev.lovelyhq.com/libburnia -tag_pattern: release- +src_repo: https://dev.lovelyhq.com/libburnia/libisofs.git +tag_prefix: release- separator: . diff --git a/upstream-info/libmodman.yaml b/upstream-info/libmodman.yaml index 0641eaaa7e868aca4f6696779f05e9a5372215dc..9ce14c438be2b7972f3b1cc2dc117249bd78158b 100644 --- a/upstream-info/libmodman.yaml +++ b/upstream-info/libmodman.yaml @@ -1,4 +1,4 @@ -version_control: svn -src_repo: https://code.google.com/archive/p/libmodman/source/default/source +version_control: NA +svn_url: https://code.google.com/archive/p/libmodman/source/default/source tag_prefix: ^libmodman- separator: . diff --git a/upstream-info/libmpeg2.yaml b/upstream-info/libmpeg2.yaml new file mode 100644 index 0000000000000000000000000000000000000000..81643ce9446e6c030f3ab4b115001042514f46c5 --- /dev/null +++ b/upstream-info/libmpeg2.yaml @@ -0,0 +1,4 @@ +version_control: CVS +src_repo: libmpeg2.cvs.sourceforge.net:/cvsroot/libmpeg2 +tag_prefix: NA +seperator: NA diff --git a/upstream-info/liboauth.yaml b/upstream-info/liboauth.yaml index 3354783393f16b03157b82a76357a864321631e3..3741aa1393329bbc4306e28834aa58c334e9c5c0 100644 --- a/upstream-info/liboauth.yaml +++ b/upstream-info/liboauth.yaml @@ -1,4 +1,4 @@ -version_control: svn -src_repo: https://svn.code.sf.net/p/liboauth/code/trunk -tag_prefix: liboauth-code -separator: ^liboauth- +version_control: github +src_repo: x42/liboauth +tag_prefix: "^v" +separator: "." diff --git a/upstream-info/libpwquality.yaml b/upstream-info/libpwquality.yaml index 5b69f52ba589ce0609ac937282c81bf3d4fe7d0f..4bf65deeb0f5036448aabdb2899b179781eecf1e 100644 --- a/upstream-info/libpwquality.yaml +++ b/upstream-info/libpwquality.yaml @@ -1,4 +1,4 @@ version_control: github src_repo: libpwquality/libpwquality -tag_prefix: ^v +tag_prefix: ^libpwquality- separator: . diff --git a/upstream-info/libsigc++20.yaml b/upstream-info/libsigcpp20.yaml similarity index 75% rename from upstream-info/libsigc++20.yaml rename to upstream-info/libsigcpp20.yaml index d16af159a95ba810c4c979e879e154a95ff3e32e..394a7969ad88b7df526d233219a9cce8de5a9ec3 100644 --- a/upstream-info/libsigc++20.yaml +++ b/upstream-info/libsigcpp20.yaml @@ -1,4 +1,4 @@ version_control: github src_repo: libsigcplusplus/libsigcplusplus -tag_pattern: ^v +tag_prefix: "^v?2.99|^3" separator: . diff --git a/upstream-info/libtalloc.yaml b/upstream-info/libtalloc.yaml index 265c8f84939185f3dc702e1233381133cd057bfc..8352690f042106fd5c14023f00e0744ae28e9f3c 100644 --- a/upstream-info/libtalloc.yaml +++ b/upstream-info/libtalloc.yaml @@ -1,4 +1,4 @@ -version_control: github -src_repo: nccgroup/libtalloc -tag_prefix: talloc- +version_control: git +src_repo: git://git.samba.org/samba.git +tag_prefix: "^talloc-" separator: "." diff --git a/upstream-info/libwacom.yaml b/upstream-info/libwacom.yaml index 3f754db8ab2e3dae5d991cb078ed857ec2faa274..a7cc25e5b745028a31c12b6aaf72f102623ac5a8 100644 --- a/upstream-info/libwacom.yaml +++ b/upstream-info/libwacom.yaml @@ -1,4 +1,4 @@ version_control: github src_repo: linuxwacom/libwacom -tag_prefix: ^v +tag_prefix: ^libwacom- separator: . diff --git a/upstream-info/linux-firmware.yaml b/upstream-info/linux-firmware.yaml new file mode 100644 index 0000000000000000000000000000000000000000..4330950cd4463763ef37a5defea9fa634a200108 --- /dev/null +++ b/upstream-info/linux-firmware.yaml @@ -0,0 +1,4 @@ +version_control: git +src_repo: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git +tag_prefix: +seperator: diff --git a/upstream-info/lshw.yaml b/upstream-info/lshw.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c72c7173138770fd971049fc4d27fe26430d70cd --- /dev/null +++ b/upstream-info/lshw.yaml @@ -0,0 +1,4 @@ +version_control: git +src_repo: https://ezix.org/src/pkg/lshw.git +tag_prefix: "B." +seperator: "." diff --git a/upstream-info/lutok.yaml b/upstream-info/lutok.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b6a49ed6fd86c050e3bea3d0b3980cb2dde14c88 --- /dev/null +++ b/upstream-info/lutok.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: jmmv/lutok +tag_prefix: lutok- +separator: "." diff --git a/upstream-info/mallard-rng.yaml b/upstream-info/mallard-rng.yaml new file mode 100644 index 0000000000000000000000000000000000000000..510f5262479e3ce20617729fa2752fbaf9452303 --- /dev/null +++ b/upstream-info/mallard-rng.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: projectmallard/projectmallard.org +tag_prefix: mallard-rng- +seperator: . diff --git a/upstream-info/mcpp.yaml b/upstream-info/mcpp.yaml index 34971c70d8ecd73dddc0c354c4d596d72ebd3f7b..624fa01a9160cba75e28ea0d77330a6e2fd674b2 100644 --- a/upstream-info/mcpp.yaml +++ b/upstream-info/mcpp.yaml @@ -1,4 +1,4 @@ -version_control: svn -src_repo: https://svn.code.sf.net/p/mcpp/code/trunk/src -tag_prefix: ^V +version_control: github +src_repo: zeroc-ice/mcpp +tag_prefix: ^v separator: . diff --git a/upstream-info/mod_auth_openidc.yaml b/upstream-info/mod_auth_openidc.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6e4a78162ebe435dc3defe477f7a5e0ff9c4db1a --- /dev/null +++ b/upstream-info/mod_auth_openidc.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: zmartzone/mod_auth_openidc +tag_prefix: "^v" +seperator: . diff --git a/upstream-info/nss-pem.yaml b/upstream-info/nss-pem.yaml index 32fafb192309e539a8569aeb07b4c4942c9b6c76..72a46237c3f3a1d57dde38d6b6534a7ede5977b3 100644 --- a/upstream-info/nss-pem.yaml +++ b/upstream-info/nss-pem.yaml @@ -1,4 +1,4 @@ version_control: github src_repo: kdudka/nss-pem -tag_prefix: ^v +tag_prefix: ^nss-pem- separator: . diff --git a/upstream-info/nss.yaml b/upstream-info/nss.yaml index d6ad75a3961446d8f3dd4643fc77a473dd428a3a..b5d27ae6926100728e740243372463de499d218a 100644 --- a/upstream-info/nss.yaml +++ b/upstream-info/nss.yaml @@ -1,4 +1,4 @@ version_control: hg src_repo: https://hg.mozilla.org/projects/nss -tag_prefix: ^NSS_ +tag_pattern: ^NSS_(.*)_RTM separator: _ diff --git a/upstream-info/java-1.8.0-openjdk.yaml b/upstream-info/openjdk-1.8.0.yaml similarity index 99% rename from upstream-info/java-1.8.0-openjdk.yaml rename to upstream-info/openjdk-1.8.0.yaml index 76c23c2abbe64b25b4945315a3456b0ac738469f..b8138421fb9ee6783c7b4a9bf1e52ff489a748d6 100644 --- a/upstream-info/java-1.8.0-openjdk.yaml +++ b/upstream-info/openjdk-1.8.0.yaml @@ -1,5 +1,5 @@ --- -version_control: hg +version_control: hg-raw src_repo: http://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah tag_prefix: jdk8u separator: "-" diff --git a/upstream-info/openssl-pkcs11.yaml b/upstream-info/openssl-pkcs11.yaml index b8589c5ad37a83be5d8c9b756fea4d22f01bd4d5..cf107d65ce4023b24cf59f3e30d766c3ca515da8 100644 --- a/upstream-info/openssl-pkcs11.yaml +++ b/upstream-info/openssl-pkcs11.yaml @@ -1,4 +1,4 @@ version_control: github src_repo: OpenSC/libp11 -tag_prefix: ^v +tag_prefix: ^libp11- separator: . diff --git a/upstream-info/python-which.yaml b/upstream-info/python-which.yaml new file mode 100644 index 0000000000000000000000000000000000000000..28a22de776cfe11565037c583b871e606f1b1ad4 --- /dev/null +++ b/upstream-info/python-which.yaml @@ -0,0 +1,5 @@ +git_url: https://github.com/trentm/which.git +version_control: NA +src_repo: trentm/which +tag_prefix: ^ +seperator: . diff --git a/upstream-info/rapidjson.yaml b/upstream-info/rapidjson.yaml new file mode 100644 index 0000000000000000000000000000000000000000..9d6ec027a1c789716b748f9482c0e888646716d9 --- /dev/null +++ b/upstream-info/rapidjson.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: Tencent/rapidjson +tag_prefix: "^v" +separator: "." diff --git a/upstream-info/sharutils.yaml b/upstream-info/sharutils.yaml new file mode 100644 index 0000000000000000000000000000000000000000..cbf396310770060049b8a55bf6257965f20c3a34 --- /dev/null +++ b/upstream-info/sharutils.yaml @@ -0,0 +1,4 @@ +version_control: gnu-ftp +src_repo: sharutils +tag_pattern: sharutils-(.*).tar.gz(.sig)? +seperator: "." diff --git a/upstream-info/spock.yaml b/upstream-info/spock.yaml index 265563ccbf91d5fe3eeae1b534377a79513c1e42..642d643daa979a13d333a0d0dc010b47a5fe5ce5 100644 --- a/upstream-info/spock.yaml +++ b/upstream-info/spock.yaml @@ -1,4 +1,4 @@ version_control: github src_repo: spockframework/spock -tag_prefix: ^v -separator: . +tag_prefix: "spock-" +separator: "-" diff --git a/upstream-info/syscontainer-tools.yaml b/upstream-info/syscontainer-tools.yaml new file mode 100644 index 0000000000000000000000000000000000000000..0b303f0111d7cdeb2ea98fcefd56e599ce6c6310 --- /dev/null +++ b/upstream-info/syscontainer-tools.yaml @@ -0,0 +1,5 @@ +git_url: https:/gitee.com/openeuler/syscontainer-tools +version_control: NA +src_repo: openeuler/syscontainer-tools +tag_prefix: "^v" +separator: "." diff --git a/upstream-info/tar.yaml b/upstream-info/tar.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a8cc6a12d5c81b0bba7d566efe0fb1b458ea9fed --- /dev/null +++ b/upstream-info/tar.yaml @@ -0,0 +1,4 @@ +version_control: git +src_repo: https://git.savannah.gnu.org/git/tar.git +tag_prefix: "release_" +separator: "_" diff --git a/upstream-info/texamator.yaml b/upstream-info/texamator.yaml new file mode 100644 index 0000000000000000000000000000000000000000..683308b4ce4db3455a8312e579e5afbb73357e1f --- /dev/null +++ b/upstream-info/texamator.yaml @@ -0,0 +1,5 @@ +git_url: https://github.com/alexisflesch/texamator.git +version_control: NA +src_repo: alexisflesch/texamator +tag_prefix: "^v" +separator: "." diff --git a/upstream-info/trace-cmd.yaml b/upstream-info/trace-cmd.yaml new file mode 100644 index 0000000000000000000000000000000000000000..bb7e33b00d9f73edc43bc1c78aa7014400b0b86e --- /dev/null +++ b/upstream-info/trace-cmd.yaml @@ -0,0 +1,4 @@ +version_control: git +src_repo: https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git +tag_prefix: trace-cmd-v +seperator: . diff --git a/upstream-info/which.yaml b/upstream-info/which.yaml new file mode 100644 index 0000000000000000000000000000000000000000..817b615237945324e0f434858de203c9a403ea42 --- /dev/null +++ b/upstream-info/which.yaml @@ -0,0 +1,4 @@ +version_control: gnu-ftp +src_repo: which +tag_pattern: which-(.*).(tar.*) +seperator: "." diff --git a/upstream-info/xmlrpc-c.yaml b/upstream-info/xmlrpc-c.yaml new file mode 100644 index 0000000000000000000000000000000000000000..be2ff9d7cbb6b634ebedab0dd9c15a286ec515d4 --- /dev/null +++ b/upstream-info/xmlrpc-c.yaml @@ -0,0 +1,5 @@ +version_control: svn +src_repo: https://svn.code.sf.net/p/xmlrpc-c/code +tag_dir: release_number +tag_prefix: "" +separator: "."