Map project names to more human friendly names

Dec 18, 2012 at 6:44 PM

Hey,

I'm looking at changing our build screen from big visible cruise to cradiator.  BVC had a feature where you could map the project names to more human friendly names.  Can you do that in cradiator?  I don't see much documentation.

Coordinator
Dec 18, 2012 at 11:48 PM
Edited Dec 18, 2012 at 11:52 PM

Hi,

Actually, I don't believe BVC could map project names to something else. Can you copy in something from your BVC config that does it? (I mean, I have the latest BVC release here and I can't see anything to do that).

I'm pretty sure I didn't take away any features, BVC specifically wanted to avoid feature overkill and left it very basic.

There's a fair amount of documentary explanation of features in the app.config - http://cradiator.codeplex.com/SourceControl/changeset/view/76924#982856 - though bear in mind, I host the code on github now, which I hope is pretty clear.

I should make the documentation in app.config more findable - I see CodePlex has convenienty deleted the "Release Notes" section from their website design since I last checked, which would have made it a little easier.

But back to your issue, I allow mapping of usernames to friendly names, because that's not easy to control - but if I understand you correctly, I don't see much point in mapping project names. It could be misleading and you could just as easily change the project name to something friendly yourself?

Dec 19, 2012 at 4:40 PM
Edited Dec 19, 2012 at 4:42 PM

 

Yeah, you can. Here's an example of the config we have.
	<applicationSettings>		<BigVisibleCruise.Properties.Settings>
			<setting name="PollFrequency" serializeAs="String">
				<value>00:02:00</value>
			</setting>
			<setting name="Dashboard" serializeAs="String">
				<value>http://build/ccnet/XmlStatusReport.aspx</value>
			</setting>
			<setting name="ProjectNamesToInclude" serializeAs="Xml">
				<value>
					<ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
					  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
						<string>DEV-BUILD-01 Build</string>
					</ArrayOfString>
				</value>
			</setting>
			<setting name="ProjectNameSubstitutions" serializeAs="Xml">
			        <value>
			          <ArrayOfString xmlns:xsd="http://www.w3.org/2001/XMLSchema">
						<string>DEV-BUILD-01 Build=Team1</string>
			          </ArrayOfString>
			        </value>
		      </setting>
		</BigVisibleCruise.Properties.Settings>
	</applicationSettings>

 

We have multiple team builds in complex multi-stage ci environment, so I know I could just change the name of the build projects on ccnet but I want detailed names on the ccnet build projects and just team names on the board so that anyone (even outside of dev) can walk by and see the current status. Anyway I thought it was a great feature in BVC and just wondering if it was mirrored here since I thought these projects came from the same source. Thanks,

Coordinator
Dec 26, 2012 at 10:37 AM
Edited Dec 26, 2012 at 10:45 AM

digdug,

Not to harp on it too much, but you have obviously added your own setting called "ProjectNameSubstitutions" - or obtained the code to do that from some other source.

I just downloaded BVC from the GoogleCode page and find no such setting (http://code.google.com/p/bigvisiblecruise/downloads/list)

Nor is it in the source - http://code.google.com/p/bigvisiblecruise/source/browse/trunk/src/BigVisibleCruise/Properties/Settings.settings

Hence this setting is not mirrored in Cradiator. It didn't exist to be mirrored.

Now that we know it's not a feature of BVC, maybe you can code it for Cradiator too? ;-) http://github.com/PandaWood/Cradiator

I don't think it would be hard at all. It would be quite similar to the "username mapping" feature I did 

<usernames>
<add key="jsmith" value="John Smith"/>
</usernames>

https://github.com/PandaWood/Cradiator/blob/master/src/Cradiator/app.config

Do make the config look just like the username mapping, though - that crazy, verbose XML you've got there (ArrayString, SerializeAs) for such a simple idea, would kill me ;-)

Dec 28, 2012 at 7:49 AM
Hi all

would the CCNet 'Description' property not be of use here?
I mean : there is a description in CCNet, why not use it

this way a lot of the config is still in CCNet

we have the project name, the project description

what other 'name' would you like to see in an external app like Cradiator
just to reduce the amount of config one must do when adding / removing projects


just a thought :-)


with kind regards
Ruben Willems



On 26 December 2012 11:38, PandaWood <notifications@codeplex.com> wrote:

From: PandaWood

digdug,

Not to harp on it too much, but you have obviously added your own private setting called "ProjectNameSubstitutions" - or obtained the code to do that from some other source.

I just downloaded BVC from the GoogleCode page and find no such setting (http://code.google.com/p/bigvisiblecruise/downloads/list)

Nor is it in the source - http://code.google.com/p/bigvisiblecruise/source/browse/trunk/src/BigVisibleCruise/Properties/Settings.settings

Now that we know it's not a feature of BVC, maybe you can code it for Cradiator too? ;-)

I don't think it would be hard at all. It would be quite similar to the "username mapping" feature I did

<usernames>
<add key="jsmith" value="John Smith"/>
</usernames>

https://github.com/PandaWood/Cradiator/blob/master/src/Cradiator/app.config

Do make the config look just like the username mapping, though - that crazy, verbose XML you've got there (ArrayString, SerializeAs) for such a simple idea, would kill me ;-)

Read the full discussion online.

To add a post to this discussion, reply to this email (Cradiator@discussions.codeplex.com)

To start a new discussion for this project, email Cradiator@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com


Dec 31, 2012 at 2:18 PM

Using the description is a good idea; in fact I think that would work the best.

 

I did a little research, looks like they pulled that rename config setting from bvc in version 0.7...