(dependencies, new_sha)
| 55 | # } |
| 56 | # to point at a new SHA |
| 57 | def update_commit_dependencies(dependencies, new_sha): |
| 58 | if dependencies is None: |
| 59 | return |
| 60 | for dep_name in dependencies: |
| 61 | dep = dependencies[dep_name] |
| 62 | if hasattr(dep, 'get'): |
| 63 | if dep.get('git') == 'https://github.com/apache/arrow-rs': |
| 64 | dep['rev'] = new_sha |
| 65 | |
| 66 | |
| 67 | def update_commit_cargo_toml(cargo_toml, new_sha): |
no test coverage detected
searching dependent graphs…