Skip to contentSkip to conversation

review request for counters for filters

DISCUSSION Barros Pena, Belen 6 participants 12 messages Mar 10, 2014 – Mar 17, 2014 1 message not in the archive

lore
Share & tools
lore
#0 lore raw
Quoted 8 lines · Ravi Chintakunta

I have pushed the implementation for adding counters to filters

https://bugzilla.yoctoproject.org/show_bug.cgi?id=5821

to my branch: ravi/bug-fixes

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=ravi/bug-
fixes&id=6da9e0124b2e749755714d8d8320cfd3d7884f5c

This is pretty neat functionality :) Just 2 tiny things:

* When the counter is 0, we are missing a space between the end of the option name and the opening parenthesis of the counter
* When the filter is applied on top of search results, we are missing ' ' around the search string

Quoted 4 lines

Please note that the counts for the filters in config variables is not adding up to the total count. Looks like there are config variables that are set in other files and that are not displayed as filter option.

Yed, this is indeed the case. Our "set in file" filters do not cover all the files where variables can be set. Also, a variable might be set by more than one file.

Cheers

Quoted 10 lines

Thanks,
Ravi

Signature · 4 lines
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster
#1 lore raw

Hi Belen,

Thanks for the quick review. I have pushed my changes to the ravi/bug-fixes branch.

-Ravi

Quoted 50 lines

-----Original Message-----
From: Barros Pena, Belen [mailto:[email protected]]
Sent: Monday, March 10, 2014 1:03 PM
To: Ravi Chintakunta; '[email protected]'
Subject: Re: [Toaster] review request for counters for filters

Quoted 7 lines · Ravi Chintakunta

I have pushed the implementation for adding counters to filters

https://bugzilla.yoctoproject.org/show_bug.cgi?id=5821

to my branch: ravi/bug-fixes

http://git.yoctoproject.org/cgit/cgit.cgi/poky-

contrib/commit/?h=ravi/bug-

Quoted 1 line

fixes&id=6da9e0124b2e749755714d8d8320cfd3d7884f5c

This is pretty neat functionality :) Just 2 tiny things:

* When the counter is 0, we are missing a space between the end of the option name and the opening parenthesis of the counter
* When the filter is applied on top of search results, we are missing ' '
around the search string

Quoted 2 lines

Please note that the counts for the filters in config variables is

not

Quoted 1 line

adding up to the total count. Looks like there are config variables

that

Quoted 1 line

are set in other files and that are not displayed as filter option.

Yed, this is indeed the case. Our "set in file" filters do not cover all
the files where variables can be set. Also, a variable might be set by more than one file.

Cheers

Quoted 10 lines

Thanks,
Ravi

--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

#2 lore raw
Quoted 4 lines · Ravi Chintakunta

Hi Belen,

Thanks for the quick review. I have pushed my changes to the ravi/bug-fixes branch.

Looking good for me.

Thanks!

Belén

Quoted 54 lines

-Ravi

Quoted 50 lines

-----Original Message-----
From: Barros Pena, Belen [mailto:[email protected]]
Sent: Monday, March 10, 2014 1:03 PM
To: Ravi Chintakunta; '[email protected]'
Subject: Re: [Toaster] review request for counters for filters

Quoted 7 lines · Ravi Chintakunta

I have pushed the implementation for adding counters to filters

https://bugzilla.yoctoproject.org/show_bug.cgi?id=5821

to my branch: ravi/bug-fixes

http://git.yoctoproject.org/cgit/cgit.cgi/poky-

contrib/commit/?h=ravi/bug-

Quoted 1 line

fixes&id=6da9e0124b2e749755714d8d8320cfd3d7884f5c

This is pretty neat functionality :) Just 2 tiny things:

* When the counter is 0, we are missing a space between the end of the option name and the opening parenthesis of the counter
* When the filter is applied on top of search results, we are missing ' '
around the search string

Quoted 2 lines

Please note that the counts for the filters in config variables is

not

Quoted 1 line

adding up to the total count. Looks like there are config variables

that

Quoted 1 line

are set in other files and that are not displayed as filter option.

Yed, this is indeed the case. Our "set in file" filters do not cover all
the files where variables can be set. Also, a variable might be set by more than one file.

