<commit_before><?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<!-- 
  This is a naive OBR-XML-to-HTML tranformation style sheet 
  It should really be built from the HTML templates, instead
  of using hard-coded HTML.
  -->

<xsl:key name="category"  match="bundle" use="bundle-category"/>
<xsl:key name="apivendor" match="bundle" use="bundle-apivendor"/>
<xsl:key name="vendor"    match="bundle" use="bundle-vendor"/>

<xsl:template match="/">

<html>


<head>
<meta http-equiv = "Content-Type"
      content    = "text/html; charset=ISO-8859-1"/>

<meta http-equiv = "CACHE-CONTROL"
      content    = "NO-CACHE"/>

<meta name       = "description"
      content    = "{bundles/repository-bundle-name}"/>

<meta name       = "title"
      content    = "{bundles/repository-bundle-name}"/>

<title><xsl:value-of select="bundles/repository-bundle-name"/></title>
<LINK href="http://www.knopflerfish.org/css/knopflerfish.css" rel="stylesheet" type="text/css"/>

</head>

<body>
<a name="top"></a>
<table border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="10%">
      <div style="text-align:left; margin-right: 10px; margin-left: 10px; margin-top:10 px;">
      <a href="/index.html"><img src="http://www.knopflerfish.org/images/knopflerfish-small.gif" border="0"/></a><br/>
      <p>
      <a class="navigation_enabled" href="/index.html">Home</a><br/>
      <a class="navigation_enabled" href="/components.html">Contents</a><br/>
      <a class="navigation_enabled" href="/download.html">Download</a><br/>
      <a class="navigation_enabled" href="/changelog.html">Changelog</a><br/>
      <a class="navigation_enabled" href="/contacts.html">Contacts</a><br/>
      <a class="navigation_enabled" href="/programming.html">Programming</a><br/>
      <a class="navigation_enabled" href="/desktop.html#1">Desktop</a><br/>
      <a class="navigation_enabled" href="/osgi-links.html">Links</a><br/>
      <a class="navigation_enabled" href="/history.html">History</a><br/>
      <a class="navigation_enabled"   href="/svn_info.html">Subversion repository</a><br/>

      </p>
      <img src="http://www.knopflerfish.org/images/smallfish.gif" border="0"/>
      <br/>
      </div>
    </td>
    <td width="90%">
      <table class="bodytable">
	<tr>
	  <td class="pageheader">
	    <div style="margin-left: 5px; margin-top: 5px; margin-bottom: 5px;">
	    <h2><xsl:value-of select="bundles/repository-bundle-name"/></h2>
	    <div style="font-style: italic; margin-left: 20px; margin-right: 20px; margin-top: 5px; margin-bottom: 5px;">
	    This is an OBR compatible bundle repository.
	    </div>
	    </div>
	  </td>
	</tr>
        <tr><td height="5"></td></tr>
	<tr>
	  <td class="mainblock">
	    
	    <div style="margin-left: 5px; margin-top: 5px; margin-bottom: 5px; margin-right: 5px;">

<!-- start -->

<p>
OBR is a bundle repository format introduced by the <a href="http://oscar-osgi.sourceforge.net/repo/repository.xml">Oscar</a> OSGi project. The format consists
of an XML file describing all available bundles and an OSGi OBR bundle which
should be installed on an OSGi framework. When started, this OBR bundle can
read the XML file, list bundles, and install bundles and their dependencies.
</p>

<p>
The repository URL is <a href="http://www.knopflerfish.org/repo/repository.xml">http://www.knopflerfish.org/repo/repository.xml</a>

</p>
<p>
This repository is generated on <xsl:value-of select="bundles/date"/>
</p>


<p>
<b>Important</b>: You need either the latest bundlerepository.jar from the Oscar distribution, or the <a href="http://www.knopflerfish.org/repo/jars/bundlerepository/bundlerepository_all-1.1.0.jar">KF bundlerepository</a> bundle. The KF bundlerepository bundle also integrates into the KF desktop and console.
</p>

<h4>Available bundles, sorted by API specification</h4>

<table>

 <tr>
  <th>Bundle</th>
  <th>Description</th>
  <th>Links<br/></th>
  <th>Vendor</th>
 </tr>

 <xsl:for-each select="/bundles/bundle/bundle-apivendor[not(. = preceding::bundle-apivendor)]">
 <xsl:sort select="." order="descending"/>

 <tr>

  <td style="background-color: #eeeeee;" colspan="4">
   <xsl:choose>
    <xsl:when test=". = ''">
     Other
    </xsl:when>
    <xsl:otherwise>
     <xsl:value-of select="."/>
    </xsl:otherwise>
   </xsl:choose>
  </td>
 </tr>
 
  <xsl:for-each select="key('apivendor',.)">
  <xsl:sort select="."/>

 <tr>

  <td>
   <a href="{bundle-updatelocation}"><xsl:value-of select="bundle-name"/></a>
  </td>

  <td style="width: 300px;">
   <xsl:value-of select="bundle-description"/>
  </td>

  <td>
   <xsl:if test="bundle-docurl != ''">
    <a href="{bundle-docurl}">docs</a>
   </xsl:if>

  </td>
  <td>
   <xsl:value-of select="bundle-vendor"/>
  </td>

 </tr>
 </xsl:for-each>
 </xsl:for-each>

</table><commit_msg>added version<commit_after><?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<!-- 
  This is a naive OBR-XML-to-HTML tranformation style sheet 
  It should really be built from the HTML templates, instead
  of using hard-coded HTML.
  -->

