~longsleep/snapcraft/snapcraft-debs-plugin

« back to all changes in this revision

Viewing changes to docs/intro.md

  • Committer: Snappy Tarmac
  • Author(s): Sergio Schvezov
  • Date: 2015-09-14 23:41:57 UTC
  • mfrom: (143.7.11 snapcraft)
  • Revision ID: snappy_tarmac-20150914234157-wku22y664m3iu69x
docs refresh by sergiusens approved by chipaca

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Intro
2
2
 
3
3
Snapcraft allows easy crafting of packages for Snappy Ubuntu. It makes it
4
 
easy to incorporate components from different sources like GitHub, Launchpad,
5
 
or npm.
 
4
easy to incorporate components from different sources and build technologies or
 
5
solutions.
6
6
 
7
7
# Snappy
8
8
 
17
17
# Key concepts
18
18
 
19
19
A `.snap` package for the Ubuntu Core system contains all its
20
 
dependencies. This has a couple of advantages over traditional deb or
21
 
rpm based dependency handling, the most important being that a
 
20
dependencies. This has a couple of advantages over traditional `deb` or
 
21
`rpm` based dependency handling, the most important being that a
22
22
developer can always be assured that there are no regressions triggered by
23
23
changes to the system underneath their app.
24
24
 
32
32
build other parts. Each part is managed by a snapcraft plugin and parts
33
33
are usually independent of each other.
34
34
 
35
 
## Plugins
 
35
## Type of a Part
36
36
 
37
 
Snapcraft plugins are written in Python and have a yaml
38
 
description. A lot of default plugins are included, for example for
39
 
projects written in Go, Java, Python or C. It is also possible
40
 
to simply download binary content as part of the snapcraft recipe.
 
37
Each part has a `type` associated to it, this `type` provides the mechanism
 
38
to handle it. The `type` a part has is extendable through plugins, there are
 
39
a variety of plugins already included for python 2 and 3, go, java, and cmake or
 
40
autotools based projects.
41
41
 
42
42
## Lifecycle
43
43