Commit Graph

  • c20048eefb merged lp:snappy Michael Vogt 2015-02-19 08:33:32 +01:00
  • 1532da4c54 snappy/systemimage.go: review comment from sergio Michael Vogt 2015-02-19 08:29:55 +01:00
  • 1edd397b12 add more comments Michael Vogt 2015-02-19 08:23:40 +01:00
  • 1ad13c7265 add test for verifyUpgradeWasApplied() Michael Vogt 2015-02-19 08:14:58 +01:00
  • 09adea17ec add {,Remote}SnapPart.Hashes() support Michael Vogt 2015-02-18 15:02:23 -05:00
  • 91dd035be5 use defer to finish progressbar Michael Vogt 2015-02-18 20:52:30 +01:00
  • bb6afff9ab Make "snappy list" more like the spec output by adding a date to the component. Michael Vogt 2015-02-18 14:52:00 -05:00
  • 8dd481a052 merged lp:snappy Michael Vogt 2015-02-18 20:49:23 +01:00
  • 152a316960 add new Part.Date() interface Michael Vogt 2015-02-18 14:42:12 -05:00
  • 6b6734eeea address review comments (thanks Sergio) Michael Vogt 2015-02-18 20:27:49 +01:00
  • 1b4a7e7712 merge lp:snappy Michael Vogt 2015-02-18 20:20:56 +01:00
  • 969d55f0f4 Move {current,other}BootPath into the "uboot" type Michael Vogt 2015-02-18 12:51:55 -05:00
  • 5888cabcd6 Basic snappy config implementation Michael Vogt 2015-02-18 12:42:10 -05:00
  • 9817bff548 fix comment (thanks James) Michael Vogt 2015-02-18 17:54:08 +01:00
  • 6aeea9c968 merged with lp:snappy Michael Vogt 2015-02-18 17:37:16 +01:00
  • ba9e80fc83 merged lp:~mvo/snappy/snappy-add-date-to-part Michael Vogt 2015-02-18 17:35:28 +01:00
  • 70a670df7c address review comments from Sergio Michael Vogt 2015-02-18 17:33:16 +01:00
  • 08311403f5 address review comments Michael Vogt 2015-02-18 15:52:40 +01:00
  • a633cc8e52 add {Download,Installed}Sizes for more snaps Michael Vogt 2015-02-18 09:51:57 -05:00
  • ec7bc8aa6c add lastUpdate check for local system-image partitions as well Michael Vogt 2015-02-18 15:41:37 +01:00
  • f5735e5433 show date in snappy list to make it more like in the new UI spec Michael Vogt 2015-02-18 15:35:13 +01:00
  • 11a6b36e7b Ensure reboot message appears after 'snappy list' output. James Hunt 2015-02-18 09:32:07 -05:00
  • 564ecb8947 * Review comment: check return. James Hunt 2015-02-18 14:25:59 +00:00
  • 74a0a11d00 add date to snappy list output Michael Vogt 2015-02-18 15:23:24 +01:00
  • f41d8c8376 add new Part.Date() for the new snappy list Michael Vogt 2015-02-18 15:13:09 +01:00
  • 341b73a068 implement basic snappy info <pkgname> Michael Vogt 2015-02-18 08:21:51 -05:00
  • d4bd8feb77 rename snappy.SetProperty() to ParseSetPropertyCmdline() and more tests Michael Vogt 2015-02-18 08:02:30 -05:00
  • 0c40d9c2ef add SystemImage.DownloadSize() Michael Vogt 2015-02-18 14:00:24 +01:00
  • 667b3158ff implement SnapPart.InstalledSize() Michael Vogt 2015-02-18 13:53:59 +01:00
  • 6e0d88ddf8 implement RemoteSnapPart.DownloadSize() Michael Vogt 2015-02-18 13:47:47 +01:00
  • d0c5d1444d snappy/set_test.go: update not to use set active=" in the tests Michael Vogt 2015-02-18 13:25:05 +01:00
  • d826e8df03 address review comments from Sergio Michael Vogt 2015-02-18 13:21:10 +01:00
  • 14df52987a add space Michael Vogt 2015-02-18 13:16:09 +01:00
  • 4baa850bdd * Review changes. James Hunt 2015-02-18 10:09:50 +00:00
  • ea9ea1b811 * Ensure reboot message appears after 'snappy list' output. James Hunt 2015-02-18 09:33:00 +00:00
  • 218fb835a1 add support for "SnapPart.Hash()" Michael Vogt 2015-02-18 09:56:56 +01:00
  • 20fb28cf25 implement RemoteSnapPart.Hash() Michael Vogt 2015-02-18 09:13:46 +01:00
  • 6f0e019bc7 move SystemImagePart.Hash() to sha512 Michael Vogt 2015-02-18 09:13:30 +01:00
  • ea08533006 make run-checks happy Michael Vogt 2015-02-17 18:01:12 +01:00
  • ddf8eb6ab7 address review comemnts from James (thanks) Michael Vogt 2015-02-17 17:59:00 +01:00
  • fd864b82dc * Add very basic test to verify that the just-installed system-image is at the expected version. James Hunt 2015-02-17 14:39:17 +00:00
  • 0c511afc60 improve error handling and comments (thanks Sergio) Michael Vogt 2015-02-17 15:35:58 +01:00
  • 34f6563c94 rename makeConfigEnv->makeSnapHookEnv and move into helpers.go Michael Vogt 2015-02-17 15:29:45 +01:00
  • 8c64bddcac add some error handling to makeMapFromEnvList() Michael Vogt 2015-02-17 15:18:46 +01:00
  • eebb86d7de address review comments from Sergio Michael Vogt 2015-02-17 15:07:45 +01:00
  • 65f1887fa5 * Sync with upstream. James Hunt 2015-02-17 10:47:26 +00:00
  • 6561a27631 * etc/grub.d/09_snappy: Grub snippet that: - Creates menuentry's for both rootfs's. - Boots using the rootfs specified by the snappy_ab variable (which replaces the boot-by-uuid config auto-generated by grub-install [which is no longer called]). - Toggles the rootfs if the last boot failed (LP: #1412737). * partition/bootloader_grub.go: - ToggleRootFS: Remove call to grub-install now that ubuntu-device-flash creates the shared boot partition for grub. * partition/partition.go: - bindmountRequiredFilesystems(): Call new function bindmountThisRootfsRO() so that menu entries can be generated for for both rootfs's on grub systems. James Hunt 2015-02-17 10:46:05 +00:00
  • 79b1008ad9 partition/partition.go: bind mount /boot/grub Michael Vogt 2015-02-17 04:42:47 -05:00
  • 1e8dcb8a36 set SNAP_* environment when the config script is run Michael Vogt 2015-02-17 10:07:57 +01:00
  • e98cb4d077 Fix bug that causes reboot messsage to never be displayed: James Hunt 2015-02-17 02:21:57 -05:00
  • 2bd2046251 update comments Michael Vogt 2015-02-17 08:02:34 +01:00
  • 632be447fe snappy/config_test.go: fix leftover debug line Michael Vogt 2015-02-17 05:39:50 +01:00
  • 819f5f4917 cmd_config.go: support "-" and "" in the ConfigFile posititional arg Michael Vogt 2015-02-17 05:28:08 +01:00
  • 34a50c34a4 add support for ubuntu-core-config Michael Vogt 2015-02-16 19:45:16 +01:00
  • 880b0eef3b docs/config.md: add documentation Michael Vogt 2015-02-16 19:41:35 +01:00
  • fed4c4b530 fix typo (thanks James!) Michael Vogt 2015-02-16 19:21:57 +01:00
  • c81ad0eb20 add new AdditionalBindMounts() interface and use in bindmountRequiredFilesystems() Michael Vogt 2015-02-16 19:18:06 +01:00
  • a1e63d5dc0 add configFile positional argument (to follow spec) Michael Vogt 2015-02-16 18:47:58 +01:00
  • f514b2dd03 update Part.Config() to mach spec, it takes a config and returns a config Michael Vogt 2015-02-16 18:42:16 +01:00
  • d41d0605a7 add snappy-go config Michael Vogt 2015-02-16 18:05:41 +01:00
  • b580160a3b * cmd/snappy-go/cmd_list.go: Encapsulate reboot message handling display in showRebootMessage(). James Hunt 2015-02-16 16:52:59 +00:00
  • c6e3c8dd65 * showInstalledList(): Display reboot message for 'snappy list' when appropriate. James Hunt 2015-02-16 16:45:15 +00:00
  • 331dd73a03 add snapConfig() backend code Michael Vogt 2015-02-16 17:37:37 +01:00
  • d6802974d4 partition/partition.go: grub is a special snowflake and needs a additional dir Michael Vogt 2015-02-16 15:15:24 +01:00
  • 914f3d5fbc only uboot needs {current,other}BootPath so only make it available there Michael Vogt 2015-02-16 15:02:30 +01:00
  • a092239c3d rename "UpdateBootloader" to "ToggleNextBoot" Michael Vogt 2015-02-16 14:54:15 +01:00
  • f0ff7a0227 split SetProperty/parseSetPropertyCmdline as suggested by Sergio Michael Vogt 2015-02-16 10:50:58 +01:00
  • 991286dc6e cmd/snappy-go/cmd_info.go: add basic support for "snappy info <pkgname>" Michael Vogt 2015-02-16 09:35:08 +01:00
  • 9f710c0acb Updating snappy list to follow the spec and adding a better long description. Sergio Schvezov 2015-02-16 03:12:03 -05:00
  • a905c2d3be Updating snappy info to follow the spec and adding a better long description. Sergio Schvezov 2015-02-16 03:02:29 -05:00
  • 47e0df94d0 Spec adapt and more help for list Sergio Schvezov 2015-02-14 14:51:38 -02:00
  • f55dc63282 Short help to fit in less than 80 chars and specific named consts. Sergio Schvezov 2015-02-14 14:29:50 -02:00
  • 5fbb8cd9a9 Remove extra uneeded newline Sergio Schvezov 2015-02-14 14:24:25 -02:00
  • 31d1faf56f Updating dependencies.tsv Sergio Schvezov 2015-02-14 13:02:55 -02:00
  • fb430e559a Better cmd_info and according to spec. Sergio Schvezov 2015-02-14 12:57:44 -02:00
  • 22e154f375 Refactor how getBootloader works Michael Vogt 2015-02-14 06:32:13 -05:00
  • 7977f4a4cc Add systemd units to had snappy autopilot (cleaned up debian/rules with uneeded or stale commands) Sergio Schvezov 2015-02-14 08:30:11 -02:00
  • 4e3c2949e8 Simplify the bootloader interface Michael Vogt 2015-02-13 16:04:15 -05:00
  • e825d5a248 Update README.md with current source paths. Joe Talbott 2015-02-13 16:02:29 -05:00
  • 29a0ea7931 fix comment and add tests success message Michael Vogt 2015-02-13 21:33:54 +01:00
  • 8c6b934bf8 run-checks: add success message Michael Vogt 2015-02-13 21:27:45 +01:00
  • fc2bfbcbbd Update README.md with new source paths. Joe Talbott 2015-02-13 11:42:29 -05:00
  • 74a9e2a7ad merged lp:snappy and resolved conflicts Michael Vogt 2015-02-13 15:58:35 +01:00
  • bec48e4c7b merged lp:snappy and resolved conflicts Michael Vogt 2015-02-13 15:54:54 +01:00
  • 56b767770b merged lp:snappy and resolved conflicts Michael Vogt 2015-02-13 15:52:35 +01:00
  • 9beeed34af Adds "go lint" as part of the .tarmac.sh runs and fix a lot of the complaints. Two warnings are currently muted. Michael Vogt 2015-02-13 09:42:00 -05:00
  • f81323e92f fix missing MarkBootSuccessful comment Michael Vogt 2015-02-13 15:17:38 +01:00
  • a6209317a8 add set -v to run-checks Michael Vogt 2015-02-13 15:16:31 +01:00
  • b6cfb6e598 merged lp:snappy Michael Vogt 2015-02-13 14:29:27 +01:00
  • 5db3c4642f Adding "go vet" to the tarmac runs and also fixes the issues go vet found from its first run. Michael Vogt 2015-02-13 07:03:22 -05:00
  • 0c84a9ecad Fix regression on grub systems and add regression test. Michael Vogt 2015-02-13 05:11:57 -05:00
  • 42d04e9e41 remove go get code.google.com/p/go.tools/cmd/vet as it does not work without hg Michael Vogt 2015-02-13 10:52:32 +01:00
  • e56dcfd8bd golint is finally happy Michael Vogt 2015-02-13 10:39:14 +01:00
  • f845883ddf make snappy/snapp.go golint compliant Michael Vogt 2015-02-13 10:30:25 +01:00
  • 65dac1d1c4 more golint Michael Vogt 2015-02-13 09:59:53 +01:00
  • 53c14b6df7 make partition/* golint clean Michael Vogt 2015-02-13 09:47:40 +01:00
  • 5019c600af unexport bootloader Michael Vogt 2015-02-13 09:36:12 +01:00
  • a35f110ab9 unexport NewBootLoader Michael Vogt 2015-02-13 09:34:08 +01:00
  • d30dfc533e unexport BootLoaderType Michael Vogt 2015-02-13 09:32:34 +01:00
  • 99019e36cb unexport BootloaderName Michael Vogt 2015-02-13 09:30:30 +01:00