<xsl:key name="category"  match="bundle" use="bundle-category"/>
<xsl:key name="apivendor" match="bundle" use="bundle-apivendor"/>
<xsl:key name="vendor"    match="bundle" use="bundle-vendor"/>

<xsl:template match="/">

<html>


<head>
<meta http-equiv = "Content-Type"
      content    = "text/html; charset=ISO-8859-1"/>

<meta http-equiv = "CACHE-CONTROL"
      content    = "NO-CACHE"/>

<meta name       = "description"
      content    = "{bundles/repository-bundle-name}"/>

<meta name       = "title"
      content    = "{bundles/repository-bundle-name}"/>

<title><xsl:value-of select="bundles/repository-bundle-name"/></title>
<LINK href="http://www.knopflerfish.org/css/knopflerfish.css" rel="stylesheet" type="text/css"/>

</head>

<body>
<a name="top"></a>
<table border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="10%">
      <div style="text-align:left; margin-right: 10px; margin-left: 10px; margin-top:10 px;">
      <a href="/index.html"><img src="http://www.knopflerfish.org/images/knopflerfish-small.gif" border="0"/></a><br/>
      <p>
      <a class="navigation_enabled" href="/index.html">Home</a><br/>
      <a class="navigation_enabled" href="/components.html">Contents</a><br/>
      <a class="navigation_enabled" href="/download.html">Download</a><br/>
      <a class="navigation_enabled" href="/changelog.html">Changelog</a><br/>
      <a class="navigation_enabled" href="/contacts.html">Contacts</a><br/>
      <a class="navigation_enabled" href="/programming.html">Programming</a><br/>
      <a class="navigation_enabled" href="/desktop.html#1">Desktop</a><br/>
      <a class="navigation_enabled" href="/osgi-links.html">Links</a><br/>
      <a class="navigation_enabled" href="/history.html">History</a><br/>
      <a class="navigation_enabled"   href="/svn_info.html">Subversion repository</a><br/>

      </p>
      <img src="http://www.knopflerfish.org/images/smallfish.gif" border="0"/>
      <br/>
      </div>
    </td>
    <td width="90%">
      <table class="bodytable">
	<tr>
	  <td class="pageheader">
	    <div style="margin-left: 5px; margin-top: 5px; margin-bottom: 5px;">
	    <h2><xsl:value-of select="bundles/repository-bundle-name"/></h2>
	    <div style="font-style: italic; margin-left: 20px; margin-right: 20px; margin-top: 5px; margin-bottom: 5px;">
	    This is an OBR compatible bundle repository.
	    </div>
	    </div>
	  </td>
	</tr>
        <tr><td height="5"></td></tr>
	<tr>
	  <td class="mainblock">
	    
	    <div style="margin-left: 5px; margin-top: 5px; margin-bottom: 5px; margin-right: 5px;">

<!-- start -->

<p>
OBR is a bundle repository format introduced by the <a href="http://oscar-osgi.sourceforge.net/repo/repository.xml">Oscar</a> OSGi project. The format consists
of an XML file describing all available bundles and an OSGi OBR bundle which
should be installed on an OSGi framework. When started, this OBR bundle can
read the XML file, list bundles, and install bundles and their dependencies.
</p>

<p>
The repository URL is <a href="http://www.knopflerfish.org/repo/repository.xml">http://www.knopflerfish.org/repo/repository.xml</a>

</p>
<p>
This repository is generated on <xsl:value-of select="bundles/date"/>
</p>


<p>
<b>Important</b>: You need either the latest bundlerepository.jar from the Oscar distribution, or the <a href="http://www.knopflerfish.org/repo/jars/bundlerepository/bundlerepository_all-1.1.0.jar">KF bundlerepository</a> bundle. The KF bundlerepository bundle also integrates into the KF desktop and console.
</p>

<h4>Available bundles, sorted by API specification</h4>

<table>

 <tr>
  <th>Bundle</th>
  <th>Description</th>
  <th>Version</th>
  <th>Links<br/></th>
  <th>Vendor</th>
 </tr>

 <xsl:for-each select="/bundles/bundle/bundle-apivendor[not(. = preceding::bundle-apivendor)]">
 <xsl:sort select="." order="descending"/>

 <tr>

  <td style="background-color: #eeeeee;" colspan="4">
   <xsl:choose>
    <xsl:when test=". = ''">
     Other
    </xsl:when>
    <xsl:otherwise>
     <xsl:value-of select="."/>
    </xsl:otherwise>
   </xsl:choose>
  </td>
 </tr>
 
  <xsl:for-each select="key('apivendor',.)">
  <xsl:sort select="."/>

 <tr>

  <td>
   <a href="{bundle-updatelocation}"><xsl:value-of select="bundle-name"/></a>
  </td>

  <td style="width: 300px;">
   <xsl:value-of select="bundle-description"/>
  </td>

  <td>
   <xsl:value-of select="bundle-version"/>
  </td>

  <td>
   <xsl:if test="bundle-docurl != ''">
    <a href="{bundle-docurl}">docs</a>
   </xsl:if>

  </td>
  <td>
   <xsl:value-of select="bundle-vendor"/>
  </td>

 </tr>
 </xsl:for-each>
 </xsl:for-each>

</table>
{'fraction_non_alphanumeric': 0.19582059123343526, 'fraction_numerical': 0.012232415902140673, 'mean_word_length': 3.7811890838206628, 'pattern_counts': {'":': 0, '<': 316, '<?xml version=': 2, '>': 316, 'https://': 0, 'lorem ipsum': 0, 'www.': 14, 'xml': 10}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7117372', 'n_tokens_mistral': 3676, 'n_tokens_neox': 3413, 'n_words': 721}