On 25 Oct 2017, at 07:35, Mojca Miklavec <[email protected]> wrote: > On 23 October 2017 at 10:40, db wrote: >> On 9 Oct 2017, at 12:46, Mojca Miklavec wrote: >>> That info is easy to read and collect from the buildbot. The keyword is: >>> "to collect". >> I checked https://build.macports.org/json/help, but couldn't find it. > For example: > - > https://build.macports.org/json/builders/ports-10.13_x86_64-builder/builds/10627?as_text=1 > which corresponds to > - https://build.macports.org/builders/ports-10.13_x86_64-builder/builds/10627 > > The idea would be to write a script to iterate through all numbers > from 1 on and store results somewhere. > > If you want the time estimate specifically, here might be the relevant > information: > > "name": "install-port", > ... > "times": [ > 1508901749.648058, > 1508901850.387383 > ] > > I guess the difference represents the seconds spent building the port.
Thanks. I was searching for "to collect" there and in base, to no avail. Those are the start/end epochs that I need to subtract, for a single port. How can I correlate portname to buildnumber?
