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
Minor parseint refactoring, tweaks #684
Conversation
👍 |
This was one minor line in a 700 line pull request where no mention was made of the major enhancement it was part of, design decisions, architecture, performance, border-cases, use-cases, or even the overarching issue of prioritizing this over other issues. No - at the minimum 2-3 man hours were dedicated to the use of a ternary operator that parses a string. I'm not sure why you two believe I might not think about these things or have reasons for them. I'm not sure why these changes were considered necessary or wise. Nicola and Dannon - respectfully - please try to decrease the amount of stylistic changes/requests on my pull requests. I do not find them useful and their improvements to Galaxy are debatable. I'm fine if you want me to fix bugs, add docs/comments, etc. But, as far as I'm aware, the pull request system is meant to find bugs before they're committed and keep everyone aware of changes (since we don't use roadmaps and have no means of planning/coordination/division-of-labor) - not prevent commits by committers because reviewers think it should be done their way instead. Is there a way we can do that and keep things moving, please? |
@carlfeberhard Don't single me out regarding stylistic changes on your pull requests -- I separated this from your pull request and opened it as a separate PR, and merged your existing PR specifically to avoid this preventing of commits that you're worried about. If you look at the other PR, I actually backed up the way you wrote it and said it did work. I did the exact opposite of what you're complaining about. That said, since we should all be treating this as a completely separate PR and not getting bent out of shape over one that's already been merged -- I'll look at the issues you've raised. |
Thanks for the pointer on |
@carlfeberhard I've reviewed only the (small) Python part of your PR because I'm not a JavaScript expert. I cannot see how the review system is preventing your commits: the average time needed to merge your last 10 PRs is around 2 days, which includes the time spent reviewing, discussing and fixing any concern. On the other end, I cannot find any review or comment from you on the last 25 closed PRs from other people. I'm sorry you do not appreciate the time we spend reviewing other people's PR, in particular how difficult it is to correctly understand their code. Even what you consider "stylistic changes" may reveal bugs or prevent new bugs in the future.
Please use GitHub comments for technical discussion, not personal accusations. I have never thought anything like that. Your code is of the highest quality, but that does not mean it has no bugs or cannot be improved. |
@dannon does this now accept 'limit=None' to load all histories? |
TLDR: I feel as though the request has only made things more difficult so I apologize (to both of you) for the language. Feel free to do what you feel is right and I’ll do mine. I've tried to make the language in this comment more neutral without completely losing my point/authenticity. I’ll put this out there: I do not believe this system works - at least not how we’ve implemented it. We only implement the ‘filter-by-committee’ at the end of everyone’s development without any coordination up front (even simple roadmaps) or clear areas of responsibility (a la Mozilla modules, etc.). Is there some other well-established project out there that has this review system and is making it work? I would like to see how they do it. Too Short; Give Me More: Some people may find stylistic feedback valuable - that’s fine and I don’t speak for them. I have and would to continue to as well if I felt like I could:
re: bugs re: my PRs: re: my pr reviews:
re: respect p.s. how _in the world_ is 2 days reasonable for a commit of ~300 lines? |
@carlfeberhard I'm mostly out today, but I'll try to get the extra change pushed up allowing None. Because we'd like to support both "None" and a default with this method, I'll add a simple flag to do that. Please don't take proposed improvements to code as criticism in any way, this was the point of the separate PR -- they're just that, proposed improvements to the codebase as a whole. You submitted a really nice PR that made mutli-history usable for a lot of people, and that's a great thing. It worked, and I merged it. Along the way, I saw an opportunity to take a method attached to a controller that also used a little bit of special logic to work around an edge case and refactor it; put it in util, expand on it a little to include the ternary case, and make it reusable in other situations. While you're right in that it isn't a 'necessary' functional change to make it work, we do this all the time when refactoring and that's also a good thing. |
@carlfeberhard "None" and exception raising implemented in latest commit. I'm not going to get into it here, but I'd really like for our review system to act as an anti-silo'er. Getting a different set of eyes on your code is the whole point, so please do review code from other areas of the project. Our project is not so large that we can afford to really segment who reviews what. |
Minor parseint refactoring, tweaks
Followup to #676 commentary, ping @nsoranzo @carlfeberhard