Snapcraft.yaml reference


#21

Oh, now I noticed that this topic is actually mentioned in The snapcraft format - Documentation for snaps: Universal Linux packages:

though I’m still questioning the necessity of maintaining two separate documents with the same/similar content.


#22

I do agree. As the new reference material is both in a new format and split into categories, we were waiting for feedback before removing or fully deprecating the large single reference page. A good moment for this may be when we bring over the REST API reference material which will need to be split in a similar way.


#23

I keep attempting to use this document as a reference, and I keep finding out that many of the references are deprecated (It is very prominent in Google searches). This is very frustrating.


#24

I think that this page is missing command-chain


#25

Thanks! I’ve just added the missing details.


#26

I think this page is also missing stop-mode


#27

title and license don’t work.

Issues while validating snapcraft.yaml: Additional properties are not allowed (‘license’, ‘title’ were unexpected)


#28

What’s the difference between this page and snapcraft-top-level-metadata?


#29

It’s the same information formatted as a single page with the other metadata. This is mentioned in the first line, but we could perhaps make it clearer.