Commit Graph

  • ff8fea4397 embedding pointers works, who knew John R. Lenton 2015-11-24 22:24:54 +00:00
  • 841c0fb9d7 comment typo Samuele Pedroni 2015-11-24 23:04:43 +01:00
  • cb5eaea336 don't have a helper to read the current store assertion revision, probably won't be used elsewhere anyway, kill ErrNotSuperseding for now but keep the comment about the case in the doc comment Samuele Pedroni 2015-11-24 19:41:19 +01:00
  • 73f194edbb no need for DEBIAN/ in the squashfs snap Michael Vogt 2015-11-24 19:12:19 +01:00
  • 7b312175ea no need for a subshell in the pot file checking Michael Vogt 2015-11-24 19:03:34 +01:00
  • 8ebc6482f4 add check that git tree is clean after tests (thanks gustavo!) Michael Vogt 2015-11-24 19:03:12 +01:00
  • bb2ae5245a forgot to git add the tests John R. Lenton 2015-11-24 17:29:03 +00:00
  • 7db8c978b1 Merge pull request #162 from elopio/update_expected_reboot_message Michael Vogt 2015-11-24 18:09:17 +01:00
  • fb831ae362 Renamed Autopkgtest to AutoPkgTest. Leo Arias 2015-11-24 11:07:36 -06:00
  • b7cf878c03 restructure a bit read* helpers Samuele Pedroni 2015-11-24 18:00:46 +01:00
  • 70927fdf1f wrapnix, aka wrapped unix listener/connection/address to get <pid>:<remote addr> as the request's RemoteAddr John R. Lenton 2015-11-24 16:54:52 +00:00
  • 0a0775b614 simplify, don't keep old revisions of an assertion around Samuele Pedroni 2015-11-24 17:52:40 +01:00
  • 3a06cd9744 Updated the expected reboot message. Leo Arias 2015-11-24 10:50:36 -06:00
  • 2c3d4cb20f move bootloaderDir() from systemimage.go into kernel.go (systemimage.go will go away soon(ish)) Michael Vogt 2015-11-24 16:57:54 +01:00
  • a158a8501c Merge pull request #160 from mvo5/bugfix/yoda Gustavo Niemeyer 2015-11-24 13:42:08 -02:00
  • d891a7249a Fix unclean tests Michael Vogt 2015-11-24 16:39:57 +01:00
  • 14a123550e make a helper for the prereq checks and preparations before updating a stored assertion to a new revision Samuele Pedroni 2015-11-24 16:35:41 +01:00
  • 9e8467507e Move caps.testType to types_test.go Zygmunt Krynicki 2015-11-24 16:33:24 +01:00
  • 36d3dfbfcf Move caps.testCapability to capabilities_test.go Zygmunt Krynicki 2015-11-24 13:20:13 +01:00
  • b0e2855e1f Don't define Testing(t) for caps multiple times Zygmunt Krynicki 2015-11-24 13:05:29 +01:00
  • d81c6f0dca Remove caps.CapabilityRepr Zygmunt Krynicki 2015-11-24 13:18:53 +01:00
  • 1aa752e502 Add struct tags to caps.Capability Zygmunt Krynicki 2015-11-24 13:18:37 +01:00
  • aa1ebeae7a take out IsNotExist() check Samuele Pedroni 2015-11-24 16:23:35 +01:00
  • 88a9772449 rephrase the potential TODO Samuele Pedroni 2015-11-24 15:52:24 +01:00
  • 831fca361b rephrase the potential TODO Samuele Pedroni 2015-11-24 15:51:27 +01:00
  • b936831ccf ErrAssertion* -> Err* Samuele Pedroni 2015-11-24 15:50:05 +01:00
  • 0fc53a49ec Merge pull request #152 from zyga/testutil Michael Vogt 2015-11-24 15:35:12 +01:00
  • 1ca1714751 Merge pull request #156 from fgimenez/relax-api-compat-check Zygmunt Krynicki 2015-11-24 15:09:21 +01:00
  • 9491c44a15 Merge pull request #158 from chipaca/syncresponse-also-201 Zygmunt Krynicki 2015-11-24 15:09:02 +01:00
  • 843b4d1b93 Add caps.Type.UnmarshalJSON() Zygmunt Krynicki 2015-11-24 12:56:24 +01:00
  • a14c5e204a Add caps.Type.MarshalJSON() Zygmunt Krynicki 2015-11-24 12:47:28 +01:00
  • 608a7074a8 Re-factor common parts out of Contains and DeepContains Zygmunt Krynicki 2015-11-24 13:59:16 +01:00
  • fa3f0aea4f Trivial fix for the output of "snappy list" Michael Vogt 2015-11-24 13:58:07 +01:00
  • 3779b9c95e Prepare Contains and DeepContains for refactoring Zygmunt Krynicki 2015-11-24 13:31:12 +01:00
  • 9fd6775b76 Remove panic recovery from DeepContains.Check() Zygmunt Krynicki 2015-11-24 13:27:29 +01:00
  • 7608695e5c Merge pull request #157 from mvo5/refactor/set-root-dir Zygmunt Krynicki 2015-11-24 13:24:51 +01:00
  • 39c9291a05 don't use 'store' Samuele Pedroni 2015-11-24 13:12:23 +01:00
  • 81fe6219bc 'latest' instead of 'newest' Samuele Pedroni 2015-11-24 12:58:32 +01:00
  • 3f12160cc3 key off of Status instead of Type to decide whether to set Location; support setting location on Created as well as (ResponseTypeAsync's) Accepted. Opens the path for sync POST that create an element in a collection to behave properly. John R. Lenton 2015-11-24 11:34:30 +00:00
  • 06fe1d96fa Merge remote-tracking branch 'upstream/master' Samuele Pedroni 2015-11-24 12:22:26 +01:00
  • 3a0bf03d9a more tests and clarify error handling Samuele Pedroni 2015-11-24 12:22:04 +01:00
  • 58cf8a73e3 Move the "init()" for dir and release into their packages Michael Vogt 2015-11-24 11:09:26 +01:00
  • 5476fe6257 Merge pull request #154 from chipaca/rest-client-cli Michael Vogt 2015-11-24 10:53:46 +01:00
  • 7a1665ce22 this is used in more contexts now, more generic error Samuele Pedroni 2015-11-24 10:06:20 +01:00
  • defcb36c0b Merge pull request #155 from chipaca/no-rest-config-on-install John Lenton 2015-11-24 08:50:22 +00:00
  • bb34dfbea2 Relax the check of api_compat Federico Gimenez 2015-11-24 09:42:07 +01:00
  • a5b524c418 Merge pull request #143 from zyga/caps-compound-type Michael Vogt 2015-11-24 09:15:12 +01:00
  • d4321a0119 Merge pull request #124 from clobrano/clobrano-hw-assign-bug-1498921 Michael Vogt 2015-11-24 09:12:42 +01:00
  • ce97750160 Merge pull request #147 from elopio/master Leo Arias 2015-11-24 00:19:42 -06:00
  • 7ec64b1575 whoops, no you can't do config on install using the rest api John R. Lenton 2015-11-23 22:23:23 +00:00
  • 0c7fccb633 fixed a botched rename, and made Client.Do private (except when testing) John R. Lenton 2015-11-23 22:11:43 +00:00
  • d0da4865ab Merge pull request #144 from chipaca/rest.md-licentious Gustavo Niemeyer 2015-11-23 18:28:56 -02:00
  • f55c28c6ee minimal implementation of REST API client John R. Lenton 2015-11-23 18:54:32 +00:00
  • b6fa3d8196 asserts wip: Add() and Find() Samuele Pedroni 2015-11-23 18:28:30 +01:00
  • b396ca8765 Merge remote-tracking branch 'upstream/master' Leo Arias 2015-11-23 08:47:36 -06:00
  • fba1ce68cf Fixes according to code review Carlo Lobrano 2015-11-23 14:14:41 +01:00
  • db43357d5d Add tests that highlight DeepContains vs Contains Zygmunt Krynicki 2015-11-23 13:54:12 +01:00
  • 68fd09cd8e Add testutil.DeepContains Zygmunt Krynicki 2015-11-17 12:45:06 +01:00
  • 5302b07e8a Use testutil.Test instead of Test2 Zygmunt Krynicki 2015-11-23 13:37:59 +01:00
  • fb42b48bb9 Add to-from JSON converters for caps.Capability Zygmunt Krynicki 2015-11-22 13:09:06 +01:00
  • 6de4ca3121 Add caps.testCapability for testing Zygmunt Krynicki 2015-11-22 13:17:59 +01:00
  • 29d9819976 Add caps.TypeLookupFn type Zygmunt Krynicki 2015-11-22 13:08:30 +01:00
  • 8bf638cd41 Add tests for caps.Repository.HasType() Zygmunt Krynicki 2015-11-22 13:04:36 +01:00
  • 19a360fe71 Add caps.Repository.FindTypeByName() Zygmunt Krynicki 2015-11-20 15:34:25 +01:00
  • ec8abd1840 Pass caps.Type by pointer everywhere Zygmunt Krynicki 2015-11-23 12:07:03 +01:00
  • ceb6424d1d Merge remote-tracking branch 'upstream/master' into caps-compound-type Zygmunt Krynicki 2015-11-23 11:59:22 +01:00
  • 57460a6ffd Merge pull request #149 from pedronis/asserts-more-openpgp-packet-encapsulation Samuele Pedroni 2015-11-23 11:35:13 +01:00
  • 48b09e1b7e Merge pull request #150 from mvo5/bugfix/all-snap-fixes Zygmunt Krynicki 2015-11-23 11:34:01 +01:00
  • cb283bb114 Merge remote-tracking branch 'upstream/master' Samuele Pedroni 2015-11-23 11:27:26 +01:00
  • f20e6d70a2 Merge pull request #148 from pedronis/asserts-sign-and-check-tests-n-fixes John Lenton 2015-11-23 10:24:04 +00:00
  • 032b4db1cb Do not crash in daemon/lightweight if there is no system-image repo Michael Vogt 2015-11-23 10:06:41 +01:00
  • 4c0bddd443 fix incorrect tests in snappy/ Michael Vogt 2015-11-23 09:37:13 +01:00
  • 594a439034 use generic/vague auth-id here Samuele Pedroni 2015-11-22 09:12:41 +01:00
  • 6db84c5705 allow udpates for os/kernel snaps Michael Vogt 2015-11-20 17:37:26 +01:00
  • 836e02ee26 Do not create a system-image repository on an all-snap system Michael Vogt 2015-11-20 17:36:34 +01:00
  • 92e5914c11 don't use openpgp/packet directly in account_key.go anymore, introduce parsePublicKey instead and share a helper with parseSignature Samuele Pedroni 2015-11-20 17:26:40 +01:00
  • 1b34303efb Merge remote-tracking branch 'upstream/master' Samuele Pedroni 2015-11-20 16:22:52 +01:00
  • 601a21ed8d test main Check() unhappy paths Samuele Pedroni 2015-11-20 16:22:29 +01:00
  • a6e3b4ed6d fix with tests, headers are \n separated, not terminated Samuele Pedroni 2015-11-20 16:21:59 +01:00
  • 6c7fdcb3e0 Merge pull request #146 from elopio/outputDir Leo Arias 2015-11-20 08:54:39 -06:00
  • 157c683ee7 Fixed shellOnFail unit test. Leo Arias 2015-11-20 08:48:18 -06:00
  • 68109a8ffb Remove the NewAutopkgtest function. Leo Arias 2015-11-20 08:44:00 -06:00
  • aae1dcae25 Merge pull request #145 from elopio/snaps_owner Michael Vogt 2015-11-20 15:39:38 +01:00
  • a7b103e456 Do not override the outputDir. Leo Arias 2015-11-20 08:33:26 -06:00
  • 7934b3cb17 Fix the ownership of the test snaps. Leo Arias 2015-11-20 08:25:27 -06:00
  • 042c2b4ebd Renamed reboot-wrapper to test-wrapper. It now handles more than reboots. Leo Arias 2015-11-20 08:19:33 -06:00
  • 53e4e4c284 added license info to rest.md; bumped api_compat; added json tags to licenseData, and added an integration-ish test for it all John R. Lenton 2015-11-20 14:10:57 +00:00
  • 2a00b46ca7 Merge pull request #140 from chipaca/rerelease Michael Vogt 2015-11-20 14:51:36 +01:00
  • 9fe66579f5 Merge pull request #142 from zyga/caps Michael Vogt 2015-11-20 14:43:44 +01:00
  • ff0d7f19b6 Switch caps.Type to be a struct Zygmunt Krynicki 2015-11-20 11:34:09 +01:00
  • 6e341d3663 Rename iota(Type|Repo) to test\1 to break association with iota Zygmunt Krynicki 2015-11-20 14:31:42 +01:00
  • 13570eb4f3 Merge pull request #138 from dholbach/update-contributor-instructions John Lenton 2015-11-20 13:11:49 +00:00
  • d7ee77f6db Merge pull request #134 from mvo5/feature/kernel-assets-removal John Lenton 2015-11-20 13:11:12 +00:00
  • cfbb91433d Terminate comments with dots, like proper sentences Zygmunt Krynicki 2015-11-20 13:34:52 +01:00
  • 3ddcb7def3 Tweak comment on caps.Type.Validate() Zygmunt Krynicki 2015-11-20 13:15:08 +01:00
  • e33f56122c Fix comment on caps.Repository.Remove() Zygmunt Krynicki 2015-11-20 13:14:31 +01:00
  • 01a9cb9666 Move caps.NotFoundError closer to type Zygmunt Krynicki 2015-11-20 13:13:45 +01:00
  • d62fde1ac4 Introduce iotaType capability type for testing Zygmunt Krynicki 2015-11-20 12:47:37 +01:00
  • 42e1c70063 Merge pull request #132 from zyga/caps-refactor-tests Zygmunt Krynicki 2015-11-20 12:43:22 +01:00
  • 15cc609a68 Tweak comment on caps.Repository.m (mutex) Zygmunt Krynicki 2015-11-20 12:10:40 +01:00