[CDash] Project revision information missing on viewUpdate.php, bugs in AngularJS code?
Zack Galbreath
zack.galbreath at kitware.com
Thu Apr 12 18:41:10 UTC 2018
You're right, this looks like a bug on viewUpdate.php. Here's the fix:
https://github.com/Kitware/CDash/pull/668
I'll reply here again when trunk.cdash.org gets updated.
On Tue, Apr 10, 2018 at 11:39 AM, Niels Dekker <
niels_dekker_address_until_2024 at xs4all.nl> wrote:
> It would be very convenient if each Update page of a project would show
> the corresponding revision tag (Git SHA) of the project, possibly with a
> link to the specific revision (e.g., at GitHub). It seems like this
> functionality was built into CDash, but it just does not work! Colleagues
> of mine at LKEB (www.lkeb.nl) helped me to find some possible bugs in the
> CDash AngularJS code, that seem to cause this issue.
>
> Regarding the SuperElastix project that I am involved with (
> https://github.com/SuperElastix), I would have liked to see the Git SHA
> of SuperElastix at http://trunk.cdash.org/viewUpdate.php?buildid=1238277
> The HTML source of that page says:
>
> <div ng-if="::cdash.updates.revision">
> <b>Revision: </b>
> <a ng-href="::cdash.update.revisionurl">{{::cdash.update.revision}}</a>
> <div ng-if="::cdash.update.priorrevision">
> <br/>
> <b>Prior Revision: </b>
> <a ng-href="::cdash.update.revisiondiff">{{::cdash.update.
> priorrevision}}</a>
> <br/>
> <br/>
> </div>
>
> Could it be that "cdash.updates.revision" was misspelled? Shouldn't it be
> "cdash.update.revision" (without the 's')?
>
> Moreover, it seems that some extra "{{" and "}}" might be needed, for
> AngularJS markups inside an ng-href="...". Specifically, it seems that
> "::cdash.update.revisionurl" should be "{{::cdash.update.revisionurl}}".
> What do you think?
>
>
> Related file (I guess):
> https://github.com/Kitware/CDash/blob/4f328cd838d0486901f58c
> 2844fd11415b4abb52/public/views/viewUpdate.html
>
> HTH, Niels
>
> --
> Niels Dekker
> Scientific programmer
> LKEB, Leiden University Medical Center
> _______________________________________________
> CDash mailing list
> CDash at public.kitware.com
> https://public.kitware.com/mailman/listinfo/cdash
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cdash/attachments/20180412/efd9af75/attachment-0001.htm>
More information about the CDash
mailing list