-
Notifications
You must be signed in to change notification settings - Fork 256
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
Fix broken CLI dependency open
#498
Conversation
Hi @flying-sheep! Thanks for updating. I pin intentionally because otherwise software breaks in weird and wonderful ways at surprising cadences. Semver is great in theory, but in practice I've seen all sorts of things break during minor or patch versions If you update this PR to pin to a newer version instead, I'm happy to accept that. |
Oh, but this PR so far didn‘t even go for semver. I used This bug is an ideal example of there being no right answer:
So I think using the semver and setting up dependabot to bump |
Respectfully, this is not how I choose to maintain my project. For other projects and other maintainers, the workflows you describe may be ideal. For my own personal preferences in terms of dealing with things changing without me making any code changes, and in terms of avoiding dealing with the noisiness of things from dependabot, I'd prefer to continue pinning dependencies. I hear you that, in this particular case, pinning caused this tool to break for you. But in the 7 years this project has been running, this is the first time that pinning has caused a breakage. So, as I originally said, I'd be happy to merge this change with an exact version pin |
OK, done |
Thank you! |
@flying-sheep Is this change working for you? After merging your change, I tested it as follows:
This runs through a process similar to a full npm publish & install procedure, but without actually publishing to npm. Then I switched into the directory it created, and ran
This makes sense to me. When I look at the documentation for open, it says the following:
And indeed our So that suggests to me that this change requires additional changes, not just bumping a dependency. I'm going to revert the change for now. If you're interested in updating this PR to resolve this problem, let me know. |
I relied on you having CI for your CLI … Could you add that so I can try again? |
That old
open
version is very broken on my system, this should make sure that it is and stays up-to-date.Seems like it’s less disruptive to use any
open
version instead of pinning old ones forever.