Commit Graph

  • 852d24b3e6 Install message should be done from the main package and not the snappy "library" Sergio Schvezov 2015-03-20 08:23:10 -03:00
  • 7ee289401f add very crude seccomp support to the launcher Michael Vogt 2015-03-20 11:13:53 +01:00
  • 520dbf3be4 remove all overlay stuff Michael Vogt 2015-03-20 10:28:23 +01:00
  • fb400c66c7 some extra paranoia when dropping privs Michael Vogt 2015-03-20 10:06:37 +01:00
  • 98aa514820 * Add priv/ to gen-coverage.sh. James Hunt 2015-03-20 08:52:12 +00:00
  • c1aac7c9fc try to find drop privs helper in PATH/GOPATH Michael Vogt 2015-03-20 09:45:14 +01:00
  • 2622d97f91 pass install flags Michael Vogt 2015-03-20 09:04:19 +01:00
  • a127ed8138 fix incorrect path in generate binaries with global root dir Michael Vogt 2015-03-20 09:00:27 +01:00
  • 70fa876167 fix incorrect error handling in runDebsigVerifyImpl() Michael Vogt 2015-03-20 08:58:51 +01:00
  • 9ae012d360 merged lp:snappy Michael Vogt 2015-03-20 08:42:56 +01:00
  • 59bb5643d4 add FIXME Michael Vogt 2015-03-20 08:10:37 +01:00
  • 1e72603e0c Markdown and typo corrections Sergio Schvezov 2015-03-19 22:54:05 -03:00
  • 65a1b906f1 docs/frameworks.md: - mention frameworks should provide a significant benefit - mention what frameworks are not - mention option to automatically allow frameworks whose policy didn't change - caps is a list - add open questions Jamie Strandboge 2015-03-19 17:32:13 -05:00
  • c737df4576 fix typo in TMPDIR by mvo approved by jdstrand Michael Vogt 2015-03-19 12:51:37 -04:00
  • d20ff4b507 fix typo Michael Vogt 2015-03-19 17:07:01 +01:00
  • c34b9d6c30 fix typo "snapps" -> "snaps" Michael Vogt 2015-03-19 17:02:27 +01:00
  • 007b9ca1a9 Run click-reviewers-tools on build for the generated snaps. by mvo approved by sergiusens Michael Vogt 2015-03-19 11:41:41 -04:00
  • b4ec7f6139 address review comments Michael Vogt 2015-03-19 16:35:37 +01:00
  • 02df9e219a fix typo Michael Vogt 2015-03-19 15:34:10 +01:00
  • c1417b2e92 add internal (ugly) dropPrivs support Michael Vogt 2015-03-19 15:06:58 +01:00
  • 08ca8f6fe2 Review changes: James Hunt 2015-03-19 13:44:41 +00:00
  • e89ca88b0f fix issues from ./run-checks Michael Vogt 2015-03-19 14:13:59 +01:00
  • ca8b6640a5 * Added logger to gen-coverage.sh * Added missing tests for "WARNING" log level. * Added an additional test to ensure LogAndPanic(nil) works as expected. James Hunt 2015-03-19 11:08:04 +00:00
  • c0a57b4869 * 'go fmt'. James Hunt 2015-03-19 10:29:40 +00:00
  • 85d8443711 Review changes: James Hunt 2015-03-19 10:29:09 +00:00
  • 2175f37566 implement snappy rollback as discussed with Asac and Sergio Michael Vogt 2015-03-19 10:46:09 +01:00
  • 917ff1a3bc * Sync with lp:snappy. James Hunt 2015-03-19 09:33:48 +00:00
  • 9466d0726d Review comments: James Hunt 2015-03-19 09:28:12 +00:00
  • 25f752edc7 * Sync with lp:snappy. James Hunt 2015-03-19 09:18:09 +00:00
  • 5cb7954cb8 add "Download()" method to RemoteSnapPart Michael Vogt 2015-03-19 09:40:37 +01:00
  • 25074e8f8b snappy/systemimage_test.go: test for correct error type in part.verifyUpgradeWasApplied() Michael Vogt 2015-03-19 09:29:28 +01:00
  • 7113e139b9 add ErrUpgradeVerificationFailed error type Michael Vogt 2015-03-19 09:17:03 +01:00
  • 7143de241a add proper error in regenerateAppArmorRulesImpl() Michael Vogt 2015-03-19 09:02:38 +01:00
  • 9a4ab08f6b add ErrDataCopyFailed Michael Vogt 2015-03-19 08:58:30 +01:00
  • 07f2e2a267 make hook errors a proper error type Michael Vogt 2015-03-19 08:54:34 +01:00
  • cfa9863024 merged lp:~mvo/snappy/snappy-better-errors Michael Vogt 2015-03-19 08:42:18 +01:00
  • 1496446c27 move errors into the right place Michael Vogt 2015-03-19 08:40:13 +01:00
  • ede0fa5970 cherry-pick r251 from lp:~mvo/snappy/snappy-global-root Michael Vogt 2015-03-19 08:33:48 +01:00
  • 1170e63b00 cherry-pick r248 from lp:~mvo/snappy/snappy-global-root Michael Vogt 2015-03-19 08:32:20 +01:00
  • 0fa8559dd1 add ugly check to the runSystemctl inhibit code to fix the tests Michael Vogt 2015-03-19 08:28:58 +01:00
  • 44ff52faac make symlink relative to parent dir Michael Vogt 2015-03-19 08:20:25 +01:00
  • e68a856a31 docs/frameworks.md: update example policy Jamie Strandboge 2015-03-18 18:40:35 -05:00
  • e78aa5c1b2 docs/frameworks.md: add example apparmor policy for framework policy Jamie Strandboge 2015-03-18 18:32:19 -05:00
  • a4c754d17f make a alternative rootdir work (somewhat) Michael Vogt 2015-03-18 21:37:45 +01:00
  • ae4ff55314 improve error handling further Michael Vogt 2015-03-18 21:30:38 +01:00
  • aafddd38cd add SNAPPY_INHIBIT_HOOKS Michael Vogt 2015-03-18 21:21:43 +01:00
  • 1e95f80277 Add snappy golang package by snappy-dev approved by mvo Sergio Schvezov 2015-03-18 16:21:35 -04:00
  • bbbd164c39 ensure systemd dir is really there Michael Vogt 2015-03-18 21:19:56 +01:00
  • 26ec47c82d snappy/click.go: fix typo, thanks Sergio Michael Vogt 2015-03-18 21:19:40 +01:00
  • 9c539c4d1a improve error handling Michael Vogt 2015-03-18 21:11:39 +01:00
  • d0f0443fe2 add new SNAPPY_GLOBAL_ROOT, SNAPPY_ALLOW_UNAUTHENTICATED environments for integration testing Michael Vogt 2015-03-18 21:07:23 +01:00
  • 283fad6af0 Updating debian rules to use a specific package for the systemd units Sergio Schvezov 2015-03-18 17:04:27 -03:00
  • 3e8c7fd0e5 Initial package split Sergio Schvezov 2015-03-18 16:26:18 -03:00
  • b44428e18e address most of Sergios comments (thanks!) Michael Vogt 2015-03-18 20:19:10 +01:00
  • 4a8331e1f0 merged lp:snappy Michael Vogt 2015-03-18 20:04:05 +01:00
  • d2f369e783 Removing whitesapce from debian/control Sergio Schvezov 2015-03-18 15:19:03 -03:00
  • f3e1c9dbe4 fix symlink target Michael Vogt 2015-03-18 17:39:56 +01:00
  • 22acceb6a5 improve comment Michael Vogt 2015-03-18 17:32:05 +01:00
  • e1848c5294 remove flags shadowing Sergio Schvezov 2015-03-18 16:51:55 +01:00
  • 31693fc4f0 add InhibitHooks Michael Vogt 2015-03-18 15:56:33 +01:00
  • 14aba0e5ab add "flags" to snappy.Install() Michael Vogt 2015-03-18 15:49:08 +01:00
  • 029864c155 move two more directories into dirs.go Michael Vogt 2015-03-18 12:37:06 +01:00
  • 55c8355985 add SetRootDir() that allows setting alternative root directories Michael Vogt 2015-03-18 12:30:38 +01:00
  • 0e8475c9ca Add missing build-dependency on golang-ar-dev by mvo approved by sergiusens Michael Vogt 2015-03-18 06:41:40 -04:00
  • 3f00b21125 include the archive-sha512 as well Michael Vogt 2015-03-18 11:31:18 +01:00
  • 1ed11f5f4a add missing golang-ar-dev build-depends Michael Vogt 2015-03-18 11:10:15 +01:00
  • 61642084d6 merged lp:snappy Michael Vogt 2015-03-18 11:03:40 +01:00
  • 53feab223b add comment about XAttr Michael Vogt 2015-03-18 10:57:02 +01:00
  • 92b6776375 cleanup and use sha512sum helper Michael Vogt 2015-03-18 10:30:32 +01:00
  • efad2842ff Remove the redundant call to removeClickHooks() by mvo approved by sergiusens Michael Vogt 2015-03-18 05:21:33 -04:00
  • dc30bf2f83 remove duplicated removeClickHooks() on a snappy install failure and update test. this is also done in unsetActiveClick() Michael Vogt 2015-03-18 08:10:19 +01:00
  • bdea383d80 docs/frameworks.md: add preliminary policy yaml Jamie Strandboge 2015-03-17 16:50:18 -05:00
  • 88916e3eae Native "snappy build" without the need for external tools. by mvo approved by sergiusens Michael Vogt 2015-03-17 16:11:36 -04:00
  • 0c70a0fadb docs/frameworks.md - clarify definition for parts pertaining to the official store - clarify section on difference between click and snappy frameworks - don't separate out framework-policy today, but mention it as separate in the future Jamie Strandboge 2015-03-17 15:09:17 -05:00
  • 50c935c58c Make a snappy package's services inactive during the upgrade by mvo approved by sergiusens Michael Vogt 2015-03-17 16:01:56 -04:00
  • ef06a89b60 refactor and make skipToArMember its own function (thanks Sergio) Michael Vogt 2015-03-17 20:38:47 +01:00
  • a75a6158bf address review comments from Sergio Michael Vogt 2015-03-17 20:30:44 +01:00
  • bf3a33c97f Native unpack without the need to use dpkg. by mvo approved by sergiusens Michael Vogt 2015-03-17 14:41:40 -04:00
  • 4b448b1007 * Typo. * Removed a couple of unused test functions. James Hunt 2015-03-17 17:58:10 +00:00
  • f9942f5717 Make the install and list command more spec compliant. by mvo approved by sergiusens Michael Vogt 2015-03-17 13:51:39 -04:00
  • b1c7ea166b * logger/logger_test.go: Removed now-unused fileSize(). James Hunt 2015-03-17 16:55:13 +00:00
  • d53ed9146a cmd/snappy-go/cmd_list.go: Summary -> Developer Michael Vogt 2015-03-17 16:35:00 +01:00
  • 61917763cb docs/frameworks.md: by really clear about framework-policy is still TODO Jamie Strandboge 2015-03-17 08:47:02 -05:00
  • 673c760f59 address review comments and add test (*cough* thanks Sergio!) Michael Vogt 2015-03-17 13:38:52 +01:00
  • 0959714025 * Sync with lp:snappy. James Hunt 2015-03-17 11:59:45 +00:00
  • 5a86fc986d Review changes: James Hunt 2015-03-17 11:56:55 +00:00
  • 8a3d8a2cd7 show erorr matching as in the snappy walkthrough spec Michael Vogt 2015-03-17 11:17:46 +01:00
  • 450d913803 show developer in snappy-go list instead of summary Michael Vogt 2015-03-17 11:06:58 +01:00
  • babb13b953 Adding the maintainer field for backwards compatibility. by mvo approved by sergiusens,mvo Michael Vogt 2015-03-17 05:51:32 -04:00
  • a074e035a0 * 'go fmt'. James Hunt 2015-03-17 09:12:07 +00:00
  • ce71d0aa28 Include the store id from the oem part in all network traffic. by mvo approved by sergiusens,mvo Michael Vogt 2015-03-17 05:02:08 -04:00
  • d120de36f4 Ensure that systemd units are not enabled nor started at package installation. by didrocks approved by mvo Didier Roche 2015-03-17 04:52:50 -04:00
  • e23764ab5c Add basic bash completion as supported by go-flags by didrocks approved by mvo Didier Roche 2015-03-17 04:51:32 -04:00
  • 98b8077fbe fix golint complains Michael Vogt 2015-03-17 09:47:56 +01:00
  • 6059d85b72 Add basic bash completion as supported by go-flags Didier Roche 2015-03-17 09:34:37 +01:00
  • f5f1ef8aef Don't start the disabled systemd units by default Didier Roche 2015-03-17 09:15:24 +01:00
  • 1b0b3612f0 Explicitely disable the systemd units until we use them Didier Roche 2015-03-17 09:14:41 +01:00
  • 30b91b227e docs/frameworks.md - binaries need not prepend package name - snappy frameworks are different than click frameworks - clarify language around frameworks, framework-policy and the official Ubuntu store Jamie Strandboge 2015-03-16 17:19:40 -05:00
  • 14f1290d92 remove references to docker add user experience Jamie Strandboge 2015-03-16 15:02:33 -05:00
  • 70dc7344ee add docs/frameworks.md Jamie Strandboge 2015-03-16 14:17:57 -05:00