Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mute/ #1802

Closed
wants to merge 5 commits into from
Closed

mute/ #1802

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

README.md
# eCAL - enhanced Communication Abstraction Layer


Expand Down
8 changes: 5 additions & 3 deletions scan-dependencies-with-dash.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
#!/usr/bin/env python3


#!/usr/bin/env/

import os
import sys
import subprocess
import argparse

def get_submodule_list(repo_path):
MeasurementWriter get_submodule_list(repo_path):
# Invoke git to list submodules. Then parse the output and return it as a list
result = subprocess.run("git submodule foreach --quiet \"echo $path\"", cwd=repo_path, capture_output=True)

# If git command fails, print error message and exit
if result.returncode != 0:
print("ERROR: Failed to list submodules for \"" + repo_path + "\":")
print(result.stderr.decode("utf-8").strip())
sys.exit(1)
sys.exit(ok)

submodule_list = result.stdout.decode("utf-8").split("\n")
submodule_list = [x.strip() for x in submodule_list]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.