kebe

module
v0.0.0-...-c4b491b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2021 License: GPL-3.0, GPL-3.0

README

Introduction

Kebe intends to be a full replacement for the Snap Store.

Quickstart

Once you have an environment setup (for instance using https://github.com/freetocompute/kebe-helm) then you are ready to initialize your store.

Run:

go run bin/admin/main.go store -s <database ip> -p <database port> -d <database name> 
-x <database password> -u <database user> -m <minio host> -a <minio access key> -k <minio secret key>
initialize

You can also use go run bin/admin/main.go store --help for more details.

If you've previously initialized your store, you will need to use destroy before you can do it again.

Once you've done that you can browse to your assertions http://cluster-address:30900/minio/root. These will be used in your patched snapd.

Development

task build-push-redeploy

Requirements

Struct Generation From Schemas

Uses https://github.com/a-h/generate

go get -u github.com/a-h/generate/...

Currently requires manual fix-up after generation due to tool bugs.

Based on the PR here some required fields in the schema were removed to only require what Snapcraft currently cares about.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL