Commit Graph

  • dd83fd5c43 path -> filepath Michael Vogt 2015-02-02 19:48:00 +01:00
  • 089cd30836 make finalizer more explicit Michael Vogt 2015-02-02 19:39:04 +01:00
  • d74f735911 avoid double close Michael Vogt 2015-02-02 18:42:29 +01:00
  • dd8a584f6e cancel only once Michael Vogt 2015-02-02 18:36:31 +01:00
  • eca613ac4b remove unneeded msg == nil check Michael Vogt 2015-02-02 17:55:15 +01:00
  • f10604a6a3 snappy/systemimage.go: adjust as suggested by Sergio Michael Vogt 2015-02-02 17:54:08 +01:00
  • 7a6c701cb7 add missing pkg.name to the progress Michael Vogt 2015-02-02 16:38:34 +01:00
  • 61a175f69b support current symlink removal Michael Vogt 2015-02-02 16:20:36 +01:00
  • fc593d211f add current symlink on install Michael Vogt 2015-02-02 16:16:46 +01:00
  • 01f2cf3a22 support removing applications Michael Vogt 2015-02-02 16:08:18 +01:00
  • e25543611c fix test hooks to point into instDir Michael Vogt 2015-02-02 15:19:34 +01:00
  • 0837e5aa67 fix symlink target Michael Vogt 2015-02-02 15:07:47 +01:00
  • ec4b050e14 add more hook support Michael Vogt 2015-02-02 14:50:23 +01:00
  • 2b3fe65195 add click hook reading compatiblity Michael Vogt 2015-02-02 14:03:31 +01:00
  • fe0ef6cfc4 read click hooks from manifest Michael Vogt 2015-02-02 11:23:50 +01:00
  • 2c3fb16a3e make basic unpack work (no hooks, no audit yet) Michael Vogt 2015-02-02 10:52:28 +01:00
  • fcd5f14185 merged lp:snappy Michael Vogt 2015-02-02 07:45:20 +01:00
  • 257af4c228 add cancel to my own watcher Michael Vogt 2015-01-30 16:51:52 +01:00
  • 204f96474f add workaround for go-dbus #1416352 Michael Vogt 2015-01-30 16:45:21 +01:00
  • b24cfabf3d * Merge of lp:~mvo/snappy/trivial-remove-unused. James Hunt 2015-01-30 08:52:10 +00:00
  • 1551673c67 rework dbus signal handling Michael Vogt 2015-01-30 08:53:17 +01:00
  • 5e6614b53a partition/partition.go: remove unused SYSTEM_IMAGE_CONFIG Michael Vogt 2015-01-30 07:29:57 +01:00
  • 183b71cc85 snappy/progress.go: improve progress docstrings to address first comment from Sergio Michael Vogt 2015-01-29 17:55:43 +01:00
  • 99cf894383 merge lp:snappy and resolve conflicts Michael Vogt 2015-01-29 17:49:46 +01:00
  • 12d697fa7a * Merge of lp:~mvo/snappy/subrevisions. James Hunt 2015-01-29 15:37:20 +00:00
  • bcc195b198 * Merge of lp:~mvo/snappy/trivial-fix-remount. James Hunt 2015-01-29 15:33:04 +00:00
  • 971a54adc2 Merge lp:~mvo/snappy/si-progress into lp:snappy Sergio Schvezov 2015-01-29 12:28:06 -03:00
  • 3f5bb7d9b6 * Merge of lp:~mvo/snappy/trivial-missing-close. James Hunt 2015-01-29 15:15:13 +00:00
  • bdaa855647 merged trunk Michael Vogt 2015-01-29 15:35:35 +01:00
  • b18f630d3a merged trunk Michael Vogt 2015-01-29 15:35:16 +01:00
  • 272a134b9c merged trunk Michael Vogt 2015-01-29 15:33:54 +01:00
  • ba4c25d8b7 add support for sub-revisions (like 1.0-2) Michael Vogt 2015-01-29 10:48:37 +01:00
  • c13971c05f partition/partition.go: fix remount() call, -o is prepended automatically by mount() Michael Vogt 2015-01-29 09:38:22 +01:00
  • 41794038fe add missing f.Close() for the config reading Michael Vogt 2015-01-29 09:34:10 +01:00
  • 279ab83412 merged trunk Michael Vogt 2015-01-29 08:24:09 +01:00
  • e346372987 * Merge of lp:~mvo/snappy/add-test-for-remove-in-slice. James Hunt 2015-01-28 17:01:44 +00:00
  • ffbb2f0c1a add missing test for stringSliceRemove Michael Vogt 2015-01-28 14:21:22 +01:00
  • 228253b363 merged lp:~jamesodhunt/snappy/fix-stringSliceRemote Michael Vogt 2015-01-28 14:08:24 +01:00
  • 56fec078b3 * partition/partition.go: stringSliceRemove(): Operate on parameter, not global variable. James Hunt 2015-01-28 13:02:52 +00:00
  • 06dab90980 * Comments. James Hunt 2015-01-28 10:48:45 +00:00
  • 49b1343de5 * Fix comments. James Hunt 2015-01-28 10:47:30 +00:00
  • 5e0dd91aad add new MountOption type to make it more obvious what mount(parameter) will do Michael Vogt 2015-01-28 11:31:55 +01:00
  • 68b5a90d73 merged trunk and resolved conflicts Michael Vogt 2015-01-28 10:59:04 +01:00
  • 91b27c3239 merged lp:~jamesodhunt/snappy/ensure-other-mounted-ro Michael Vogt 2015-01-28 10:54:32 +01:00
  • 3a06816134 * Drop MountTarget field from Partition and replace with calls to MountTarget() now that there is only a single mount target. James Hunt 2015-01-28 09:47:29 +00:00
  • e71a68f98c * Test fix. James Hunt 2015-01-28 09:37:05 +00:00
  • 4a6c5eb59d merged lp:snappy and resolved conflicts Michael Vogt 2015-01-28 09:12:01 +01:00
  • 50bfce5f6f merged lp:~sergiusens/snappy/its_a_snap-d Michael Vogt 2015-01-28 08:37:33 +01:00
  • 8dfcfd1fca merged lp:~sergiusens/snappy/dont_get_this and adjust {Other,Current}Part -> {other,current}Part Michael Vogt 2015-01-28 08:27:41 +01:00
  • 3045d9f56e Exporting snapType (as SnapType) Sergio Schvezov 2015-01-27 20:32:36 -03:00
  • d0c0417677 Adding a snapType type and using the proper speced name of snap instead of snapp. Sergio Schvezov 2015-01-27 17:46:45 -03:00
  • 05dcaa6cf5 Removing Get from function and receiver names to make it more idiomatic go. Sergio Schvezov 2015-01-27 15:54:53 -03:00
  • 36e0f64fad * partition.New(): initialise MountTarget here rather than in makeMountPoint(). * makeMountPoint(): Don't create a special read-only mount point any more. * RunWithOther(): Add writable param to make behaviour manifest. * getPartitionDetails(): Ensure "other" is mounted read-only. * loadPartitionDetails(): Ignore empty NAME entries. * Arrange for other rootfs to be mounted r/o until the required changes to initramfs-tools-ubuntu-core land. * toggleBootLoader(): toggle other rootfs mount type rather than mounting and unmounting. James Hunt 2015-01-27 16:17:57 +00:00
  • cc4a2368cf fix tests Michael Vogt 2015-01-27 14:51:08 +01:00
  • d4864aea98 fix test output Michael Vogt 2015-01-27 13:38:15 +01:00
  • 6962e800ca ensure quitCh is used in the system-image progress Michael Vogt 2015-01-27 13:31:26 +01:00
  • 0cd389e88d snappy/systemimage.go: do not switch ReloadConfiguration() back in CheckForUpdate because otherwise it will never download a update Michael Vogt 2015-01-27 13:25:42 +01:00
  • e335330621 fix constructing the version in GetUpdates Michael Vogt 2015-01-27 13:16:47 +01:00
  • 65ed8ca96c merge lp:snappy Michael Vogt 2015-01-27 13:16:19 +01:00
  • 8cd662a594 snappy/systemimage.go: trivial fix in ConfigReload Michael Vogt 2015-01-27 12:41:12 +01:00
  • e608bcbec0 merged trunk Michael Vogt 2015-01-27 12:33:04 +01:00
  • d3747da4ec add spinner and test Michael Vogt 2015-01-27 12:25:13 +01:00
  • 972381b7dc * Merge of lp:~sergiusens/snappy/arch. James Hunt 2015-01-27 10:42:40 +00:00
  • 5b48f142e6 add progress for system-image install Michael Vogt 2015-01-27 11:41:03 +01:00
  • 3bd2972a45 * Updated dependencies. James Hunt 2015-01-27 09:44:24 +00:00
  • bdf3b1b19d * Merge of lp:~mvo/snappy/other-partition. James Hunt 2015-01-27 09:42:14 +00:00
  • 26504f4088 use path.Join() instead of fmt.Sprintf("%s/%s") Michael Vogt 2015-01-27 09:25:19 +01:00
  • faeb6250f9 improve error handling Michael Vogt 2015-01-27 09:18:14 +01:00
  • 66443b6979 partition/partition.go: fix typo Michael Vogt 2015-01-27 09:18:05 +01:00
  • 61868c2183 make runCommand/runCommandWithStdout to use variadic Michael Vogt 2015-01-27 08:59:45 +01:00
  • 49ed5d6a34 address all the easy points of Sergios review (thanks!) Michael Vogt 2015-01-27 08:43:06 +01:00
  • e2e1e223a2 Using something different than dpkg --print-architecture Sergio Schvezov 2015-01-26 20:12:06 -03:00
  • 754e507776 add utils_test.go, rework fileExists() to return bool Michael Vogt 2015-01-26 21:04:26 +01:00
  • 3c63d51a0b add stringSliceRemove() wrapper Michael Vogt 2015-01-26 20:09:52 +01:00
  • 4625e5d558 add test for mount/unmount tracking Michael Vogt 2015-01-26 17:20:09 +01:00
  • a1d5c0d546 unexport and move to utils.go Michael Vogt 2015-01-26 17:14:30 +01:00
  • d6ce1d91a5 unexport more and move some helpers into utils.go Michael Vogt 2015-01-26 16:59:21 +01:00
  • fd829527c6 add more tests, use slice instead of list, unexport some functions Michael Vogt 2015-01-26 16:44:59 +01:00
  • 2d81f06f65 merged trunk Michael Vogt 2015-01-26 15:41:15 +01:00
  • 0f1448dc3d merge lp:~sergiusens/snappy/cli_api_split Michael Vogt 2015-01-26 15:40:26 +01:00
  • 5b979632ab move parts that do not need "type Parition" out into standalone functions, remove readOnlyMount member of "type Partition" as this is only needed for MountOtherRootfs() Michael Vogt 2015-01-26 15:39:38 +01:00
  • 2ea2cab3b4 Making Build() nicer and fixing a couple of issues Sergio Schvezov 2015-01-26 11:30:14 -03:00
  • 5322a32221 Initial split of API and cli. Sergio Schvezov 2015-01-26 11:13:15 -03:00
  • b910659af2 simplify lsblk to use --output=NAME,LABEL,PKNAME,MOUNTPOINT for partition details detection Michael Vogt 2015-01-26 15:10:26 +01:00
  • 6f37831924 add the ability to mock lsblk so that the parition detection is testable Michael Vogt 2015-01-26 14:23:19 +01:00
  • aecf693334 merged lp:~sergiusens/snappy/progress_refactor Michael Vogt 2015-01-26 13:07:34 +01:00
  • 18ca06c777 use goconfigparser to read the s-i config directly instead of going over the dbus daemon, improve tests along the way Michael Vogt 2015-01-26 11:05:08 +01:00
  • 986d3b2413 add test for Partition.hardwareSpec Michael Vogt 2015-01-23 22:21:41 +01:00
  • 88e70fff63 refactor to remove some duplicated code Michael Vogt 2015-01-23 20:50:48 +01:00
  • 092fb0ce5e merge changes from james, add partition.RunWithOther(), make tests work and improve mocks Michael Vogt 2015-01-23 20:28:17 +01:00
  • 793da0efe2 Refactored the progressmeter to have a more usable api on the webdm side. Sergio Schvezov 2015-01-23 11:55:15 -03:00
  • 278ac0fec5 Updating readme Sergio Schvezov 2015-01-23 09:55:04 -03:00
  • 6800d205d9 Updating package references Sergio Schvezov 2015-01-23 09:52:49 -03:00
  • 2b8b38c7ff * Updated dependencies. James Hunt 2015-01-23 08:21:56 +00:00
  • e87accc4f0 add proper progress interface instead of hard-coding it Michael Vogt 2015-01-23 08:35:17 +01:00
  • 087a9b1e55 snappy/parts.go: add FIXME Michael Vogt 2015-01-23 08:05:35 +01:00
  • 0c855bbbdc add hardcoded progress bar for downloads Michael Vogt 2015-01-22 14:12:30 +01:00
  • c21b8c54d9 show list after install Michael Vogt 2015-01-22 13:25:43 +01:00
  • 9625daf712 show output when click is run Michael Vogt 2015-01-22 13:14:00 +01:00
  • 48b3951fc1 fix tests when no /apps or /oem exists Michael Vogt 2015-01-22 12:26:42 +01:00