Commit Graph

  • 029e44a8da Merge branch 'refactor/no-parts6' into refactor/no-parts7 Michael Vogt 2016-03-15 17:43:05 +01:00
  • fb4cb7fa27 Merge pull request #664 from pedronis/overlord-task-logf Samuele Pedroni 2016-03-15 17:41:40 +01:00
  • fd2c8ac557 run update-pot Michael Vogt 2016-03-15 17:39:36 +01:00
  • 4f0348497d Merge branch 'refactor/no-parts6' into refactor/no-parts7 Michael Vogt 2016-03-15 17:37:36 +01:00
  • f44e7b83c2 go lint fixes Michael Vogt 2016-03-15 17:33:32 +01:00
  • 25997d8f1b go lint fixes Michael Vogt 2016-03-15 17:33:32 +01:00
  • b4df020b5d rename part->snaps Michael Vogt 2016-03-15 17:12:27 +01:00
  • a60cb63d5f simple Overlord.EnsureAfter(d) Samuele Pedroni 2016-03-15 17:25:20 +01:00
  • 2e2ec7b18b remove dead code from snap_remote.go Michael Vogt 2016-03-15 17:06:56 +01:00
  • 44edea7cc2 kill dead code in snap_file.go Michael Vogt 2016-03-15 17:01:46 +01:00
  • 58c989816b Merge pull request #662 from pedronis/overlord-ensure-loop-first-pass Samuele Pedroni 2016-03-15 17:01:31 +01:00
  • faab39ef9e kill BaseSnap and use *snap.Info everywhere Michael Vogt 2016-03-15 16:58:43 +01:00
  • 7a499e7a0d use a Ticker instead Samuele Pedroni 2016-03-15 16:47:50 +01:00
  • 84ee64d3f6 return a potential error out of the ensure loop Samuele Pedroni 2016-03-15 16:45:35 +01:00
  • 79092b8c8e minimal Task.Logf Samuele Pedroni 2016-03-15 16:39:15 +01:00
  • 400d22e7c7 Merge remote-tracking branch 'upstream/master' into refactor/no-parts5 Michael Vogt 2016-03-15 16:22:08 +01:00
  • f25a9d4941 Merge pull request #655 from mvo5/refactor/no-parts4 Michael Vogt 2016-03-15 16:18:37 +01:00
  • 4e5e43ba31 Merge remote-tracking branch 'upstream/master' into refactor/no-parts4 Michael Vogt 2016-03-15 16:05:56 +01:00
  • 866dc62d3e Merge pull request #654 from mvo5/refactor/no-parts3 Michael Vogt 2016-03-15 16:02:18 +01:00
  • 002a1cbf58 change order in Overlord.Stop() Samuele Pedroni 2016-03-15 15:55:07 +01:00
  • 0815c68e54 just log Ensure errors for now Samuele Pedroni 2016-03-15 15:52:56 +01:00
  • a87524ea80 stylings Samuele Pedroni 2016-03-15 15:48:59 +01:00
  • b38ca55258 Merge remote-tracking branch 'upstream/master' into refactor/no-parts3 Michael Vogt 2016-03-15 14:57:36 +01:00
  • 59cc9d3df7 Merge pull request #652 from mvo5/refactor/no-parts2 Michael Vogt 2016-03-15 14:44:09 +01:00
  • a53335aa3d osutil: rewrite EnsureDirState() with fewer features Zygmunt Krynicki 2016-03-15 13:59:31 +01:00
  • 5566c7c556 ensure loop Run() and Stop() Samuele Pedroni 2016-03-15 13:08:18 +01:00
  • 0f6044b8d2 Merge remote-tracking branch 'upstream/master' into refactor/no-parts2 Michael Vogt 2016-03-15 11:42:33 +01:00
  • 4d0a030849 osutil: update test suite name after other renames Zygmunt Krynicki 2016-03-15 11:39:45 +01:00
  • 71e1c51809 osutil: turn incorrect usage of EnsureDirState into panics Zygmunt Krynicki 2016-03-15 11:38:02 +01:00
  • 659ed1a647 Merge pull request #637 from mvo5/feature/taskrunner Michael Vogt 2016-03-15 11:33:37 +01:00
  • 7dc9d5cc34 fix typo Michael Vogt 2016-03-15 11:27:08 +01:00
  • 9d52c87693 osutil: verify file ownership in all cases Zygmunt Krynicki 2016-03-15 11:26:19 +01:00
  • 134ca96cdb make TaskRunner.run() take a task instead of a taskID Michael Vogt 2016-03-15 11:25:21 +01:00
  • 3dc089c732 osutil: and more tweaks so that we don't declare variables Zygmunt Krynicki 2016-03-15 11:23:04 +01:00
  • 62a4cef148 osutil: more tweaks to code layout Zygmunt Krynicki 2016-03-15 11:21:28 +01:00
  • f5c2e5421c osutil: tweak code layout for being more natural Zygmunt Krynicki 2016-03-15 11:18:37 +01:00
  • d80d2d40b2 osutil: use filepath rather than path to join file names Zygmunt Krynicki 2016-03-15 11:13:11 +01:00
  • be48acc306 osutil: put return values in the function declaration Zygmunt Krynicki 2016-03-15 11:07:33 +01:00
  • 839181f31e check if we have a handler for the given task in the taskrunner early Michael Vogt 2016-03-15 10:49:52 +01:00
  • 9df4eb54c9 address review feedback (thanks Pedronis) Michael Vogt 2016-03-15 10:42:52 +01:00
  • 8df07e8937 integration-tests: always set env for snap tests Federico Gimenez 2016-03-14 13:34:42 +01:00
  • ae8a93c42d Merge remote-tracking branch 'upstream/master' into feature/taskrunner Michael Vogt 2016-03-15 10:26:37 +01:00
  • 3a5b7d3e18 Merge pull request #633 from mvo5/feature/task-wait-for-wait-tasks Michael Vogt 2016-03-15 10:20:13 +01:00
  • 0eb43bc6c5 Merge remote-tracking branch 'upstream/master' into feature/task-wait-for-wait-tasks Michael Vogt 2016-03-15 10:14:23 +01:00
  • ce4a164f6c address review feedback (thanks Pedronis) Michael Vogt 2016-03-15 10:11:18 +01:00
  • e2c9f4adc3 Merge pull request #660 from pedronis/overlord-state-task-ids-set Samuele Pedroni 2016-03-15 10:10:00 +01:00
  • 07ae7d26d7 Merge remote-tracking branch 'upstream/master' into feature/taskrunner Michael Vogt 2016-03-15 09:48:22 +01:00
  • 80caef136d Merge remote-tracking branch 'upstream/master' into feature/taskrunner Michael Vogt 2016-03-15 09:44:56 +01:00
  • d93d1b0c02 Merge pull request #638 from mvo5/feature/state-access-from-task-change Samuele Pedroni 2016-03-15 09:37:33 +01:00
  • c85c8ab215 Merge branch 'refactor/no-parts4' into refactor/no-parts5 Michael Vogt 2016-03-15 09:20:42 +01:00
  • 8ae43cba47 Merge branch 'refactor/no-parts3' into refactor/no-parts4 Michael Vogt 2016-03-15 09:17:31 +01:00
  • cf10fd7354 Merge remote-tracking branch 'upstream/master' into refactor/no-parts3 Michael Vogt 2016-03-15 09:08:42 +01:00
  • d6e749d58f address review feedback Michael Vogt 2016-03-15 08:56:48 +01:00
  • 8c9c7019b1 Merge remote-tracking branch 'upstream/master' into feature/rename-to-snapd Michael Vogt 2016-03-15 08:54:45 +01:00
  • efd035a850 use taskIDsSet in the waitTasks data and return []*Task in WaitTasks Michael Vogt 2016-03-15 08:22:28 +01:00
  • 4fa4a169f8 skip changes in "Done" state Michael Vogt 2016-03-15 08:45:28 +01:00
  • 294961b910 add missing locks to protect access to handlers and state Michael Vogt 2016-03-15 08:41:51 +01:00
  • dbb4bd9009 move TaskRunner.Handlers() into taskrunner.go Michael Vogt 2016-03-15 08:38:17 +01:00
  • 350d012306 fix another comment (thanks again Pedronis) Michael Vogt 2016-03-15 08:28:27 +01:00
  • 8828cb145e Merge remote-tracking branch 'upstream/master' into feature/task-wait-for-wait-tasks Michael Vogt 2016-03-15 08:16:52 +01:00
  • 703c934d43 Merge remote-tracking branch 'pedronis/overlord-state-task-ids-set' into feature/task-wait-for-wait-tasks Michael Vogt 2016-03-15 08:16:38 +01:00
  • 94e5066c83 Merge pull request #661 from mvo5/hotfix/fix-master Michael Vogt 2016-03-15 08:13:53 +01:00
  • eca17baa88 its "Developer" now instead of "Origin" Michael Vogt 2016-03-15 08:02:44 +01:00
  • 6f5c1f324c remove outdated comment (thanks Chipaca) Michael Vogt 2016-03-15 07:47:36 +01:00
  • 972894a5d5 Merge pull request #651 from mvo5/refactor/no-parts Michael Vogt 2016-03-15 07:45:20 +01:00
  • bc526dd5b9 Merge pull request #630 from zyga/bool-file-redux Michael Vogt 2016-03-15 07:41:07 +01:00
  • a0b7350725 Merge pull request #643 from mvo5/refactor/rename-origin Michael Vogt 2016-03-15 07:40:35 +01:00
  • 05aa822d47 Merge remote-tracking branch 'origin/apparmor' into apparmor Zygmunt Krynicki 2016-03-15 01:21:05 +01:00
  • 28e7eb5ee2 Merge remote-tracking branch 'upstream/master' into apparmor Zygmunt Krynicki 2016-03-15 01:20:44 +01:00
  • 388d65d19a Merge pull request #636 from zyga/udev Gustavo Niemeyer 2016-03-14 19:36:33 -03:00
  • d31bf6e88a interfaces/udev: use 'cannot' instead of 'Cannot' Zygmunt Krynicki 2016-03-14 22:55:52 +01:00
  • d88028ce9d testutil,interfaces/udev: simplify udev test code Zygmunt Krynicki 2016-03-14 22:53:03 +01:00
  • a7a56fdb84 osutil: shorten error case and use AtomicWriteFile() Zygmunt Krynicki 2016-03-14 22:39:25 +01:00
  • 1872b52be3 osutil: tweak logic for more clarity Zygmunt Krynicki 2016-03-14 22:36:21 +01:00
  • c490d6309d osutil: don't open a file if we just intend to remove it Zygmunt Krynicki 2016-03-14 22:24:05 +01:00
  • 572c53595f osutil: use AtomicWriteFile in EnsureDirState() Zygmunt Krynicki 2016-03-14 22:22:13 +01:00
  • ba3a0f923d osutil: refactor file writing code to private function Zygmunt Krynicki 2016-03-14 22:08:31 +01:00
  • 701ad4c4c6 osutil: move erase logic first so that longer path is less nested Zygmunt Krynicki 2016-03-14 22:04:21 +01:00
  • b13b4c3ce7 osutil: don't use implicit returns as those are tricky Zygmunt Krynicki 2016-03-14 22:00:42 +01:00
  • 79ee0018a3 osutil: rename SyncDir() to EnsureDirState() Zygmunt Krynicki 2016-03-14 21:51:09 +01:00
  • 9bc66c224d osutil: refer to differing content, not corrupted content Zygmunt Krynicki 2016-03-14 21:48:40 +01:00
  • 5049d8b27e osutil: discard some obvious documentation Zygmunt Krynicki 2016-03-14 21:47:45 +01:00
  • 8077208c5e introduce taskIDsSet to support task IDs sets that will be serialized as just arrays, use it for Change.taskIDs Samuele Pedroni 2016-03-14 17:08:18 +01:00
  • b9070b3e82 osutil: use GID instead of Gid Zygmunt Krynicki 2016-03-14 16:40:15 +01:00
  • 098027e12c osutil: improve documentation of FileState Zygmunt Krynicki 2016-03-14 16:39:27 +01:00
  • 80a4a8a916 osutil: discard janitor as a concept, rename to SyncDir Zygmunt Krynicki 2016-03-14 16:36:34 +01:00
  • 18250f6e8d osutil: rename osutil.File to .FileState Zygmunt Krynicki 2016-03-14 16:24:39 +01:00
  • 836a48742f osutil: reorder janitor return values Zygmunt Krynicki 2016-03-14 16:18:49 +01:00
  • 87c388aa8b osutil: rename "fixed" to "corrected" Zygmunt Krynicki 2016-03-14 16:17:24 +01:00
  • e26efc454b interfaces/jantior,osutil: move janitor to osutil package Zygmunt Krynicki 2016-03-14 16:15:48 +01:00
  • b3023d4b90 Merge pull request #646 from elopio/debian/tests Snappy Microbe-Obliterator 2016-03-14 09:00:35 -06:00
  • 0f71a22c61 interaces/janitor: abbreviate more test data Zygmunt Krynicki 2016-03-14 15:46:44 +01:00
  • feea9691ad interaces/janitor: abbreviate test data Zygmunt Krynicki 2016-03-14 15:44:59 +01:00
  • efd380e09b Merge pull request #617 from zyga/real-security-files Zygmunt Krynicki 2016-03-14 15:35:46 +01:00
  • 75b77b6f89 Merge pull request #627 from zyga/dont-panic Zygmunt Krynicki 2016-03-14 15:33:52 +01:00
  • ab031845df mydeveloper -> snapdev (thanks Gustavo) Michael Vogt 2016-03-14 15:32:31 +01:00
  • aae60c5c64 interfaces/janitor: add janitor module Zygmunt Krynicki 2016-03-14 12:49:03 +01:00
  • 2cc11f0bcf fix comment (thanks Pedronis) Michael Vogt 2016-03-14 14:57:24 +01:00
  • 862cca2463 Merge branch 'refactor/no-parts4' into refactor/no-parts5 Michael Vogt 2016-03-14 14:48:41 +01:00
  • a176244ecf ./update-pot Michael Vogt 2016-03-14 14:48:27 +01:00