<commit_before><template name="publishAction">
{{!--
{
	createdAt: Date
	publishedAt: Date
	pkgName: String
	tagName: String,
	releaseName: String
	releaseTargetCommittish: String
	repoCloneUrl: String
	status: String ('queueing, successful, errored')
	error: String
}
--}}
	<div class="item">
		<div class="content">
			<a href="{{atmosphereUrl}}" target="_blank" class="header">
				{{pkgName}}
				{{#if binary}} ({{forArch}}){{/if}}
			</a>
			{{#if isInRole 'admin'}}
		    <div id="republishButton"  class="tiny compact circular ui icon button">
					<i class="red repeat icon"></i>
				</div>
		  {{/if}}
			{{#unless successful}}
				<div class="description">
					{{releaseName}}
				</div>
			{{/unless}}
			<div class="extra">
				{{#if queueing}}
					{{#if publishing}}
						<div class="ui active inverted dimmer">
							<div class="ui mini inline text loader">{{publishing}}</div>
						</div>
					{{/if}}
					<div class="ui right floated orange small tag label">
						New Tag: {{tagName}}
					</div>
					<div class="ui small label time">{{released}}</div>
				{{else}}
					{{#if successful}}
						<a class="ui right floated green small tag label">
							Version {{version}}
						</a>
					{{else}}
						<a class="ui right floated red small errored label">
							<i class="warning sign icon"></i> Errored!
						</a>
						<div class="ui lean flowing popup">
							<div class="ui warning icon message">
								<i class="small warning sign icon"></i>
								<div class="content">
									<div class="header">Errors:</div>
									<ul class="list">
										{{#each errors}}
											<li>{{this}}</li>
										{{/each}}
									</ul>
								</div>
							</div>
							<div class="tiny compact fluid ui red show-log button">
  							Show me the log!
							</div>
						</div>
					{{/if}}
					<div class="ui small label time">{{completed}}</div>
				{{/if}}
			</div>
		</div>
	</div>
</template>
<commit_msg>show target arch only when specified<commit_after><template name="publishAction">
{{!--
{
	createdAt: Date
	publishedAt: Date
	pkgName: String
	tagName: String,
	releaseName: String
	releaseTargetCommittish: String
	repoCloneUrl: String
	status: String ('queueing, successful, errored')
	error: String
}
--}}
	<div class="item">
		<div class="content">
			<a href="{{atmosphereUrl}}" target="_blank" class="header">
				{{pkgName}}
				{{#if forArch}} ({{forArch}}){{/if}}
			</a>
			{{#if isInRole 'admin'}}
		    <div id="republishButton"  class="tiny compact circular ui icon button">
					<i class="red repeat icon"></i>
				</div>
		  {{/if}}
			{{#unless successful}}
				<div class="description">
					{{releaseName}}
				</div>
			{{/unless}}
			<div class="extra">
				{{#if queueing}}
					{{#if publishing}}
						<div class="ui active inverted dimmer">
							<div class="ui mini inline text loader">{{publishing}}</div>
						</div>
					{{/if}}
					<div class="ui right floated orange small tag label">
						New Tag: {{tagName}}
					</div>
					<div class="ui small label time">{{released}}</div>
				{{else}}
					{{#if successful}}
						<a class="ui right floated green small tag label">
							Version {{version}}
						</a>
					{{else}}
						<a class="ui right floated red small errored label">
							<i class="warning sign icon"></i> Errored!
						</a>
						<div class="ui lean flowing popup">
							<div class="ui warning icon message">
								<i class="small warning sign icon"></i>
								<div class="content">
									<div class="header">Errors:</div>
									<ul class="list">
										{{#each errors}}
											<li>{{this}}</li>
										{{/each}}
									</ul>
								</div>
							</div>
							<div class="tiny compact fluid ui red show-log button">
  							Show me the log!
							</div>
						</div>
					{{/if}}
					<div class="ui small label time">{{completed}}</div>
				{{/if}}
			</div>
		</div>
	</div>
</template>

{'fraction_non_alphanumeric': 0.18103008669046405, 'fraction_numerical': 0.0, 'mean_word_length': 2.5728597449908923, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 99, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '394131', 'n_tokens_mistral': 1765, 'n_tokens_neox': 1230, 'n_words': 361}