Spaces:
Runtime error
Runtime error
add check to exclude commits containing "isConnected" tag outdating other branches
Browse files139 unmodified lines140141142143144145146147148149150151139 unmodified lineslatest_update = latest_updates.get(branch['Name'], '')outdated = Falseif existing_depends_on:for dep_name in existing_depends_on:if dep_name in latest_updates and latest_updates[dep_name] > latest_update:if "isConnected" not in branch_data[dep_name]["commit_message"]:# exclude commits where isConnected was usedoutdated = Truebreakif not latest_update:status_tag = "empty"elif outdated:139 unmodified lines140141142143144145146147148149150151152153154155156139 unmodified lineslatest_update = latest_updates.get(branch['Name'], '')outdated = Falseif existing_depends_on:for branch in branch_data:branch_name = branch['Name']if branch_name in existing_depends_on:# Check if 'commit_message' exists and contains 'isConnected'commit_message = branch.get("commit_message", "")if "isConnected" not in commit_message:# Additional check for the latest update comparisonlatest_update = latest_updates.get(branch_name, '')if branch_name in latest_updates and latest_updates[branch_name] > latest_update:outdated = Truebreakif not latest_update:status_tag = "empty"elif outdated:
app.py+11-6