MCPcopy Create free account
hub / github.com/StackStorm/st2 / plan_makefile_update

Function plan_makefile_update

scripts/lockfiles_to_reqs.py:121–127  ·  view source on GitHub ↗
(old_reqs, name, version, reqs_updates)

Source from the content-addressed store, hash-verified

119
120
121def plan_makefile_update(old_reqs, name, version, reqs_updates):
122 if name not in old_reqs:
123 # this shouldn't happen
124 return
125 index, prefix, old_version = old_reqs[name]
126 if old_version != version:
127 reqs_updates[name] = (index, f"{prefix}{version}")
128
129
130def do_makefile_updates(path, reqs_updates):

Calls

no outgoing calls

Tested by

no test coverage detected