Cheers

Quoted 10 lines

Thanks,
Ravi

--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

#3 lore raw

Process for review requests pushed to poky/contrib?

Hi Belen,

We now have a number of review requests that have passed your review.

1. Are you the person that will get them pushed to upstream (and/or via Paul and Alex)?

2. How do we (the developer) know when each one is pushed, so that we can move the state to RESOLVED? I need this state to know when to let my tester work on the validation.

(FYI, at Wind River the person who pushes to code to the upstream repo ia the one who moves those cases to RESOLVED to remove ambiguity of timing).

Just trying to move quickly and correctly through the backlog.

Thanks,
David

----- Original Message -----
From: Barros Pena, Belen [mailto:[email protected]]
Sent: Monday, March 10, 2014 11:03 AM
To: Ravi Chintakunta <[email protected]>; '[email protected]' <[email protected]>
Subject: Re: [Toaster] review request for counters for filters

Quoted 4 lines · Ravi Chintakunta

Hi Belen,

Thanks for the quick review. I have pushed my changes to the ravi/bug-fixes branch.

Looking good for me.

Thanks!

Belén

Quoted 54 lines

-Ravi

Quoted 50 lines

-----Original Message-----
From: Barros Pena, Belen [mailto:[email protected]]
Sent: Monday, March 10, 2014 1:03 PM
To: Ravi Chintakunta; '[email protected]'
Subject: Re: [Toaster] review request for counters for filters

Quoted 7 lines · Ravi Chintakunta

I have pushed the implementation for adding counters to filters

https://bugzilla.yoctoproject.org/show_bug.cgi?id=5821

to my branch: ravi/bug-fixes

http://git.yoctoproject.org/cgit/cgit.cgi/poky-

contrib/commit/?h=ravi/bug-

Quoted 1 line

fixes&id=6da9e0124b2e749755714d8d8320cfd3d7884f5c

This is pretty neat functionality :) Just 2 tiny things:

* When the counter is 0, we are missing a space between the end of the option name and the opening parenthesis of the counter
* When the filter is applied on top of search results, we are missing ' '
around the search string

Quoted 2 lines

Please note that the counts for the filters in config variables is

not

Quoted 1 line

adding up to the total count. Looks like there are config variables

that

Quoted 1 line

are set in other files and that are not displayed as filter option.

Yed, this is indeed the case. Our "set in file" filters do not cover all
the files where variables can be set. Also, a variable might be set by more than one file.

Cheers

Quoted 10 lines

Thanks,
Ravi

--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Signature · 4 lines
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster
#4 lore raw

Re: Process for review requests pushed to poky/contrib?

Hi David,

So FYI Alex is away today so I haven't talked to him about this yet, but our 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; if you don't already have the poky repository set up as a remote you'll need to add it with "git remote add"). However, I think it's worth us sticking to review of Toaster changes on this mailing list with one person gathering the various branches together and sending them for merging into BitBake.

2) The way we normally work, it's up to individual developer to notice when the patch has merged and set the bug status accordingly; pushes upstream are always done by Richard and if he had to do all the bug resolutions as well he probably wouldn't have time for anything else ;)

So I figure the immediate next step is for Alex or myself to collect the reviewed patches up onto a branch and submit it for merging to BitBake.

Cheers,
Paul

Quoted 96 lines · David

We now have a number of review requests that have passed your review.

1. Are you the person that will get them pushed to upstream (and/or via Paul and Alex)?

2. How do we (the developer) know when each one is pushed, so that we can move the state to RESOLVED? I need this state to know when to let my tester work on the validation.

(FYI, at Wind River the person who pushes to code to the upstream repo ia the one who moves those cases to RESOLVED to remove ambiguity of timing).

Just trying to move quickly and correctly through the backlog.

Thanks,
David

----- Original Message -----
From: Barros Pena, Belen [mailto:[email protected]]
Sent: Monday, March 10, 2014 11:03 AM
To: Ravi Chintakunta <[email protected]>; '[email protected]' <[email protected]> Subject: Re:
[Toaster] review request for counters for filters

On 10/03/2014 17:25, "Ravi Chintakunta" <[email protected]>

Quoted 4 lines · wrote:

Hi Belen,

