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

Interaction between doorstop create and --project/-j is poorly defined and probably buggy #674

Open
robtaylor opened this issue Oct 6, 2024 · 0 comments
Assignees

Comments

@robtaylor
Copy link
Collaborator

robtaylor commented Oct 6, 2024

doorstop create will always try to create an item at the path given, even if it is not inside the project passed in.

Possible options are -

  1. check if the path given is inside the project and error other wise
  2. if the path is relative, assume creation at that path from the root of the project, and fail if its an absolute path that is not in the project
  3. do it anyway and give a warning.

What was originally intended, and would give the least surprise to current users? @jacebrowning

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

2 participants