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
RF: make publish understand --since=^ and deprecate --since= #4683
Conversation
I have no objections to making However, I really don't think we should introduce deprecations on maint unless we have a very strong reason to. In this case, I think publish should just learn to treat '^' as another spelling of ''. Continuing to support the latter has virtually no maintenance cost.
It shouldn't be. We haven't deprecated it yet, so that'd be at least 0.16. |
Re no maintenance cost - there is UX cost due to more than one way to do the same, confusion etc. I wish I just did it for 0.13, where it would have been right in place.. heh heh... Also iirc now there is datalad diff which might need the same (didn't check) |
Yes, ideally an interface wouldn't have multiple ways to say the same thing. But in this case the tradeoff is that it allows consistency between |
it wouldn't be "consistent" unless we also allow empty string for |
To reword my statement in a less sloppy, context-dependent way: "it allows users to consistently say --since=^ across
I disagree. I'll leave it at that, since I'd just repeat my statements from above. |
@bpoldrack @mih @adswa , any opinion? Deprecate or not --since= in publish? |
I find @kyleam's argument convincing. |
Removed deprecation. |
Codecov Report
@@ Coverage Diff @@
## maint #4683 +/- ##
==========================================
- Coverage 89.92% 89.65% -0.28%
==========================================
Files 288 288
Lines 40158 40359 +201
==========================================
+ Hits 36114 36184 +70
- Misses 4044 4175 +131
Continue to review full report at Codecov.
|
Positioned against
maint
sincepublish
topush
(although ENH(UX): explicitly disallow empty string for --since in push #4682 would also help) so I could just use--since=^
in bothWho knows, may be in 0.15 the entire
publish
would be gone...