Last commit made on 2017-07-06
Get this branch:
git clone -b cert-generation https://git.launchpad.net/~codersquid/snappy-hwe-snaps/+git/wifi-connect
Only Sheila Miguez can upload to this branch. If you are Sheila Miguez please log in for upload directions.

Branch merges

Branch information


Recent commits

1289197... by Sheila Miguez on 2017-07-06

reuse self-signing cert package from snapweb

This reuses snapweb code with some minor changes

* instead of fatal errors, we return errors and allow callers to decide
  how to handle failures
* files are stored in SNAP_COMMON rather than SNAP_DATA

9e35a3d... by System Enablement CI Bot <email address hidden> on 2017-07-05

Merge remote tracking branch fix-scriptlet-to-include-hook-always

Merge-Proposal: https://code.launchpad.net/~rmescandon/snappy-hwe-snaps/+git/wifi-connect/+merge/326532

Author: Roberto Mier Escandón  <email address hidden>

Include hook in snap regardless of SKIP_TESTS environment var

bbd4f27... by System Enablement CI Bot <email address hidden> on 2017-07-04

Merge remote tracking branch log-settings

Merge-Proposal: https://code.launchpad.net/~codersquid/snappy-hwe-snaps/+git/wifi-connect/+merge/325739

Author: Sheila Miguez <email address hidden>

This change configures logging with a prefix and with some helpful information.

The prefix string "== wifi-connect" will not need to be added by hand to calls to the logger anymore.

The log lines will also have helpful information, <prefix> YYYY/MM/DD HH:TT:SS <filename>:<linenumber>

406b82e... by Sheila Miguez on 2017-07-03

revert number of max iterations in spread test back to 20

accidentially checked in a local change

2f90162... by Sheila Miguez on 2017-07-03

fix typo in log settings

485ff5a... by Sheila Miguez on 2017-07-03

merge most recent master, change log settings

* merged master and updated the logging for the next contents
* found that the long file flag option for logging is obnoxious and switched back to short
* the spread test that grepped for '== wifi-connect: <msg>' didn't account for filename. I changed it to only check for msg.

8be6f17... by Roberto Mier Escandón  on 2017-06-29

remove not needed snapcraft state

6642d7a... by Roberto Mier Escandón  on 2017-06-29

include hook regardless of skipping tests or not

d8fe23b... by System Enablement CI Bot <email address hidden> on 2017-06-29

Merge remote tracking branch defaults

Merge-Proposal: https://code.launchpad.net/~knitzsche/snappy-hwe-snaps/+git/wifi-connect/+merge/326172

Author: Kyle Nitzsche <email address hidden>

Add configure hook to port certain snap wifi-connect keys into SNAP_COMMON/pre-config.json.

Deamon (service/service.go and daemon pkg) uses SetDefaults() to use the json to take the appropriate actions. [1]

docs/ added this, including integrate.md to doc the exactl preconfiguration stuff for system intergrators.

wifiap/wifiap.go: added Wifiaper interface to make wifiap unit-testable in SetDefaults()

Enhanced daemon_test.go TestSetDefaults to handle various preconfigs via static/tests/pre-config*.json

[1] https://docs.google.com/document/d/1QaKcHikGi6ttuKLgT2Id42-hQXRng1B68ucxEK-2zws/edit#heading=h.ikzb28sk2cu3

174a30c... by Kyle Nitzsche on 2017-06-28

SetDefaults now ialso takes a Preconfig - easier testing