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

Usability: Repository is dirty doesn't really tell much about what's going on with the repo. #3

Open
2 tasks
cognivore opened this issue Oct 23, 2022 · 1 comment

Comments

@cognivore
Copy link
Contributor

Why?

In doma.dev, we're repeatedly spending a lot of time on debugging "repository is dirty" when GPG fucks something up and veil still proceeds to create a darcs change.

We need to go beyond just having an informative message, ideally, we want to find the bug in veil that causes the bug to happen where a GPG fuck-up doesn't get caught and the change is still added. But making sure that we're spending less time on debugging "repository is dirty" message is the first and foremost task.

How?

  • Look at isDirty function's branches;
  • Make custom messages depending on the branch.
@cognivore
Copy link
Contributor Author

Function:

isDirty :: Store -> IO Bool

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