V2: Commit for recipe detail view ready for review
A message that is not in the archive (sent off-list or not yet received): CAJ2CSBsBqW2RT4DWS5pDsTMuebd-8Fu++0YL9MoFhCebnq7X4Q@mail.gmail.com
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): CAJ2CSBv5BsiVi6YjONKz1MK0zjTHgJTzV0k+LXUKhHT15a5Wxw@mail.gmail.com
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): CAJ2CSBskkaAFuWWcG=ymtZ+rLA+A1aGWiGti=sOV9B-KMpUhrg@mail.gmail.com
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 4 lines · David
Quoted 2 lines
³Can you please rebase these latest fixes as a new patch on top of toaster/master?²
Quoted 8 lines
Done! See ³dreyna/recipe-detail-view².
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=dreyna/re
cipe-detail-view
<http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=dreyna/r
ecipe-detail-view>
Hi David,
Just had a quick look to the branch and realised that package size is being displayed in bytes, instead of being converted to KB or MB as appropriate. Any chance we could get that changed?
Thanks!
Belén
Thanks!
Quoted 307 lines
- David
From: Damian, Alexandru [mailto:[email protected]]
Sent: Thursday, January 23, 2014 4:43 AM
To: Reyna, David
Cc: [email protected]
Subject: Re: [Toaster] V2: Commit for recipe detail view ready for reviewHi David,
I already taken in toaster-master the previous version of
bitbake: toaster: Implementation of recipe detail views
Can you please rebase these latest fixes as a new patch on top of toaster/master ?
Thank you,
Alex
On Tue, Jan 21, 2014 at 8:27 PM, Reyna, David <[email protected]> wrote:
Hi Alex,* Ok, I fixed the formatting errors. The ³<div class="tab-pane" Š>² did not want a ³name² attribute,
and the ³<th>² was missing a wrapping ³<tr>².* I see now that ³Firebug² saw the ³<th>² error, but it marked it subtle red that I had to manually
scroll and look out for (and did not complain about the ³<div class² issue at all). If there is an error dialog or listing for Firebug I have not found it, so this is a shy tool as far as errors go.* I then used ³HTMLValidator², which immediately gave me the results that you observed. I fixed them,
and I get a HTML5 pass, but now I seeŠ"0 errors / 3 warnings"
Š but no list of the supposed warnings anywhere. I have tried serial mode, tidy mode alone, plus
the online mode. All say 3 warnings but no details. In my Google searches there are it seems always explicit warnings listing with this message. There are also mentions here and there are sometimes false and empty warnings. It is maddening.* I have pushed the fixed commit in any case.
- David
From: Damian, Alexandru [mailto:[email protected]]
Sent: Tuesday, January 21, 2014 10:20 AM
To: Reyna, David
Cc: [email protected]Subject: Re: [Toaster] V2: Commit for recipe detail view ready for review
I removed the div with row-fluid and moved the row-fluid class to the outer-most div.
It doesn't affect the HTML5 validation.
The errors I get in the Recipe detail page are:
line 122 column 73 - Error: Attribute name not allowed on element div at this point.
line 155 column 24 - Error: th start tag in table body.
line 519 column 72 - Error: Attribute name not allowed on element div at this point.
line 575 column 68 - Error: Attribute name not allowed on element div at this point.
line 584 column 70 - Error: Attribute name not allowed on element div at this point.Cheers,
Alex
On Tue, Jan 21, 2014 at 5:48 PM, Reyna, David <[email protected]> wrote:
What was the adjustment? I am curious if that aFfects the HTML5 valilidation, or its parent page
basebuildpage.html.David
From: Damian, Alexandru [mailto:[email protected]]
Sent: Tuesday, January 21, 2014 05:30
AMTo: Reyna, David
Cc: Barros Pena, Belen <[email protected]>Subject: Re: [Toaster] V2: Commit
for recipe detail view ready for reviewMerged ! Congrats !
I just had a couple of modifications:
- debuged the alignment issue with Belen and had a small change in basebuilddetailpage.html
- whitespace at the end of line; i.e, there should not be whitespace on any line before \n; I use s/[[:space:]]\+$// to make sure I don't whitespace :)
Alex
On Tue, Jan 21, 2014 at 1:16 PM, Damian, Alexandru <[email protected]> wrote:
Looks ok to me, I'm gonna test and take it into toaster-master if it tests ok :)Alex
On Tue, Jan 21, 2014 at 12:46 PM, Reyna, David
<[email protected]> wrote:
Hi Alex and Balen,So, with the below decision, does my submission get a pass :-)?
- David
Quoted 80 lines
-----Original Message-----
From: [email protected] [mailto:toaster- [email protected]] On Behalf Of Barros Pena, Belen
Sent: Tuesday, January 21, 2014 3:57 AM
To: Paul Eggleton; Richard Purdie
Cc: [email protected]
Subject: Re: [Toaster] V2: Commit for recipe detail view ready for reviewQuoted 9 lines · Paul Eggleton
Quoted 8 lines · On Tuesday 21 January 2014 11:39:08 Richard Purdie wrote:
Quoted 7 lines · Paul Eggleton
Quoted 6 lines · David
Hi Belen,
Quoted 2 lines
Just came across a Homepage: unknown (in the recipe update-rc.d-native). The recipe has no HOMEPAGE variable set
But, it does have a value (that is returned from the database),
and
Quoted 2 lines
Quoted 2 lines
that
Quoted 1 line
Quoted 1 line
value happens to be the literal string "unknown". The code is
only
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
testing
whether or not the value is defined and is not of length zero -all
Quoted 9 lines
Quoted 9 lines
else
Quoted 8 lines
Quoted 8 lines
is
up to the database.{% if object.homepage %} <dt>Homepage</dt> <dd><ahref="{{object.homepage}}">{{object.homepage}}</a></dd>
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
{% endif %}Now, if you want me to add an additional test in the code for
the
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
literal
string "unknown", then I can certainly do that, but that wouldbe a
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
hard-coded literal string added to the template code.
The default value from
meta/conf/bitbake.confis "unknown", andit's
Quoted 2 lines
Quoted 2 lines
been
Quoted 1 line
that way since the early OE-Classic days. I honestly don't know
why
Quoted 8 lines
Quoted 6 lines
that
Quoted 1 line
is the default, I'd personally prefer if it was blank. Assuming
OE-Core
Quoted 1 line
keeps that default though we're going to see a lot of these.
Lets change the default?
Probably a good idea. I'll send a patch.
Wondrous. Thank you.
Quoted 4 lines
Cheers,
PaulQuoted 8 lines
--
Paul Eggleton
Intel Open Source Technology Centre
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toasterQuoted 4 lines
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster--
Alex Damian
Yocto Project
SSG / OTC
Signature · 37 lines
Alex Damian Yocto Project SSG / OTC -- Alex Damian Yocto Project SSG / OTC -- Alex Damian Yocto Project SSG / OTC
Quoted 1 line
... package size is being displayed in bytes, instead of being converted to KB or MB as
appropriate.
Quoted 1 line
Any chance we could get that changed?
Yes, I will write a custom filter that we can all use for the visual translation.
David
----- Original Message -----
From: Barros Pena, Belen [mailto:[email protected]]
Sent: Monday, January 27, 2014 06:33 AM
To: Reyna, David; [email protected] <[email protected]>
Subject: Re: [Toaster] V2: Commit for recipe detail view ready for review
Quoted 4 lines · David
Quoted 2 lines
³Can you please rebase these latest fixes as a new patch on top of toaster/master?²
Quoted 8 lines
Done! See ³dreyna/recipe-detail-view².
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=dreyna/re
cipe-detail-view
<http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=dreyna/r
ecipe-detail-view>
Hi David,
Just had a quick look to the branch and realised that package size is being displayed in bytes, instead of being converted to KB or MB as appropriate. Any chance we could get that changed?
Thanks!
Belén
Thanks!
Quoted 307 lines
- David
From: Damian, Alexandru [mailto:[email protected]]
Sent: Thursday, January 23, 2014 4:43 AM
To: Reyna, David
Cc: [email protected]
Subject: Re: [Toaster] V2: Commit for recipe detail view ready for reviewHi David,
I already taken in toaster-master the previous version of
bitbake: toaster: Implementation of recipe detail views
Can you please rebase these latest fixes as a new patch on top of toaster/master ?
Thank you,
Alex
On Tue, Jan 21, 2014 at 8:27 PM, Reyna, David <[email protected]> wrote:
Hi Alex,* Ok, I fixed the formatting errors. The ³<div class="tab-pane" Š>² did not want a ³name² attribute,
and the ³<th>² was missing a wrapping ³<tr>².* I see now that ³Firebug² saw the ³<th>² error, but it marked it subtle red that I had to manually
scroll and look out for (and did not complain about the ³<div class² issue at all). If there is an error dialog or listing for Firebug I have not found it, so this is a shy tool as far as errors go.* I then used ³HTMLValidator², which immediately gave me the results that you observed. I fixed them,
and I get a HTML5 pass, but now I seeŠ"0 errors / 3 warnings"
Š but no list of the supposed warnings anywhere. I have tried serial mode, tidy mode alone, plus
the online mode. All say 3 warnings but no details. In my Google searches there are it seems always explicit warnings listing with this message. There are also mentions here and there are sometimes false and empty warnings. It is maddening.* I have pushed the fixed commit in any case.
- David
From: Damian, Alexandru [mailto:[email protected]]
Sent: Tuesday, January 21, 2014 10:20 AM
To: Reyna, David
Cc: [email protected]Subject: Re: [Toaster] V2: Commit for recipe detail view ready for review
I removed the div with row-fluid and moved the row-fluid class to the outer-most div.
It doesn't affect the HTML5 validation.
The errors I get in the Recipe detail page are:
line 122 column 73 - Error: Attribute name not allowed on element div at this point.
line 155 column 24 - Error: th start tag in table body.
line 519 column 72 - Error: Attribute name not allowed on element div at this point.
line 575 column 68 - Error: Attribute name not allowed on element div at this point.
line 584 column 70 - Error: Attribute name not allowed on element div at this point.Cheers,
Alex
On Tue, Jan 21, 2014 at 5:48 PM, Reyna, David <[email protected]> wrote:
What was the adjustment? I am curious if that aFfects the HTML5 valilidation, or its parent page
basebuildpage.html.David
From: Damian, Alexandru [mailto:[email protected]]
Sent: Tuesday, January 21, 2014 05:30
AMTo: Reyna, David
Cc: Barros Pena, Belen <[email protected]>Subject: Re: [Toaster] V2: Commit
for recipe detail view ready for reviewMerged ! Congrats !
I just had a couple of modifications:
- debuged the alignment issue with Belen and had a small change in basebuilddetailpage.html
- whitespace at the end of line; i.e, there should not be whitespace on any line before \n; I use s/[[:space:]]\+$// to make sure I don't whitespace :)
Alex
On Tue, Jan 21, 2014 at 1:16 PM, Damian, Alexandru <[email protected]> wrote:
Looks ok to me, I'm gonna test and take it into toaster-master if it tests ok :)Alex
On Tue, Jan 21, 2014 at 12:46 PM, Reyna, David
<[email protected]> wrote:
Hi Alex and Balen,So, with the below decision, does my submission get a pass :-)?
- David
Quoted 80 lines
-----Original Message-----
From: [email protected] [mailto:toaster- [email protected]] On Behalf Of Barros Pena, Belen
Sent: Tuesday, January 21, 2014 3:57 AM
To: Paul Eggleton; Richard Purdie
Cc: [email protected]
Subject: Re: [Toaster] V2: Commit for recipe detail view ready for reviewQuoted 9 lines · Paul Eggleton
Quoted 8 lines · On Tuesday 21 January 2014 11:39:08 Richard Purdie wrote:
Quoted 7 lines · Paul Eggleton
Quoted 6 lines · David
Hi Belen,
Quoted 2 lines
Just came across a Homepage: unknown (in the recipe update-rc.d-native). The recipe has no HOMEPAGE variable set
But, it does have a value (that is returned from the database),
and
Quoted 2 lines
Quoted 2 lines
that
Quoted 1 line
Quoted 1 line
value happens to be the literal string "unknown". The code is
only
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
testing
whether or not the value is defined and is not of length zero -all
Quoted 9 lines
Quoted 9 lines
else
Quoted 8 lines
Quoted 8 lines
is
up to the database.{% if object.homepage %} <dt>Homepage</dt> <dd><ahref="{{object.homepage}}">{{object.homepage}}</a></dd>
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
{% endif %}Now, if you want me to add an additional test in the code for
the
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
literal
string "unknown", then I can certainly do that, but that wouldbe a
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
hard-coded literal string added to the template code.
The default value from
meta/conf/bitbake.confis "unknown", andit's
Quoted 2 lines
Quoted 2 lines
been
Quoted 1 line
that way since the early OE-Classic days. I honestly don't know
why
Quoted 8 lines
Quoted 6 lines
that
Quoted 1 line
is the default, I'd personally prefer if it was blank. Assuming
OE-Core
Quoted 1 line
keeps that default though we're going to see a lot of these.
Lets change the default?
Probably a good idea. I'll send a patch.
Wondrous. Thank you.
Quoted 4 lines
Cheers,
PaulQuoted 8 lines
--
Paul Eggleton
Intel Open Source Technology Centre
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toasterQuoted 4 lines
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster--
Alex Damian
Yocto Project
SSG / OTC
Signature · 37 lines
Alex Damian Yocto Project SSG / OTC -- Alex Damian Yocto Project SSG / OTC -- Alex Damian Yocto Project SSG / OTC
Hi David,
I have already done that David in my latest push, in projecttags.py. Can you grab it from my push? -dave
Quoted 364 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Reyna, David
Sent: Monday, January 27, 2014 12:01 PM
To: '[email protected]'; '[email protected]'
Subject: Re: [Toaster] V2: Commit for recipe detail view ready for reviewQuoted 1 line
... package size is being displayed in bytes, instead of being converted to KB or MB
as
appropriate.Quoted 1 line
Any chance we could get that changed?
Yes, I will write a custom filter that we can all use for the visual translation.
David
----- Original Message -----
From: Barros Pena, Belen [mailto:[email protected]]
Sent: Monday, January 27, 2014 06:33 AM
To: Reyna, David; [email protected] <[email protected]>
Subject: Re: [Toaster] V2: Commit for recipe detail view ready for reviewQuoted 4 lines · David
Quoted 2 lines
³Can you please rebase these latest fixes as a new patch on top of toaster/master?²
Quoted 8 lines
Done! See ³dreyna/recipe-detail-view².
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=dreyna/re
cipe-detail-view
<http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=dreyna/r
ecipe-detail-view>Hi David,
Just had a quick look to the branch and realised that package size is being displayed in bytes, instead of being converted to KB or MB as appropriate. Any chance we could get that changed?
Thanks!
Belén
Thanks!
Quoted 297 lines
- David
From: Damian, Alexandru [mailto:[email protected]]
Sent: Thursday, January 23, 2014 4:43 AM
To: Reyna, David
Cc: [email protected]
Subject: Re: [Toaster] V2: Commit for recipe detail view ready for reviewHi David,
I already taken in toaster-master the previous version of
bitbake: toaster: Implementation of recipe detail views
Can you please rebase these latest fixes as a new patch on top of toaster/master ?
Thank you,
Alex
On Tue, Jan 21, 2014 at 8:27 PM, Reyna, David <[email protected]> wrote:
Hi Alex,* Ok, I fixed the formatting errors. The ³<div class="tab-pane" Š>² did not want a ³name² attribute,
and the ³<th>² was missing a wrapping ³<tr>².* I see now that ³Firebug² saw the ³<th>² error, but it marked it subtle red that I had to manually
scroll and look out for (and did not complain about the ³<div class² issue at all). If there is an error dialog or listing for Firebug I have not found it, so this is a shy tool as far as errors go.* I then used ³HTMLValidator², which immediately gave me the results that you observed. I fixed them,
and I get a HTML5 pass, but now I seeŠ"0 errors / 3 warnings"
Š but no list of the supposed warnings anywhere. I have tried serial mode, tidy mode alone, plus
the online mode. All say 3 warnings but no details. In my Google searches there are it seems always explicit warnings listing with this message. There are also mentions here and there are sometimes false and empty warnings. It is maddening.* I have pushed the fixed commit in any case.
- David
From: Damian, Alexandru [mailto:[email protected]]
Sent: Tuesday, January 21, 2014 10:20 AM
To: Reyna, David
Cc: [email protected]Subject: Re: [Toaster] V2: Commit for recipe detail view ready for review
I removed the div with row-fluid and moved the row-fluid class to the outer-most div.
It doesn't affect the HTML5 validation.
The errors I get in the Recipe detail page are:
line 122 column 73 - Error: Attribute name not allowed on element div at this point.
line 155 column 24 - Error: th start tag in table body.
line 519 column 72 - Error: Attribute name not allowed on element div at this point.
line 575 column 68 - Error: Attribute name not allowed on element div at this point.
line 584 column 70 - Error: Attribute name not allowed on element div at this point.Cheers,
Alex
On Tue, Jan 21, 2014 at 5:48 PM, Reyna, David <[email protected]> wrote:
What was the adjustment? I am curious if that aFfects the HTML5 valilidation, or its parent page
basebuildpage.html.David
From: Damian, Alexandru [mailto:[email protected]]
Sent: Tuesday, January 21, 2014 05:30
AMTo: Reyna, David
Cc: Barros Pena, Belen <[email protected]>Subject: Re: [Toaster] V2: Commit
for recipe detail view ready for reviewMerged ! Congrats !
I just had a couple of modifications:
- debuged the alignment issue with Belen and had a small change in basebuilddetailpage.html
- whitespace at the end of line; i.e, there should not be whitespace on any line before \n; I use s/[[:space:]]\+$// to make sure I don't whitespace :)
Alex
On Tue, Jan 21, 2014 at 1:16 PM, Damian, Alexandru <[email protected]> wrote:
Looks ok to me, I'm gonna test and take it into toaster-master if it tests ok :)Alex
On Tue, Jan 21, 2014 at 12:46 PM, Reyna, David
<[email protected]> wrote:
Hi Alex and Balen,So, with the below decision, does my submission get a pass :-)?
- David
Quoted 80 lines
-----Original Message-----
From: [email protected] [mailto:toaster- [email protected]] On Behalf Of Barros Pena, Belen
Sent: Tuesday, January 21, 2014 3:57 AM
To: Paul Eggleton; Richard Purdie
Cc: [email protected]
Subject: Re: [Toaster] V2: Commit for recipe detail view ready for reviewQuoted 9 lines · Paul Eggleton
Quoted 8 lines · On Tuesday 21 January 2014 11:39:08 Richard Purdie wrote:
Quoted 7 lines · Paul Eggleton
Quoted 6 lines · David
Hi Belen,
Quoted 2 lines
Just came across a Homepage: unknown (in the recipe update-rc.d-native). The recipe has no HOMEPAGE variable set
But, it does have a value (that is returned from the database),
and
Quoted 2 lines
Quoted 2 lines
that
Quoted 1 line
Quoted 1 line
value happens to be the literal string "unknown". The code is
only
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
testing
whether or not the value is defined and is not of length zero -all
Quoted 9 lines
Quoted 9 lines
else
Quoted 8 lines
Quoted 8 lines
is
up to the database.{% if object.homepage %} <dt>Homepage</dt> <dd><ahref="{{object.homepage}}">{{object.homepage}}</a></dd>
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
{% endif %}Now, if you want me to add an additional test in the code for
the
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
literal
string "unknown", then I can certainly do that, but that wouldbe a
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
hard-coded literal string added to the template code.
The default value from
meta/conf/bitbake.confis "unknown", andit's
Quoted 2 lines
Quoted 2 lines
been
Quoted 1 line
that way since the early OE-Classic days. I honestly don't know
why
Quoted 8 lines
Quoted 6 lines
that
Quoted 1 line
is the default, I'd personally prefer if it was blank. Assuming
OE-Core
Quoted 1 line
keeps that default though we're going to see a lot of these.
Lets change the default?
Probably a good idea. I'll send a patch.
Wondrous. Thank you.
Quoted 4 lines
Cheers,
PaulQuoted 8 lines
--
Paul Eggleton
Intel Open Source Technology Centre
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toasterQuoted 4 lines
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster--
Alex Damian
Yocto Project
SSG / OTC
--
Alex DamianYocto Project
SSG / OTC
--
Alex Damian
Yocto ProjectSSG / OTC
Quoted 10 lines
--
Alex Damian
Yocto ProjectSSG / OTC
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster
Hi Dave,
I see that your new "filtered_filesizeformat" only does "bytes" to "B", and does not scale for "KB" nor "MB".
I will extend the filter after your push.
- David
Quoted 413 lines
-----Original Message-----
From: Lerner, Dave
Sent: Monday, January 27, 2014 10:03 AM
To: Reyna, David; '[email protected]'; '[email protected]'
Subject: RE: [Toaster] V2: Commit for recipe detail view ready for reviewHi David,
I have already done that David in my latest push, inprojecttags.py. Can you grab it from my push?
-daveQuoted 2 lines
-----Original Message-----
From: [email protected] [mailto:toaster-Quoted 4 lines
Behalf Of Reyna, David
Sent: Monday, January 27, 2014 12:01 PM
To: '[email protected]'; '[email protected]'
Subject: Re: [Toaster] V2: Commit for recipe detail view ready forreview
Quoted 2 lines
Quoted 2 lines
... package size is being displayed in bytes, instead of being
converted to KB or MB
Quoted 5 lines
as
appropriate.Quoted 1 line
Any chance we could get that changed?
Yes, I will write a custom filter that we can all use for the visual
translation.
Quoted 9 lines
David
----- Original Message -----
From: Barros Pena, Belen [mailto:[email protected]]
Sent: Monday, January 27, 2014 06:33 AM
To: Reyna, David; [email protected] <[email protected]>
Subject: Re: [Toaster] V2: Commit for recipe detail view ready forreview
Quoted 4 lines
On 23/01/2014 20:23, "Reyna, David" <[email protected]>
Quoted 10 lines · wrote:
Quoted 10 lines
Quoted 3 lines
³Can you please rebase these latest fixes as a new patch on top of toaster/master?²
Done! See ³dreyna/recipe-detail-view².
contrib/commit/?h=dreyna/re
Quoted 2 lines
Quoted 2 lines
cipe-detail-view
<http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=dreyna/r
Quoted 8 lines
Quoted 1 line
ecipe-detail-view>
Hi David,
Just had a quick look to the branch and realised that package size is being displayed in bytes, instead of being converted to KB or MB as appropriate. Any chance we could get that changed?
Quoted 15 lines
Thanks!
Belén
Thanks!
Quoted 10 lines
- David
From: Damian, Alexandru [mailto:[email protected]]
Sent: Thursday, January 23, 2014 4:43 AM
To: Reyna, David
Cc: [email protected]
Subject: Re: [Toaster] V2: Commit for recipe detail view ready forreview
Quoted 13 lines
Quoted 13 lines
Hi David,
I already taken in toaster-master the previous version of
bitbake: toaster: Implementation of recipe detail views
Can you please rebase these latest fixes as a new patch on top of toaster/master ?
Quoted 7 lines
Quoted 7 lines
Thank you,
Alex
On Tue, Jan 21, 2014 at 8:27 PM, Reyna, David
Quoted 4 lines
Quoted 4 lines
wrote:
Hi Alex,* Ok, I fixed the formatting errors. The ³<div class="tab-pane" Š>²
did
Quoted 4 lines
Quoted 4 lines
not want a ³name² attribute,
and the ³<th>² was missing a wrapping ³<tr>².* I see now that ³Firebug² saw the ³<th>² error, but it marked it
subtle
Quoted 2 lines
Quoted 2 lines
red that I had to manually
scroll and look out for (and did not complain about the ³<divclass²
Quoted 1 line
Quoted 1 line
issue at all). If there is an error dialog or listing for Firebug I
have
Quoted 3 lines
Quoted 3 lines
not found it, so this is a shy tool as far as errors go.
* I then used ³HTMLValidator², which immediately gave me the results
that
Quoted 10 lines
Quoted 10 lines
you observed. I fixed them,
and I get a HTML5 pass, but now I seeŠ"0 errors / 3 warnings"
Š but no list of the supposed warnings anywhere. I have tried serial mode, tidy mode alone, plus
the online mode. All say 3 warnings but no details. In my Google searches there are it seems always explicit warnings listing withthis
Quoted 1 line
Quoted 1 line
message. There are also mentions here and there are sometimes false
and
Quoted 6 lines
Quoted 6 lines
empty warnings. It is maddening.
* I have pushed the fixed commit in any case.
- David
Quoted 7 lines
Quoted 7 lines
From: Damian, Alexandru [mailto:[email protected]]
Sent: Tuesday, January 21, 2014 10:20 AM
To: Reyna, David
Cc: [email protected]Subject: Re: [Toaster] V2: Commit for recipe detail view ready for
review
Quoted 6 lines
Quoted 6 lines
I removed the div with row-fluid and moved the row-fluid class to
the
Quoted 7 lines
Quoted 7 lines
outer-most div.
It doesn't affect the HTML5 validation.
The errors I get in the Recipe detail page are:
line 122 column 73 - Error: Attribute name not allowed on element
div at
Quoted 3 lines
Quoted 3 lines
this point.
line 155 column 24 - Error: th start tag in table body. line 519 column 72 - Error: Attribute name not allowed on elementdiv at
Quoted 2 lines
Quoted 2 lines
this point.
line 575 column 68 - Error: Attribute name not allowed on elementdiv at
Quoted 2 lines
Quoted 2 lines
this point.
line 584 column 70 - Error: Attribute name not allowed on elementdiv at
Quoted 11 lines
Quoted 11 lines
this point.
Cheers,
Alex
On Tue, Jan 21, 2014 at 5:48 PM, Reyna, David
Quoted 24 lines
Quoted 24 lines
wrote:
What was the adjustment? I am curious if that aFfects the HTML5 valilidation, or its parent page
basebuildpage.html.David
From: Damian, Alexandru [mailto:[email protected]]
Sent: Tuesday, January 21, 2014 05:30
AMTo: Reyna, David
Cc: Barros Pena, Belen <[email protected]>Subject: Re: [Toaster] V2: Commit
for recipe detail view ready for reviewQuoted 8 lines
Quoted 8 lines
Merged ! Congrats !
I just had a couple of modifications:
- debuged the alignment issue with Belen and had a small change in basebuilddetailpage.html
- whitespace at the end of line; i.e, there should not be whitespace
on
Quoted 38 lines
Quoted 38 lines
any line before \n; I use s/[[:space:]]\+$// to make sure I don't whitespace :)
Alex
On Tue, Jan 21, 2014 at 1:16 PM, Damian, Alexandru <[email protected]> wrote:
Looks ok to me, I'm gonna test and take it into toaster-master if it tests ok :)Alex
On Tue, Jan 21, 2014 at 12:46 PM, Reyna, David
<[email protected]> wrote:
Hi Alex and Balen,So, with the below decision, does my submission get a pass :-)?
- David
Quoted 11 lines
-----Original Message-----
From: [email protected] [mailto:toaster- [email protected]] On Behalf Of Barros Pena, Belen
Sent: Tuesday, January 21, 2014 3:57 AM
To: Paul Eggleton; Richard Purdie
Cc: [email protected]
Subject: Re: [Toaster] V2: Commit for recipe detail view ready for reviewQuoted 1 line
Quoted 1 line
Quoted 1 line
On 21/01/2014 11:47, "Paul Eggleton"
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 7 lines · wrote:
Quoted 6 lines · On Tuesday 21 January 2014 11:39:08 Richard Purdie wrote:
Quoted 5 lines · Paul Eggleton
Quoted 4 lines · David
Hi Belen,
Quoted 2 lines
Just came across a Homepage: unknown (in the recipe update-rc.d-native). The recipe has no HOMEPAGE variable
set
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
But, it does have a value (that is returned from the
database),
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
and
Quoted 2 lines
Quoted 2 lines
that
Quoted 1 line
Quoted 1 line
value happens to be the literal string "unknown". The code
is
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
only
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
testing
whether or not the value is defined and is not of lengthzero -
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
all
Quoted 6 lines
Quoted 6 lines
else
Quoted 5 lines
Quoted 5 lines
is
up to the database.{% if object.homepage %}Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
<dt>Homepage</dt> <dd><ahref="{{object.homepage}}">{{object.homepage}}</a></dd>
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
{% endif %}Now, if you want me to add an additional test in the code
for
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
the
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
literal
string "unknown", then I can certainly do that, but thatwould
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
be a
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
hard-coded literal string added to the template code.
The default value from
meta/conf/bitbake.confis "unknown",and
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
it's
Quoted 2 lines
Quoted 2 lines
been
Quoted 1 line
that way since the early OE-Classic days. I honestly don't
know
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
why
Quoted 2 lines
Quoted 2 lines
that
Quoted 1 line
is the default, I'd personally prefer if it was blank.
Assuming
Quoted 98 lines
Quoted 82 lines
Quoted 22 lines
Quoted 6 lines
Quoted 4 lines
OE-Core
Quoted 1 line
keeps that default though we're going to see a lot of these.
Lets change the default?
Probably a good idea. I'll send a patch.
Wondrous. Thank you.
Quoted 4 lines
Cheers,
PaulQuoted 8 lines
--
Paul Eggleton
Intel Open Source Technology Centre
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toasterQuoted 4 lines
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster--
Alex Damian
Yocto Project
SSG / OTC
--
Alex DamianYocto Project
SSG / OTC
--
Alex Damian
Yocto ProjectSSG / OTC
Quoted 10 lines
--
Alex Damian
Yocto ProjectSSG / OTC
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster
David,
'filtered_filesizeformat' already does the scaling of KB, MB, and GB, so please don't extend that code, by using the built-in 'filesizeformat'.
============
def filtered_filesizeformat(value):
"""Change output from fileformatsize to suppress trailing '.0' and change 'bytes' to 'B'
"""
return filesizeformat(value).replace("bytes", "B").replace(".0", "")Thanks,
Dave
============
Quoted 430 lines
-----Original Message-----
From: Reyna, David
Sent: Monday, January 27, 2014 11:14 PM
To: Lerner, Dave; '[email protected]'; '[email protected]'
Subject: RE: [Toaster] V2: Commit for recipe detail view ready for reviewHi Dave,
I see that your new "
filtered_filesizeformat" only does "bytes" to "B", and does not scale for "KB" nor "MB".I will extend the filter after your push.
- David
Quoted 413 lines
-----Original Message-----
From: Lerner, Dave
Sent: Monday, January 27, 2014 10:03 AM
To: Reyna, David; '[email protected]'; '[email protected]'
Subject: RE: [Toaster] V2: Commit for recipe detail view ready for reviewHi David,
I have already done that David in my latest push, inprojecttags.py. Can you grab it from my push?
-daveQuoted 2 lines
-----Original Message-----
From: [email protected] [mailto:toaster-Quoted 4 lines
Behalf Of Reyna, David
Sent: Monday, January 27, 2014 12:01 PM
To: '[email protected]'; '[email protected]'
Subject: Re: [Toaster] V2: Commit for recipe detail view ready forreview
Quoted 2 lines
Quoted 2 lines
... package size is being displayed in bytes, instead of being
converted to KB or MB
Quoted 5 lines
as
appropriate.Quoted 1 line
Any chance we could get that changed?
Yes, I will write a custom filter that we can all use for the visual
translation.
Quoted 9 lines
David
----- Original Message -----
From: Barros Pena, Belen [mailto:[email protected]]
Sent: Monday, January 27, 2014 06:33 AM
To: Reyna, David; [email protected] <[email protected]>
Subject: Re: [Toaster] V2: Commit for recipe detail view ready forreview
Quoted 4 lines
On 23/01/2014 20:23, "Reyna, David" <[email protected]>
Quoted 10 lines · wrote:
Quoted 10 lines
Quoted 3 lines
³Can you please rebase these latest fixes as a new patch on top of toaster/master?²
Done! See ³dreyna/recipe-detail-view².
contrib/commit/?h=dreyna/re
Quoted 2 lines
Quoted 2 lines
cipe-detail-view
<http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=dreyna/r
Quoted 8 lines
Quoted 1 line
ecipe-detail-view>
Hi David,
Just had a quick look to the branch and realised that package size is being displayed in bytes, instead of being converted to KB or MB as appropriate. Any chance we could get that changed?
Quoted 15 lines
Thanks!
Belén
Thanks!
Quoted 10 lines
- David
From: Damian, Alexandru [mailto:[email protected]]
Sent: Thursday, January 23, 2014 4:43 AM
To: Reyna, David
Cc: [email protected]
Subject: Re: [Toaster] V2: Commit for recipe detail view ready forreview
Quoted 13 lines
Quoted 13 lines
Hi David,
I already taken in toaster-master the previous version of
bitbake: toaster: Implementation of recipe detail views
Can you please rebase these latest fixes as a new patch on top of toaster/master ?
Quoted 7 lines
Quoted 7 lines
Thank you,
Alex
On Tue, Jan 21, 2014 at 8:27 PM, Reyna, David
Quoted 4 lines
Quoted 4 lines
wrote:
Hi Alex,* Ok, I fixed the formatting errors. The ³<div class="tab-pane" Š>²
did
Quoted 4 lines
Quoted 4 lines
not want a ³name² attribute,
and the ³<th>² was missing a wrapping ³<tr>².* I see now that ³Firebug² saw the ³<th>² error, but it marked it
subtle
Quoted 2 lines
Quoted 2 lines
red that I had to manually
scroll and look out for (and did not complain about the ³<divclass²
Quoted 1 line
Quoted 1 line
issue at all). If there is an error dialog or listing for Firebug I
have
Quoted 3 lines
Quoted 3 lines
not found it, so this is a shy tool as far as errors go.
* I then used ³HTMLValidator², which immediately gave me the results
that
Quoted 10 lines
Quoted 10 lines
you observed. I fixed them,
and I get a HTML5 pass, but now I seeŠ"0 errors / 3 warnings"
Š but no list of the supposed warnings anywhere. I have tried serial mode, tidy mode alone, plus
the online mode. All say 3 warnings but no details. In my Google searches there are it seems always explicit warnings listing withthis
Quoted 1 line
Quoted 1 line
message. There are also mentions here and there are sometimes false
and
Quoted 6 lines
Quoted 6 lines
empty warnings. It is maddening.
* I have pushed the fixed commit in any case.
- David
Quoted 7 lines
Quoted 7 lines
From: Damian, Alexandru [mailto:[email protected]]
Sent: Tuesday, January 21, 2014 10:20 AM
To: Reyna, David
Cc: [email protected]Subject: Re: [Toaster] V2: Commit for recipe detail view ready for
review
Quoted 6 lines
Quoted 6 lines
I removed the div with row-fluid and moved the row-fluid class to
the
Quoted 7 lines
Quoted 7 lines
outer-most div.
It doesn't affect the HTML5 validation.
The errors I get in the Recipe detail page are:
line 122 column 73 - Error: Attribute name not allowed on element
div at
Quoted 3 lines
Quoted 3 lines
this point.
line 155 column 24 - Error: th start tag in table body. line 519 column 72 - Error: Attribute name not allowed on elementdiv at
Quoted 2 lines
Quoted 2 lines
this point.
line 575 column 68 - Error: Attribute name not allowed on elementdiv at
Quoted 2 lines
Quoted 2 lines
this point.
line 584 column 70 - Error: Attribute name not allowed on elementdiv at
Quoted 11 lines
Quoted 11 lines
this point.
Cheers,
Alex
On Tue, Jan 21, 2014 at 5:48 PM, Reyna, David
Quoted 24 lines
Quoted 24 lines
wrote:
What was the adjustment? I am curious if that aFfects the HTML5 valilidation, or its parent page
basebuildpage.html.David
From: Damian, Alexandru [mailto:[email protected]]
Sent: Tuesday, January 21, 2014 05:30
AMTo: Reyna, David
Cc: Barros Pena, Belen <[email protected]>Subject: Re: [Toaster] V2: Commit
for recipe detail view ready for reviewQuoted 8 lines
Quoted 8 lines
Merged ! Congrats !
I just had a couple of modifications:
- debuged the alignment issue with Belen and had a small change in basebuilddetailpage.html
- whitespace at the end of line; i.e, there should not be whitespace
on
Quoted 38 lines
Quoted 38 lines
any line before \n; I use s/[[:space:]]\+$// to make sure I don't whitespace :)
Alex
On Tue, Jan 21, 2014 at 1:16 PM, Damian, Alexandru <[email protected]> wrote:
Looks ok to me, I'm gonna test and take it into toaster-master if it tests ok :)Alex
On Tue, Jan 21, 2014 at 12:46 PM, Reyna, David
<[email protected]> wrote:
Hi Alex and Balen,So, with the below decision, does my submission get a pass :-)?
- David
Quoted 11 lines
-----Original Message-----
From: [email protected] [mailto:toaster- [email protected]] On Behalf Of Barros Pena, Belen
Sent: Tuesday, January 21, 2014 3:57 AM
To: Paul Eggleton; Richard Purdie
Cc: [email protected]
Subject: Re: [Toaster] V2: Commit for recipe detail view ready for reviewQuoted 1 line
Quoted 1 line
Quoted 1 line
On 21/01/2014 11:47, "Paul Eggleton"
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 7 lines · wrote:
Quoted 6 lines · On Tuesday 21 January 2014 11:39:08 Richard Purdie wrote:
Quoted 5 lines · Paul Eggleton
Quoted 4 lines · David
Hi Belen,
Quoted 2 lines
Just came across a Homepage: unknown (in the recipe update-rc.d-native). The recipe has no HOMEPAGE variable
set
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
But, it does have a value (that is returned from the
database),
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
and
Quoted 2 lines
Quoted 2 lines
that
Quoted 1 line
Quoted 1 line
value happens to be the literal string "unknown". The code
is
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
only
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
testing
whether or not the value is defined and is not of lengthzero -
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
all
Quoted 6 lines
Quoted 6 lines
else
Quoted 5 lines
Quoted 5 lines
is
up to the database.{% if object.homepage %}Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
<dt>Homepage</dt> <dd><ahref="{{object.homepage}}">{{object.homepage}}</a></dd>
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
{% endif %}Now, if you want me to add an additional test in the code
for
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
the
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
literal
string "unknown", then I can certainly do that, but thatwould
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
be a
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
hard-coded literal string added to the template code.
The default value from
meta/conf/bitbake.confis "unknown",and
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
it's
Quoted 2 lines
Quoted 2 lines
been
Quoted 1 line
that way since the early OE-Classic days. I honestly don't
know
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
why
Quoted 2 lines
Quoted 2 lines
that
Quoted 1 line
is the default, I'd personally prefer if it was blank.
Assuming
Quoted 98 lines
Quoted 82 lines
Quoted 22 lines
Quoted 6 lines
Quoted 4 lines
OE-Core
Quoted 1 line
keeps that default though we're going to see a lot of these.
Lets change the default?
Probably a good idea. I'll send a patch.
Wondrous. Thank you.
Quoted 4 lines
Cheers,
PaulQuoted 8 lines
--
Paul Eggleton
Intel Open Source Technology Centre
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toasterQuoted 4 lines
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster--
Alex Damian
Yocto Project
SSG / OTC
--
Alex DamianYocto Project
SSG / OTC
--
Alex Damian
Yocto ProjectSSG / OTC
Quoted 10 lines
--
Alex Damian
Yocto ProjectSSG / OTC
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster
Quoted 7 lines · David
Quoted 2 lines
... package size is being displayed in bytes, instead of being converted to KB or MB as
appropriate.
Quoted 1 line
Any chance we could get that changed?
Yes, I will write a custom filter that we can all use for the visual translation.
Thanks!!
Quoted 349 lines
David
----- Original Message -----
From: Barros Pena, Belen [mailto:[email protected]]
Sent: Monday, January 27, 2014 06:33 AM
To: Reyna, David; [email protected] <[email protected]>
Subject: Re: [Toaster] V2: Commit for recipe detail view ready for reviewQuoted 8 lines · David
Quoted 2 lines
³Can you please rebase these latest fixes as a new patch on top of toaster/master?²
Done! See ³dreyna/recipe-detail-view².
Quoted 6 lines
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=dreyna/r
e
cipe-detail-view
<http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=dreyna/
r
ecipe-detail-view>Hi David,
Just had a quick look to the branch and realised that package size is being displayed in bytes, instead of being converted to KB or MB as appropriate. Any chance we could get that changed?
Thanks!
Belén
Thanks!
Quoted 307 lines
- David
From: Damian, Alexandru [mailto:[email protected]]
Sent: Thursday, January 23, 2014 4:43 AM
To: Reyna, David
Cc: [email protected]
Subject: Re: [Toaster] V2: Commit for recipe detail view ready for reviewHi David,
I already taken in toaster-master the previous version of
bitbake: toaster: Implementation of recipe detail views
Can you please rebase these latest fixes as a new patch on top of toaster/master ?
Thank you,
Alex
On Tue, Jan 21, 2014 at 8:27 PM, Reyna, David <[email protected]> wrote:
Hi Alex,* Ok, I fixed the formatting errors. The ³<div class="tab-pane" Š>² did not want a ³name² attribute,
and the ³<th>² was missing a wrapping ³<tr>².* I see now that ³Firebug² saw the ³<th>² error, but it marked it subtle red that I had to manually
scroll and look out for (and did not complain about the ³<div class² issue at all). If there is an error dialog or listing for Firebug I have not found it, so this is a shy tool as far as errors go.* I then used ³HTMLValidator², which immediately gave me the results that you observed. I fixed them,
and I get a HTML5 pass, but now I seeŠ"0 errors / 3 warnings"
Š but no list of the supposed warnings anywhere. I have tried serial mode, tidy mode alone, plus
the online mode. All say 3 warnings but no details. In my Google searches there are it seems always explicit warnings listing with this message. There are also mentions here and there are sometimes false and empty warnings. It is maddening.* I have pushed the fixed commit in any case.
- David
From: Damian, Alexandru [mailto:[email protected]]
Sent: Tuesday, January 21, 2014 10:20 AM
To: Reyna, David
Cc: [email protected]Subject: Re: [Toaster] V2: Commit for recipe detail view ready for review
I removed the div with row-fluid and moved the row-fluid class to the outer-most div.
It doesn't affect the HTML5 validation.
The errors I get in the Recipe detail page are:
line 122 column 73 - Error: Attribute name not allowed on element div at this point.
line 155 column 24 - Error: th start tag in table body.
line 519 column 72 - Error: Attribute name not allowed on element div at this point.
line 575 column 68 - Error: Attribute name not allowed on element div at this point.
line 584 column 70 - Error: Attribute name not allowed on element div at this point.Cheers,
Alex
On Tue, Jan 21, 2014 at 5:48 PM, Reyna, David <[email protected]> wrote:
What was the adjustment? I am curious if that aFfects the HTML5 valilidation, or its parent page
basebuildpage.html.David
From: Damian, Alexandru [mailto:[email protected]]
Sent: Tuesday, January 21, 2014 05:30
AMTo: Reyna, David
Cc: Barros Pena, Belen <[email protected]>Subject: Re: [Toaster] V2: Commit
for recipe detail view ready for reviewMerged ! Congrats !
I just had a couple of modifications:
- debuged the alignment issue with Belen and had a small change in basebuilddetailpage.html
- whitespace at the end of line; i.e, there should not be whitespace on any line before \n; I use s/[[:space:]]\+$// to make sure I don't whitespace :)
Alex
On Tue, Jan 21, 2014 at 1:16 PM, Damian, Alexandru <[email protected]> wrote:
Looks ok to me, I'm gonna test and take it into toaster-master if it tests ok :)Alex
On Tue, Jan 21, 2014 at 12:46 PM, Reyna, David
<[email protected]> wrote:
Hi Alex and Balen,So, with the below decision, does my submission get a pass :-)?
- David
Quoted 80 lines
-----Original Message-----
From: [email protected] [mailto:toaster- [email protected]] On Behalf Of Barros Pena, Belen
Sent: Tuesday, January 21, 2014 3:57 AM
To: Paul Eggleton; Richard Purdie
Cc: [email protected]
Subject: Re: [Toaster] V2: Commit for recipe detail view ready for reviewQuoted 9 lines · Paul Eggleton
Quoted 8 lines · On Tuesday 21 January 2014 11:39:08 Richard Purdie wrote:
Quoted 7 lines · Paul Eggleton
Quoted 6 lines · David
Hi Belen,
Quoted 2 lines
Just came across a Homepage: unknown (in the recipe update-rc.d-native). The recipe has no HOMEPAGE variable set
But, it does have a value (that is returned from the database),
and
Quoted 2 lines
Quoted 2 lines
that
Quoted 1 line
Quoted 1 line
value happens to be the literal string "unknown". The code is
only
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
testing
whether or not the value is defined and is not of length zero -all
Quoted 9 lines
Quoted 9 lines
else
Quoted 8 lines
Quoted 8 lines
is
up to the database.{% if object.homepage %} <dt>Homepage</dt> <dd><ahref="{{object.homepage}}">{{object.homepage}}</a></dd>
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
{% endif %}Now, if you want me to add an additional test in the code for
the
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
literal
string "unknown", then I can certainly do that, but that wouldbe a
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
hard-coded literal string added to the template code.
The default value from
meta/conf/bitbake.confis "unknown", andit's
Quoted 2 lines
Quoted 2 lines
been
Quoted 1 line
that way since the early OE-Classic days. I honestly don't know
why
Quoted 8 lines
Quoted 6 lines
that
Quoted 1 line
is the default, I'd personally prefer if it was blank. Assuming
OE-Core
Quoted 1 line
keeps that default though we're going to see a lot of these.
Lets change the default?
Probably a good idea. I'll send a patch.
Wondrous. Thank you.
Quoted 4 lines
Cheers,
PaulQuoted 8 lines
--
Paul Eggleton
Intel Open Source Technology Centre
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toasterQuoted 4 lines
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster--
Alex Damian
Yocto Project
SSG / OTC
Signature · 37 lines
Alex Damian Yocto Project SSG / OTC -- Alex Damian Yocto Project SSG / OTC -- Alex Damian Yocto Project SSG / OTC
Hi David,
Quoted 7 lines · David
Quoted 3 lines · Belen Barros Pena
... package size is being displayed in bytes, instead of being converted to KB or MB as appropriate.
Any chance we could get that changed?Yes, I will write a custom filter that we can all use for the visual translation.
FYI, you shouldn't need to write a new filter for this - Django has a built-in filter "filesizeformat" that does this:
https://docs.djangoproject.com/en/1.5/ref/templates/builtins/#filesizeformat
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Hi Paul,
The filesizeformat filter doesn't implement the formatting that Belen has specified in the specs. It emits "bytes" and not the IEC 80000-13, IEEE 1541 and the Metric Interchange Format standard "B" (which I had never seen before but is noted in a few places in wikipedia).
As I sent in email to David and toaster@... I have added a filter to projecttags that implements the size formatting requested by Belin in the specs. 'filtered_filesizeformat' changes the output of filesizeformat,
- replacing "bytes" with "B", and
- trimming off a trailing ".0"
These are the two additional filter requirements not found in filesizeformat filter.
The code is being discussed today at 10am central time (4pm london time) if you want to sit in and is in the repo 'lerner/package-detail-views'
-Dave
Quoted 35 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Paul Eggleton
Sent: Tuesday, January 28, 2014 3:05 AM
To: Reyna, David
Cc: [email protected]
Subject: Re: [Toaster] V2: Commit for recipe detail view ready for reviewHi David,
Quoted 7 lines · David
Quoted 3 lines · Belen Barros Pena
... package size is being displayed in bytes, instead of being converted to KB or MB as appropriate.
Any chance we could get that changed?Yes, I will write a custom filter that we can all use for the visual translation.
FYI, you shouldn't need to write a new filter for this - Django has a built-in filter "filesizeformat" that does this:
https://docs.djangoproject.com/en/1.5/ref/templates/builtins/#filesizeformat
Cheers,
Paul--
Paul Eggleton
Intel Open Source Technology Centre
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster