Here’s my snapcraft.yaml
:
name: permaweb-host
version: git
summary: Throws a Git repo to IPNS
description: |
Permaweb Host exposes a web interface and an API to add Git repos to IPNS.
This interface is not protected. Ideally, if you want to sell its services,
you should create your own web interface with user authentication and a payment gateway.
base: core18
confinement: strict
architectures:
- "386"
- amd64
- arm
- arm64
parts:
pwemaweb-host:
build-packages:
- git
- gcc
build-snaps:
- go/stable
- ipfs/edge
- node/12/stable
override-build: |
npm install --global hogan.js
npx hulk ./web/mustache/*.html --outputdir ./web/templates/
go get -u github.com/GeertJohan/go.rice/rice
~/go/bin/rice embed-go
./scripts/ipfs.sh
snapcraftctl build
source: .
source-type: git
# stage-snaps:
# - ipfs/edge
# - ipfs-cluster/edge
plugin: go
go-channel: stable
go-importpath: github.com/Permaweb/Host/
Now, can we all agree that in the go-plugin, there’s a go-channel
, it’s a string, it refers to a channel, and that snap info go
does contain stable
?
What’s the problem?