Re: [riot-devel] Graphing build sizes

2017-10-12 Thread Kaspar Schleiser
Hi Koen,

(your mail's quoting arrived a little garbled, I'll try my best to fix)

On 10/12/2017 03:02 PM, Koen wrote:
> At that point it might be easier to integrate
> this work into the CI to trigger it after such a build.

Probably! There's already infrastructure to run arbitrary scripts after
each build, which is also used to actually parse out sizes.json.

See [1].

Probably a simple http(s) request using wget would do it?

> [1] http://docs.grafana.org/reference/annotations/

[2] pretty much shows our use-case. ;)

Kaspar

[1] https://github.com/grafana/grafana/issues/1588



signature.asc
Description: OpenPGP digital signature
___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


Re: [riot-devel] Graphing build sizes

2017-10-12 Thread Koen

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hey,

On 10/12/2017 11:19 AM, Kaspar Schleiser wrote:
> Hey Koen, > > On 10/11/2017 04:59 PM, Koen Zandberg wrote: >> For now I want 
> to
keep it up to date by running my script as a cron >> every night
approximately after the nightly build. > > If we'd build the in-between
HEAD commits, would your script pick them up? If that means I can grab
the JSON files based on the merge commit hashes, it shouldn't be that
much work to integrate. At that point it might be easier to integrate
this work into the CI to trigger it after such a build.
>> The dashboard is now a simple Grafana templated dashboard where a test >> 
>> and a board can be selected. I'd like to expand this by creating a
>> dashboard for every test or for every board. The most difficult thing
>> for now is to present the huge amount of data in a clear and concise
>> way. Input on this and the overview in general is most welcome. > >
Is it possible to put the commit hash into each step? If I move my mouse
> over a graph, each point shows a pop-up with the timestamp. It would
be > very useful to see which commit that belongs too. Maybe even with a
link > to the PR page on github? The best way to add this to the
dashboards might be to use annotations[1]. I would have to try if it is
possible to embed a link in those. I'm not sure if annotation are the
best way to show this information, but I don't have a better way at this
moment on how to integrate this in Grafana.

Koen

[1] http://docs.grafana.org/reference/annotations/
-BEGIN PGP SIGNATURE-

iQJGBAEBCAAwFiEEM1a0jNDzUUT3pcy6CJWok+bSmFsFAlnfZ/QSHGtvZW5AYmVy
Z3phbmQubmV0AAoJEAiVqJPm0phbHSIQAIVIqQfoOKwUzkohe/NdLT2IXjL7iBOk
m1N6J2HnKx5DZF1Ye8BhhwcjFcu9qF9GDNNPcxOvuv/uqtvXtrxu7FtjmdY0trk2
DqWcS7tFmtqP0ePY5xOPE11QEdoNJ0P0Nji0En4mB6egi4qFgdyc3CL9B5Vh4D6I
qwMwTYPRIprx9rmWZEyEuqVWAmW3FdnPrv2LlCEx+DiZnWoVGbN4EJ4WRy8Nd3XD
WiLvKaQgpfm7GBgVjIqx30jBpbW7x9UnqcpL0DGuGx+GT5G/6FN/GLwSd/PERy/5
JZuXyKErXptqEcJop/HOBXsiiU9xSNzBxS3pBRix0qvD9mPnwqU65uQMfAoxlsOT
RS4e/1ymPGbN6qsC7UYryVAUwf7w+RTGndnSQW6ig/FuDTesqpkPsWSblm+Czz2t
TGcjasykT7UuMT3i+W+DHsA/O7CbSaABG80E+RnzhCzXR7vbR35Yh+Zo9hbN4L1B
WWnHl/DdMDMyf2WVzIEj+/J0gnswwtfPG4JIt7LE4tJ6Szbn/PG6Q94Wm/VQnrfm
3+s0yc6I1HRd7vK4QSGO37J8IcNvgRL2+jXUeV7MvO6zqw1Ptcu6gdavzUcSdniP
lJLWAMUt93isOI/NFpz+cdoosJJ78CyZUi6bXRJzS74kdc6RmhFRodNVAnHIJRIM
94zzYXdAUAdH
=/Phv
-END PGP SIGNATURE-

___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


Re: [riot-devel] Ethernet communication initialization.

2017-10-12 Thread Martine Lenders
Hi Subhasis,

2017-10-12 11:36 GMT+02:00 subhasis :
>
> Please clarify how enc28j60 driver starts to communicate with connected
> device. Specifically how the MAC address of connected device (Linux PC) is
> known to the mote. I am using OpenBase with cc2358.
>

As far as I know this is not something Ethernet usually does. If you are
just debugging: get it by hand, if you are using it in production ARP/NDP
in IP traffic should do the trick.

Cheers,
Martine
___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


[riot-devel] Ethernet communication initialization.

2017-10-12 Thread subhasis

Hi all,

Please clarify how enc28j60 driver starts to communicate with connected 
device. Specifically how the MAC address of connected device (Linux PC) 
is known to the mote. I am using OpenBase with cc2358.


thanks,

Subhasis

___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


Re: [riot-devel] Graphing build sizes

2017-10-12 Thread Kaspar Schleiser
Hey Koen,

On 10/11/2017 04:59 PM, Koen Zandberg wrote:
> For now I want to keep it up to date by running my script as a cron
> every night approximately after the nightly build.

If we'd build the in-between HEAD commits, would your script pick them up?

> The dashboard is now a simple Grafana templated dashboard where a test
> and a board can be selected. I'd like to expand this by creating a
> dashboard for every test or for every board. The most difficult thing
> for now is to present the huge amount of data in a clear and concise
> way. Input on this and the overview in general is most welcome.

Is it possible to put the commit hash into each step? If I move my mouse
over a graph, each point shows a pop-up with the timestamp. It would be
very useful to see which commit that belongs too. Maybe even with a link
to the PR page on github?

Kaspar



signature.asc
Description: OpenPGP digital signature
___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel