Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign up"Missing file" error doesn't tell me where I attempted to import a file from #226
Comments
This comment has been minimized.
This comment has been minimized.
|
So I took a stab at this and it's possible but requires breaking changes to the API for |
This comment has been minimized.
This comment has been minimized.
|
Hmm, do we not want to minimize the frequency of breaking changes? As a user, I'd personally prefer one breaking change rather than many, even if it's a bunch of things to fix. Dhall is in its infancy after all, but as I evangelise it more, subsequent major releases could affect more people than they do know. Just my 2c. |
This comment has been minimized.
This comment has been minimized.
|
I try to minimize breaking changes to the language by:
However, for the Haskell API my policy is the same as all of my other Haskell libraries:
To understand the rationale for this policy, consider the following two scenarios:
First, scenario 1 is no worse than Scenario 2 for one main reason: downstream consumers of the API who prefer Scenario 2 can accomplish the same thing underneath Scenario 1 by just skipping the first release and upgrading directly to the second release. Additionally, Scenario 1 has advantages:
There's also a process-related reason that I don't try to bundle as many breaking changes into one release as possible, which is that it discourages timely releases and deteriorates quality assurance. For example, you typically end up in the following cycle where:
|
This comment has been minimized.
This comment has been minimized.
|
Scenario 1 does not help me if I need something that has a solution but didn't make the cut for the first major release. Now I'm arbitrarily either spinning my wheels, or having to go out of my way to work on
Assuming that the changes are independent. If you cut a small major release and then have to revert that change, you may waste your user's time. I don't really buy any of the arguments in that process list, that's all extremely hypothetical and many points in that flow have decisions and can have policy around them. I don't mean this negatively, this is ultimately your project and you are free to manage it however you want |
This comment has been minimized.
This comment has been minimized.
The assumption is that both Scenarios take the same amount time to release the second batch of breaking changes. The first batch of breaking changes come earlier in Scenario 1. The difference between the two is that you didn't delay the first batch of changes in Scenario 1 to avoid two consecutive releases with a breaking change to the API . I understand that this is not a negative discussion (I didn't take it as one), but it's still a discussion I find interesting |
Gabriel439
added
the
help wanted
label
Jun 8, 2018
f-f
added
the
error messages
label
Sep 16, 2018
This comment has been minimized.
This comment has been minimized.
|
@Gabriel439 you say:
Is this work on a branch anywhere that could be pushed for others to collaborate on? Or have things changed to the point where this is no longer a relevant issue? I forget what the error looks like - but I've probably got used to just reading the import hierarchy above! |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Cool with me! |
ocharles commentedJan 22, 2018
I know the error is in
empty-package.dhall, but I still have to go do some hunting. Having the line and column number would be much more useful.