DropletSource

Where a droplet's source lives.

struct DropletSource

Community droplets must be open source: the review that gets a droplet into the Store is a review of readable code, and a droplet runs in-process with all of Droppy's permissions. A submission without a public repository is refused at intake, not at review.

Initializers

init(from:)

init(from decoder: any Decoder) throws

init(repository:commit:license:)

init(repository: URL, commit: String, license: String)

Properties

commit

let commit: String

The exact commit the submission is for. Review, build, and publish all pin this SHA, so a repository that moves after submission does not change what shipped.

license

let license: String

SPDX identifier of the droplet's own licence, for example "MIT". This covers your code, not the SDK.

repository

let repository: URL

Public repository URL. Must be reachable without credentials.