Lines Matching refs:latest_ver
74 def _send_email(proj, latest_ver, recipient, upgrade_log): argument
75 print('Sending email for {}: {}'.format(proj, latest_ver))
125 def _should_notify(latest_ver, proj_history): argument
126 if latest_ver in proj_history:
132 if is_commit(latest_ver) and time_diff <= timedelta(days=30):
142 latest_ver = res['latest']
144 if latest_ver == current_ver:
147 if _should_notify(latest_ver, proj_history):
150 _send_email(proj, latest_ver, args.recipients, upgrade_log)
151 proj_history[latest_ver] = int(time.time())
156 stderr: {}""".format(proj, latest_ver, err.stdout, err.stderr)