Thanks for the quick review. I have pushed my changes to the ravi/bug-fixes branch.

Looking good for me.

Thanks!

Belén

Quoted 56 lines

-Ravi

Quoted 54 lines

-----Original Message-----
From: Barros Pena, Belen [mailto:[email protected]]
Sent: Monday, March 10, 2014 1:03 PM
To: Ravi Chintakunta; '[email protected]'
Subject: Re: [Toaster] review request for counters for filters

On 10/03/2014 16:41, "Ravi Chintakunta" <[email protected]>

Quoted 7 lines · wrote:

I have pushed the implementation for adding counters to filters

https://bugzilla.yoctoproject.org/show_bug.cgi?id=5821

to my branch: ravi/bug-fixes

http://git.yoctoproject.org/cgit/cgit.cgi/poky-> >>

contrib/commit/?h=ravi/bug-

Quoted 1 line

fixes&id=6da9e0124b2e749755714d8d8320cfd3d7884f5c

This is pretty neat functionality :) Just 2 tiny things:

* When the counter is 0, we are missing a space between the end of the option name and the opening parenthesis of the counter
* When the filter is applied on top of search results, we are missing ' '
around the search string

Quoted 1 line

Please note that the counts for the filters in config variables is

not

Quoted 1 line

adding up to the total count. Looks like there are config variables

that

Quoted 1 line

are set in other files and that are not displayed as filter option.

Yed, this is indeed the case. Our "set in file" filters do not cover all
the files where variables can be set. Also, a variable might be set by more than one file.

Cheers

Quoted 9 lines

Thanks,
Ravi

--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Quoted 5 lines

--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

---------------------------------------------------------------------
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.

#5 lore raw

Re: Process for review requests pushed to poky/contrib?

Hi Paul,

Quoted 3 lines

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 [email protected]:poky
  $ git pull
  $ # test with this repo
  $ # Making changes...
  $ git checkout -b <BRANCH_NAME>
  $ # edit files, add to commit
  $ git commit
  $ git push poky <BRANCH_NAME>

- David

Quoted 144 lines

-----Original Message-----
From: Paul Eggleton [mailto:[email protected]]
Sent: Monday, March 10, 2014 11:46 AM
To: Reyna, David
Cc: BARROS PENA, BELEN; '[email protected]'
Subject: Re: Process for review requests pushed to poky/contrib?

Hi David,

So FYI Alex is away today so I haven't talked to him about this yet, but our 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; if you don't already have the poky repository set up as a
remote you'll need to add it with "git remote add"). However, I think it's worth us sticking to review of Toaster changes on this mailing list with one person gathering the various branches together and sending them for merging into BitBake.

2) The way we normally work, it's up to individual developer to notice when the patch has merged and set the bug status accordingly; pushes upstream are always done by Richard and if he had to do all the bug resolutions as well he probably wouldn't have time for anything else ;)

So I figure the immediate next step is for Alex or myself to collect the reviewed patches up onto a branch and submit it for merging to BitBake.

Cheers,
Paul

Quoted 3 lines · David

We now have a number of review requests that have passed your review.

1. Are you the person that will get them pushed to upstream (and/or via

Paul

Quoted 93 lines

and Alex)?

2. How do we (the developer) know when each one is pushed, so that we can move the state to RESOLVED? I need this state to know when to let my tester work on the validation.

(FYI, at Wind River the person who pushes to code to the upstream repo ia the one who moves those cases to RESOLVED to remove ambiguity of timing).

Just trying to move quickly and correctly through the backlog.

Thanks,
David

----- Original Message -----
From: Barros Pena, Belen [mailto:[email protected]]
Sent: Monday, March 10, 2014 11:03 AM
To: Ravi Chintakunta <[email protected]>; '[email protected]' <[email protected]> Subject: Re:
[Toaster] review request for counters for filters

On 10/03/2014 17:25, "Ravi Chintakunta" <[email protected]>

Quoted 4 lines · wrote:

Hi Belen,

Thanks for the quick review. I have pushed my changes to the ravi/bug-fixes branch.

Looking good for me.

Thanks!

Belén

Quoted 56 lines

-Ravi

Quoted 54 lines

