Commit Graph

489 Commits

Author SHA1 Message Date
Samuele Pedroni
688867207b Merge remote-tracking branch 'upstream/master' into error-kinds-from-client
fix conflicts
2020-08-05 17:48:21 +02:00
Samuele Pedroni
9bdb5244bf client,docs: finalize errors.go comments
add final dots everywhere as recommended by go style guides and
preferred by @degville

adjust docs/error-kinds.go to that

clarify to use docs/error-kinds.go and that the direction of sync
is from code to forum for error kinds.
2020-08-05 14:50:18 +02:00
Samuele Pedroni
b44bce10b7 client,snap,docs: introduce marker type client.ErrorKind
this is going to replace daemon.errorKind as well
2020-08-02 16:22:47 +02:00
Samuele Pedroni
eb88373f77 docs: error-kinds.go vet fix 2020-08-02 16:21:06 +02:00
Samuele Pedroni
4dc537f22a client,docs: standardize error kind doc comments
add what's missing and align forum and doc comments

then have a tool to generate what is on the forum:

$ cd docs
$ go run error-kinds.go

open question: when/if to have a dot at the end? always? only for
multi-sentence comments?
2020-08-02 15:14:14 +02:00
Anatoli Babenia
56c2c792c6 Docs moved to forum 2018-05-05 18:59:11 +03:00
Gustavo Niemeyer
c7a8570c49 docs: moved to github.com/snapcore/snapd/wiki (#2258) 2016-11-03 10:50:51 +02:00
Leo Arias
df2a5e558d Missing one command update 2016-10-31 16:08:11 -06:00
Leo Arias
bcd4662976 docs: update the name of the command for the cross-build 2016-10-31 16:06:21 -06:00
Michael Vogt
57ba1019d1 docs: less details about cloud.cfg as requested in trello (#2206) 2016-10-24 14:18:09 -02:00
Tony Espy
dff4772291 interfaces/builtin: add dcdbas-control interface 2016-10-20 16:59:11 +02:00
Simon Fels
9d12117933 interfaces: add shutdown interface (#2162)
* interfaces: add system-power-control interface

Implement simple reserved interface to allow snaps to trigger a halt,
poweroff or reboot of the system.

* interfaces: fix comments about system-power-control interface

* interfaces: respect further review chnages for system-power-control iface

* interfaces/builtin: rename system-power-control to shutdown
2016-10-20 11:31:23 +02:00
Pete Woods
53956d0cb2 client,daemon,cmd: add payment-declined error kind (#2107) 2016-10-14 11:50:35 -03:00
Michael Vogt
6c66c37bba image: support gadget specific cloud.conf file (#2101) 2016-10-05 14:09:28 -03:00
Samuele Pedroni
68da8c2b95 docs/hooks.md: fix typos (#2099) 2016-10-05 14:44:58 +02:00
John Lenton
1b99de325f all: use "core" by default but allow "ubuntu-core" still (#2070) 2016-10-04 13:15:32 -03:00
Samuele Pedroni
518ba30754 overlord/devicestate, docs/hooks.md: nest prepare-device configuration options 2016-10-04 11:37:40 -03:00
Pete Woods
11ec7c20c9 docs: remove references to removed buying features (#2057) 2016-10-03 12:54:58 -03:00
Zygmunt Krynicki
cbd52a44d4 interfaces,docs: allow sharing SNAP{,_DATA,_COMMON} via content iface (#2063)
This patch expands the features of the content interface to allow
sharing files from either $SNAP (the snap content), $SNAP_DATA (the
per-revision snap data) or $SNAP_COMMON (the data common across
revisions).

The old syntax, without any of those variables behaves as if $SNAP was
implicitly used so backwards compatiblity is retained.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
2016-10-03 12:33:24 -03:00
Michael Vogt
97270dcee3 daemon: add support for snap create-user --known (#2040) 2016-10-02 11:12:22 -03:00
Pawel Stolowski
a0f8b914a0 Added timezone-control to interfaces doc (#2028) 2016-09-29 07:04:59 -05:00
Kyle Fazzari
71de634db9 docs: add configure hook to hooks list (#2024)
LP: #1596629
2016-09-28 15:22:44 -03:00
Pawel Stolowski
677ed08887 interfaces/builtin: support time and date settings via 'org.freedesktop.timedate1 (#1832) 2016-09-28 10:17:27 -03:00
Gustavo Niemeyer
faa9ea6ea4 Merge branch 'master' into robert-ancell-screenshots 2016-09-26 20:35:02 -03:00
Gustavo Niemeyer
0a1fc85fa1 Merge pull request #1996 from mvo5/feature/create-user-ssh-key-changes
daemon: add the actual ssh keys that got added to the create-user response
2016-09-26 20:05:04 -03:00