Commit Graph

  • 6bef36dede Add Restart=on-failure to generated systemd unit files Michael Terry 2015-06-05 14:29:52 -04:00
  • fa5d5d0f6b releasing package ubuntu-core-launcher version 1.0.4 1.0.4 Ricardo Salveti de Araujo 2015-06-05 14:17:52 -03:00
  • 5e472981f1 Allow writing to all forms of TMPDIR by sergiusens approved by chipaca Sergio Schvezov 2015-06-05 13:07:19 -04:00
  • e5f41d177d Allow writing to all forms of TMPDIR (LP: #1460517) Sergio Schvezov 2015-06-05 13:46:49 -03:00
  • da45566caf Improve error reporting for failed hooks. by mvo approved by mvo,chipaca Michael Vogt 2015-06-04 18:21:51 -04:00
  • 03d816aaa5 snappy/errors.go: use %q for the output of failed hooks Michael Vogt 2015-06-05 00:12:16 +02:00
  • 7f8c5f31be address string length review comment from John, many thanks Michael Vogt 2015-06-05 00:04:09 +02:00
  • af95e38622 remove the obsolete oAuthNeedsEscape/oAuthQuote/makeOauthPlaintextSignature that are now in the oauth/ package Michael Vogt 2015-06-05 00:01:12 +02:00
  • 3b90c2a9be address review comments (thanks Michael!) Michael Vogt 2015-06-04 23:43:29 +02:00
  • 6f7b751737 releasing package ubuntu-core-launcher version 1.0.3 1.0.3 Michael Vogt 2015-06-04 23:38:00 +02:00
  • 6b862f3bb1 When rolling back. output version info, especially any messages about rebooting to pick up the new version. by mterry approved by sergiusens Michael Terry 2015-06-04 15:11:50 -04:00
  • 4af58c2a91 Move print back, version isn't available yet Michael Terry 2015-06-04 15:02:07 -04:00
  • 02001b360f Move notice about rolling back up a bit Michael Terry 2015-06-04 14:59:47 -04:00
  • 5ecff08daf Output version info after rolling back, especially the bit about rebooting Michael Terry 2015-06-04 12:40:17 -04:00
  • 42976dba47 merged lp:~mterry/ubuntu-core-launcher/tmpdir Michael Terry 2015-06-04 11:12:29 -04:00
  • 03f7d64db2 Don't allow installation of packages with unsupported architectures by sergiusens approved by chipaca Sergio Schvezov 2015-06-04 09:41:55 -04:00
  • eaeed4cbaf Adding a test to test the error Sergio Schvezov 2015-06-04 10:34:57 -03:00
  • 713eaf185f comma space, always comma space Sergio Schvezov 2015-06-04 10:04:30 -03:00
  • 1ed9efec4e Don't allow installation of packages with unsupported architectures Sergio Schvezov 2015-06-04 09:55:54 -03:00
  • 4d482cb6e6 Unify handling of app environment variables. Now hooks, binaries, and services all have the same variables (mostly). by mterry approved by mvo Michael Terry 2015-06-03 10:21:44 -04:00
  • b996da365e Merge from trunk Michael Terry 2015-06-03 10:03:45 -04:00
  • 9299122e8c Review nits; add SNAP_ARCH; deprecate SNAPPY_APP_ARCH Michael Terry 2015-06-03 10:01:51 -04:00
  • beef373631 Make it die instead of just returning Michael Terry 2015-06-03 09:12:32 -04:00
  • 58b7e8aed3 Check return of strdup, add comment about why we do it Michael Terry 2015-06-03 09:09:17 -04:00
  • 0602b6bed5 merged lp:~mterry/ubuntu-core-launcher/fix-tests Michael Vogt 2015-06-03 15:02:01 +02:00
  • bfa00e5e10 Replace the deprecated launchpad.net/gocheck with gopkg.in/check.v1 by sergiusens approved by mvo Sergio Schvezov 2015-06-03 08:32:01 -04:00
  • 65adb6319c helpers/helpers.go: update comment to reflect why "CopyFile" is not used yet Michael Vogt 2015-06-03 14:23:12 +02:00
  • 95854daf3c tests and renaming John R. Lenton 2015-06-03 13:06:17 +01:00
  • 97b274a12a merged lp:~mvo/snappy/snappy-lp1449032-poor-mans-rsync-15.04 Michael Vogt 2015-06-03 13:48:37 +02:00
  • 020469d4bc oauth/oauth.go: make oauth.quote() more efficient Michael Vogt 2015-06-03 08:35:05 +02:00
  • 53fc2a7bf7 move oauth into its own package Michael Vogt 2015-06-03 08:27:26 +02:00
  • e7a44b81c8 Updating README.md Sergio Schvezov 2015-06-02 17:57:14 -03:00
  • 866aa92c6b Update in-code documentation Sergio Schvezov 2015-06-02 17:53:10 -03:00
  • 757170c431 add missing signatures Michael Vogt 2015-06-02 22:49:23 +02:00
  • 9d9bd96780 Forget gocheck Sergio Schvezov 2015-06-02 17:46:07 -03:00
  • 880d0154a0 add test for TestMakeOauthPlaintextSignature Michael Vogt 2015-06-02 20:11:23 +02:00
  • 9c11adeaae moar red John R. Lenton 2015-06-02 17:31:01 +01:00
  • 69065d017d wfm! still needs tests tho. John R. Lenton 2015-06-02 12:21:39 +01:00
  • 2dbb622072 Fix intermittent "permission denied" errors when installing snaps by making sure that we always unpack in the same OS thread that dropped its privileges. by mterry approved by mvo Michael Terry 2015-06-02 04:42:00 -04:00
  • 8d00e3f8f5 Lock setuid code to its current OS thread Michael Terry 2015-06-01 15:12:27 -04:00
  • ffed33eebe merged lp:snappy and resolved conflicts Michael Vogt 2015-06-01 14:17:14 +02:00
  • 454563370c releasing package ubuntu-core-launcher version 1.0.2 1.0.2 Michael Vogt 2015-06-01 08:18:22 +02:00
  • 1522023a97 Merge from fix-tests Michael Terry 2015-05-29 16:27:27 -04:00
  • a5a2df871e And move related setup code Michael Terry 2015-05-29 16:20:46 -04:00
  • f83579ab50 Undo test target addition, move path-check block inside uid==0 check Michael Terry 2015-05-29 16:13:13 -04:00
  • 9bb86cf18e And add test target, so that debuild will automatically run tests Michael Terry 2015-05-29 16:10:01 -04:00
  • cb52da7a48 Fix propagation of TMPDIR to subcommand Michael Terry 2015-05-29 15:48:33 -04:00
  • 9b71923af6 Make tests pass again Michael Terry 2015-05-29 15:33:20 -04:00
  • 7fc5854e6a Add SNAPP_OLD_PWD back in, I don't want to actually remove anything in this branch Michael Terry 2015-05-29 10:28:36 -04:00
  • feb4e8dc81 add SyncWithDelete fails test Michael Vogt 2015-05-29 15:52:33 +02:00
  • 6cabf4bf80 progress/progress_test.go: fix test Michael Vogt 2015-05-29 15:41:55 +02:00
  • 5fb0e2931b use SkipDir in RSyncWithDelete Michael Vogt 2015-05-29 15:40:05 +02:00
  • 7190a82cac Merge from trunk Michael Terry 2015-05-29 09:22:14 -04:00
  • 9b41af03c6 Merged setActiveClick into unsetActiveClick. John R. Lenton 2015-05-29 13:44:27 +01:00
  • e8a4d89fea Merged removeClick into setActiveClick. John R. Lenton 2015-05-29 13:44:27 +01:00
  • 64ee043a4a Merged filepath into removeClick. John R. Lenton 2015-05-29 13:44:23 +01:00
  • 583b342a39 progress/progress.go: make spinner clear its line Michael Vogt 2015-05-29 14:24:04 +02:00
  • 5598754ceb make unsetActiveClick a method of SnapPart John R. Lenton 2015-05-29 13:08:46 +01:00
  • f39b3177ec progress/progress.go: do not unset t.pbar in Spin() Michael Vogt 2015-05-29 13:53:30 +02:00
  • cc8817eb37 snappy/systemimage.go: only call pb.Notify() if there is a ProgressMeter Michael Vogt 2015-05-29 13:52:39 +02:00
  • 38804ecc7a moved setActivateClick to be a method of SnapPart John R. Lenton 2015-05-29 12:47:46 +01:00
  • f3f3431fe5 helpers/helpers.go: add error checking for os.Walk in RSyncWithDelete Michael Vogt 2015-05-29 13:37:37 +02:00
  • 9d2e5d5d9a address review comments, many thanks to John! Michael Vogt 2015-05-29 13:06:27 +02:00
  • 7690858aa7 Change all uses of package "path" that are not manipulating URLs to "filepath". by chipaca approved by mvo John R. Lenton 2015-05-29 06:51:51 -04:00
  • 51810d1b47 move removeClick up a level John R. Lenton 2015-05-29 11:20:30 +01:00
  • 7c6a7464ab use filepath, not path, unless it's a url John R. Lenton 2015-05-29 10:55:15 +01:00
  • 4e19c99bab progress/progress.go: fix visual artifacts on update Michael Vogt 2015-05-29 11:51:53 +02:00
  • b74d378ba0 remove debug print and add progress notify about syning bootloader files/toggleRootfs Michael Vogt 2015-05-29 11:30:40 +02:00
  • aed77b552c add new helpers.RSyncWithDelete() and use that in SyncBootloaderFiles to avoid unneeded copies Michael Vogt 2015-05-29 10:14:06 +02:00
  • c62f735223 Chipping away at installClick. by chipaca approved by mvo John R. Lenton 2015-05-29 04:11:48 -04:00
  • 4703066d5d Updated cross-build.md to reflect the need of specifying CC. by chipaca approved by mvo John R. Lenton 2015-05-29 02:02:21 -04:00
  • f1cb1413f1 tweaks to cross-build doc John R. Lenton 2015-05-29 03:17:43 +01:00
  • cd651eea40 Actually implement SNAPPY_APP_ARCH Michael Terry 2015-05-28 20:46:03 -04:00
  • 95bebbc7a0 Unify the three places snap environment variables are defined Michael Terry 2015-05-28 20:23:45 -04:00
  • 167b6e32fe extract checks into validatePackageYamlData() and improve checks and add Getattr() Michael Vogt 2015-05-28 21:02:14 +02:00
  • 64827ffefc parsePackageYamlData: show all missing fields Michael Vogt 2015-05-28 20:31:08 +02:00
  • aa6b5bea18 add checks for required fields in package.yaml Michael Vogt 2015-05-28 19:03:04 +02:00
  • c8c15a0226 cherrypick r474 from trunk: - docs/meta.md: package name actually is not allowed to contain '.' Jamie Strandboge 2015-05-28 10:49:44 -05:00
  • 049e8f6202 tweaks as per review comments John R. Lenton 2015-05-28 15:48:08 +01:00
  • 1bc341655d use filepath.SkipDir in writeHashes by chipaca approved by mvo,sergiusens John R. Lenton 2015-05-28 08:22:01 -04:00
  • 301ce15242 Move unpackWithDropPrivs to be a method on *ClickDeb. by chipaca approved by mvo John R. Lenton 2015-05-28 08:12:17 -04:00
  • aaad83e80c make lint happy John R. Lenton 2015-05-28 13:02:05 +01:00
  • c3107fcfd8 merged lp:~chipaca/snappy/use-skipdir John R. Lenton 2015-05-28 12:58:30 +01:00
  • 6a2e0783b1 This gets rid of helpers.EnsureDir (given it was a worse version of os.MkdirAll) by chipaca approved by sergiusens John R. Lenton 2015-05-28 07:52:01 -04:00
  • e3b72da66d drive-by: use filepath.SkipDir in writeHashes John R. Lenton 2015-05-28 12:33:25 +01:00
  • b699f04c89 UnpackWithDropPrivs to clickdeb John R. Lenton 2015-05-28 12:27:43 +01:00
  • 5134789e46 os.MkdirAll failing is an installation error John R. Lenton 2015-05-28 12:19:41 +01:00
  • 482b707532 so long EnsureDir John R. Lenton 2015-05-28 12:17:44 +01:00
  • 58685b382f moved most of installClick to SnapPart.Install John R. Lenton 2015-05-28 12:06:36 +01:00
  • 286053a789 os.MkdirAll failing is an installatoin error John R. Lenton 2015-05-28 11:45:46 +01:00
  • b28bc98aaa drive-by: use filepath.SkipDir in writeHashes John R. Lenton 2015-05-28 11:40:56 +01:00
  • 3a8118e59b docs/meta.md: package name actually is not allowed to contain '.' by jdstrand approved by mvo Jamie Strandboge 2015-05-28 04:32:13 -04:00
  • d4fe949b34 docs/meta.md: package name actually is not allowed to contain '.' per snappy/snapp.go: // this is to prevent installation of legacy packages such as those that // contain the origin/origin in the package name. if strings.ContainsRune(m.Name, '.') { return nil, ErrPackageNameNotSupported } Jamie Strandboge 2015-05-27 17:43:35 -05:00
  • 1df07268fe Make TestCmp quicker (and adds more test conditions). by mvo approved by mvo,chipaca Michael Vogt 2015-05-27 02:51:55 -04:00
  • 82b1834197 go fmt Michael Vogt 2015-05-27 08:47:54 +02:00
  • 761926e7ae merged lp:snappy Michael Vogt 2015-05-27 08:47:08 +02:00
  • 6ec512163a Only run tests that use /dev/kmsg if its available. by mvo approved by mvo,chipaca Michael Vogt 2015-05-27 02:43:37 -04:00
  • fd981cca8a docs/frameworks.md: clarify language around origin by jdstrand approved by mvo Jamie Strandboge 2015-05-27 02:41:53 -04:00
  • 4acf7f1288 Allow executing from /frameworks. Michael Vogt 2015-05-27 08:33:52 +02:00
  • 35b536fe81 README.md: mention "go test -v" (thanks John!) Michael Vogt 2015-05-27 08:20:26 +02:00