public inbox for cip-dev@lists.cip-project.org
 help / color / mirror / Atom feed
From: daniel.sangorrin@toshiba.co.jp (Daniel Sangorrin)
To: cip-dev@lists.cip-project.org
Subject: [cip-dev] How to develop on the RT version
Date: Thu, 22 Feb 2018 11:22:06 +0900	[thread overview]
Message-ID: <002001d3ab83$ef280840$cd7818c0$@toshiba.co.jp> (raw)
In-Reply-To: SG2PR06MB1165F30CAFCC145F81AE021E8AF20@SG2PR06MB1165.apcprd06.prod.outlook.com



> -----Original Message-----
> From: Daniel Sangorrin [mailto:daniel.sangorrin at toshiba.co.jp]
> Sent: Thursday, February 22, 2018 11:19 AM
> To: 'Chris Brandt' <Chris.Brandt@renesas.com>; 'cip-dev at lists.cip-project.org' <cip-dev@lists.cip-project.org>
> Subject: RE: [cip-dev] How to develop on the RT version
> 
> Hi Chris,
> 
> > -----Original Message-----
> > From: cip-dev-bounces at lists.cip-project.org [mailto:cip-dev-bounces at lists.cip-project.org] On Behalf Of Chris Brandt
> > Sent: Friday, February 09, 2018 11:37 PM
> > To: cip-dev at lists.cip-project.org
> > Subject: [cip-dev] How to develop on the RT version
> >
> > Hello CIP members,
> >
> > As I look at the git repository, there are multiple PREEMPT_RT branches:
> >
> >  * linux-4.4.y-cip-rt-rebase
> >  * linux-4.4.y-cip-rt
> >  * linux-4.4.y-cip-rt-patches
> >
> > I'm trying to understand if I want to develop a product using RT, what branch should I be tracking and pulling into my local git repo?
> 
> This one: linux-4.4.y-cip-rt
> 
> > I would think that locally, I would have some git repository that I will pull from CIP and merge into my own tree. I would also be
> > pushing that to some local server to share with the other team members in my group.
> >
> > Therefore, the 'rebase' thing doesn't make sense to me because if you are pushing a rebased tree, that means you are changing the
> > existing parent history and doing a simple 'git pull' doesn't work so well (like what you have with the linux-next tree).
> 
> The rebase branch is something complimentary, the maintainer may decide not to prepare it (the same with the patches).
> # The rebase branch might useful to see clearly which patches come from the cip kernel and which ones are from PREEMPT RT.
> 
> > Do I just fetch and merge from 'linux-4.4.y-cip-rt' periodically as I develop my product, and that will play nicely with the local commits
> > that I am also making and pushing locally to my repository?
> 
> That should work unless your local commits create some conflict. You can also rebase your local commits at the same time so that you
> have them on the top of the git log for convenience.

Of course, if you rebase the local changes, your team will have to do a hard reset after fetching the new changes.

> 
> Thank you,
> Daniel
> 

      parent reply	other threads:[~2018-02-22  2:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-09 14:37 [cip-dev] How to develop on the RT version Chris Brandt
2018-02-22  2:19 ` Daniel Sangorrin
2018-02-22  2:36   ` Chris Brandt
2018-02-22 14:58     ` Daniel Wagner
2018-02-22 15:41       ` Chris Brandt
2018-02-22  2:22 ` Daniel Sangorrin [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='002001d3ab83$ef280840$cd7818c0$@toshiba.co.jp' \
    --to=daniel.sangorrin@toshiba.co.jp \
    --cc=cip-dev@lists.cip-project.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