-
Notifications
You must be signed in to change notification settings - Fork 346
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
The quiet ignoring of deprecated GMT 4 options #3456
Comments
As the NTPsec folks put it, We have deliberately jettisoned support for ancient legacy hardware and operating systems in order to ship code that is security-hardened, simpler, drastically less bulky, easier to understand, and easier to maintain. Maybe, at one point, is it necessary to force people into entering the new millennium. |
Yes, perhaps we can get some ear plugs to avoid listening to the screaming and kicking. |
Compatibility with old syntax makes the codes bigger and more difficult to read and maintain, especially for new developers/contributors. I think we can improve the deprecation warnings like:
Before releasing GMT 6.X.0, we then can remove the old backward compatibility codes. |
This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions. |
Major options in GMT have changed over time . This annoys long-time users so we only make such changes when we must, and we have let the "old ways" be allowed for quite some time now (GMT 5 was released in 2013). There seems to be several types of compatibilities:
"Option -C for mode-vector(s) is deprecated; use -E instead."
. However, it is only printed if the compatibility level is 5.So those with long memory will remember that -F used to set pixel grid registration (currently -r), -S used to set 2-d spline boundary conditions (currently -n), -Z set 3-D z-level (now in -p), -E set perspective view (-p), -m told GMT 4 to expect a multi-segment file (now automatic). With the GMT_COMPATIBILITY = 4 stuck as is forever, no message at all may be given (e.g., #3455). I have to do this to get an error:
Note that the check here is crazy since blockmedian never had a -S but it gets caught up in the common option parsing. I also seem to remember that we pushed the GMT_MSG_COMPAT verbose warning down the list so as not to annoy people. Yes, adding -Vc to the blockmedian call gives no error, so that part is broken I guess.
We need to make some changes. Here is a list of possibilities:
Feedback please, @GenericMappingTools/core.
The text was updated successfully, but these errors were encountered: