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

doorstop errors when it finds its own repo #690

Open
sarnold opened this issue Feb 24, 2025 · 1 comment
Open

doorstop errors when it finds its own repo #690

sarnold opened this issue Feb 24, 2025 · 1 comment

Comments

@sarnold
Copy link

sarnold commented Feb 24, 2025

We have several workflows that combine multiple git repos under a "parent" repo subdirectory (similar to the usual Yocto build setup with multiple metadata repos). If I run doorstop to create a tree in that parent repo, it recursively finds itself and coughs errors starting with the first command:

$ doorstop create SRD ./reqs
building tree...
ERROR: no parent specified for SRD

when doorstop is cloned under some directory, eg:

$ ls ext/
affinity  diagrams  doorstop  pyserv

I can easily stop doing that and install from PyPI instead, but I probably won't be the only one trying something similar. Adding a check for itself is probably not unwarranted.

And thanks for the nice FOSS requirements tool; we already have some FOSS documentation template repos where we can ingest yaml data and generate .rst doc snippets. This is going to be fun...

@sarnold
Copy link
Author

sarnold commented Feb 24, 2025

Given some of the related issues with virtualenv folders, ignoring any directories in .gitignore should work.

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

No branches or pull requests

1 participant