All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: Jacob Stiffler <j-stiffler@ti.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: [PATCH 1/2] ti-sysbios: Add version 6.41.04.54.
Date: Tue, 28 Jul 2015 15:11:39 -0400	[thread overview]
Message-ID: <20150728191139.GJ1040@edge> (raw)
In-Reply-To: <55B79CCC.70604@ti.com>

Jake,

Let me try to simplify... In order to efficiently review patches, I need to 
see the changes between the versions. There are 2 ways to do that:

1. Rename recipe to the new name (git-mv) and make the necessary changes. Then 
git-format-patch a single patch which will only have the actual changes.
This is a preferred way to do version upgrades if you don't need to keep old 
version around and maintain multple versions of the same recipe/component.

2. If you want, you can still do it in 2 patches - add new and remove old one. 
BUT, you should git-format-patch the first one with -C --find-copies-harder 
flags, so it would make the patch with new version *as a diff* against the old 
one, not a completely new one.

Since you already have this version upgrade as 2 commits, you don't need to 
rebase and squash them, just git-format-patch again with correct flags and 
resubmit. Thanks.

-- 
Denys


On Tue, Jul 28, 2015 at 11:16:28AM -0400, Jacob Stiffler wrote:
> Denys,
> 
> Were these not in the correct order? Add new version first, then
> remove the old version, correct?
> 
> Do you want me to resubmit these patch sets??
> 
> - Jake
> 
> On 7/9/2015 7:21 PM, Denys Dmytriyenko wrote:
> >Jake,
> >
> >I think that was one of the long standing confusion - back in OpenEmbedded
> >Classic days removing old version wasn't safe, as it could break someone
> >else's build. So, people were advised to add new version they wanted, but send
> >a separate patch that deleted the old one. If there was someone who used that
> >specific old version, they could object to the second patch. That's why there
> >used to be multiple versions of the same recipes all over the place. Now, with
> >OpenEmbedded Core and the Yocto Project, the normal policy is to keep a single
> >version of each recipe, where possible. Hence, updating recipe version is
> >better done in a single patch, as it allows tracking recipe changes across
> >versions with git log --follow flag. Other than that, I don't remember any
> >other reason why would you want to do a version update in 2 separate patches.
> >My position was always less strict - if you want 2 patches, then at least send
> >them in right order, plus using -C --find-copies-harder flags would help with
> >review, as it wouldn't look like 100% new file...
> >
> 


      reply	other threads:[~2015-07-28 19:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-07 12:29 [PATCH 1/2] ti-sysbios: Add version 6.41.04.54 Jacob Stiffler
2015-07-07 12:29 ` [PATCH 2/2] ti-sysbios: Remove version 6.41.02.41 Jacob Stiffler
2015-07-07 20:59 ` [PATCH 1/2] ti-sysbios: Add version 6.41.04.54 Denys Dmytriyenko
2015-07-08 10:51   ` Jacob Stiffler
2015-07-09 23:21     ` Denys Dmytriyenko
2015-07-28 15:16       ` Jacob Stiffler
2015-07-28 19:11         ` Denys Dmytriyenko [this message]

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=20150728191139.GJ1040@edge \
    --to=denys@ti.com \
    --cc=j-stiffler@ti.com \
    --cc=meta-ti@yoctoproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.