-
Notifications
You must be signed in to change notification settings - Fork 696
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
cabal v2-configure #7402
cabal v2-configure #7402
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On first pass, this is looking good.
I still don't understand what you need I'm 👎 on adding this command. |
Still, this #5591 was milestoned and re-milestoned a few times. That's not the same as approval, but quite unfortunate anyway if the issue doesn't make sense. The very fact that #5591 and #7180 are not cross-linked is very unfortunate as well, though understandable in a project of this size with no project managers and devs doing at once coding/management/design/troubleshooting/etc. |
You're suggesting to, instead of calling on a separate |
@ptkato I'm suggesting to not use |
@phadej I'm afraid I disagree. If i'm interfacing with other people's projects, and they have a fixed I'm curious to know why you think what you think, since it's not really clear from the issue you're citing, and it's not detailed anywhere in any issue. Right now, this MR is a cabal contributors worst nightmare: obscure comments from an issue from last year, not linked to the actual ticket, no comments on the actual ticket, and an immediate thumbs down from you. So, I'd like to hear why that is. |
@emilypi yes, your use case is valid. I simply write Your use case is scriptable modification of /to repeat/ From #5591,
But |
And addition, more often then not I add For optimizations likely there is short |
@phadej Alright, so correct me if I'm wrong, but the subtlety is this:
I think i see better now. I was wondering up above why we need to call |
I see, however the plans there are to change multiple behaviours, does the removal of the |
Hey, congrats on completing the PR. I was the least engaged (except for trolling users), but if others turn out too busy, I will gladly review. Re "Merging master", I don't want to be a rebase nazi, but would it be feasible to rebase instead of merging? I know with long running PRs and complex histories it's no longer easy to rebase, but perhaps here we can afford that luxury? |
9c98aac
to
1c527e7
Compare
Done. |
Yay, thank you. :) |
Actually, no, it might be good to leave those alone, since they will contextualise the later commits. |
Yep, I like dirty history, too, just not tangled history. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great @ptkato. Do you mind opening up an issue in conjunction with this PR for stripping the builds/rebuilds from configure? I think that's the only step I'd follow up with. Other than that, we're free to bikeshed whether --append
is the correct choice of name. personally, it makes sense, but i'd like to hear what others think.
PS: Let's get CI green.
About that, the way it is set up, it will add two commands for each one: |
0872989
to
79d6712
Compare
Just for the record, that sack of commits there is because I accidentally had one of the merge commits included in the rebase without noticing it. Now it is correct. |
Wait, is that so? I thought we were rebasing only the local changes, and then the PR itself would be merged into master. |
I'm fine with merging a series of commits, as long as they are fully rebased themselves (this is equivalent to Alternatively, would we get the same result if you, @ptkato, did |
FWIW, rebase and merge also doesn't leave a pointer to the original PRs in the git commit messages, so you are more or less forced to use GitHub UI to find which PR commit originated from. I'm not a fan, |
You are right, when the author does a manual OK, I think I was wrong suggesting to remove the github-merge option. If so, squash is probably fine, too. However, can we automatically warn the PR author when the branch is not fully rebased (or even block merging until then)? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but the overwrite
help needs fixing, or we could change the flag. Also some minor suggestions
79d6712
to
cde2293
Compare
cde2293
to
88bc93b
Compare
Regarding merge buttons, I've got a helpful suggestion on IRC and came up with a plan. Does it make sense? @fgaz, @emilypi, @ptkato, others?
|
This commit straightens the v2-configure command: * Removes the pre-build phase * Adds two flags, --append and --overwrite Co-authored-by: Emily Pillmore <[email protected]>
88bc93b
to
83f3a1e
Compare
There were no objections, so I've made the following changes to github settings: for master branch only "Require branches to be up to date before merging" and 2 reviews required (from 1) and globally again all 3 three merge buttons permitted (instead of one). At least the buttons are again active in this PR. |
Oh oops that didn't prompt for a comment. Well: Looks good, but I wonder if we should hide the new flags for other commands. eg. they don't make sense for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR fixes #5591 and also adds a few tests tov2-configure
andv2-reconfigure
both.After #7405, this PR now fixes #5591, fixes #7180, fixes #7411, and closes #7405, while also adding tests for this new implementation.
Please include the following checklist in your PR: