Hephy Workflow ships as an uncompressed single binary that you just download and run (cf. https://raw.githubusercontent.com/teamhephy/workflow-cli/master/install-v2.sh)
I intended to use the
dump plugin to fetch this for my snap, much like the snapcrafters do for helm:
parts: hephy: plugin: dump source: - on amd64: https://storage.googleapis.com/hephy-workflow-cli-release/v$SNAPCRAFT_PROJECT_VERSION/deis-v$SNAPCRAFT_PROJECT_VERSION-linux-amd64 - on i386: https://storage.googleapis.com/hephy-workflow-cli-release/v$SNAPCRAFT_PROJECT_VERSION/deis-v$SNAPCRAFT_PROJECT_VERSION-linux-i386
However, if I don’t specify a
source-type, I get:
Sorry, an error occurred in Snapcraft: Failed to pull source: unable to determine source type of 'https://storage.googleapis.com/hephy-workflow-cli-release/v2.20.2/deis-v2.20.2-linux-amd64'. Check that the URL is correct or consider specifying `source-type` for this part. See `snapcraft help sources` for more information.
but none of the suggested
source-types seem appropriate:
Can be one of the following: [bzr|deb|git|hg|local|mercurial|rpm|subversion|svn|tar|zip|7z]
They seem to be a mixture of:
- Specifying some kind of packing (deb, rpm, tar, etc.) and assuming/inferring underlying transport
- Specifying part of the transport protocol (bzr, git, etc.) but assuming/inferring underlying transport
but no e.g.
http for “fetch but don’t unpack”
What am I missing? Should I be using a different plugin? Thanks