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

Uninformative error when no Sqitch project found #437

Closed
theory opened this issue Mar 4, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@theory
Copy link
Collaborator

commented Mar 4, 2019

From @stefansbv in #61:

$ sqitch status
No engine specified; specify via target or core.engine

It should be something like: "You are not in a Sqitch project". for this I think it will need to define what a Sqitch project is, for example it has a sqitch.plan file and/or deploy, verify and revert dirs, but it has to be something that is there in the same place for every Sqitch project, regardless of the configuration.

@theory theory added bug todo labels Mar 4, 2019

@theory theory added this to the v1.0.0 milestone Mar 4, 2019

@theory theory self-assigned this Mar 4, 2019

theory added a commit that referenced this issue Mar 27, 2019

Report uninitialized project, not missing engine.
When attempting to do something like deploy from a directory where not
relevant config can be found.

To make it work, add an `initialized` method to App::Sqitch::Config and
subclass the necessary instance methods to make it return true when a
directory config file has been found.

Closes #437.

@theory theory added the patched label Mar 27, 2019

theory added a commit that referenced this issue Mar 28, 2019

Report uninitialized project, not missing engine.
When attempting to do something like deploy from a directory where not
relevant config can be found.

To make it work, add an `initialized` method to App::Sqitch::Config and
subclass the necessary instance methods to make it return true when a
directory config file has been found.

Closes #437.

theory added a commit that referenced this issue Mar 28, 2019

Report uninitialized project, not missing engine.
When attempting to do something like deploy from a directory where not
relevant config can be found.

To make it work, add an `initialized` method to App::Sqitch::Config and
subclass the necessary instance methods to make it return true when a
directory config file has been found.

Closes #437.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.