Commit Graph

  • a88891c283 Merge branch 'master' into snap-yaml Zygmunt Krynicki 2016-03-21 14:31:38 +01:00
  • b00e8e0687 Merge pull request #1 from mvo5/snap-yaml Zygmunt Krynicki 2016-03-21 14:31:06 +01:00
  • 7669466838 debian/snappy-autopilot.timer: run four times a day John R. Lenton 2016-03-21 11:10:21 +00:00
  • 3e2a8733b1 Merge remote-tracking branch 'upstream/master' into overlord-settle Samuele Pedroni 2016-03-21 11:21:08 +01:00
  • 2238abae8b fix panic message to match rename Samuele Pedroni 2016-03-21 11:15:45 +01:00
  • eea9f8e7cd collect all errors in StateEngine.Ensure and Overlord.Settle Samuele Pedroni 2016-03-21 11:14:51 +01:00
  • bc20396ac7 try to be more DRY Michael Vogt 2016-03-21 11:02:09 +01:00
  • 63b7881cd2 Overlord.Run renamed to Loop, improve/tweak messages/doc comments Samuele Pedroni 2016-03-21 10:34:14 +01:00
  • e77969203e don't panic without Unlock Samuele Pedroni 2016-03-21 10:31:31 +01:00
  • 84c26ffb69 Merge pull request #686 from pedronis/overlord-no-more-manager-init Samuele Pedroni 2016-03-21 09:56:00 +01:00
  • 0f66483e9d Merge pull request #695 from mvo5/feature/do-not-set-working-directory Michael Vogt 2016-03-21 09:27:08 +01:00
  • 183c150ede fixed hardcoded version in regexp Federico Gimenez 2016-03-21 09:26:23 +01:00
  • 97354822fb Merge remote-tracking branch 'upstream/master' into refactor/remove-frameworks Michael Vogt 2016-03-21 09:24:54 +01:00
  • 05d9f8e163 address review feedback Michael Vogt 2016-03-21 09:24:36 +01:00
  • 3077994b8e remove setting SNAP_OLD_PWD (thanks Steven!) Michael Vogt 2016-03-21 09:21:58 +01:00
  • 7370819f49 Merge pull request #694 from mvo5/bugfix/activate-snaps Michael Vogt 2016-03-21 09:00:02 +01:00
  • 086441cef2 Merge pull request #688 from mvo5/feature/short-binary-names Michael Vogt 2016-03-21 08:59:00 +01:00
  • 68616a2fea Merge branch 'overlord-no-more-manager-init' into overlord-settle Samuele Pedroni 2016-03-20 17:38:07 +01:00
  • 21f0c770a5 Merge remote-tracking branch 'upstream/master' into overlord-no-more-manager-init Samuele Pedroni 2016-03-20 17:37:28 +01:00
  • 151560ecbb snap: further simplify plug/slot<->app binding algorithm Zygmunt Krynicki 2016-03-19 23:50:41 +01:00
  • 1db584b75d snap: add support for plug and slot labels Zygmunt Krynicki 2016-03-19 21:20:01 +01:00
  • 03321b7226 snap: move trivial cases to the top of switch statement Zygmunt Krynicki 2016-03-19 20:56:45 +01:00
  • 97afc2f918 snap: default interface to slot or plug name Zygmunt Krynicki 2016-03-19 20:53:42 +01:00
  • 5098bb6bac snap: expand the example to include one global plug Zygmunt Krynicki 2016-03-19 12:35:42 +01:00
  • faf64b64b5 snap: expand the example to include one global slot Zygmunt Krynicki 2016-03-19 12:30:19 +01:00
  • 68636deec9 snap: add tests for a complex snap Zygmunt Krynicki 2016-03-19 12:01:32 +01:00
  • 85f075efca snap: fix app-{slot,port} binding algorithm Zygmunt Krynicki 2016-03-19 12:14:28 +01:00
  • 00d80b2ce2 snap: simplify logic in plug/slot build helper Zygmunt Krynicki 2016-03-19 11:20:27 +01:00
  • ebe42c0143 snap: store plugs and slots as maps in AppInfo Zygmunt Krynicki 2016-03-19 11:16:30 +01:00
  • da59c37bef snap: drop the Raw suffix from yaml fields Zygmunt Krynicki 2016-03-19 10:45:59 +01:00
  • 99d6fa987b snap: store apps public maps in {Plug,Snap}Info Zygmunt Krynicki 2016-03-19 10:44:49 +01:00
  • a504c6252d make priv dropping/raising errors more clear adjust checks for when to raise/drop to work with sudo Jamie Strandboge 2016-03-18 21:52:33 -05:00
  • 98aeddd8b7 update testsuite for getuid and geteuid Jamie Strandboge 2016-03-18 21:32:43 -05:00
  • 55c55018ed update changelog adjust check to permanently drop fix testsuite Jamie Strandboge 2016-03-18 21:27:38 -05:00
  • bc786d6abe old drop euid so we can raise privs for seccomp_load(), then drop permanently Jamie Strandboge 2016-03-18 21:06:10 -05:00
  • af066811c8 allow testsuite to run with nnp Jamie Strandboge 2016-03-18 18:36:25 -05:00
  • 44880b6c21 debian/usr.bin.ubuntu-core-launcher: we don't need write access to /dev/ptmx any more Jamie Strandboge 2016-03-18 16:29:10 -05:00
  • 9549950192 use seccomp_attr_set() to turn SCMP_FLTATR_CTL_NNP off add comments for why turning off nnp is ok Jamie Strandboge 2016-03-18 16:19:54 -05:00
  • 31c80c063d Merge pull request #674 from zyga/iface-disconnect Zygmunt Krynicki 2016-03-18 21:47:59 +01:00
  • 520a67a3b2 overlord/ifacestate: name tasks without continuous mode Zygmunt Krynicki 2016-03-18 21:38:10 +01:00
  • 98bd0330e2 Merge remote-tracking branch 'upstream/master' into iface-disconnect Zygmunt Krynicki 2016-03-18 21:36:58 +01:00
  • 5225a83fbd snap: expand snap.yaml parsing to cover plugs, slots and apps Zygmunt Krynicki 2016-03-18 20:42:38 +01:00
  • 1b23da6bf9 restore behavior for working directory in systemd Michael Vogt 2016-03-18 21:13:56 +01:00
  • fd6ad34e89 adjust checks to make sure we have everything we require for multi-instance devpts add comments on what we require and why Jamie Strandboge 2016-03-18 13:42:33 -05:00
  • 0b0b545198 update comments for devpts mount options Jamie Strandboge 2016-03-18 12:51:55 -05:00
  • 43fa5fb712 do not set the working directoy for apps Michael Vogt 2016-03-18 16:55:58 +01:00
  • 2c064a14ad simplify, Settle now is mostly self-contained but should not be used together with Run Samuele Pedroni 2016-03-18 16:47:45 +01:00
  • b9ba648807 activate all pre-installed snaps on first boot to unblock image creation with webdm (this will be superseeded eventually by the ModelAssertion work) Michael Vogt 2016-03-18 15:16:18 +01:00
  • f88be576aa test name was missing Settle in it Samuele Pedroni 2016-03-18 15:02:25 +01:00
  • cc2ed756c1 actual implementation of Overlord.Settle, chiefly for tests, so it's ok if may busy loop Samuele Pedroni 2016-03-18 14:54:22 +01:00
  • 0301626c4e update integration tests and remove framework testing bits Michael Vogt 2016-03-18 11:40:05 +01:00
  • b162214345 remove TypeFramework Michael Vogt 2016-03-18 11:37:56 +01:00
  • cd6447764a remove framework handling from services Michael Vogt 2016-03-18 11:31:48 +01:00
  • cf62d1e313 remove more framework code Michael Vogt 2016-03-18 11:18:25 +01:00
  • 21f6930f18 start removing frameworks Michael Vogt 2016-03-18 11:13:07 +01:00
  • 8b4e00ffe5 wip: Overlord.Settle Samuele Pedroni 2016-03-18 11:05:50 +01:00
  • 484298c4ad introduce StateEngine.Wait for use in Overlord.Settle Samuele Pedroni 2016-03-18 11:04:34 +01:00
  • 856de15acd Merge pull request #675 from emgee/asserts-snap-revision-snap-size-not-snap-build Samuele Pedroni 2016-03-18 11:02:42 +01:00
  • cb6c1425ff Tweak the doc comment language again. Matt Goodall 2016-03-18 09:55:35 +00:00
  • 372660ae9f modify generateBinaryName to generate a short name if the appname and the snapname match Michael Vogt 2016-03-18 10:51:53 +01:00
  • 1135643b6a integration-tests: permit to use images with sideloaded base snaps Federico Gimenez 2016-03-18 10:16:14 +01:00
  • 19ed55c38b fix error handling in daemon Michael Vogt 2016-03-18 10:32:55 +01:00
  • 7c213049c1 implement update via the state engine Michael Vogt 2016-03-18 10:25:41 +01:00
  • 86ea8d7183 address more review feedback Michael Vogt 2016-03-18 10:06:02 +01:00
  • d6701b3a12 address review comments Michael Vogt 2016-03-18 09:22:36 +01:00
  • 7a17167d9d Merge remote-tracking branch 'upstream/master' into overlord-no-more-manager-init Samuele Pedroni 2016-03-18 09:13:22 +01:00
  • b3e96a01a5 Merge remote-tracking branch 'upstream/master' into feature/snapmgr-in-daemon Michael Vogt 2016-03-18 09:09:26 +01:00
  • 092ead767f Merge pull request #684 from pedronis/overlord-taskrunner-goroutine-exits Michael Vogt 2016-03-18 09:00:02 +01:00
  • 2a9edb7551 Merge pull request #666 from mvo5/refactor/no-parts7 Michael Vogt 2016-03-18 08:59:22 +01:00
  • 725655b4b6 Merge pull request #665 from mvo5/refactor/no-parts6 Michael Vogt 2016-03-18 08:55:25 +01:00
  • b61a788b80 comment about the use of tomb.Kill to register the task handler outcome Samuele Pedroni 2016-03-18 08:50:03 +01:00
  • d9713d112e Merge branch 'refactor/no-parts6' into refactor/no-parts7 Michael Vogt 2016-03-18 08:38:56 +01:00
  • d2080ec1ed Merge remote-tracking branch 'upstream/master' into refactor/no-parts6 Michael Vogt 2016-03-18 08:38:13 +01:00
  • 7e908944f2 Merge pull request #656 from mvo5/refactor/no-parts5 Michael Vogt 2016-03-18 08:37:42 +01:00
  • 32d4e69fc2 address review feedback (thanks Gustavo!) Michael Vogt 2016-03-18 08:22:20 +01:00
  • 4b023ca356 Merge pull request #649 from plars/avoid-more-config-checks-base-test Michael Vogt 2016-03-18 08:18:15 +01:00
  • ca54a7bc85 * src/main.c: setup private /dev/pts * debian/usr.bin.ubuntu-core-launcher: allow mounting /dev/pts Jamie Strandboge 2016-03-17 17:39:44 -05:00
  • 09b14b8502 check flag in Stop too Samuele Pedroni 2016-03-17 22:58:32 +01:00
  • a6e15f7268 simplify further Samuele Pedroni 2016-03-17 22:50:25 +01:00
  • 018cb6ef6e integration-tests: don't check the config file when listing tests. Paul Larson 2016-03-11 12:40:15 -06:00
  • bfa78a5237 simplify StateEngine and make it goroutine safe, no more Init in the StateManager interface Samuele Pedroni 2016-03-17 22:02:39 +01:00
  • 7db65ec8c0 Merge pull request #242 from elopio/gocheck_list Leo Arias 2016-03-17 13:35:19 -06:00
  • d00c6e66d0 address review comments Samuele Pedroni 2016-03-17 20:13:58 +01:00
  • 47e6847bc1 better handling of task goroutine exits, support state.Retry to express that the task can be rerun/retried at a later point Samuele Pedroni 2016-03-17 19:53:57 +01:00
  • fdde3bac60 Merge pull request #672 from emgee/asserts-primary-keys Gustavo Niemeyer 2016-03-17 14:46:13 -03:00
  • 4bc80d286c Merge pull request #677 from mvo5/feature/statemanager-wait Samuele Pedroni 2016-03-17 18:31:08 +01:00
  • 7f99fb5bec Merge pull request #681 from pedronis/overlord-taskrunner-propagate-fail Samuele Pedroni 2016-03-17 17:53:38 +01:00
  • 3bfedddac0 Merge pull request #683 from zyga/ifaces-naming Zygmunt Krynicki 2016-03-17 17:48:54 +01:00
  • 15df88d27a don't reuse t outside and inside the for loop, it's confusing in the end Samuele Pedroni 2016-03-17 17:42:38 +01:00
  • 8fcae13236 follow the doc comment and be safer by only setting ErrorStatus when the tasks where in WaitingStatus Samuele Pedroni 2016-03-17 16:51:58 +01:00
  • f0db332d84 style Samuele Pedroni 2016-03-17 16:48:08 +01:00
  • 65fab51d24 backend -> stateBackend in tests Samuele Pedroni 2016-03-17 16:46:34 +01:00
  • bbe6e193dc move EnsureBefore where is relevant, to give a chance to waiting goroutines to be started, with comment Samuele Pedroni 2016-03-17 16:45:32 +01:00
  • fa7bfe8537 Merge pull request #658 from zyga/fileset-janitor Gustavo Niemeyer 2016-03-17 11:34:52 -03:00
  • 8da013d78c osutil: tweak comment Zygmunt Krynicki 2016-03-17 15:18:24 +01:00
  • 7b9f626d71 Merge remote-tracking branch 'upstream/master' into overlord-taskrunner-propagate-fail Samuele Pedroni 2016-03-17 14:39:51 +01:00
  • 0a885a7a4d Merge pull request #679 from pedronis/overlord-state-tasks-and-halt-tasks Samuele Pedroni 2016-03-17 14:39:04 +01:00
  • ea70658d01 extra todo in test for later Samuele Pedroni 2016-03-17 14:32:15 +01:00
  • f0e35df504 interfaces: move naming functions to dedicated file Zygmunt Krynicki 2016-03-17 14:18:22 +01:00
  • 68fb97c665 set directly and indirectly waiting tasks as in Error when a task goroutine fails Samuele Pedroni 2016-03-17 13:59:44 +01:00