All of lore.kernel.org
 help / color / mirror / Atom feed
* V2: [review-request] dreyna/PACKAGE_CLASSES_current_value_7448
@ 2015-03-22  8:43 Reyna, David
  2015-03-24 12:31 ` Barros Pena, Belen
  0 siblings, 1 reply; 3+ messages in thread
From: Reyna, David @ 2015-03-22  8:43 UTC (permalink / raw)
  To: BARROS PENA, BELEN; +Cc: toaster

Hi Belén,

I have tested, rebased, and pushed your suggested changes.

    dreyna/PACKAGE_CLASSES_current_value_7448

- David


> -----Original Message-----
> From: Barros Pena, Belen [mailto:belen.barros.pena@intel.com]
> Sent: Friday, March 20, 2015 4:05 AM
> To: Reyna, David
> Cc: toaster@yoctoproject.org
> Subject: Re: [Toaster] [review-request]
> dreyna/PACKAGE_CLASSES_current_value_7448
> 
> 
> 
> On 19/03/2015 16:21, "Reyna, David" <david.reyna@windriver.com> wrote:
> 
> >> This is not working for me.
> >
> >Hmm.
> >
> >I had found that extra "#" characters were causing syntax errors. Do you
> >see that patch change in your code?
> 
> Yes: it is there.
> 
> Playing with it a bit, I realised that this was not related to the
> package_rpm value. The value would never be picked up the first time you
> clicked the 'change' button after loading the page, but I am not sure why.
> 
> I rewrote the function using exactly the same logic but with jQuery syntax
> and the prop() function to set the selected option in the dropdown menu,
> and it seems to be working for me now. The patch is here:
> 
> http://git.yoctoproject.org/cgit/cgit.cgi/poky-
> contrib/commit/?h=bbarrosp/p
> ackage-classes&id=0bc50d425e52a66216ef97087f019c654f2fce4d
> 
> Now, there might be a much better way of doing this. I wouldn't know.
> 
> The other thing I've noticed is that your branch still has the typo
> 'package_dev' (it should be package_deb). The typo is fixed in current
> master, so I'd say you'll need to rebase before resubmitting for review.
> 
> Cheers
> 
> Belén
> 
> 
> >
> >diff --git a/bitbake/lib/toaster/toastergui/templates/projectconf.html
> >b/bitbake/lib/toaster/toastergui/templates/projectconf.html
> >index c994f31..5873395 100644
> >--- a/bitbake/lib/toaster/toastergui/templates/projectconf.html
> >+++ b/bitbake/lib/toaster/toastergui/templates/projectconf.html
> >@@ -702,8 +702,8 @@
> >if (0 == value.indexOf("package_rpm")) {
> >$('select').selectedIndex = 2;
> >updatePackageClassCheckboxes();
> >- if (0 < value.indexOf("package_dev"))
> >{document.getElementById("#package_class_1_input").checked = true;};
> >- if (0 < value.indexOf("package_ipk"))
> >{document.getElementById("#package_class_2_input").checked = true;};
> >+ if (0 < value.indexOf("package_dev"))
> >{document.getElementById("package_class_1_input").checked = true;};
> >+ if (0 < value.indexOf("package_ipk"))
> >{document.getElementById("package_class_2_input").checked = true;};
> >}
> >});
> >
> >- David
> >
> >> -----Original Message-----
> >> From: Barros Pena, Belen [mailto:belen.barros.pena@intel.com]
> >> Sent: Thursday, March 19, 2015 5:57 AM
> >> To: Reyna, David; DAMIAN, ALEXANDRU
> >> Cc: toaster@yoctoproject.org
> >> Subject: Re: [Toaster] [review-request]
> >> dreyna/PACKAGE_CLASSES_current_value_7448
> >>
> >>
> >>
> >> On 18/03/2015 01:59, "Reyna, David" <david.reyna@windriver.com> wrote:
> >>
> >> >Hi Belén,
> >> >
> >> >A simple fix for 7448 ³PACKAGE_CLASSES variable does not show current
> >> >value when editing²:
> >> >
> >> >    dreyna/PACKAGE_CLASSES_current_value_7448
> >>
> >> This is not working for me. When the value is set to package_rpm, I
> >>still
> >> see package_deb selected in the dropdown menu when I click the 'change'
> >> icon.
> >>
> >> Cheers
> >>
> >> Belén
> >>
> >> >
> >> >- David
> >> >
> >> >
> >>
> >
> 



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: V2: [review-request] dreyna/PACKAGE_CLASSES_current_value_7448
  2015-03-22  8:43 V2: [review-request] dreyna/PACKAGE_CLASSES_current_value_7448 Reyna, David
@ 2015-03-24 12:31 ` Barros Pena, Belen
  2015-03-24 17:50   ` Damian, Alexandru
  0 siblings, 1 reply; 3+ messages in thread
From: Barros Pena, Belen @ 2015-03-24 12:31 UTC (permalink / raw)
  To: Reyna, David L (Wind River); +Cc: toaster



On 22/03/2015 08:43, "Reyna, David" <david.reyna@windriver.com> wrote:

>Hi Belén,
>
>I have tested, rebased, and pushed your suggested changes.
>
>    dreyna/PACKAGE_CLASSES_current_value_7448

So I guess this is ready to submit, then.

Thanks!

Belén

>
>- David
>
>
>> -----Original Message-----
>> From: Barros Pena, Belen [mailto:belen.barros.pena@intel.com]
>> Sent: Friday, March 20, 2015 4:05 AM
>> To: Reyna, David
>> Cc: toaster@yoctoproject.org
>> Subject: Re: [Toaster] [review-request]
>> dreyna/PACKAGE_CLASSES_current_value_7448
>>
>>
>>
>> On 19/03/2015 16:21, "Reyna, David" <david.reyna@windriver.com> wrote:
>>
>> >> This is not working for me.
>> >
>> >Hmm.
>> >
>> >I had found that extra "#" characters were causing syntax errors. Do
>>you
>> >see that patch change in your code?
>>
>> Yes: it is there.
>>
>> Playing with it a bit, I realised that this was not related to the
>> package_rpm value. The value would never be picked up the first time you
>> clicked the 'change' button after loading the page, but I am not sure
>>why.
>>
>> I rewrote the function using exactly the same logic but with jQuery
>>syntax
>> and the prop() function to set the selected option in the dropdown menu,
>> and it seems to be working for me now. The patch is here:
>>
>> http://git.yoctoproject.org/cgit/cgit.cgi/poky-
>> contrib/commit/?h=bbarrosp/p
>> ackage-classes&id=0bc50d425e52a66216ef97087f019c654f2fce4d
>>
>> Now, there might be a much better way of doing this. I wouldn't know.
>>
>> The other thing I've noticed is that your branch still has the typo
>> 'package_dev' (it should be package_deb). The typo is fixed in current
>> master, so I'd say you'll need to rebase before resubmitting for review.
>>
>> Cheers
>>
>> Belén
>>
>>
>> >
>> >diff --git a/bitbake/lib/toaster/toastergui/templates/projectconf.html
>> >b/bitbake/lib/toaster/toastergui/templates/projectconf.html
>> >index c994f31..5873395 100644
>> >--- a/bitbake/lib/toaster/toastergui/templates/projectconf.html
>> >+++ b/bitbake/lib/toaster/toastergui/templates/projectconf.html
>> >@@ -702,8 +702,8 @@
>> >if (0 == value.indexOf("package_rpm")) {
>> >$('select').selectedIndex = 2;
>> >updatePackageClassCheckboxes();
>> >- if (0 < value.indexOf("package_dev"))
>> >{document.getElementById("#package_class_1_input").checked = true;};
>> >- if (0 < value.indexOf("package_ipk"))
>> >{document.getElementById("#package_class_2_input").checked = true;};
>> >+ if (0 < value.indexOf("package_dev"))
>> >{document.getElementById("package_class_1_input").checked = true;};
>> >+ if (0 < value.indexOf("package_ipk"))
>> >{document.getElementById("package_class_2_input").checked = true;};
>> >}
>> >});
>> >
>> >- David
>> >
>> >> -----Original Message-----
>> >> From: Barros Pena, Belen [mailto:belen.barros.pena@intel.com]
>> >> Sent: Thursday, March 19, 2015 5:57 AM
>> >> To: Reyna, David; DAMIAN, ALEXANDRU
>> >> Cc: toaster@yoctoproject.org
>> >> Subject: Re: [Toaster] [review-request]
>> >> dreyna/PACKAGE_CLASSES_current_value_7448
>> >>
>> >>
>> >>
>> >> On 18/03/2015 01:59, "Reyna, David" <david.reyna@windriver.com>
>>wrote:
>> >>
>> >> >Hi Belén,
>> >> >
>> >> >A simple fix for 7448 ³PACKAGE_CLASSES variable does not show
>>current
>> >> >value when editing²:
>> >> >
>> >> >    dreyna/PACKAGE_CLASSES_current_value_7448
>> >>
>> >> This is not working for me. When the value is set to package_rpm, I
>> >>still
>> >> see package_deb selected in the dropdown menu when I click the
>>'change'
>> >> icon.
>> >>
>> >> Cheers
>> >>
>> >> Belén
>> >>
>> >> >
>> >> >- David
>> >> >
>> >> >
>> >>
>> >
>>
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: V2: [review-request] dreyna/PACKAGE_CLASSES_current_value_7448
  2015-03-24 12:31 ` Barros Pena, Belen
@ 2015-03-24 17:50   ` Damian, Alexandru
  0 siblings, 0 replies; 3+ messages in thread
From: Damian, Alexandru @ 2015-03-24 17:50 UTC (permalink / raw)
  To: Barros Pena, Belen; +Cc: toaster

[-- Attachment #1: Type: text/plain, Size: 4349 bytes --]

Taken for submission,

Thank you,
Alex

On Tue, Mar 24, 2015 at 12:31 PM, Barros Pena, Belen <
belen.barros.pena@intel.com> wrote:

>
>
> On 22/03/2015 08:43, "Reyna, David" <david.reyna@windriver.com> wrote:
>
> >Hi Belén,
> >
> >I have tested, rebased, and pushed your suggested changes.
> >
> >    dreyna/PACKAGE_CLASSES_current_value_7448
>
> So I guess this is ready to submit, then.
>
> Thanks!
>
> Belén
>
> >
> >- David
> >
> >
> >> -----Original Message-----
> >> From: Barros Pena, Belen [mailto:belen.barros.pena@intel.com]
> >> Sent: Friday, March 20, 2015 4:05 AM
> >> To: Reyna, David
> >> Cc: toaster@yoctoproject.org
> >> Subject: Re: [Toaster] [review-request]
> >> dreyna/PACKAGE_CLASSES_current_value_7448
> >>
> >>
> >>
> >> On 19/03/2015 16:21, "Reyna, David" <david.reyna@windriver.com> wrote:
> >>
> >> >> This is not working for me.
> >> >
> >> >Hmm.
> >> >
> >> >I had found that extra "#" characters were causing syntax errors. Do
> >>you
> >> >see that patch change in your code?
> >>
> >> Yes: it is there.
> >>
> >> Playing with it a bit, I realised that this was not related to the
> >> package_rpm value. The value would never be picked up the first time you
> >> clicked the 'change' button after loading the page, but I am not sure
> >>why.
> >>
> >> I rewrote the function using exactly the same logic but with jQuery
> >>syntax
> >> and the prop() function to set the selected option in the dropdown menu,
> >> and it seems to be working for me now. The patch is here:
> >>
> >> http://git.yoctoproject.org/cgit/cgit.cgi/poky-
> >> contrib/commit/?h=bbarrosp/p
> >> ackage-classes&id=0bc50d425e52a66216ef97087f019c654f2fce4d
> >>
> >> Now, there might be a much better way of doing this. I wouldn't know.
> >>
> >> The other thing I've noticed is that your branch still has the typo
> >> 'package_dev' (it should be package_deb). The typo is fixed in current
> >> master, so I'd say you'll need to rebase before resubmitting for review.
> >>
> >> Cheers
> >>
> >> Belén
> >>
> >>
> >> >
> >> >diff --git a/bitbake/lib/toaster/toastergui/templates/projectconf.html
> >> >b/bitbake/lib/toaster/toastergui/templates/projectconf.html
> >> >index c994f31..5873395 100644
> >> >--- a/bitbake/lib/toaster/toastergui/templates/projectconf.html
> >> >+++ b/bitbake/lib/toaster/toastergui/templates/projectconf.html
> >> >@@ -702,8 +702,8 @@
> >> >if (0 == value.indexOf("package_rpm")) {
> >> >$('select').selectedIndex = 2;
> >> >updatePackageClassCheckboxes();
> >> >- if (0 < value.indexOf("package_dev"))
> >> >{document.getElementById("#package_class_1_input").checked = true;};
> >> >- if (0 < value.indexOf("package_ipk"))
> >> >{document.getElementById("#package_class_2_input").checked = true;};
> >> >+ if (0 < value.indexOf("package_dev"))
> >> >{document.getElementById("package_class_1_input").checked = true;};
> >> >+ if (0 < value.indexOf("package_ipk"))
> >> >{document.getElementById("package_class_2_input").checked = true;};
> >> >}
> >> >});
> >> >
> >> >- David
> >> >
> >> >> -----Original Message-----
> >> >> From: Barros Pena, Belen [mailto:belen.barros.pena@intel.com]
> >> >> Sent: Thursday, March 19, 2015 5:57 AM
> >> >> To: Reyna, David; DAMIAN, ALEXANDRU
> >> >> Cc: toaster@yoctoproject.org
> >> >> Subject: Re: [Toaster] [review-request]
> >> >> dreyna/PACKAGE_CLASSES_current_value_7448
> >> >>
> >> >>
> >> >>
> >> >> On 18/03/2015 01:59, "Reyna, David" <david.reyna@windriver.com>
> >>wrote:
> >> >>
> >> >> >Hi Belén,
> >> >> >
> >> >> >A simple fix for 7448 ³PACKAGE_CLASSES variable does not show
> >>current
> >> >> >value when editing²:
> >> >> >
> >> >> >    dreyna/PACKAGE_CLASSES_current_value_7448
> >> >>
> >> >> This is not working for me. When the value is set to package_rpm, I
> >> >>still
> >> >> see package_deb selected in the dropdown menu when I click the
> >>'change'
> >> >> icon.
> >> >>
> >> >> Cheers
> >> >>
> >> >> Belén
> >> >>
> >> >> >
> >> >> >- David
> >> >> >
> >> >> >
> >> >>
> >> >
> >>
> >
>
> --
> _______________________________________________
> toaster mailing list
> toaster@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/toaster
>



-- 
Alex Damian
Yocto Project
SSG / OTC

[-- Attachment #2: Type: text/html, Size: 7079 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-24 17:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-22  8:43 V2: [review-request] dreyna/PACKAGE_CLASSES_current_value_7448 Reyna, David
2015-03-24 12:31 ` Barros Pena, Belen
2015-03-24 17:50   ` Damian, Alexandru

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.