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

Ignore empty .repos files in recursive VCS import #22

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

akloeker
Copy link
Member

@akloeker akloeker commented Mar 7, 2024

If an upstream repo specified in .repos contains itself an empty .repos file, vcs import fails, making it impossible to clone the repo.

Example: Running vcs import on https://github.com/tier4/ars408_driver/tree/main results in the error Input data is not valid format: 'NoneType' object is not subscriptable.

While technically an empty .repos file is invalid, those cases can easily ignored for the ease-of-use.

@lreiher lreiher merged commit 4dd021d into ika-rwth-aachen:main Mar 12, 2024
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants