Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic Label: link to git/svn by executed result #111

Open
raDiesle opened this issue Jul 29, 2014 · 5 comments
Open

Dynamic Label: link to git/svn by executed result #111

raDiesle opened this issue Jul 29, 2014 · 5 comments
Labels

Comments

@raDiesle
Copy link

as we run phantomas in our Continuous Integration process,
we want to know about the revision.

For this, it would be very helpful to pass e.g. a http address, which, in our case
would be not the date, but the revision number,
so that people can click on it and see the code in e.g. an online revision system.

This is wrongly posted,too on : macbre/phantomas#372

@stefanjudis
Copy link
Owner

Do I get you correct:

You want functionality to add custom links to the UI?
We could solve this in a generic way to avoid similar future tickets?

@raDiesle
Copy link
Author

So it is exactly about :
mouse hovering over one dot time of the chart
=> showing Link/Information not only about date/time, but also about the revision with a link to some github for example.

@stefanjudis
Copy link
Owner

Hmm I'm not sure how to implement this with a nice config option.

Any suggestions? :bowtie:

@raDiesle
Copy link
Author

Probably there is a cleaner solution, but an easy would be :

Assuming that phantomas results are not checked in ( or in a different repository)
but source are:

  1. Store last 100 hashs
    e.g. with grunt shell in some custom variable
    git hist

grunt-phantomas option callback for string/array-string returning the full url/urls
of the current related commits.
Map them in a separate data file and match all commits from last known hash commit until
the latest. Show them on mouseover of the dot in chart.

@stefanjudis
Copy link
Owner

Don't get it. can you explain a bit more in detail?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants