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

Allow for Specifying a Custom Display Name per Project in CCTray #292

Open
fhaag opened this issue Jun 17, 2020 · 6 comments
Open

Allow for Specifying a Custom Display Name per Project in CCTray #292

fhaag opened this issue Jun 17, 2020 · 6 comments

Comments

@fhaag
Copy link

fhaag commented Jun 17, 2020

In my CCTray, I am currently observing various builds of four of our branches, namely our trunk and three release branches. CCTray can successfully connect to the build server (by means of .NET Remoting) and retrieve the status ... which is then shown in my table in rows starting like this:

Project Server Category ...
Core Public buildsrv:28002 [buildsrv]Public ...
Core Release buildsrv:28002 [buildsrv]Release ...
Core Debug buildsrv:28002 [buildsrv]Debug ...
Modules Public buildsrv:28008 [buildsrv]Public ...
Modules Release buildsrv:28008 [buildsrv]Release ...
Modules Debug buildsrv:28008 [buildsrv]Debug ...
Modules Tests buildsrv:28008 [buildsrv]Tests ...
Core Public buildsrv:28010 [buildsrv]Public ...
Core Release buildsrv:28010 [buildsrv]Release ...
Core Debug buildsrv:28010 [buildsrv]Debug ...
Modules Public buildsrv:28011 [buildsrv]Public ...
Modules Release buildsrv:28011 [buildsrv]Release ...
Modules Debug buildsrv:28011 [buildsrv]Debug ...
Modules Tests buildsrv:28011 [buildsrv]Tests ...
Core Public buildsrv:28012 [buildsrv]Public ...
Core Release buildsrv:28012 [buildsrv]Release ...
Core Debug buildsrv:28012 [buildsrv]Debug ...
Modules Public buildsrv:28014 [buildsrv]Public ...
Modules Release buildsrv:28014 [buildsrv]Release ...
Modules Debug buildsrv:28014 [buildsrv]Debug ...
Modules Tests buildsrv:28014 [buildsrv]Tests ...
Core Public buildsrv:28032 [buildsrv]Public ...
Core Release buildsrv:28032 [buildsrv]Release ...
Core Debug buildsrv:28032 [buildsrv]Debug ...
Modules Public buildsrv:28018 [buildsrv]Public ...
Modules Release buildsrv:28018 [buildsrv]Release ...
Modules Debug buildsrv:28018 [buildsrv]Debug ...
Modules Tests buildsrv:28018 [buildsrv]Tests ...
------------- -------------- --------------- ...

Obviously, this is pretty much useless the more branches I need to observe and I can only guess based on the order of insertion which line refers to which build.

To clarify: The issue I'm having with the above list is that we have several build projects with the same name. The only way they can be distinguished in CCTray is by the port number in their server names, and those are assigned asystematically and thus nothing I would want to memorize.

This tool would be so much more useful if, in the CruiseControl.NET Tray Settings dialog box, there were some way to optionally assign a custom display name to each project that is then shown in the main window.

Is there may already some non-obvious way to do this (by directly editing any config files? Or alternatively, for setting a custom display name for each server?

@RubenWillems
Copy link
Member

RubenWillems commented Jun 17, 2020 via email

@fhaag
Copy link
Author

fhaag commented Jun 17, 2020

Hi

if you just want to view if the builds are ok or not, take a look at Cradiator https://github.com/PandaWood/Cradiator

Hi,

Thanks for pointing out that tool.

I may try it in other contexts, though in this case, my use case is unfortunately a bit different:

Indeed, seeing which builds have failed is one important task (but even then, I'd like to see them all at a glance, rather than waiting for a certain amount of time to see the next couple of projects).

But then, another thing I often do in CCTray is look for a specific running task, right-click it and examine its current progress.

Or, quickly find a particular non-running, non-automated task in CCTray, right-click it, and force a rebuild.

Thus, I'm not sure whether Cradiator is a suitable solution for my use cases. But anyway, to be certain: If I did set up different viewports in Cradiator, how would that help me distinguish which one of my (w.l.o.g.) "Core Public" projects is currently shown? Can I enter some custom viewport name that is then displayed?

Best Regards
Florian Haag

@RubenWillems
Copy link
Member

RubenWillems commented Jun 18, 2020 via email

@fhaag
Copy link
Author

fhaag commented Jun 18, 2020

Hi,

Thank you for your detailed explanations!

As I said, I'm not so much interested in the failing projects. Rather than that, I often want to interact with projects that build fine.

With that said, though, I'm giving Cradiator a try. Unfortunately, it seems it exhibits exactly the same problems as I described for CCTray, but maybe I just haven't found the correct settings yet?

For instance, you gave the following example:

An example of a view : This will only show the Core projects :
Core Public
Core Release
Core Debug

Uh, no ... actually, what I'm seeing now in Cradiator is:

Core Public
Core Release
Core Debug
Core Public
Core Release
Core Debug
Core Public
Core Release
Core Debug
Core Public
Core Release
Core Debug

So ... how can I tell which is which? Which of those projects named "Core Public", for instance, is the trunk one, which one is from which branch? Exactly the same issue as in CCTray, unless I can somehow add a custom display name to each of those projects.

Suppose that only the Debug is broken, only that project will be displayed in red, because of showOnlyBroken being set to true.

Hm. Doesn't seem to work, I've set that to true, and yet, I'm seeing all 12 projects (all of which are currently green). But even so - if it did work, how could I tell which one of the four Debug projects is broken?

@RubenWillems
Copy link
Member

RubenWillems commented Jun 18, 2020 via email

@fhaag
Copy link
Author

fhaag commented Jun 18, 2020

Ok, but again, I can already see the server names in CCTray perfectly fine.

The issue is that the only difference between the server names are different port numbers, which do not follow any logical system, and I do not want to memorize them.

It seems the name specified for each view in the config is not displayed in the UI, either, so all I might be able to go by in Cradiator is the server name again.

As I said, I will bookmark Cradiator and may use it on another occasion at some point as the colourful overview is really nice, but with respect to the issues described in this ticket, it seems that Cradiator exhibits exactly the same problems as CCTray.

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

No branches or pull requests

2 participants