Commit Graph

  • 17b19f3f79 fix tests Michael Vogt 2015-04-16 12:23:44 -05:00
  • c3d66805a3 fix parts tests Michael Vogt 2015-04-16 12:21:41 -05:00
  • d8edafc667 whitespace and a TODO: John R. Lenton 2015-04-16 11:55:30 -05:00
  • e5a7beb400 add hardware assign yaml Michael Vogt 2015-04-16 11:38:42 -05:00
  • 5cedb0c2cf Add correct listing support based on namespaces by sergiusens approved by chipaca Sergio Schvezov 2015-04-16 12:32:12 -04:00
  • fc99038be3 revert r352 and restore ubuntu-core-libs-15.04-dev1 for compatiblity again to unbreak the store and click-apparmor Michael Vogt 2015-04-16 11:30:26 -05:00
  • dc2b40659d * Moved Isatty() into the helpers package. * Added comment header. * Made Isatty() private. James Hunt 2015-04-16 17:26:40 +01:00
  • 9a52c48c54 merged lp:snappy and resolve conflicts Michael Vogt 2015-04-16 11:25:13 -05:00
  • e0008619c4 make data dirs include the namespace John R. Lenton 2015-04-16 11:24:45 -05:00
  • bc968eb0ad * Don't use a progress bar if there is not attached terminal (LP: #1438889). James Hunt 2015-04-16 17:18:59 +01:00
  • 30915ee1c2 * Sync with lp:snappy. James Hunt 2015-04-16 17:15:36 +01:00
  • 7af770d392 Add correct listing support based on namespaces Sergio Schvezov 2015-04-16 10:52:24 -05:00
  • 2253707144 Introducing policy.AppArmorDelta to get what apparmor policies and templates were updated in a package. by chipaca approved by mvo John R. Lenton 2015-04-16 11:42:16 -04:00
  • 9c75ba12e7 Add whitelist for package.yaml to ensure no illegal chars are put into the package.yaml by mvo approved by jdstrand Michael Vogt 2015-04-16 11:30:31 -04:00
  • d10c0ef8a7 Add a helper to answer the question “which files in this directory, which is a superset of that directory, contain updates for the files that exist in that directory?” by chipaca approved by sergiusens John R. Lenton 2015-04-16 11:23:36 -04:00
  • 6bba57fb15 Support namespaces for remote snaps. by chipaca approved by sergiusens John R. Lenton 2015-04-16 11:21:58 -04:00
  • 43a58d221e Adjust policy vendor to be "ubuntu-core" and policy version to be 15.04. ubuntu-core-security (now on the snappy devel images) provides ubuntu-core/15.04 (and compatibility symlinks for ubuntu-snappy/1.3). click-apparmor 0.3.6 (recently in vivid and should be in the next image) has been modified to handle ubuntu-core/15.04 and the ubuntu-snappy/1.3 symlinks (ie, snaps currently in the store continue to work, and snaps created with this patch also work). Jamie Strandboge 2015-04-16 10:07:06 -05:00
  • cc55a06f4a added a test and fixed getStructFields to pass it John R. Lenton 2015-04-16 10:06:10 -05:00
  • 4d7c90f49c update apparmor_test.go for changes dropped in merge Jamie Dev 2015-04-16 10:01:00 -05:00
  • 4d14460422 merged lp:snappy and resolved conflicts Michael Vogt 2015-04-16 10:00:56 -05:00
  • 1acf25c014 snappy/apparmor.go: fix go formatting Jamie Dev 2015-04-16 09:53:37 -05:00
  • efdf9ad1d1 merge from trunk Jamie Dev 2015-04-16 09:51:26 -05:00
  • 87219ef791 rewrite manifest.json on install Michael Vogt 2015-04-16 09:35:49 -05:00
  • d07ad2c681 Merged policy-delta into apparmor-selective-regen. John R. Lenton 2015-04-16 09:35:08 -05:00
  • f0bbe347a2 Merged is-superset-dir-updated into policy-delta. John R. Lenton 2015-04-16 09:35:07 -05:00
  • 294f6c6283 whitespace John R. Lenton 2015-04-16 09:29:43 -05:00
  • fc8867d045 added a use case explanation to DirUpdated John R. Lenton 2015-04-16 09:29:16 -05:00
  • 5567f34ba9 remote namespace support John R. Lenton 2015-04-16 09:19:01 -05:00
  • 6bed158dc1 always add namespace to the apparmor name Michael Vogt 2015-04-16 09:04:14 -05:00
  • 0cbded6f37 Merged not-so-smart into namespace-remotes. John R. Lenton 2015-04-16 08:16:26 -05:00
  • ce79fddee7 Binaries are now "$pkgname.$binary", instead of "$binary.$pkgname". by mvo approved by mvo,chipaca Michael Vogt 2015-04-16 09:12:11 -04:00
  • b51e549499 merge lp:snappy and update tests Michael Vogt 2015-04-16 08:04:47 -05:00
  • 39550082c9 Adding architecture support to manifest.json by mvo approved by chipaca Michael Vogt 2015-04-16 01:03:51 -04:00
  • 1fcd4c1d80 Local SnapPart namespace support. by sergiusens approved by chipaca Sergio Schvezov 2015-04-16 01:02:17 -04:00
  • 1cff04de80 Fixing composed testnamespace Sergio Schvezov 2015-04-15 23:49:00 -05:00
  • 3631c4aea8 namespaceFromPath Sergio Schvezov 2015-04-15 23:47:35 -05:00
  • 1799c5da42 Polish tests Sergio Schvezov 2015-04-15 23:34:38 -05:00
  • 41e5b872cc Simplify the way that "exec:" in the binaries package yaml is handled. by mvo approved by mvo,chipaca Michael Vogt 2015-04-15 22:52:09 -04:00
  • cd89949425 Correct symlinks for the hooks when an alternative rootdir is used. by mvo approved by sergiusens Michael Vogt 2015-04-15 19:42:03 -04:00
  • f21241cbf6 * docs/updates.md: Add document explaining transactional updates. by jamesodhunt approved by mvo James Hunt 2015-04-15 19:21:56 -04:00
  • 7a631a7866 Merged not-so-smart into namespace-remotes. John R. Lenton 2015-04-15 18:13:09 -05:00
  • 4a8bdbf474 Removed spurious / from URIs. by chipaca approved by sergiusens John R. Lenton 2015-04-15 19:12:03 -04:00
  • 307f0fd63a we are dumb John R. Lenton 2015-04-15 17:54:27 -05:00
  • db28d80665 * Refuse to update system if enablement part was sideloaded. by jamesodhunt approved by mvo James Hunt 2015-04-15 18:22:04 -04:00
  • 04af73f7aa merged lp:snappy and resolved conflicts Michael Vogt 2015-04-15 17:15:04 -05:00
  • cac38b2519 Initial spec for package naming and behavior. by beuno approved by chipaca,alecu Martin Albisetti 2015-04-15 18:12:06 -04:00
  • 6951f816dd debian/ubuntu-snappy.dirs: add /apps,/oem Michael Vogt 2015-04-15 17:08:10 -05:00
  • 554157b42c More examples Martin Albisetti 2015-04-15 17:03:57 -05:00
  • e5c31902b1 s/\/. Martin Albisetti 2015-04-15 17:00:05 -05:00
  • ecf7d8455d Review comments Martin Albisetti 2015-04-15 16:54:36 -05:00
  • ca3dd7df9c add missing architecture to the manifest.json Michael Vogt 2015-04-15 16:52:33 -05:00
  • d13bb8f700 Review comments Martin Albisetti 2015-04-15 16:51:12 -05:00
  • 8e33d55ba7 Update to reflect Austin discussions Martin Albisetti 2015-04-15 16:30:39 -05:00
  • c3f9ef03c1 fix tests, add tests Michael Vogt 2015-04-15 16:25:24 -05:00
  • 3535e9a09a Use cp -a instead of cp -al to copy data on update. by mvo approved by chipaca Michael Vogt 2015-04-15 17:12:02 -04:00
  • e57d2ec34b * Sync with lp:snappy. James Hunt 2015-04-15 21:39:24 +01:00
  • d25ceb3d40 * Check for sideload in a factory-reset-proof location. James Hunt 2015-04-15 21:35:13 +01:00
  • 8b9bd7fdc1 binaries are $pkgname.$binary now, also update tests to not include the namespace in the package anymore Michael Vogt 2015-04-15 15:23:46 -05:00
  • ac85a1e4d5 Adding .Namespace() for installClick Sergio Schvezov 2015-04-15 15:14:30 -05:00
  • 11fe33822d Adding sideload for sideloaded apps Sergio Schvezov 2015-04-15 15:11:59 -05:00
  • 186535ff65 snappy/click.go: ensure that the symlink for click are created without the global root dir Michael Vogt 2015-04-15 14:53:06 -05:00
  • 667bdcb993 Don't ask for license confirmation again unless the license version changes. by chipaca approved by sergiusens John R. Lenton 2015-04-15 15:21:57 -04:00
  • eb6239b0f2 systemd enable in house implementation. by mvo approved by sergiusens Michael Vogt 2015-04-15 15:11:58 -04:00
  • 9f38afc748 do not use cp -al but cp -a to be more robust Michael Vogt 2015-04-15 13:23:52 -05:00
  • a1d13aa3ff Inhibit hook support for dependent policy refreshes. by sergiusens approved by chipaca Sergio Schvezov 2015-04-15 14:21:59 -04:00
  • e74265f13c merged trunk and resolved conflicts Michael Vogt 2015-04-15 13:20:25 -05:00
  • bce68912ac Inhibit hooks enablement for policy updates for dependants Sergio Schvezov 2015-04-15 13:05:50 -05:00
  • d0074bc7df Use url.URL for the store endpoints. by chipaca approved by sergiusens John R. Lenton 2015-04-15 13:52:07 -04:00
  • ba68408aba Added Namespace() to the Part interface, implemented minimal stubs of it for all Part implementations. by chipaca approved by sergiusens John R. Lenton 2015-04-15 13:22:03 -04:00
  • 556961ac75 added slashes to the end of the urls to keep things sane John R. Lenton 2015-04-15 12:11:53 -05:00
  • 38be7d03a8 Merged namespace into url-objects. John R. Lenton 2015-04-15 11:28:17 -05:00
  • 68c71eb65c Merge from trunk Martin Albisetti 2015-04-15 11:27:43 -05:00
  • 6b725c9a2b fixes from review John R. Lenton 2015-04-15 11:27:20 -05:00
  • e5e6e6a5f0 use url.URL for urls, and stop being a poster person for the http equivalent of bobby tables John R. Lenton 2015-04-15 11:09:52 -05:00
  • 423ded6b53 added namespace to part John R. Lenton 2015-04-15 09:45:33 -05:00
  • ad4f8272d0 * Refactor Remove to take a progress.Meter. by jamesodhunt approved by mvo James Hunt 2015-04-15 09:51:59 -04:00
  • 0c4d69c398 Allow empty policy groups. by mvo approved by chipaca Michael Vogt 2015-04-15 09:42:06 -04:00
  • cbf1b3db77 * Sync with lp:snappy. James Hunt 2015-04-15 14:34:02 +01:00
  • 2b28873f30 * Refactor Remove to take a progress.Meter. James Hunt 2015-04-15 14:17:22 +01:00
  • 227e045fad move systemd unit generation into systemd package Michael Vogt 2015-04-15 07:11:28 -05:00
  • e0452737e6 * Refuse to update system if enablement part was sideloaded. James Hunt 2015-04-15 12:47:19 +01:00
  • 87cfc431c3 Removes all the compatibility ubuntu-core-15.04-dev1 framework generation - the store uses the X-Ubuntu-Release header now. by mvo approved by chipaca Michael Vogt 2015-04-14 22:42:01 -04:00
  • 9db5b92645 ignore the error returned from Glob John R. Lenton 2015-04-14 21:36:25 -05:00
  • c1430cac27 Adds the new X-Ubuntu-Release to the store headers by mvo approved by chipaca Michael Vogt 2015-04-14 22:32:09 -04:00
  • 7344f9d1b5 Reword locking errors. by chipaca approved by mvo John R. Lenton 2015-04-14 20:02:27 -04:00
  • e73e467c8e document SecurityCaps Michael Vogt 2015-04-14 19:02:14 -05:00
  • cf67b7dc46 make generateApparmorJSONContent a method on SecurityDefinitions Michael Vogt 2015-04-14 18:59:13 -05:00
  • 3085d6cf3d fix typo, thanks John! Michael Vogt 2015-04-14 18:55:56 -05:00
  • eabbdcc9ed snappy/security.go: - cleanups - set some variables Jamie Dev 2015-04-14 18:54:12 -05:00
  • 1fc006cfa3 move releasePostfix into snappy.go, thanks John Michael Vogt 2015-04-14 18:53:26 -05:00
  • 5a77fe49d4 remove some comments and debugging Jamie Dev 2015-04-14 18:29:21 -05:00
  • c88bf3e25e implement initial seccomp policy generation TODO: tests TODO: override TODO: cleanup Jamie Dev 2015-04-14 18:26:58 -05:00
  • f768fea42a policy/policy.go: make SecDir global Jamie Dev 2015-04-14 18:26:41 -05:00
  • e5afca3737 debian/*: fix lintian errors Michael Vogt 2015-04-14 17:36:10 -05:00
  • f9ac5f87e9 make ErrNeedRoot more correct, given it is already made more human-friendly in cmd John R. Lenton 2015-04-14 17:32:27 -05:00
  • 98eb83469c reworded locking errors John R. Lenton 2015-04-14 16:23:42 -05:00
  • e170d1a747 * Renamed all "snappy_mode=default" references to "snappy_mode=regular" to match what is documented in the Porting Guide. James Hunt 2015-04-14 21:37:54 +01:00
  • d7e03ea87a * Renamed system updates and converted to restructured text for handling tables, footnotes, references. James Hunt 2015-04-14 21:35:13 +01:00
  • 804aacab18 remove compatiblity ubuntu-core-15.04-dev1 now that we have X-Ubuntu-Release Michael Vogt 2015-04-14 15:23:40 -05:00
  • f6612f9cc9 send X-Ubuntu-Release to the store Michael Vogt 2015-04-14 15:00:21 -05:00