Fortanix SDKMS Plugin Registr Builder
Project description
SDKMS Plugin Registry Builder
This tool builds a SDKMS plugin registry manifest file out of a git repository. It iterates through each commit and signs it. At each step of the iteration the tool keep building the manifest which is a JSON structure with the following schema:
{
"license": <Common MPL license for thos plugin that don't specify a license>
"plugins": [
{
"name": "<Plugin Name>",
"versions": {
"<version>": {
"path": <path/to/plugin/file>,
"description": <plugin description>,
"short_description": <short description / used by SDKMS for disaply in tiles>,
"release_notes": [
<str>,
...
],
"commit": <hexsha>
},
...
}
},
...
]
}
Fortanix Plugin Registry
SDKMS Plugin Registries are GIT repositories that contains SDKMS plug in (custom LUA code) that can be executed inside SDKMS to achieve certain business specific logic, or a functionality that is not part of the core capabilities offered by SDKMS. The repository should follow the following conventions:
- Each plugin should have a unique name.
- There should be just one plugin in each subdirectory.
- In each subdirectory the following files are required (case-sensitive):
- plugin.lua: Contains the plugin code.
- README.md: Contains a description of the plugin.
- metadata.json: Contains metadata of the plugin. The schema of the JSON should be:
{
"name": <Plugin name>,
"version": <Plugin version>,
"short_description": <Short description of what the plugin does. This text will be displayed in the plugin tile in the UI>,
"release_notes": [
<Array of release notes>
]
}
Instructions
Before running this tool it is necessary that the GIT repository to be built is setup with the configuration so that its commits can be signed. Once the repository is setup run:
sdkms-plugin-registry-builder --repo-dir <Path/to/git/repository>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for sdkms-plugin-registry-builder-1.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a48a29a193a12d101995f2ec290ab8b76737ae2c8830cf7ead908673308112fc |
|
MD5 | 0956fbfde28f836c3cd36970cd029f3e |
|
BLAKE2b-256 | 28a91e8d17e8b2f6105bc1037106e61232ffc91d49342a3ef9963dd2472f8416 |
Hashes for sdkms_plugin_registry_builder-1.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37f6233865d9206e7409d069630b37a960a60537dcc1f4361c4001931a3769c8 |
|
MD5 | ac3b0fabae950de473447fc2019ead52 |
|
BLAKE2b-256 | ada82ce051f3d518131d19a2b9f7f13d83b08c535bdde54e5bb7eb4d827065e1 |