<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.panglossian.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ACommit</id>
	<title>Template:Commit - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.panglossian.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ACommit"/>
	<link rel="alternate" type="text/html" href="https://wiki.panglossian.net/wiki/index.php?title=Template:Commit&amp;action=history"/>
	<updated>2026-07-07T20:52:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://wiki.panglossian.net/wiki/index.php?title=Template:Commit&amp;diff=69&amp;oldid=prev</id>
		<title>Stuart: Template cribbed from Blue Prism (well, I wrote it)</title>
		<link rel="alternate" type="text/html" href="https://wiki.panglossian.net/wiki/index.php?title=Template:Commit&amp;diff=69&amp;oldid=prev"/>
		<updated>2016-09-13T10:22:37Z</updated>

		<summary type="html">&lt;p&gt;Template cribbed from Blue Prism (well, I wrote it)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;&amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[https://dev.blueprism.com/gitlab/development/{{{2|automate}}}/commit/{{{1|}}} {{#ifeq:{{{2|automate}}}|automate|{{#ifeq:{{{showproject|{{{3|}}}}}}|yes|({{{2|automate}}})}}|{{#ifeq:{{{showproject|{{{3|}}}}}}|no||({{{2}}})}}}} commit {{{1|}}}]&amp;lt;/span&amp;gt;&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
Creates a link to a commit in the current web frontend to our versioning repository.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
The mandatory first parameter is the commit ID to link to. A second optional parameter can specify a different project - by default, this will assume the &amp;lt;code&amp;gt;automate&amp;lt;/code&amp;gt; project.&lt;br /&gt;
&lt;br /&gt;
Partial IDs are allowed as long as the web URL supports - for git, they work fine - typically the first 6-8 digits of the SHA1 hash will suffice as a unique ID for the commit.&lt;br /&gt;
&lt;br /&gt;
== Examples == &lt;br /&gt;
&lt;br /&gt;
To link to commit 4ebaad524 in automate :-&lt;br /&gt;
  &amp;lt;nowiki&amp;gt;{{commit|4ebaad524}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
which results in: {{commit|4ebaad524}}&lt;br /&gt;
&lt;br /&gt;
To link to commit fe3940b128 in the qacontrol repo, use:&lt;br /&gt;
  &amp;lt;nowiki&amp;gt;{{commit|fe3940b128|qacontrol}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
which results in: {{commit|fe3940b128|qacontrol}}&lt;br /&gt;
&lt;br /&gt;
This will not show the project name if the project is &amp;lt;code&amp;gt;automate&amp;lt;/code&amp;gt;. You can force it to show it then by passing a &amp;lt;code&amp;gt;showproject=yes&amp;lt;/code&amp;gt; parameter, eg.&lt;br /&gt;
  &amp;lt;nowiki&amp;gt;{{commit|4ebaad524|showproject=yes}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
will output: {{commit|4ebaad524|showproject=yes}}&lt;br /&gt;
&lt;br /&gt;
Equally, a parameter of &amp;lt;code&amp;gt;showproject=no&amp;lt;/code&amp;gt; will override the outputting of the project in non-automate calls. For example:&lt;br /&gt;
  &amp;lt;nowiki&amp;gt;{{commit|fe3940b128|qacontrol|showproject=no}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
will produce: {{commit|fe3940b128|qacontrol|showproject=no}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Stuart</name></author>
	</entry>
</feed>