Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package vim-plugins for openSUSE:Factory checked in at 2026-05-07 15:45:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/vim-plugins (Old) and /work/SRC/openSUSE:Factory/.vim-plugins.new.1966 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vim-plugins" Thu May 7 15:45:33 2026 rev:57 rq:1351358 version:unknown Changes: -------- --- /work/SRC/openSUSE:Factory/vim-plugins/vim-plugins.changes 2026-03-30 18:36:35.496333724 +0200 +++ /work/SRC/openSUSE:Factory/.vim-plugins.new.1966/vim-plugins.changes 2026-05-07 15:47:05.288324797 +0200 @@ -1,0 +2,5 @@ +Mon Apr 13 06:20:10 UTC 2026 - Jiri Slaby <[email protected]> + +- vim-plugin-taglist: Require ctags OR universal-ctags + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vim-plugins.spec ++++++ --- /var/tmp/diff_new_pack.7cbkYp/_old 2026-05-07 15:47:06.760385460 +0200 +++ /var/tmp/diff_new_pack.7cbkYp/_new 2026-05-07 15:47:06.764385625 +0200 @@ -635,7 +635,7 @@ Summary: Source code browser with support for many languages License: ISC Group: Productivity/Text/Editors -Requires: ctags +Requires: (ctags or universal-ctags) Requires: vim %description -n vim-plugin-taglist ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.7cbkYp/_old 2026-05-07 15:47:06.908391559 +0200 +++ /var/tmp/diff_new_pack.7cbkYp/_new 2026-05-07 15:47:06.920392054 +0200 @@ -1,4 +1,4 @@ -mtime: 1774858726 -commit: a8cae6dafd879c8e64348d09086471b0ecd92de696cd86a6cf09fbd6bf42482f +mtime: 1776061751 +commit: adc6052b1d5e5d600b95ac4e2094f19423acde7079d75c98e1a39e09aa265f7e url: https://src.opensuse.org/jirislaby/e-vim-plugins ++++++ build.specials.obscpio ++++++ ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-04-13 08:29:21.000000000 +0200 @@ -0,0 +1 @@ +.osc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/check_for_updates.py new/check_for_updates.py --- old/check_for_updates.py 1970-01-01 01:00:00.000000000 +0100 +++ new/check_for_updates.py 2026-04-13 08:29:21.000000000 +0200 @@ -0,0 +1,55 @@ +#!/usr/bin/python3 + +import argparse +import re +import requests +import rpm +import sys +from termcolor import colored + +parser = argparse.ArgumentParser() +parser.add_argument('-t', '--token') +args = parser.parse_args() + +ts = rpm.TransactionSet() +spec = ts.parseSpec('vim-plugins.spec') + +ver_re = re.compile(r"https://github\.com/(?P<org>[^/]+)/(?P<repo>[^/]+)/(?:archive/refs/tags|releases/download/(?P<rel>[^/]+))/(?P<ver>[^/]+)\.tar\.gz#") + +for src in spec.sources: + if src[2] != 1: # Source + continue + + m = ver_re.match(src[0]) + if m is None: + continue + + org = m.group('org') + repo = m.group('repo') + rel = m.group('rel') + ver = m.group('ver') + if ver is None: + continue + + print(colored(f"Checking {org}/{repo} (current rel='{rel}' ver='{ver}')", 'green')) + + url_suffix = 'tags' + if rel is not None: + url_suffix = 'releases/latest' + ver = rel + + headers = {} + if args.token: + headers['Authorization'] = f"token {args.token}" + get = requests.get(f"https://api.github.com/repos/{org}/{repo}/{url_suffix}", headers=headers) + if not get.ok: + print(f"bad HTTP reply for {org}/{repo}: {get.status_code} {get.reason}") + sys.exit(1) + + js = get.json() + if rel is None: + js = js[0] # take the latest tag only + + ver2 = js['name'] or js['tag_name'] + if ver != ver2: + print(colored(f"\t{ver2} available", 'red'))
