-
Notifications
You must be signed in to change notification settings - Fork 26
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
What is your version support policy? #123
Comments
I think @sol or @joachifm can answer that better. I'm mostly involved in maintaining this package for xmonad-extras depenendencies! Can something like this be done: Introduce the functionality in a separate function and do a version check at runtime: https://hackage.haskell.org/package/libmpd-0.9.1.0/docs/Network-MPD-Core.html#v:getVersion and use the appropriate functions ? |
If the changes do not affect existing users (adding new commands or constructors), I think it's fine to add them even if they would fail if a user were to run them against an unsupported MPD instance (provided the version requirement was documented). Changes that break existing users are generally unacceptable at this point without a major version bump (maybe even forking the name, as in "libmpd2" or something like that). IMO, doers should be deciders so I'm happy to leave this to people interested in doing the work, with the proviso that existing users are not broken willy nilly. |
I think I actually might be able to implement this in a backwards compatible way by changing If this doesn't work, I can either create a separate At any rate, I'll try sending a MR implementing this sometime in the next month or so, depending on free time etc. |
MPD version 0.21 has introduced filters and groups as a way to have more finely tuned metadata requests. I would like to send a MR that implements support the new commands, but it would require bumping the mpd version requirement significantly, or at least introducing
listOld
type commands for the older versions. What do you think is the best way to do this?The text was updated successfully, but these errors were encountered: