Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] buildroot autobuild we access
@ 2016-07-13 13:38 Vlad Zakharov
  2016-07-13 13:52 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Vlad Zakharov @ 2016-07-13 13:38 UTC (permalink / raw)
  To: buildroot

Hi Peter and Thomas,

Sometimes I use your web page with autobuild buildroot results:
http://autobuild.buildroot.net/

And I found the following behavior:?
When I want to view results limited to the ARC architecture, I click at "arc" link in the "Arch" column. After that I get to a page with
results for ARC.?

But when I want to get older results (click at "Next results" at the bottom of the web page) I get a page with next 50 results for all
architectures, not only for ARC.

I looked at the browser's address bar and found the following:
	1) When I click at "arc" a GET request with parameter "arch=arc" is sent,
	2) Then I click at "Next results" request with "start=50" is sent, but "arch=arc" parameter gets missed.?
? ? ? ? ? ?So I get results for all architectures.

Thereafter?if I want to get results from 50 to 100 and older for ARC I have to edit the address bar myself to send GET request with
"arch=arc&start=50" parameters.

I think it isn't very convenient that when we click at "Next results" while viewing a page for specific arch we are getting results for all
archs. As for me we should get next 50 results for that specific arch.

To fix it we just have not to lose "arch" parameter when clicking at "Next results" link.

-- 
Best regards,
Vlad Zakharov <vzakhar@synopsys.com>

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

* [Buildroot] buildroot autobuild we access
  2016-07-13 13:38 [Buildroot] buildroot autobuild we access Vlad Zakharov
@ 2016-07-13 13:52 ` Thomas Petazzoni
  2016-07-13 14:02   ` Vlad Zakharov
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2016-07-13 13:52 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed, 13 Jul 2016 13:38:17 +0000, Vlad Zakharov wrote:

> Sometimes I use your web page with autobuild buildroot results:
> http://autobuild.buildroot.net/
> 
> And I found the following behavior:?
> When I want to view results limited to the ARC architecture, I click
> at "arc" link in the "Arch" column. After that I get to a page with
> results for ARC.?
> 
> But when I want to get older results (click at "Next results" at the
> bottom of the web page) I get a page with next 50 results for all
> architectures, not only for ARC.

Correct.

> I looked at the browser's address bar and found the following:
> 	1) When I click at "arc" a GET request with parameter
> "arch=arc" is sent, 2) Then I click at "Next results" request with
> "start=50" is sent, but "arch=arc" parameter gets missed. So I get
> results for all architectures.
> 
> Thereafter?if I want to get results from 50 to 100 and older for ARC
> I have to edit the address bar myself to send GET request with
> "arch=arc&start=50" parameters.
> 
> I think it isn't very convenient that when we click at "Next results"
> while viewing a page for specific arch we are getting results for all
> archs. As for me we should get next 50 results for that specific arch.
> 
> To fix it we just have not to lose "arch" parameter when clicking at
> "Next results" link.

This is just a limitation of the pile of PHP crap that I wrote to run
autobuild.buildroot.org. The code is at
http://git.buildroot.org/buildroot-test/ (of course, once the Git
repository will be back), so do not hesitate to send patches to improve
things. Be ready for a dive into a pile of horrible code if you start
looking at this PHP stuff.

Note that you can also use the magic "step" argument to get more than
50 results per-page (though it is limited to max 250 results per page
IIRC). So, you can do:

	http://autobuild.buildroot.net/?arch=arc&step=250&status=NOK

To get the latest 250 failures happening on ARC.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] buildroot autobuild we access
  2016-07-13 13:52 ` Thomas Petazzoni
@ 2016-07-13 14:02   ` Vlad Zakharov
  2016-07-13 14:33     ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Vlad Zakharov @ 2016-07-13 14:02 UTC (permalink / raw)
  To: buildroot

Hi all,

On Wed, 2016-07-13 at 15:52 +0200, Thomas Petazzoni wrote:
> Hello,
> 
> On Wed, 13 Jul 2016 13:38:17 +0000, Vlad Zakharov wrote:
> 
> > 
> > Sometimes I use your web page with autobuild buildroot results:
> > http://autobuild.buildroot.net/
> > 
> > And I found the following behavior:?
> > When I want to view results limited to the ARC architecture, I click
> > at "arc" link in the "Arch" column. After that I get to a page with
> > results for ARC.?
> > 
> > But when I want to get older results (click at "Next results" at the
> > bottom of the web page) I get a page with next 50 results for all
> > architectures, not only for ARC.
> Correct.
> 
> > 
> > I looked at the browser's address bar and found the following:
> > 	1) When I click at "arc" a GET request with parameter
> > "arch=arc" is sent, 2) Then I click at "Next results" request with
> > "start=50" is sent, but "arch=arc" parameter gets missed. So I get
> > results for all architectures.
> > 
> > Thereafter?if I want to get results from 50 to 100 and older for ARC
> > I have to edit the address bar myself to send GET request with
> > "arch=arc&start=50" parameters.
> > 
> > I think it isn't very convenient that when we click at "Next results"
> > while viewing a page for specific arch we are getting results for all
> > archs. As for me we should get next 50 results for that specific arch.
> > 
> > To fix it we just have not to lose "arch" parameter when clicking at
> > "Next results" link.
> This is just a limitation of the pile of PHP crap that I wrote to run
> autobuild.buildroot.org. The code is at
> http://git.buildroot.org/buildroot-test/ (of course, once the Git
> repository will be back), so do not hesitate to send patches to improve
> things. Be ready for a dive into a pile of horrible code if you start
> looking at this PHP stuff.
> 
> Note that you can also use the magic "step" argument to get more than
> 50 results per-page (though it is limited to max 250 results per page
> IIRC). So, you can do:
> 
> 	http://autobuild.buildroot.net/?arch=arc&step=250&status=NOK
> 
> To get the latest 250 failures happening on ARC.
> 
> Best regards,
> 
> Thomas
Okay, thank you for your advices.

Unfortunately we still have to much failures for our ARC architecture, so we have a lot of urgent work.
Despite this I will try to improve that when I find some free time.

-- 
Best regards,
Vlad Zakharov <vzakhar@synopsys.com>

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

* [Buildroot] buildroot autobuild we access
  2016-07-13 14:02   ` Vlad Zakharov
@ 2016-07-13 14:33     ` Thomas Petazzoni
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2016-07-13 14:33 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed, 13 Jul 2016 14:02:14 +0000, Vlad Zakharov wrote:

> Unfortunately we still have to much failures for our ARC
> architecture, so we have a lot of urgent work.

Sure, understood.

> Despite this I will try to improve that when I find some free time.

I never found the problem to be sufficiently annoying to have me spend
some time on it. I typically look at the daily reports by e-mail, or
instead write down the autobuild.buildroot.org manually.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

end of thread, other threads:[~2016-07-13 14:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-13 13:38 [Buildroot] buildroot autobuild we access Vlad Zakharov
2016-07-13 13:52 ` Thomas Petazzoni
2016-07-13 14:02   ` Vlad Zakharov
2016-07-13 14:33     ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox