Commit Graph

  • 17ef4e1419 fix helper tests (thanks Sergio!) Michael Vogt 2015-02-27 08:31:40 +01:00
  • db44a576f3 Implement the hw-assign feature. by mvo approved by sergiusens,jdstrand Michael Vogt 2015-02-26 13:02:13 -05:00
  • b8779a990c merged lp:snappy Michael Vogt 2015-02-26 17:23:41 +01:00
  • a5face3b92 merged lp:snappy Michael Vogt 2015-02-26 17:22:29 +01:00
  • 63196c10b0 merged lp:snappy and resolved conflicts Michael Vogt 2015-02-26 17:21:34 +01:00
  • 86ab41243c merged lp:snappy and resolve conflicts Michael Vogt 2015-02-26 17:20:29 +01:00
  • 01590b3b59 merged lp:snappy Michael Vogt 2015-02-26 17:18:30 +01:00
  • f0b97b359c merged lp:snappy and resolved conflicts Michael Vogt 2015-02-26 17:17:42 +01:00
  • 43359cb20f Adding autopilot to snappy config ubunut-core. Sergio Schvezov 2015-02-26 10:21:43 -05:00
  • d8b552bb22 cleanup, add TODOs Michael Vogt 2015-02-26 15:57:29 +01:00
  • cb68b4d7e7 make integration work Michael Vogt 2015-02-26 15:50:52 +01:00
  • dcd8218f69 snappy build builds a almost valid package Michael Vogt 2015-02-26 15:40:11 +01:00
  • 78029404b6 Adding comment to ErrInvalidUnitStatus Sergio Schvezov 2015-02-26 10:01:21 -03:00
  • 8db7311e00 fix some visual glitches Michael Vogt 2015-02-26 10:25:18 +01:00
  • c8849770c1 fix race Michael Vogt 2015-02-26 10:06:29 +01:00
  • ed1bd903e1 merged lp:snappy and resolved conflicts Michael Vogt 2015-02-26 09:54:45 +01:00
  • de99f9e71d systemctl is-enabled exits 1 when the service is disabled Sergio Schvezov 2015-02-25 19:14:50 -03:00
  • 7377d96b3a collect stderr from s-i-cli to display that in case something crashes Michael Vogt 2015-02-25 20:35:12 +01:00
  • 0e18688567 add error handling test Michael Vogt 2015-02-25 20:15:35 +01:00
  • 267fabcca2 use real progress json Michael Vogt 2015-02-25 20:10:48 +01:00
  • e4a89ae0a3 Integrated snappy config for ubuntu-core. Sergio Schvezov 2015-02-25 11:32:09 -05:00
  • a526379c68 Moving to gopkg.in/yaml.v2 Sergio Schvezov 2015-02-25 11:21:44 -05:00
  • c5e38d729c deal with failing hooks on upgrade and add test Michael Vogt 2015-02-25 17:04:52 +01:00
  • 5da73e2ad7 Fixing up remaining tests Sergio Schvezov 2015-02-25 12:24:11 -03:00
  • 1de5c584d3 Merging coreConfig Sergio Schvezov 2015-02-25 12:19:40 -03:00
  • ad984775cc Adding the missing ubuntu-core: Sergio Schvezov 2015-02-25 12:16:09 -03:00
  • 6e31618e16 On a snapp upgrade, we need to make the current version not-active and run all the hooks to make it no longer active in systemd, not startable, etc *before* we copy the data. This ensures that nothing writes data while we copy the data which may lead to data corruption. Michael Vogt 2015-02-25 16:02:20 +01:00
  • 961e497859 Merged coreConfig into autopilotConfig. Sergio Schvezov 2015-02-25 11:51:22 -03:00
  • 57f51f235a Merged yaml.v2 into coreConfig. Sergio Schvezov 2015-02-25 11:51:22 -03:00
  • e5035bd08e Moving to gopkg.in/yaml.v2 Sergio Schvezov 2015-02-25 11:51:04 -03:00
  • 53e9b9953e update bulkURI to new location Michael Vogt 2015-02-25 08:22:09 -05:00
  • 445802be0b fix silly typo Michael Vogt 2015-02-25 13:58:23 +01:00
  • 63f26adaf7 simplify defaultCacheDir reset Michael Vogt 2015-02-25 13:56:19 +01:00
  • 1849f50e30 some stubs for snappy build (and a failing test) Michael Vogt 2015-02-25 13:32:26 +01:00
  • 61552c4bd9 nice error for snappy.ErrHWAccessAlreadyAdded Michael Vogt 2015-02-25 10:05:26 +01:00
  • 0928063e4a fix silly bug in RemoveHWAccess() (thanks Jamie!) and add regression test Michael Vogt 2015-02-25 09:49:59 +01:00
  • 5bb05fe49e snappy/hwaccess.go: add final newline in writeHWAccessJSONFile Michael Vogt 2015-02-25 09:40:41 +01:00
  • f393b69b44 snappy/hwaccess.go: do not allow adding the same device twice (plus test) Michael Vogt 2015-02-25 09:37:26 +01:00
  • 60b8328cad add support for snappy hw-info with no paramters Michael Vogt 2015-02-25 09:26:46 +01:00
  • b393c7378c make hw-{,un}assign parameters required, fix output for hw-info with no additional privs Michael Vogt 2015-02-25 09:09:07 +01:00
  • 298ee0255b improve tests for regenerateAppArmorRules() Michael Vogt 2015-02-25 08:41:11 +01:00
  • 51c93f4e5a address review comments from Sergio (thanks!) Michael Vogt 2015-02-25 08:27:04 +01:00
  • 7583396ed3 partition/bootloader_uboot_test.go: also test for matching content in copied files (thanks to Sergio for this suggestion) Michael Vogt 2015-02-25 08:13:15 +01:00
  • 23ba0188c9 address review comments from Sergio Michael Vogt 2015-02-25 08:09:19 +01:00
  • e77bccd559 add link to store web API documentation Michael Vogt 2015-02-25 07:58:34 +01:00
  • 8dcb5bb76e rename test helper functions for clarity Michael Vogt 2015-02-24 13:52:02 -05:00
  • 1111ed3c68 Adding autopilot config Sergio Schvezov 2015-02-24 14:56:44 -03:00
  • fb6afafc8c move helpers into snappy/helpers/ package so that its easier to share between partition/ and snappy/ itself (and the comming coreconfig) Michael Vogt 2015-02-24 17:58:30 +01:00
  • 2aad33f036 debian/rules: disable ubuntu-core-snappy.boot-ok.service for now until python-snappy moves off the snappy image Michael Vogt 2015-02-24 17:32:54 +01:00
  • b10c5a58b3 update bulkURI to new location Michael Vogt 2015-02-24 16:14:25 +01:00
  • 306db389fb rename makeTestSnap -> makeTestSnapPackage Michael Vogt 2015-02-24 14:18:40 +01:00
  • 76ca153547 rename makeMockSnap() -> makeInstalledMockSnap() Michael Vogt 2015-02-24 14:14:21 +01:00
  • fe7ac00b8d Integrated snappy config for ubuntu-core. Sergio Schvezov 2015-02-24 09:35:41 -03:00
  • d7fb5c11fb atmoicWriteFile helper Michael Vogt 2015-02-24 11:58:00 +01:00
  • 9b76f9767a refactor and remove duplicated code Michael Vogt 2015-02-24 11:19:10 +01:00
  • bce316c084 refactor and add validDevice() Michael Vogt 2015-02-24 11:04:28 +01:00
  • 3554ef948f implement hw-unassign Michael Vogt 2015-02-23 21:14:04 +01:00
  • 3b5ccc7a54 implement snappy hw-info Michael Vogt 2015-02-23 20:58:12 +01:00
  • 789ef56107 cmd/snappy-go/cmd_hwaccess.go: add output to match spec Michael Vogt 2015-02-23 20:48:24 +01:00
  • dc021d3a64 the hwaccess file is only a single file Michael Vogt 2015-02-23 20:44:27 +01:00
  • 9e91a87223 go fmt Michael Vogt 2015-02-23 16:31:33 +01:00
  • 558a4e4f0a run snappy config with aa-exec Michael Vogt 2015-02-23 16:18:52 +01:00
  • 98218d86e4 simplify test code Michael Vogt 2015-02-23 15:18:40 +01:00
  • 6e3cfe191d add tests for the validation of bootloader and partition layout validation Michael Vogt 2015-02-23 15:07:57 +01:00
  • 4dd4b545e0 add bar.dtb in the tests to ensure glob works Michael Vogt 2015-02-23 14:42:28 +01:00
  • 7256d700ec add test for removal of assets/ dir and refactor Michael Vogt 2015-02-23 14:38:19 +01:00
  • 9d8c1bed5b fix bugs in dbts copy Michael Vogt 2015-02-23 14:31:53 +01:00
  • f98ebd1b70 add (failing) test that tests the dtbs copy Michael Vogt 2015-02-23 14:29:44 +01:00
  • de9783c1b3 fix uboot.HandleAssets() Michael Vogt 2015-02-23 14:24:26 +01:00
  • afe624991a add (failing) test for uboot.HandleAssets Michael Vogt 2015-02-23 14:21:45 +01:00
  • 65fd05f010 only allow /dev, /sys/devices in AddHWAccess Michael Vogt 2015-02-23 11:27:52 +01:00
  • 1c1da5cbaa fix missing merge support Michael Vogt 2015-02-23 11:19:12 +01:00
  • 90007c3412 implement "click hw-assign" Michael Vogt 2015-02-23 10:22:33 +01:00
  • 4a3dab2542 Moving test snap creation to a common test unit while also allowing it to be test suite independent. Sergio Schvezov 2015-02-20 16:32:15 -05:00
  • caba5cfce6 Adding logic to not allow the removal of oem snaps Sergio Schvezov 2015-02-20 16:22:06 -05:00
  • 70e9b9d63e Moving contents of test_helpers to common_test and adding comments Sergio Schvezov 2015-02-20 18:16:42 -03:00
  • 7dd91785bd merging noRemoveForOem Sergio Schvezov 2015-02-20 18:09:56 -03:00
  • e3abcf5638 Checking for amount of snaps installed Sergio Schvezov 2015-02-20 18:07:08 -03:00
  • b671450e1f Adding code comment on why active oem snaps cannot be installed. Sergio Schvezov 2015-02-20 18:05:23 -03:00
  • 0fa6a4bd23 Moving test snap creation to a separate unit Sergio Schvezov 2015-02-20 17:45:23 -03:00
  • 255e4f49e2 Allow removing the inactive ones Sergio Schvezov 2015-02-20 17:27:10 -03:00
  • 2ca764b17b Preventing oem snaps from being removed Sergio Schvezov 2015-02-20 17:02:44 -03:00
  • f951614d04 verifyUpgradeWasApplied() with tests Michael Vogt 2015-02-20 10:02:20 -05:00
  • a8a834a6dd snappy/progress.go: fix crash Michael Vogt 2015-02-20 13:39:24 +01:00
  • 9b0669bce7 fix error reporting Michael Vogt 2015-02-20 13:32:57 +01:00
  • 5ad18f29dd s-i will do multiple downloads, so we start a new progressbar every time Michael Vogt 2015-02-20 13:16:26 +01:00
  • 4dd7f09505 add SNAPPY_DEBUG Michael Vogt 2015-02-20 11:54:20 +01:00
  • a84d1064ee make progress work somewhat, needs more work as s-i calls this multiple times Michael Vogt 2015-02-20 11:47:27 +01:00
  • f5409feb3b use system-image-cli --machine-readable instead of using the dbus interface for that Michael Vogt 2015-02-20 11:29:34 +01:00
  • 5a0bc2cb35 refactor, add tests, update tests Michael Vogt 2015-02-20 08:46:57 +01:00
  • b353e4c402 updating changelog Sergio Schvezov 2015-02-19 22:16:26 -03:00
  • 615eede543 Add part.Channel and use new snap.{Channel,Date} when running "snappy info <pkgname>" Michael Vogt 2015-02-19 20:12:05 -05:00
  • 49a693f61f Two new systemd units to enable automatic updates for snappy. Sergio Schvezov 2015-02-19 19:12:06 -05:00
  • 5f512a8bd5 Adding docs for autopilot Sergio Schvezov 2015-02-19 20:01:51 -03:00
  • bd9f4e1ff9 Fix typo Sergio Schvezov 2015-02-19 19:42:39 -03:00
  • 79a36e735b Disable snappy-autopilot by default and use the correct unit for snappy-boot.ok Sergio Schvezov 2015-02-19 19:42:10 -03:00
  • 899b2f57e6 Merging trunk Sergio Schvezov 2015-02-19 19:09:01 -03:00
  • 1e6702f9a8 WIP: implement native SystemImageRepository.CheckForUpdate() Michael Vogt 2015-02-19 20:41:14 +01:00
  • b6ffd8c000 add Channel()" to the part interface Michael Vogt 2015-02-19 15:47:25 +01:00
  • 1671f010bf rename UpdateBootloader to ToggleNextBoot Michael Vogt 2015-02-19 02:42:01 -05:00