From: Dibyendu Majumdar <mobile@majumdar.org.uk>
To: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Cc: Christopher Li <sparse@chrisli.org>,
Linus Torvalds <torvalds@linux-foundation.org>,
Ramsay Jones <ramsay@ramsayjones.plus.com>,
Sparse Mailing-list <linux-sparse@vger.kernel.org>
Subject: Re: [PATCH v6 00/15] prepare for LLVM fixes
Date: Fri, 31 Mar 2017 13:22:17 +0100 [thread overview]
Message-ID: <CACXZuxefyzvZvaVnzOb4mrSc6bTTHRu04Gy39YZhcii_PkyMwA@mail.gmail.com> (raw)
In-Reply-To: <CAMHZB6H9e8S_BPsXv8dVSnRStZVKHCZcf_cOtL4Yome4_U2Zwg@mail.gmail.com>
On 31 March 2017 at 13:19, Luc Van Oostenryck
<luc.vanoostenryck@gmail.com> wrote:
> On Fri, Mar 31, 2017 at 12:04 PM, Christopher Li <sparse@chrisli.org> wrote:
>> On Fri, Mar 31, 2017 at 5:25 PM, Luc Van Oostenryck
>> <luc.vanoostenryck@gmail.com> wrote:
>>> I understand perfectly that you're comfortable with your tools but I
>>> think you're
>>> overestimating them (remember how we had some patches that have been
>>> wrongly and silently been merged? It's scary as hell!) and hugely
>>> underestimating
>>
>> Well, I can try the git merge. On that case you bring up, it is a conflict
>> resolving. Even if I am using git merge I could still resolve the
>> conflict in the
>> wrong line order, because at that point and time, I don't think it matters.
>> Now I will not try to resolve it that way.
>
> Merge conflicts are fine, not a problem at all. The problem is if they are not
> detected or if, in the case we're talking about, the tools try to be too smart,
> use a too small context and apply a patch where it should never have been.
>
>>> Also, you must understand how unpractical your workflow is for others.
>>> Especially the fact that everything is always rebased, make things much
>>> more complicated than needed for my topics branches. The fact that often
>>
>> It is not always rebase. I don't do rebase for no reason.
>
> Of course, it's not what I meant.
> What I wanted to say is that since the patches are applied from email
> (via patchwork, quilt, git am, ... ) they necessarily have a different parent
> that they had on the developer side, thus a different history.
> While this is not really a problem for a few isolated patches,
> it becomes a problem when you're developing several series:
> the newer ones depending on the old ones.
> And the longer it takes for patches to reach the upstream tree,
> the more the dev tree and the official tree (can) diverge and when it
> accumulate, it create problems.
>
>> The often situation
>> is that, I applied a patch series. Then there is an update of the series which
>> change some patch in that series.
>
> IMO, the whole series need to be throwed away, awaiting for a new version
> of it.
>
>> I can totally using the git merge as interface to operate and make patch series
>> as my internal tool to review git commits. But that is not going to
>> get rid of rebase.
>> Rebase is because we want clean history.
>
> I'm not sure what you mean by "clean history" and what is the advantage.
> If you hate revert, and patches to correct others patches, I wholly understand
> I hate this also. It's why a serie would reach upstream when really finished,
> well tested and so one.
>
>> e.g. If you send me a git merge request for V4, then I merge it on spase-next.
>> Then you release V5 branch with clean up history. Then I drop V4 and merge
>> V5 on sparse-next. Is that more acceptable to you?
>>
>> We can try the merge with feature branch model and see how it goes.
>>
>>> you take patches in an order different that the submitted one doesn't help.
>>> And things like the mis-merge force me to rebase my branches to compare
>>> with what you have taken just to see if there wasn't another problem.
>>>
>>> Very inefficient for me and ultimately for you too, believe me. But well ...
>>
>> Let's try that. We can start with merge request.
>
> OK, I can resent everything properly for a pull request.
> Let me know exactly what you need/want.
>
>>>
>>> At least one thing that would already help a lot would be to limit the time
>>> between a patch is submitted and the one where it is in a stable tree
>>> (and sparse-next is not, certainly not its tip).
>>
>> The reason to have sparse-next for me is allow to have clean history
>> for master branch.
>>
>>> Also, I think that implicitly in Linus' message was that a maintainer, with
>>> limited time, should not have to play a bit with a patch and then move on
>>> to the next one.
>>
>> The actual time spend is on review and testing the patch. Simple apply
>> takes no time for me all. As I said, I can make the patch thing as internal
>> tool to help me review commits.
>
> Sure, I understand that.
>
> -- Luc
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2017-03-31 12:22 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-27 17:33 [PATCH v6 00/15] prepare for LLVM fixes Luc Van Oostenryck
2017-03-27 17:33 ` [PATCH v6 01/15] don't output value of anonymous symbol's pointer Luc Van Oostenryck
2017-03-27 17:33 ` [PATCH v6 02/15] add table to "negate" some opcode Luc Van Oostenryck
2017-03-31 10:30 ` Christopher Li
2017-03-31 19:18 ` Luc Van Oostenryck
2017-03-27 17:33 ` [PATCH v6 03/15] use opcode table for compare_opcode() Luc Van Oostenryck
2017-03-27 17:33 ` [PATCH v6 04/15] canonicalize binops before simplification Luc Van Oostenryck
2017-03-27 17:33 ` [PATCH v6 05/15] canonicalize compare instructions Luc Van Oostenryck
2017-03-27 17:33 ` [PATCH v6 06/15] add is_signed_type() Luc Van Oostenryck
2017-03-27 17:33 ` [PATCH v6 07/15] fix usage of inlined calls Luc Van Oostenryck
2017-03-27 17:33 ` [PATCH v6 08/15] inlined calls should not block BB packing Luc Van Oostenryck
2017-03-27 17:33 ` [PATCH v6 09/15] give function's arguments a type via OP_PUSH Luc Van Oostenryck
2017-03-27 17:34 ` [PATCH v6 10/15] insure that all OP_PUSHs are just before their OP_CALL Luc Van Oostenryck
2017-03-27 17:34 ` [PATCH v6 11/15] give a type to OP_PHISOURCEs Luc Van Oostenryck
2017-03-27 17:34 ` [PATCH v6 12/15] give a type to OP_SELs, always Luc Van Oostenryck
2017-03-27 17:34 ` [PATCH v6 13/15] give a type to OP_SWITCHs Luc Van Oostenryck
2017-03-27 17:34 ` [PATCH v6 14/15] add doc about sparse's instructions/IR Luc Van Oostenryck
2017-03-27 17:34 ` [PATCH v6 15/15] add support for wider type in switch-case Luc Van Oostenryck
2017-03-27 21:56 ` [PATCH v6 00/15] prepare for LLVM fixes Ramsay Jones
2017-03-27 22:22 ` Luc Van Oostenryck
2017-03-28 16:01 ` Ramsay Jones
2017-03-28 18:10 ` Linus Torvalds
2017-03-31 4:49 ` Christopher Li
2017-03-31 9:25 ` Luc Van Oostenryck
2017-03-31 10:04 ` Christopher Li
2017-03-31 12:19 ` Luc Van Oostenryck
2017-03-31 12:22 ` Dibyendu Majumdar [this message]
2017-03-31 12:24 ` Dibyendu Majumdar
2017-03-31 15:42 ` Christopher Li
2017-03-31 9:26 ` Christopher Li
2017-04-01 10:49 ` [GIT PULL v6] " Luc Van Oostenryck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CACXZuxefyzvZvaVnzOb4mrSc6bTTHRu04Gy39YZhcii_PkyMwA@mail.gmail.com \
--to=mobile@majumdar.org.uk \
--cc=linux-sparse@vger.kernel.org \
--cc=luc.vanoostenryck@gmail.com \
--cc=ramsay@ramsayjones.plus.com \
--cc=sparse@chrisli.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).