Commit Graph

  • d4b724da0d Fix failing tests due to old snaps location Sergio Cazzolato 2021-05-21 17:45:41 -03:00
  • 2b951a9315 Merge pull request #10274 from anonymouse64/feature/include-locale-in-linting Michael Vogt 2021-05-21 22:01:06 +02:00
  • 0078c3e8ca tests/main/snap-quota: enable check for remove-quota Ian Johnson 2021-05-20 20:11:38 -05:00
  • 15522a6378 Merge branch 'master' into tests-add-test-checker Sergio Cazzolato 2021-05-21 15:53:30 -03:00
  • 1190d5e977 release-tools/changelog.py: python is not cAmElCaSe it is camel_case Ian Johnson 2021-05-21 13:39:18 -05:00
  • acca4d91e3 i18n/i18n.go: add doc-comment to CurrentLocale Ian Johnson 2021-05-21 13:17:57 -05:00
  • 1cd753e01b i18n/i18n.go: refactor to not duplicate code Ian Johnson 2021-05-21 13:17:24 -05:00
  • 2be7e2e40c Merge pull request #10218 from anonymouse64/feature/quota-group-6 Michael Vogt 2021-05-21 20:07:48 +02:00
  • a792f9b85e interfaces/serial-port: add Qualcomm serial port devices (ttyMSMX/ttyHSX) to allowed list Robert Liu 2021-05-20 22:27:05 +08:00
  • bfb5b15b0d Merge pull request #10285 from tsunghanliu/support-qualcomm-devices Michael Vogt 2021-05-21 19:56:24 +02:00
  • ec844f938e Merge pull request #10280 from anonymouse64/release-2.50.1 Michael Vogt 2021-05-21 19:29:32 +02:00
  • ef37549f2b Merge pull request #10251 from mardy/input-interface Michael Vogt 2021-05-21 19:29:16 +02:00
  • 2b9e9aa2dd Merge remote-tracking branch 'upstream/master' into tests-update-nested-plan Sergio Cazzolato 2021-05-21 13:43:50 -03:00
  • 013e6e2e86 Merge pull request #10276 from sergiocazzolato/test-fix-cleanup-prepare Sergio Cazzolato 2021-05-21 13:43:19 -03:00
  • 4aa3638853 cmd/snap-update-ns: fix linter errors Samuele Pedroni 2021-05-21 17:40:26 +02:00
  • b66c1e35ef o/servicestate/quota_control.go: refactor loop to be simpler Ian Johnson 2021-05-21 10:14:37 -05:00
  • 10d1b7db57 o/servicestate: add break to search loop, fix unnecessary imports Ian Johnson 2021-05-21 10:07:29 -05:00
  • 51dff3a0b2 Update tests/nested/manual/core20-install-mode-shutdown-via-hook/task.yaml Sergio Cazzolato 2021-05-21 11:23:26 -03:00
  • 898ff21b32 Merge branch 'refresh-control/minimal-install-info-iface' into refresh-control/autorefresh-phases-phase2 Paweł Stołowski 2021-05-21 15:47:12 +02:00
  • e12d0fbc88 Apply changes from pedronis. Paweł Stołowski 2021-05-21 15:36:23 +02:00
  • eee0cfc4e0 Merge branch 'refresh-control/autorefresh-phases-phase2' of github.com:stolowski/snapd into refresh-control/autorefresh-phases-phase2 Paweł Stołowski 2021-05-21 15:24:50 +02:00
  • b219aefd5f overlord/devicestate: tweak error messages, leave TODO Maciej Borzecki 2021-05-21 15:02:32 +02:00
  • 892204a9c2 autoRefreshPhase2 implementation. Paweł Stołowski 2021-05-07 08:44:15 +00:00
  • 6bbaeb68c4 asserts: fix errors reported by linter Samuele Pedroni 2021-05-21 14:05:34 +02:00
  • 07f9b239f7 overlord/devicestate: use exclusive change conflict helper for remodel changes Maciej Borzecki 2021-05-21 13:44:27 +02:00
  • fc118897e4 overlor/devicestate: fix remodel test setup and cleanup Maciej Borzecki 2021-05-21 13:36:24 +02:00
  • 870d58ae5c overlord/snapstate: conflicts with create-recovery-system change Maciej Borzecki 2021-05-21 12:39:07 +02:00
  • 4fee3a3507 overlord/snapstate: allow checking for change conflicts by their kinds Maciej Borzecki 2021-05-21 12:37:32 +02:00
  • 85fbba284d overlord/devicestate: fix cleanup create recovery cleanup path, extend tests to cover reboot scenarios Maciej Borzecki 2021-05-20 19:48:26 +02:00
  • a0bad2cf04 o/managers_test.go: fix unit test when run on trusty Ian Johnson 2021-05-20 18:55:02 -05:00
  • f5f6128d1c o/many: rename EnsureSnapAbsentFromQuotaGroup to EnsureSnapAbsentFromQuota Ian Johnson 2021-05-20 17:11:17 -05:00
  • dd81739fce o/servicestate/quota_control.go: adjust confusing comment for clarity Ian Johnson 2021-05-20 17:09:42 -05:00
  • b57ac754c1 o/servicestate/quota_control.go: don't use stable sorting Ian Johnson 2021-05-20 17:09:13 -05:00
  • 0ad508e5f4 o/managers_test.go: simplify test with option instead of mocked function Ian Johnson 2021-05-20 17:08:11 -05:00
  • d66e79938b Merge branch 'master' into tests-update-nested-plan Sergio Cazzolato 2021-05-20 17:03:41 -03:00
  • 8235373461 Moving to tests directories snaps built locally - part 2 Sergio Cazzolato 2021-05-20 14:33:46 -03:00
  • 9eedad40f1 Merge branch 'master' into feature/quota-group-6 Signed-off-by: Ian Johnson <ian.johnson@canonical.com> Ian Johnson 2021-05-20 11:32:53 -05:00
  • 619b8a58ec o/hookstate/ctlcmd: allow system-mode for non-root Samuele Pedroni 2021-05-20 18:24:42 +02:00
  • bf9c7be87c release-tools/changelog.py: move changlog entry validation to beginning Ian Johnson 2021-05-20 09:58:10 -05:00
  • 87c63d85d2 release-tools/changelog.py: use format string specifiers Ian Johnson 2021-05-20 09:50:17 -05:00
  • 3f22b2482a interfaces/serial-port: add Qualcomm serial port devices (ttyMSMX/ttyHSX) to allowed list Robert Liu 2021-05-20 22:27:05 +08:00
  • 86b4ac1f41 overlord/devicestate: comment why explicit system mode check is needed in ensuring tried recovery systems (#10275) Maciej Borzecki 2021-05-20 16:17:42 +02:00
  • 6b057d6b8b Introduce minimalInstallInfo interface in snapstate. Paweł Stołowski 2021-05-20 14:45:28 +02:00
  • e2472190b5 Change machine type used for nested tests Sergio Cazzolato 2021-05-20 09:09:28 -03:00
  • f5f2deb95c overlord/devicestate: observe and log snap writes while creating recovery systems at runtime Maciej Borzecki 2021-05-19 15:39:41 +02:00
  • 0c7a51dbc5 overlord/devicestate: set recovery system directory early and do checks Maciej Borzecki 2021-05-20 12:32:37 +02:00
  • db702ecd74 Merge remote-tracking branch 'upstream/master' into bboozzoo/uc20-recovery-system-create-change Maciej Borzecki 2021-05-20 13:37:16 +02:00
  • 2396aa3b00 overlord/devicesate: observe snap writes when creating recovery systems Samuele Pedroni 2021-05-20 13:35:07 +02:00
  • d09eefbcb9 o/hookstate/ctlcmd: fix/adjust uid range in test Samuele Pedroni 2021-05-20 12:42:20 +02:00
  • 7632e45430 overlord/devicestate: fix test checks, renames Maciej Borzecki 2021-05-20 11:12:00 +02:00
  • bb4208d7de overlord/devicestate: tweaks and cleanups Maciej Borzecki 2021-05-20 10:02:00 +02:00
  • 28ed7666a9 tests: don't make test snap use "base: core20", and only run on systems with working user session. James Henstridge 2021-05-20 15:09:50 +08:00
  • 3187518b2d tests: it's the pid to be checked that should be unprivileged, not the process calling CheckAuthorization. James Henstridge 2021-05-20 13:22:37 +08:00
  • 6c5a086a18 tests: make polkit checks as unprivileged user James Henstridge 2021-05-20 12:20:25 +08:00
  • f542d57fa9 tests: polkit interface is not connected by default James Henstridge 2021-05-20 10:49:42 +08:00
  • 606ba81be5 release-tools/changelog.py: implement script to update all the changelog files Ian Johnson 2021-05-19 16:56:35 -05:00
  • a68105f10e Merge branch 'master' into release-2.50.1 Ian Johnson 2021-05-19 13:27:20 -05:00
  • dda30e534d Merge pull request #10279 from anonymouse64/new-2-50-1-changelog-placeholder Michael Vogt 2021-05-19 20:08:21 +02:00
  • 6a67286782 packaging/ubuntu-16.04/changelog: add placeholder for 2.50.1 Ian Johnson 2021-05-19 11:21:18 -05:00
  • c7659364ce releasing package snapd version 2.50.1 2.50.1 Ian Johnson 2021-05-19 11:14:08 -05:00
  • 45ae183358 daemon: adapt api_quotas_test.go to set access expectations Samuele Pedroni 2021-05-19 18:12:31 +02:00
  • 7488b81a72 daemon: force to express what kind of access check is expected Samuele Pedroni 2021-04-08 18:07:55 +02:00
  • 8493ed9ebe daemon: streamline setup for auhtorized/unauthorized requests Samuele Pedroni 2021-04-08 16:56:54 +02:00
  • 00fc8a9fdf daemon: add more access check paths' tests Samuele Pedroni 2021-04-08 16:29:29 +02:00
  • 45538d9978 daemon: fix/adapt api_quotas.go and tests Samuele Pedroni 2021-05-19 18:04:41 +02:00
  • bb7eaf9dfb Merge remote-tracking branch 'upstream/master' into daemon-access-check Samuele Pedroni 2021-05-19 17:57:13 +02:00
  • 889b9821de o/hookstate/ctlcmd: allow system-mode for non-root Samuele Pedroni 2021-05-19 17:48:05 +02:00
  • 159b416b03 interfaces: make the busctl command line utility available to strict confined snaps James Henstridge 2021-05-19 23:02:24 +08:00
  • da971c2a1a tests: rewrite test script to use busctl James Henstridge 2021-05-19 22:54:21 +08:00
  • 2c5f279a2a overlord/devicesate: observe snap writes when creating recovery systems Maciej Borzecki 2021-05-19 15:38:40 +02:00
  • 7ff474ac96 Merge pull request #10188 from sergiocazzolato/tests-reorg-local-snaps-part-1 Sergio Cazzolato 2021-05-19 10:03:24 -03:00
  • f5b2966c05 autoRefreshPhase2 implementation. Paweł Stołowski 2021-05-07 08:44:15 +00:00
  • fbd3d35d7e Remove tests.cleanup prepare from test Sergio Cazzolato 2021-05-19 09:27:48 -03:00
  • a39410c5a5 Merge pull request #10220 from bboozzoo/bboozzoo/seedwriter-fail-when-dir-is-present Michael Vogt 2021-05-19 12:18:50 +02:00
  • 08adbb7944 Merge pull request #10182 from stolowski/refresh-control/autorefresh-phases Pawel Stolowski 2021-05-19 11:39:21 +02:00
  • d45f8e379d tests: add a spread test for the polkit interface James Henstridge 2021-05-19 17:12:24 +08:00
  • b18c7317d6 Tweak the comments (thanks bboozzoo). Paweł Stołowski 2021-05-19 10:01:13 +02:00
  • 5bac2fa4fa Use len(updates) when allocating the map. Paweł Stołowski 2021-05-13 12:51:59 +02:00
  • 246c170b1f Extra comment about conflicts. Check logger for conflict message (thanks pedronis). Paweł Stołowski 2021-05-12 10:22:16 +00:00
  • ea26b8e9eb Return refresh candidates as map. Paweł Stołowski 2021-05-18 09:26:07 +02:00
  • 2144d5599b Move mockInstalledSnap out of testsuite. Paweł Stołowski 2021-05-11 10:45:07 +00:00
  • 1e21cb1e51 Filter out snaps in conflict. Paweł Stołowski 2021-05-10 10:57:13 +00:00
  • 2e62565bb9 Implement autoRefreshPhase1 function and execute it from AutoRefresh() if gate-auto-refresh-hook feature is enabled. The new function determines affected snaps and creates gate-auto-refresh hooks and a new gating task do. Paweł Stołowski 2021-04-19 15:29:03 +00:00
  • a08c62c13f Merge pull request #10273 from pedronis/cmd-snap-other-restarts Michael Vogt 2021-05-19 09:37:11 +02:00
  • caacadb58d o/servicestate/quota_control.go: iterate over snaps to restart in sorted order Ian Johnson 2021-05-18 17:57:55 -05:00
  • 112eb9c841 o/{servicestate,snapstate}: refactor removing a snap from a quota group Ian Johnson 2021-05-18 17:26:57 -05:00
  • b2dc8a215f Merge branch 'master' into tests-reorg-local-snaps-part-1 Sergio Cazzolato 2021-05-18 19:19:14 -03:00
  • d6002db1fb cmd/snap: include locale when linting description being lower case Ian Johnson 2021-05-18 16:04:38 -05:00
  • c521505ff8 c/snap: more precise message for ErrorKindSystemRestart op != reboot Samuele Pedroni 2021-05-18 18:30:47 +02:00
  • f33c0179a4 Merge pull request #10271 from sergiocazzolato/tests-simplify-cleanup Michael Vogt 2021-05-18 18:01:02 +02:00
  • 2178d8f7ca tests: address vet complaint Alberto Mardegan 2021-05-18 17:52:27 +03:00
  • 7f8665eb3a seed/seedwriter: make error type name follow the well known patterns Maciej Borzecki 2021-05-18 16:40:10 +02:00
  • cd1954d840 tests: update quota_control_test for new systemctl calls Alberto Mardegan 2021-05-18 17:19:53 +03:00
  • 3c150e46d1 interfaces: template: update permitted /lib/.. paths to be compatible with UC20 Ondrej Kubik 2021-04-29 22:31:50 +01:00
  • 97efff6bca interfaces: builtin: update permitted /lib/.. paths to be compatible with UC20 Ondrej Kubik 2021-04-29 22:31:10 +01:00
  • 2675bd3d2e interfaces: builtin: update permitted paths to be compatible with UC20 Ondrej Kubik 2021-04-25 12:18:47 +01:00
  • 9974799138 interfaces/greengrass-support: delete white spaces at the end of lines Ondrej Kubik 2021-04-25 12:17:39 +01:00
  • c338725cbb overlord/devicestate: update unit tests to match new errors Maciej Borzecki 2021-05-18 15:37:32 +02:00
  • 9fe89ff87a seed/seedwriter: introduce an explicit error when seed system directory already exists Maciej Borzecki 2021-05-18 15:37:09 +02:00
  • 41a8551f7e Fix test Sergio Cazzolato 2021-05-18 10:00:25 -03:00