Commit Graph

  • bb3b1902d8 don't fully panic if the storage is confused Samuele Pedroni 2015-11-26 22:01:17 +01:00
  • 32d6a0de3b Merge branch 'asserts-snap-decl-decode' Samuele Pedroni 2015-11-26 21:50:20 +01:00
  • 7206bd8f95 wire things up to actually find the key and make Check(snap-decl) work Samuele Pedroni 2015-11-26 21:47:44 +01:00
  • 568c0eb12e AccountKey can actually be a PublicKey Samuele Pedroni 2015-11-26 21:47:18 +01:00
  • e95f83e31d don't check for the actual values of grade here Samuele Pedroni 2015-11-26 21:24:35 +01:00
  • 023068102e wip: Check(snap-declaration) based on Add(account-key) Samuele Pedroni 2015-11-26 21:18:43 +01:00
  • 1c659bf60c look ma, access levels John R. Lenton 2015-11-26 20:10:09 +00:00
  • f0c91699ef Merge branch 'explore-find-wildcard' Samuele Pedroni 2015-11-26 20:29:56 +01:00
  • 4994cb5bfe wip test about Check(snap-declaration) Samuele Pedroni 2015-11-26 20:25:45 +01:00
  • 6728486d5f actually ignore non-empty bodies Samuele Pedroni 2015-11-26 19:54:30 +01:00
  • 24fdea01cf use bindMountDirs struct Michael Vogt 2015-11-26 19:47:52 +01:00
  • 3b992d35db use the constant here Samuele Pedroni 2015-11-26 19:41:10 +01:00
  • c68c06f786 use utc tz Samuele Pedroni 2015-11-26 19:15:13 +01:00
  • 598e252ca7 go fmt Samuele Pedroni 2015-11-26 19:11:11 +01:00
  • 5251536e32 tentatively error on non-empty body for sanp-declaration Samuele Pedroni 2015-11-26 19:08:53 +01:00
  • 8b304ae641 Merge remote-tracking branch 'upstream/master' Samuele Pedroni 2015-11-26 19:01:28 +01:00
  • 64383d0aec Merge pull request #177 from pedronis/asserts-more-uniform-check-signatures Samuele Pedroni 2015-11-26 18:40:17 +01:00
  • 347ee5e3b4 introduce SnapDeclaration assertion, enough support to decode it Samuele Pedroni 2015-11-26 18:29:56 +01:00
  • 0b03de6e15 Merge branch 'asserts-more-uniform-check-signatures' Samuele Pedroni 2015-11-26 18:00:23 +01:00
  • acda6b3e1f another place where we can use checkMandatory Samuele Pedroni 2015-11-26 17:57:00 +01:00
  • bb3e0caedb move checkInteger to checkers, have it a fallback default value argument, deal with tweaks needed to errors for consistency Samuele Pedroni 2015-11-26 17:35:01 +01:00
  • ef3a496a9c &Config{} as the default parameter for the build assets function Federico Gimenez 2015-11-26 17:25:54 +01:00
  • 49893becfb Renamed flag to lowperformance Federico Gimenez 2015-11-26 17:20:26 +01:00
  • ee631c0a33 move checkAssertType to checkers.go Samuele Pedroni 2015-11-26 17:14:27 +01:00
  • ab3e2587af use %q a bit more consistently when displaying header names in error sentences, adjust some other errors to have a prefix construction Samuele Pedroni 2015-11-26 17:12:46 +01:00
  • 237264443a Merge pull request #174 from chipaca/autopilot-docs-add-minus Michael Vogt 2015-11-26 16:48:59 +01:00
  • 5a031fb7c3 remove helper scripts from debian/* Michael Vogt 2015-11-26 16:23:48 +01:00
  • 650b5a009e Refactor Michael Vogt 2015-11-26 16:17:37 +01:00
  • 54e3c22351 Split into multiple files to make it easier to read Michael Vogt 2015-11-26 15:58:44 +01:00
  • cb150b8f71 Add test for classic.Create() Michael Vogt 2015-11-26 15:46:47 +01:00
  • f39bc3a198 make the check* signatures more uniform, all take headers, mmh. checkPublicKey is still an outlier because it needs access both to headers and body Samuele Pedroni 2015-11-26 15:28:00 +01:00
  • 88ae713e24 Merge remote-tracking branch 'upstream/master' into feature/classic-dimension Michael Vogt 2015-11-26 14:54:32 +01:00
  • dbd6e1e8a8 Merge pull request #168 from mvo5/bugfix/core-config-for-os-snap Zygmunt Krynicki 2015-11-26 14:03:41 +01:00
  • 82345950e0 Merge pull request #176 from chipaca/autopilot-docs Zygmunt Krynicki 2015-11-26 14:01:13 +01:00
  • 1646341cf6 Update translation catalogue Zygmunt Krynicki 2015-11-26 13:02:10 +01:00
  • c2876cbc39 Describe capabilities in the REST API Zygmunt Krynicki 2015-11-26 12:58:30 +01:00
  • 1d1940846e Tweak error handling for snap Zygmunt Krynicki 2015-11-26 12:52:57 +01:00
  • ec02ceac18 Split off snap.run() from snap.main() Zygmunt Krynicki 2015-11-26 12:49:23 +01:00
  • cd28c42976 Tweak error messages in snap list-caps Zygmunt Krynicki 2015-11-26 12:48:29 +01:00
  • c4a8c35f0c Update autopilot doc from master + s/autoupdate/autopilot/ + small edits John R. Lenton 2015-11-26 11:29:43 +00:00
  • 6de1d192a9 Merge pull request #175 from chipaca/human-race John Lenton 2015-11-26 10:54:07 +00:00
  • c9ea23f471 idiot chipaca is idiot John R. Lenton 2015-11-26 10:46:52 +00:00
  • 480b8c3e20 Merge pull request #171 from mvo5/refactor/lsb-release John Lenton 2015-11-26 10:36:28 +00:00
  • 220b40d6fb Merge pull request #170 from chipaca/human-race John Lenton 2015-11-26 10:35:05 +00:00
  • 16e338c4b3 Merge pull request #173 from pedronis/asserts-reuse-priv-keys-in-tests Samuele Pedroni 2015-11-26 11:30:35 +01:00
  • c20220433e drop the channel, and drop the failing test entirely John R. Lenton 2015-11-26 10:26:51 +00:00
  • 1d8bd99c84 added missing hyphen to autoupdate config example; also added a compat note. John R. Lenton 2015-11-26 10:20:09 +00:00
  • d63cee8571 generate just a couple private keys and reuse them across tests, avoids a bit to slow them down because entropy Samuele Pedroni 2015-11-26 11:05:07 +01:00
  • 5b59d4c1b0 Added Fmt to buildTestCmd to indicate that it's a format string Federico Gimenez 2015-11-26 10:35:58 +01:00
  • effcc77542 Implement snappy destroy-classic Michael Vogt 2015-11-26 10:33:10 +01:00
  • 6e679d634c single backticks in readme Federico Gimenez 2015-11-26 10:28:58 +01:00
  • 31e8f667ab Port snappy-classic.sh to go Michael Vogt 2015-11-26 10:26:08 +01:00
  • fbf714c4ae Tweak error messages in cmd/snap Zygmunt Krynicki 2015-11-26 10:21:44 +01:00
  • ce1d35de8c Merge pull request #167 from mvo5/refactor/less-cleanup-in-buildtest John Lenton 2015-11-26 09:21:54 +00:00
  • a872014ebc Tweak error messages in client.Capabilities() Zygmunt Krynicki 2015-11-26 10:20:20 +01:00
  • f130a5558a Cfg struct for Assets function params Federico Gimenez 2015-11-26 10:14:11 +01:00
  • 99bce916e9 Rename client.GetCapabilities to .Capabilities Zygmunt Krynicki 2015-11-26 10:13:18 +01:00
  • 8298851e75 Renamed tag to make clear that the suite is only flaky on low performance systems Federico Gimenez 2015-11-26 09:54:43 +01:00
  • b7155a1bb6 Port snappy-classic-setup.sh to go Michael Vogt 2015-11-26 09:48:23 +01:00
  • 61b18d281c address review feedback (thanks Gustavo!) Michael Vogt 2015-11-26 07:56:55 +01:00
  • 58d93d240e Merge remote-tracking branch 'upstream/master' into refactor/less-cleanup-in-buildtest Michael Vogt 2015-11-26 07:49:23 +01:00
  • 618fa3f098 address review feedback (thanks Gustavo!) Michael Vogt 2015-11-26 07:49:09 +01:00
  • cac8a877ce Merge pull request #163 from chipaca/wow-much-auth-so-peercred John Lenton 2015-11-25 22:54:04 +00:00
  • 150cb00e2c add test for "" remoteaddr John R. Lenton 2015-11-25 22:48:06 +00:00
  • 30e6e5e049 always strings.HasPrefix John R. Lenton 2015-11-25 22:36:59 +00:00
  • b02e501f5c move to 'uid=<uid>;remoteAddr'; treat things that don't match that with errors, not panics John R. Lenton 2015-11-25 22:29:17 +00:00
  • e26b36ab3f Merge pull request #161 from mvo5/bugfix/stop-being-messy Gustavo Niemeyer 2015-11-25 19:25:31 -02:00
  • a097483926 explore: work out a wildcard based walker for a subtree of storage Samuele Pedroni 2015-11-25 20:27:46 +01:00
  • 29472d14f2 Merge branch 'refactor/lsb-release' into feature/classic-dimension Michael Vogt 2015-11-25 19:28:19 +01:00
  • 528f300f13 Remove unused import Zygmunt Krynicki 2015-11-25 18:44:58 +01:00
  • 6882f5848c Add documentation for client.Capability Zygmunt Krynicki 2015-11-25 18:38:09 +01:00
  • 9fdcdc8448 Add "snap list-caps" command Zygmunt Krynicki 2015-11-20 13:16:07 +01:00
  • b06cd951df Make snap a subcommand-driven tool like snappy Zygmunt Krynicki 2015-11-25 15:51:04 +01:00
  • efd1c8371d Add client.GetCapabilities Zygmunt Krynicki 2015-11-25 15:50:42 +01:00
  • 9acf03c3bc Add client.Capability Zygmunt Krynicki 2015-11-25 15:50:30 +01:00
  • 285b5650aa Add documentation for GET /1.0/capabilities API Zygmunt Krynicki 2015-11-24 12:10:08 +01:00
  • 4008ae519c Add GET /1.0/capabilities REST API Zygmunt Krynicki 2015-11-25 17:48:54 +01:00
  • cf10c2f94a Merge pull request #151 from zyga/caps John Lenton 2015-11-25 16:44:25 +00:00
  • 1f7ffaa740 Remove now-useless caps.TypeLookupFn Zygmunt Krynicki 2015-11-25 16:15:34 +01:00
  • 0c8c02bc64 Rename caps.Repository.FindTypeByName() to caps.Repository.Type() Zygmunt Krynicki 2015-11-25 16:15:06 +01:00
  • 4ebc78f2f1 Add release.{Lsb,ReadLsb()} Michael Vogt 2015-11-25 13:23:33 +01:00
  • 4118ae62a1 *non*buffered channel plz John R. Lenton 2015-11-25 12:09:05 +00:00
  • b6dd4578dc Allow to pass build constraints to the integration tests; fanTestSuite marked as flaky Federico Gimenez 2015-11-24 12:16:25 +01:00
  • 5c0fe85353 use a channel to sync genericTestPackagePut John R. Lenton 2015-11-25 11:49:25 +00:00
  • 64920b6b92 added a test for the non-unix con state; closed files; added ucrednetGetUID. John R. Lenton 2015-11-25 10:43:36 +00:00
  • 4e9179d7cb Implement very simple classic mode Michael Vogt 2015-11-25 11:23:53 +01:00
  • bbec8a7b6c always wrap the listener John R. Lenton 2015-11-25 10:04:48 +00:00
  • 0da3cf6e11 Merge pull request #166 from mvo5/bugfix/less-cruft John Lenton 2015-11-25 09:43:54 +00:00
  • b8a3c0b9ff Fix silly copy/paste error (build tag header) Michael Vogt 2015-11-25 10:05:54 +01:00
  • c896b80386 make "snappy config ubuntu-core" work again by applying coreconfig to the OS snap Michael Vogt 2015-11-25 09:45:56 +01:00
  • 4cc573ac80 Merge pull request #164 from elopio/AutoPkgTest Michael Vogt 2015-11-25 09:13:38 +01:00
  • 64cdf20c31 Merge pull request #165 from chipaca/client-tests Zygmunt Krynicki 2015-11-25 09:00:34 +01:00
  • eb0dc7b6f5 Use AddCleanup() in the build tests Michael Vogt 2015-11-25 08:58:42 +01:00
  • c5dc20a84f Merge branch 'refactor/add-cleanup' into refactor/less-cleanup-in-buildtest Michael Vogt 2015-11-25 08:54:21 +01:00
  • 11459c01ec make build tests run in tempdir Michael Vogt 2015-11-25 08:31:07 +01:00
  • 84fe961931 move basetest into testutil Michael Vogt 2015-11-25 08:19:23 +01:00
  • d63f8c821b address review comments (thanks John!) Michael Vogt 2015-11-25 07:52:26 +01:00
  • 73980f093d Merge pull request #159 from pedronis/asserts-add-n-find John Lenton 2015-11-24 23:24:08 +00:00
  • 9c377d8f56 oops, copyright year wrong John R. Lenton 2015-11-24 22:42:32 +00:00
  • 7a2ba4d86e wrapnix -> ucrednix. love it. Also, a wild test appears. John R. Lenton 2015-11-24 22:39:02 +00:00