RFC: snapcraft sources keyword for parts
Mark Shuttleworth
mark at ubuntu.com
Fri Nov 6 07:22:04 UTC 2015
On 04/11/15 18:27, Sergio Schvezov wrote:
> We would like to (appropriately deprecate this) and change that to a source
> object, in that sense it would look like:
>
> source:
> (yaml object)
>
> - type
> (string)
> Determines a source implementation to use, similar to plugins.
>
>
> So then, type: launchpad can have some launchpad specific keywords like
>
> - project
> (string)
> launchpad project to use
>
> - series
> (string)
> series to branch
>
> and other relvant to bzr.
>
>
> As a git type would have: repo, branch, tag etc..
>
> The advantage of this is we don't contaminate the part with source-.*
> keywords and each source type can have its specific keywords.
>
> We also plan to support/autodetect plain source entries.
Sounds great, just plan to make it equally elegant to point to a Git
source of LP as a Bzr source please.
What might help would be a set of ten examples of projects we all know
about, represented this way, to show the intended syntax in use.
Mark
More information about the snappy-app-devel
mailing list