mirror of https://github.com/KLayout/klayout.git
Updated doc.
This commit is contained in:
parent
e8a29ac612
commit
407c967de4
|
|
@ -145,7 +145,7 @@
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
For public deployment, the <a href="http://sami.klayout.org">Salt.Mine Service</a> is used to register
|
For public deployment, the Salt.Mine service (<tt>http://sami.klayout.org</tt>) is used to register
|
||||||
new packages in the package index. By default, KLayout loads the package index from that service, so
|
new packages in the package index. By default, KLayout loads the package index from that service, so
|
||||||
once your package is registered there, everyone using KLayout will see it.
|
once your package is registered there, everyone using KLayout will see it.
|
||||||
</p>
|
</p>
|
||||||
|
|
@ -155,4 +155,50 @@
|
||||||
process.
|
process.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<h2>The Package Index</h2>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Packages are published on the Salt.Mine server. This is a web service that delivers a
|
||||||
|
packages index with some meta data such as current version, the icon
|
||||||
|
and a brief description. KLayout uses this list to inform users of packages available
|
||||||
|
for installation and available updates. The package index can be served by other
|
||||||
|
ways too. The only requirement is to be accessible by a http, https or file URL.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
The basic format of the index is XML with this structure:
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<pre><salt-mine>
|
||||||
|
<salt-grain>
|
||||||
|
<name>name</name>
|
||||||
|
<version>Version</version>
|
||||||
|
<title>Title of the package</title>
|
||||||
|
<doc>A brief description</doc>
|
||||||
|
<doc_url>Documentation URL</doc_url>
|
||||||
|
<url>Download URL</url>
|
||||||
|
<license>License model</license>
|
||||||
|
<icon>Icon image: base64-encoded, 64x64 max, PNG preferred</icon>
|
||||||
|
</salt-grain>
|
||||||
|
...
|
||||||
|
</salt-mine></pre>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
When the package manager is opened, KLayout will download the index from
|
||||||
|
<tt>http://sami.klayout.org/repository.xml</tt>. You can set the <tt>KLAYOUT_SALT_MINE</tt>
|
||||||
|
environment variable to a different URL which makes KLayout use another dictionary
|
||||||
|
service, i.e. one inside your own organisation. This service can be any HTTP server
|
||||||
|
that delivers a package list in the same format than the Salt.Mine package service.
|
||||||
|
The URL can also be a "file:" scheme URL. In this case, KLayout will download the
|
||||||
|
list from the given file location.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
When installing a package, KLayout will simply download the files from the URL given
|
||||||
|
in the package list. KLayout employs the WebDAV protocol to download the files.
|
||||||
|
This protocol is spoken by Subversion and GitHub with the subversion bridge. The
|
||||||
|
latter requires a simple translation of the original Git URL's to obtain the
|
||||||
|
subversion equivalent.
|
||||||
|
</p>
|
||||||
|
|
||||||
</doc>
|
</doc>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue