[Toaster] Process for review requests pushed to poky/contrib?
Amit Kumar Chaudhary
amit at floatingpondtech.com
Wed Mar 12 08:00:14 PDT 2014
On 11 March 2014 at 3:14:18 am, Paul Eggleton (paul.eggleton at intel.com) wrote:
On Monday 10 March 2014 19:07:23 Reyna, David wrote:
> > thinking on this is that we'll stop using toaster/master from now on, with
> > people basing their work on poky master instead (note, this is *not*
> > poky-contrib master;
>
> To be absolutely sure, this is the new process in detail?
>
> $ git clone git://git.yoctoproject.org/poky
> $ cd poky
> $ git remote set-url poky git at git.yoctoproject.org:poky
This won't work because you can't push to the poky repo (see below).
> $ git pull
You don't need this either. In fact you don't actually need to clone to a new
directory at all - just use "git remote set-url" / "git remote add" as
appropriate to set up the poky remote in your existing clone. Personally I
have "origin" pointing to poky and "contrib" pointing to poky-contrib, but you
can do it differently if you prefer.
Here is what I understood from the discussion. For setting up correctly to push to poky-contrib and basing the code on poky/master, I need to do the following.
I already had poky-contrib cloned, so I just setup poky in it.
$ cd poky-contrib
$ git remote add pokyorigin git://git.yoctoproject.org/poky
$ git fetch pokyorigin
$ git branch pokyorigin-master pokyorigin/master
make changes…
$ git push origin pokyorigin-master (or any other branch name)
—amit
> $ # Making changes...
> $ git checkout -b <BRANCH_NAME>
> $ # edit files, add to commit
> $ git commit
> $ git push poky <BRANCH_NAME>
You cannot push to the poky repository - you need to continue to push to
poky-contrib.
Cheers,
Paul
---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
--
_______________________________________________
toaster mailing list
toaster at yoctoproject.org
https://lists.yoctoproject.org/listinfo/toaster
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20140312/ac924958/attachment-0001.html>
More information about the toaster
mailing list