commit | 5616013181afd01cc3960afd03fece74d101efec | [log] [tgz] |
---|---|---|
author | Vitaly Buka <vitalybuka@google.com> | Fri Feb 05 15:18:36 2016 -0800 |
committer | Vitaly Buka <vitalybuka@google.com> | Fri Feb 05 15:18:36 2016 -0800 |
tree | e29ce457ec760bdf7d7bcf2324fd164c6ec5d0b9 | |
parent | c93476e98e14c355eb5c924308c9750493548104 [diff] | |
parent | ff46c9361512be430b2aea0e8e11b51c2b9671b5 [diff] |
Merge remote-tracking branch 'weave/dev' into 'weave/master' ff46c93 Merge remote-tracking branch 'weave/master' into dev_review 08be74d Update libuweave/macaroon code 4efdf46 Fix GCC warning 4fe71e3 Make App ID a part of User ID 3cbb686 Update macaroon lib with version supporting empty strings 8585d30 Remove unused line 69dd2e1 Merge remote-tracking branch 'weave/master' into dev_dev 70c8642 Add kUwMacaroonDelegateeTypeService caveat d5f7aab Add session ID validation d7c6deb Remove crypto type "None" d74a732 Update macaroon lib a821f2e Integrate new macaroon library 7d29a5a Update macaroon lib 1c83377 Fix build errors introduced by 9ac4c6c Merge remote-tracking branch 'weave/master' into 'weave/dev' 5a7c4f5 Add black list manager implementation 484b6e4 Update AccessBlackListManager interface 81ac16e Add MockConfigStore argument to disabled default expectations 07bb755 Merge remote-tracking branch 'weave/master' into dev_dev2 7329b74 Fix unittest compilation on GCC f533677 Implemented _accessControlBlackList trait 6741755 Merge remote-tracking branch 'weave/master' into dev_dev2 42e508f Add write callback into SaveSettings function 7ecdf95 Add |name| into LoadSettings/SaveSettings 8023b80 Merge remote-tracking branch 'weave/master' into dev_dev2
libWeave is the library with device side implementation of Weave protocol.
Sources are located in git repository at https://weave.googlesource.com/weave/libweave/
Make sure you have a bin/ directory in your home directory and that it is included in your path:
mkdir ~/bin PATH=~/bin:$PATH
Download the Repo tool and ensure that it is executable:
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo chmod a+x ~/bin/repo
repo init -u https://weave.googlesource.com/weave/manifest repo sync
Path | Description |
---|---|
include/ | Includes to be used by device code |
src/ | Implementation sources |
examples/ | Example of device code |
third_party/ | Dependencies |
Makefile, *.mk files | Build files |
sudo apt-get update sudo apt-get install \ autoconf \ automake \ binutils \ g++ \ hostapd \ libavahi-client-dev \ libcurl4-openssl-dev \ libevent-dev \ libexpat1-dev \ libnl-3-dev \ libnl-route-3-dev \ libssl-dev \ libtool
The make --jobs/-j
flag is encouraged, to speed up build time. For example
make -j
which happens to be the same as
make all -j
make out/Debug/libweave.so
make all-examples
See the examples README for details.
make test make export-test
or
make testall
Make sure to have correct user in local or global config e.g.:
git config --local user.name "User Name" git config --local user.email user.name@example.com
repo start <branch name> .
git commit -a -v
repo upload .
Go to the url from the output of “repo upload” and add reviewers.