-----Original Message-----
From: Barros Pena, Belen [mailto:[email protected]]
Sent: Monday, March 10, 2014 1:03 PM
To: Ravi Chintakunta; '[email protected]'
Subject: Re: [Toaster] review request for counters for filters

On 10/03/2014 16:41, "Ravi Chintakunta" <[email protected]>

Quoted 7 lines · wrote:

I have pushed the implementation for adding counters to filters

https://bugzilla.yoctoproject.org/show_bug.cgi?id=5821

to my branch: ravi/bug-fixes

http://git.yoctoproject.org/cgit/cgit.cgi/poky-> >>

contrib/commit/?h=ravi/bug-

Quoted 1 line

fixes&id=6da9e0124b2e749755714d8d8320cfd3d7884f5c

This is pretty neat functionality :) Just 2 tiny things:

* When the counter is 0, we are missing a space between the end of the option name and the opening parenthesis of the counter
* When the filter is applied on top of search results, we are missing ' '
around the search string

Quoted 1 line

Please note that the counts for the filters in config variables is

not

Quoted 1 line

adding up to the total count. Looks like there are config variables

that

Quoted 1 line

are set in other files and that are not displayed as filter option.

Yed, this is indeed the case. Our "set in file" filters do not cover all
the files where variables can be set. Also, a variable might be set by more than one file.

Cheers

Quoted 9 lines

Thanks,
Ravi

--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Quoted 5 lines

--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

---------------------------------------------------------------------
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.

#6 lore raw

Re: Process for review requests pushed to poky/contrib?

Quoted 9 lines · David
Quoted 3 lines

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 [email protected]:poky

This won't work because you can't push to the poky repo (see below).

Quoted 1 line
  $ 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.

Quoted 5 lines
  $ # 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.

#8 lore raw

Re: Process for review requests pushed to poky/contrib?

In reply to a message not in the archive

On 11 March 2014 at 3:14:18 am, Paul Eggleton ([email protected]) wrote:

Quoted 9 lines · David
Quoted 3 lines

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 [email protected]:poky 

This won't work because you can't push to the poky repo (see below).

Quoted 1 line
$ 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

Quoted 5 lines
$ # 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
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

#12 lore raw
In reply to Barros Pena, Belen

And taken in for the submission

Quoted 75 lines · Belen
Quoted 4 lines · Ravi Chintakunta

Hi Belen,

Thanks for the quick review. I have pushed my changes to the ravi/bug-fixes branch.

Looking good for me.

Thanks!

Belén

Quoted 54 lines

-Ravi

Quoted 50 lines

-----Original Message-----
From: Barros Pena, Belen [mailto:[email protected]]
Sent: Monday, March 10, 2014 1:03 PM
To: Ravi Chintakunta; '[email protected]'
Subject: Re: [Toaster] review request for counters for filters

Quoted 7 lines · Ravi Chintakunta

I have pushed the implementation for adding counters to filters

https://bugzilla.yoctoproject.org/show_bug.cgi?id=5821

to my branch: ravi/bug-fixes

http://git.yoctoproject.org/cgit/cgit.cgi/poky-

contrib/commit/?h=ravi/bug-

Quoted 1 line

fixes&id=6da9e0124b2e749755714d8d8320cfd3d7884f5c

This is pretty neat functionality :) Just 2 tiny things:

* When the counter is 0, we are missing a space between the end of the option name and the opening parenthesis of the counter
* When the filter is applied on top of search results, we are missing ' '
around the search string

Quoted 2 lines

Please note that the counts for the filters in config variables is

not

Quoted 1 line

adding up to the total count. Looks like there are config variables

that

Quoted 1 line

are set in other files and that are not displayed as filter option.

Yed, this is indeed the case. Our "set in file" filters do not cover all
the files where variables can be set. Also, a variable might be set by more than one file.

Cheers

Quoted 10 lines

Thanks,
Ravi

--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Signature · 3 lines
Alex Damian
Yocto Project
SSG / OTC
#9 lore raw

Re: Process for review requests pushed to poky/contrib?

In reply to Amit Kumar Chaudhary
Quoted 10 lines · On Wednesday 12 March 2014 20:30:14 Amit Kumar Chaudhary wrote:

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
Quoted 7 lines
$ git fetch pokyorigin
$ git branch pokyorigin-master pokyorigin/master

make changes…

$ git push origin pokyorigin-master (or any other branch name)

There are a few problems with the above.

1) The branches that you push to the poky-contrib repository should be called <author>/<topic> e.g. paule/engine might be one of my branches.

2) git branch doesn't actually check out anything. Either you need to do a git checkout <branchname> afterwards, or alternatively use
git checkout -b <branchname> to create the branch and check it out in one step.

3) Going forward it's going to be a lot easier if everyone's remote called "origin" is pointing to the poky repository, and the "poky-contrib" remote points to the poky-contrib repository. To change your existing poky-contrib clone to be set up that way, you would run:

git remote set-url origin git://git.yoctoproject.org/poky
git remote add poky-contrib ssh://[email protected]/poky-contrib git fetch --all -p

Then, each time you start some new work:
1) git checkout origin/master -b <branchname>
2) ... make changes ...
3) git push poky-contrib <branchname>

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.

#10 lore raw

Re: Process for review requests pushed to poky/contrib?

In reply to Amit Kumar Chaudhary

Thanks Paul.

—amit

On 12 March 2014 at 10:07:09 pm, Paul Eggleton ([email protected]) wrote:

Quoted 10 lines · On Wednesday 12 March 2014 20:30:14 Amit Kumar Chaudhary wrote:

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
Quoted 7 lines
$ git fetch pokyorigin
$ git branch pokyorigin-master pokyorigin/master

make changes…

$ git push origin pokyorigin-master (or any other branch name)

There are a few problems with the above.

1) The branches that you push to the poky-contrib repository should be called <author>/<topic> e.g. paule/engine might be one of my branches.

2) git branch doesn't actually check out anything. Either you need to do a git checkout <branchname> afterwards, or alternatively use
git checkout -b <branchname> to create the branch and check it out in one step.

3) Going forward it's going to be a lot easier if everyone's remote called "origin" is pointing to the poky repository, and the "poky-contrib" remote points to the poky-contrib repository. To change your existing poky-contrib clone to be set up that way, you would run:

git remote set-url origin git://git.yoctoproject.org/poky
git remote add poky-contrib ssh://[email protected]/poky-contrib git fetch --all -p

Then, each time you start some new work:
1) git checkout origin/master -b <branchname>
2) ... make changes ...
3) git push poky-contrib <branchname>

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.

#11 lore raw

Re: Process for review requests pushed to poky/contrib?

Hi Paul,

Thank you for the details instructions.

I have successfully used them this week, and I have now updated the “Contribute_to_Toaster” wiki page to formally capture and share them.

- David

From: Amit Kumar Chaudhary [mailto:[email protected]]
Sent: Thursday, March 13, 2014 7:07 AM
To: EGGLETON, PAUL
Cc: Reyna, David; '[email protected]'
Subject: Re: [Toaster] Process for review requests pushed to poky/contrib?

Thanks Paul.

—amit

On 12 March 2014 at 10:07:09 pm, Paul Eggleton ([email protected]<mailto:[email protected]>) wrote:

Quoted 10 lines · On Wednesday 12 March 2014 20:30:14 Amit Kumar Chaudhary wrote:

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
Quoted 7 lines
$ git fetch pokyorigin
$ git branch pokyorigin-master pokyorigin/master

make changes…

$ git push origin pokyorigin-master (or any other branch name)

There are a few problems with the above.

1) The branches that you push to the poky-contrib repository should be called <author>/<topic> e.g. paule/engine might be one of my branches.

2) git branch doesn't actually check out anything. Either you need to do a git checkout <branchname> afterwards, or alternatively use
git checkout -b <branchname> to create the branch and check it out in one step.

3) Going forward it's going to be a lot easier if everyone's remote called "origin" is pointing to the poky repository, and the "poky-contrib" remote points to the poky-contrib repository. To change your existing poky-contrib clone to be set up that way, you would run:

git remote set-url origin git://git.yoctoproject.org/poky
git remote add poky-contrib ssh://[email protected]/poky-contrib git fetch --all -p

Then, each time you start some new work:
1) git checkout origin/master -b <branchname>
2) ... make changes ...
3) git push poky-contrib <branchname>

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.