Commit Graph

  • d378ee6357 Merge pull request #223 from pedronis/asserts-demo-toolbelt Samuele Pedroni 2015-12-04 11:28:31 +01:00
  • 15e7081512 less specific dirname Samuele Pedroni 2015-12-04 11:09:52 +01:00
  • 1739c5f6ac releasing package ubuntu-snappy version 1.7.2ubuntu1 1.7.2ubuntu1 Michael Vogt 2015-12-04 08:49:33 +01:00
  • 3bf66afbc6 tweak doc comment Samuele Pedroni 2015-12-03 22:49:28 +01:00
  • 8fe905a5a1 Merge pull request #226 from chipaca/15.04-activate-oem-on-firstboot Michael Vogt 2015-12-03 20:31:25 +01:00
  • 40ad68879e Merge remote-tracking branch 'upstream/master' into bugfix/classic-bind-mounts Michael Vogt 2015-12-03 20:28:54 +01:00
  • a99c0aac14 Add /dev to the classic bind mounts Michael Vogt 2015-12-03 20:21:22 +01:00
  • 6c00edda44 pkgmap->partmap; also override clickdeb.VerifyCmd so test pass without debsig-verify John R. Lenton 2015-12-01 20:55:28 +00:00
  • 66815337a1 Do not activate packages when InhibitHooks is set. Do activate packages on firstboot. John R. Lenton 2015-12-01 17:59:57 +00:00
  • 518b8d3ee7 Add "snap unassign-cap" command zyga-demo-caps1 Zygmunt Krynicki 2015-12-03 17:05:22 +01:00
  • 9b8fa112d7 fixup api Zygmunt Krynicki 2015-12-03 17:05:09 +01:00
  • ffeedcad51 Display capability attributes, on demand, in "snap list-caps" Zygmunt Krynicki 2015-12-03 17:04:41 +01:00
  • 3fb07eff28 Display assignments in "snap list-caps" Zygmunt Krynicki 2015-12-03 17:04:28 +01:00
  • ca85f537d0 fixup assign cmd Zygmunt Krynicki 2015-12-03 17:04:08 +01:00
  • 09c3b1abda Use const in client.RemoveCapability() Zygmunt Krynicki 2015-12-03 17:03:56 +01:00
  • b459bb5bf7 fixup client Assign/unassign Zygmunt Krynicki 2015-12-03 17:03:33 +01:00
  • dafe3155c1 Add client.Assignment.String() Zygmunt Krynicki 2015-12-03 17:03:13 +01:00
  • 6524a3b78b Make caps.Repository.Remove() unassign the capability if needed Zygmunt Krynicki 2015-12-03 17:02:56 +01:00
  • e08f204f4e fixup repo assign/unassign Zygmunt Krynicki 2015-12-03 17:02:27 +01:00
  • 8c84cebbb2 fixup cap.Assignment() Zygmunt Krynicki 2015-12-03 17:02:07 +01:00
  • 870aae7c83 fixup cap.Assign/Unassign Zygmunt Krynicki 2015-12-03 17:01:55 +01:00
  • 54dfc37322 rename assignment to current assignment Zygmunt Krynicki 2015-12-03 17:01:02 +01:00
  • 83acb8febd Merge pull request #211 from zyga/caps-api-remove-capability Michael Vogt 2015-12-03 16:11:24 +01:00
  • b1e563969e Merge branch 'master' into asserts-demo-install-demo-logic Samuele Pedroni 2015-12-03 15:53:30 +01:00
  • ba455b4689 Merge branch 'master' into asserts-demo-toolbelt Samuele Pedroni 2015-12-03 15:53:07 +01:00
  • 27042dabf3 Merge remote-tracking branch 'upstream/master' Samuele Pedroni 2015-12-03 15:50:16 +01:00
  • b61143091c Add "snap assign-cap" command Zygmunt Krynicki 2015-12-02 20:01:08 +01:00
  • e33171ba37 Add /1.0/capabilities/{name}/assignment Zygmunt Krynicki 2015-12-03 15:46:43 +01:00
  • 478e05fa3a Add POST /1.0/capabilities/{name} Zygmunt Krynicki 2015-12-02 19:57:00 +01:00
  • 49891e2e31 Add GET /1.0/capabilities/{name} Zygmunt Krynicki 2015-12-02 19:56:37 +01:00
  • 8164e2f772 Add client.AssignCapability() Zygmunt Krynicki 2015-12-02 20:00:53 +01:00
  • a28b4e54a1 Add track assignments in client.Capability type Zygmunt Krynicki 2015-12-02 20:00:37 +01:00
  • d89ea3b531 Add client.Assignment type Zygmunt Krynicki 2015-12-02 20:00:17 +01:00
  • 647053f77c Add extra cases to caps.NotFoundError.Error() Zygmunt Krynicki 2015-12-02 19:59:57 +01:00
  • b16ec3ba62 tweak repo.Assign/Unassign Zygmunt Krynicki 2015-12-03 15:45:37 +01:00
  • 772735f521 Add caps.Repository.{Assign,Unassign}() Zygmunt Krynicki 2015-12-02 19:59:39 +01:00
  • cac78c4a3e Add caps.Capability.Assignment() Zygmunt Krynicki 2015-12-03 15:45:29 +01:00
  • 84f50e2e06 Tweak cap Assign/Unassign Zygmunt Krynicki 2015-12-03 15:45:19 +01:00
  • ec60ab9f76 make assignment private Zygmunt Krynicki 2015-12-03 15:45:00 +01:00
  • b2db9bcd8f Add locking to caps.Capability() Zygmunt Krynicki 2015-12-03 15:12:02 +01:00
  • 1b45a54897 Fix caps.Capability.{Assign,Unassign}() Zygmunt Krynicki 2015-12-03 15:11:19 +01:00
  • 294a4ed29e Add caps.Capability.{Assign,Unassign}() Zygmunt Krynicki 2015-12-02 19:59:14 +01:00
  • cf0b66f6aa make caps.Capability.Assignments a single item Zygmunt Krynicki 2015-12-03 15:06:21 +01:00
  • ba84cc90d8 Add track assignments in caps.Capability Zygmunt Krynicki 2015-12-02 19:58:16 +01:00
  • d510004ff2 Add caps.Assignment type Zygmunt Krynicki 2015-12-02 19:57:45 +01:00
  • 48de1dce95 Fix types.{Grant,Revoke}Permissions() Zygmunt Krynicki 2015-12-03 15:17:12 +01:00
  • d458913728 Add caps.Type.{Grant,Revoke}Permissions() Zygmunt Krynicki 2015-12-02 19:58:44 +01:00
  • abb061b83b Merge pull request #219 from pedronis/asserts-squashfs-hash-digest-n-encode-digest Samuele Pedroni 2015-12-03 15:47:38 +01:00
  • 4b8e9e3633 slightly clearer tiny rewording in error Samuele Pedroni 2015-12-03 15:40:55 +01:00
  • 8dd0c67679 Merge pull request #217 from pedronis/asserts-open-sys-db Samuele Pedroni 2015-12-03 15:32:13 +01:00
  • 621473bc33 Merge pull request #201 from chipaca/activate-oem-on-firstboot Michael Vogt 2015-12-03 15:04:11 +01:00
  • e661aae174 Improve test for client.AddCapability() Zygmunt Krynicki 2015-12-03 14:48:52 +01:00
  • e1a57b6257 Improve test for client.Capabilities() Zygmunt Krynicki 2015-12-03 14:48:46 +01:00
  • aa7a234241 Improve tests for client.RemoveCapability() Zygmunt Krynicki 2015-12-03 14:47:10 +01:00
  • 77846ae234 Simplify error handling in client.RemoveCapability() Zygmunt Krynicki 2015-12-03 14:46:58 +01:00
  • f862d088bc Merge pull request #215 from fgimenez/fix-snapd-integration-tests John Lenton 2015-12-03 13:45:09 +00:00
  • 5d934acc88 Merge remote-tracking branch 'upstream/master' into caps-api-remove-capability Zygmunt Krynicki 2015-12-03 14:36:57 +01:00
  • ea531c59e8 Merge pull request #208 from zyga/caps-api-add-capability John Lenton 2015-12-03 13:08:05 +00:00
  • 3e458f3208 Use new BoolFileType instead of FileType (after merge) Zygmunt Krynicki 2015-12-03 13:59:20 +01:00
  • 10fcafb771 Add missing import (after merge) Zygmunt Krynicki 2015-12-03 13:58:59 +01:00
  • ef6f1356e4 Merge remote-tracking branch 'upstream/master' into caps-api-add-capability Zygmunt Krynicki 2015-12-03 13:56:38 +01:00
  • db9343ccda Simplify test for client.AddCapability() Zygmunt Krynicki 2015-12-03 13:50:49 +01:00
  • fe8ddc2c93 Improve test for client.AddCapability() Zygmunt Krynicki 2015-12-03 13:44:34 +01:00
  • f01c0be64c Merge branch 'master' into activate-oem-on-firstboot John R. Lenton 2015-12-03 12:41:42 +00:00
  • e9a9c95c54 Merge pull request #206 from zyga/caps-bool-type John Lenton 2015-12-03 12:33:03 +00:00
  • 7a833accd4 Merge pull request #205 from zyga/caps-type-attrs John Lenton 2015-12-03 12:32:34 +00:00
  • 28a4c49826 fixed 404 for root resource Federico Gimenez 2015-12-03 13:15:19 +01:00
  • 7d4c0df818 Simplify command initialization Zygmunt Krynicki 2015-12-03 12:33:13 +01:00
  • a8e6a04310 Simplify error handling in client.AddCapability() Zygmunt Krynicki 2015-12-03 12:31:10 +01:00
  • ade0d53c7a Use correct error prefix Zygmunt Krynicki 2015-12-03 12:28:50 +01:00
  • cd4dc49d21 Merge remote-tracking branch 'upstream/master' into caps-api-add-capability Zygmunt Krynicki 2015-12-03 12:28:25 +01:00
  • 0c3277d542 Fix error prefix in client.AddCapability() Zygmunt Krynicki 2015-12-03 12:24:28 +01:00
  • 5ac0250f41 Tweak error message in client.AddCapability() Zygmunt Krynicki 2015-12-03 12:23:44 +01:00
  • cbcd4079bf Tweak error message in client.Capabilities() Zygmunt Krynicki 2015-12-03 12:22:48 +01:00
  • bfc035c745 fixed unit test Federico Gimenez 2015-12-03 12:12:09 +01:00
  • 2454956d14 Don't check for unexpected capability attributes Zygmunt Krynicki 2015-12-03 12:07:45 +01:00
  • 18843faca7 wait for server regexp tighten up Federico Gimenez 2015-12-03 11:49:30 +01:00
  • 5cf0281f37 Merge pull request #212 from zyga/fix-locking John Lenton 2015-12-03 10:44:16 +00:00
  • a465cb9c32 simplify, thanks Gustavo! Michael Vogt 2015-12-03 11:42:47 +01:00
  • 55965dce5d Tweak comment on caps.Repository.hasType Zygmunt Krynicki 2015-12-03 11:09:36 +01:00
  • 8559344baa Remove caps.HasType(), keeping hasType() Zygmunt Krynicki 2015-12-03 10:59:32 +01:00
  • 79da4082a9 renamed function Federico Gimenez 2015-12-03 09:59:53 +01:00
  • 2491c48c59 function comments, renamed function and multiline format Federico Gimenez 2015-12-03 09:43:18 +01:00
  • d7cc07afd6 Merge remote-tracking branch 'upstream/master' into asserts-open-sys-db Samuele Pedroni 2015-12-03 09:04:24 +01:00
  • b15ebc05db Merge pull request #197 from pedronis/asserts-db-export-pub-key-and-sign Samuele Pedroni 2015-12-03 09:01:33 +01:00
  • 2c7169153d better comment, use append Samuele Pedroni 2015-12-03 08:54:36 +01:00
  • 4bba1548d6 * remove unused is_mountpoint() function (thanks Tyler!) * do the mount namespace and MS_REC/MS_SLAVE earlier to avoid that the real /tmp is bind mounted in the main mount namespace (this will also prevent automount daemons from running under the ubuntu-core-launcher) 1.0.14 Michael Vogt 2015-12-03 08:16:42 +01:00
  • a33501f86e Merge pull request #204 from zyga/caps Gustavo Niemeyer 2015-12-03 00:28:33 -02:00
  • 1bb2b9faac clearer XXX comment Samuele Pedroni 2015-12-03 00:14:41 +01:00
  • 6778999889 asserts/toolbelt: a tool to create assertions for demo purposes Samuele Pedroni 2015-12-02 23:53:00 +01:00
  • 559fd4698f Merge branch 'asserts-squashfs-hash-digest-n-encode-digest' into asserts-demo-toolbelt Samuele Pedroni 2015-12-02 23:49:54 +01:00
  • 64740c13d8 actual demo logic to check for assertions when installing a local file squashfs snap Samuele Pedroni 2015-12-02 23:34:50 +01:00
  • 800b2cc874 Merge branch 'asserts-squashfs-hash-digest-n-encode-digest' into asserts-demo-install-demo-logic Samuele Pedroni 2015-12-02 23:20:12 +01:00
  • 95c6b85eb2 tests for EncodeDigest Samuele Pedroni 2015-12-02 22:25:47 +01:00
  • 533a74c337 implement computing a hash digest for squashfs snaps Samuele Pedroni 2015-12-02 22:21:23 +01:00
  • ab6e7e5c0a implement helper to encode a hash digest to use in an assertion header Samuele Pedroni 2015-12-02 22:20:58 +01:00
  • 767e53bd8a Merge branch 'asserts-db-export-pub-key-and-sign' Samuele Pedroni 2015-12-02 22:00:03 +01:00
  • b5411bc24e fix tests Samuele Pedroni 2015-12-02 21:55:31 +01:00
  • 522432c9be initialize the sys db with a trusted key Samuele Pedroni 2015-12-01 18:14:22 +01:00
  • d95f6b812d wip: OpenSysDatabase Samuele Pedroni 2015-12-01 17:43:07 +01:00