<div dir="ltr">Hi Andreas,<div>There is no plan AFAIK of such re-implementation. Patches are welcome as usual.</div><div>I think this is a nice feature.</div><div>This would require a model change in the database and in the data/message model, so that the progress is available live in the UI.</div><div>As a first step, this could however abuse the state_string in order to store setProgress values</div><div><br></div><div>Pierre</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Oct 5, 2018 at 9:11 PM Andreas Sommer <<a href="mailto:andreas.sommer87@googlemail.com">andreas.sommer87@googlemail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is there a plan to re-add the progress feature, though? That is, allow build steps to report a progress text which the www component would display. That would be quite helpful especially if progress can be set from a log observer. For instance, one could parse progress of CMake projects (Make: `[ 53%]`, Ninja: `[13/60]`) or other builds that report such information. If there is some interest, would you be interested in a pull request for this feature?<br>
<br>
P.S. re original topic: I've opened a pull request to add an "addURL from log observer" example to the documentation (<a href="https://github.com/buildbot/buildbot/pull/4349" rel="noreferrer" target="_blank">https://github.com/buildbot/buildbot/pull/4349</a>). It was already mentioned there (not sure since when).<br>
<br>
Best,<br>
 Andreas<br>
<br>
On 2018-06-24 17:05, Pierre Tardy wrote:<br>
> Hi,<br>
> Indeed, setProgress is a relique of an eight API, and is not implemented in 1.0. any help is apreciated to fix the tutorial you did find (not sure which one it is)<br>
> What you need is step.addURL, which does what you describe in the UI.<br>
> <br>
> <a href="http://docs.buildbot.net/latest/manual/customization.html#buildstep-urls" rel="noreferrer" target="_blank">http://docs.buildbot.net/latest/manual/customization.html#buildstep-urls</a><br>
> <br>
> Regards,<br>
> Pierre<br>
> <br>
> On Sun, Jun 24, 2018 at 11:10 AM Andreas Sommer <<a href="mailto:andreas.sommer87@googlemail.com" target="_blank">andreas.sommer87@googlemail.com</a> <mailto:<a href="mailto:andreas.sommer87@googlemail.com" target="_blank">andreas.sommer87@googlemail.com</a>>> wrote:<br>
> <br>
>     Hi all,<br>
> <br>
>     I've read the "Adding LogObservers" tutorial[0] which leverages `self.step.setProgress` to store information parsed from the log.<br>
> <br>
>     However this function isn't even implemented:<br>
>     > master/buildbot/process/buildstep.py:<br>
>     >    def setProgress(self, metric, value):<br>
>     >        # this function temporarily does nothing<br>
>     >        pass<br>
> <br>
>     Any plans to get this finished? If it were implemented, could it be used to display something in the web interface. My use case: find the line `[02:22:49] Logs: /pdr/data/logs/bulk/103amd64-2018Q2-bulk-master/2018-06-24_01h12m11s` and construct+display a clickable web link to the detailed build log (which are created in separate files on disk).<br>
> <br>
>     Cheers,<br>
>      Andreas<br>
> <br>
>     [0] <a href="http://docs.buildbot.net/latest/manual/customization.html#adding-logobservers" rel="noreferrer" target="_blank">http://docs.buildbot.net/latest/manual/customization.html#adding-logobservers</a><br>
>     _______________________________________________<br>
>     users mailing list<br>
>     <a href="mailto:users@buildbot.net" target="_blank">users@buildbot.net</a> <mailto:<a href="mailto:users@buildbot.net" target="_blank">users@buildbot.net</a>><br>
>     <a href="https://lists.buildbot.net/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.buildbot.net/mailman/listinfo/users</a><br>
> <br>
> -- <br>
> <br>
> <br>
</blockquote></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><p dir="ltr"><br></p>
</div></div>