Commit graph

41 commits

Author SHA1 Message Date
Brandon Philips
40e2aba4c3 Merge pull request #13 from philips/add-machineid-field
feat(omaha): add a machineid field
2014-03-17 14:32:13 -07:00
Brandon Philips
fdce701e81 feat(omaha): add a machineid field 2014-03-17 14:29:04 -07:00
Brandon Philips
b55bf960be Merge pull request #12 from philips/master
fix(omaha): fixup Oem test after change
2014-03-16 21:05:47 -07:00
Brandon Philips
963d7e4623 fix(omaha): fixup Oem test after change
I forgot to run the tests after making the change to OEM. Fix.
2014-03-16 21:04:57 -07:00
Brandon Philips
43f8a74b0f Merge pull request #11 from philips/master
fix(omaha): Oem to OEM
2014-03-16 21:01:15 -07:00
Brandon Philips
2c86b12c25 fix(omaha): Oem to OEM
Be consistent with the Go style guide and make the acronym fully
uppercase.
2014-03-16 21:00:20 -07:00
Brandon Philips
bb1265733a Merge pull request #9 from philips/add-new-fields
philips/add-new-fields
2013-09-03 16:41:27 -07:00
Brandon Philips
ddc4c22205 feat(omaha): add oem and previousbootid
Add two new extensions for coreos
2013-09-03 16:39:37 -07:00
Brandon Philips
5ad4a72076 fix(omaha): go fmt 2013-09-03 16:20:46 -07:00
Brandon Philips
05776eb33d README: add a link to the go docs 2013-07-09 17:32:27 -07:00
Brandon Philips
528535f63e feat(omaha): add a bootid field
the bootid field will be used by CoreOS to uniquely identify a boot of
an instance.
2013-07-09 11:48:57 -07:00
Brandon Philips
c2c4ee6b06 Merge pull request #7 from philips/add-track-extension
Add track extension
2013-07-02 09:53:22 -07:00
Brandon Philips
ac9df07313 chore(omaha): group the update engine extensions together 2013-07-02 09:47:19 -07:00
Brandon Philips
5140f37b40 feat(omaha): add Track field
this is another update_engine extension. Add it.
2013-07-02 09:41:53 -07:00
Brandon Philips
dfade567dd Merge pull request #6 from doodles526/working
added json omitempty tags
2013-07-01 13:28:22 -07:00
Joshua Deare
5d21f061f7 added json omitempty tags
bigquery was throwing errors without these due to null defined fields
2013-07-01 13:17:08 -07:00
Brandon Philips
17767637e0 Merge pull request #5 from doodles526/working
terminated XMLName from appearing in json
2013-06-28 23:20:44 -07:00
Joshua Deare
2315500129 terminated XMLName from appearing in json
when we need json encoding(putting AppRequestLogs into bigquery)
we don't want the XMLName tag adding on needless data
2013-06-28 22:48:55 -07:00
Brandon Philips
37c9cc50fb Merge pull request #4 from philips/update-engine-extensions
Update engine extensions
2013-06-26 15:59:42 -07:00
Brandon Philips
94018ed305 feat(omaha): add more update_engine extensions 2013-06-26 15:53:31 -07:00
Brandon Philips
60265ef0fc fix(omaha): create section for update_engine extensions
add this comment section just so it is a littlemore clear what is going
on.
2013-06-26 10:39:52 -07:00
Brandon Philips
d68e528e59 feat(omaha): add disablebackoff field to action
another extension added by the the chromeos update engine
2013-06-26 10:39:52 -07:00
Brandon Philips
c875cf3bb2 Merge pull request #3 from doodles526/working
added nil datastore tags to XMLName
2013-06-25 16:56:32 -07:00
Joshua Deare
da9eaa53f9 added nil datastore tags to XMLName
now if a struct is put in datastore it won't be bloated
with needless XMLName field
2013-06-25 16:39:01 -07:00
Brandon Philips
3492dbe98c Merge pull request #2 from coreos/fixup-travis
travis.yml: try to build all of the packages
2013-06-25 09:21:45 -07:00
Brandon Philips
9c07258c01 travis.yml: try to build all of the packages 2013-06-25 08:56:17 -07:00
Brandon Philips
8aa610e350 README: add buildstatus from travis 2013-06-25 08:21:09 -07:00
Brandon Philips
dfc14cd8fd travis.yml: initial commit 2013-06-25 08:15:51 -07:00
Brandon Philips
51340c1e14 omaha: add support for multiple events
add a test and support for multiple events
2013-06-25 08:08:19 -07:00
Brandon Philips
651d843622 fix(omaha_test): fixup the tests after moving
fix tests after moving files around
2013-06-23 20:32:43 -07:00
Brandon Philips
acc428b640 fix(omaha): follow go standards with package name
The last item in a package path in Go should match the package name.
This is not the case right now.

Fix by making the new import path:

github.com/coreos/go-omaha/omaha
2013-06-23 19:54:27 -07:00
Brandon Philips
c919ac7ef6 LICENSE: Initial commit 2013-06-23 19:42:30 -07:00
Brandon Philips
93efcffd31 fix(omaha): manifest/urls child of updatecheck
Move the manifest and urls fields into the updatecheck field. This
matches the spec: https://code.google.com/p/omaha/wiki/ServerProtocol
2013-04-13 21:35:44 -07:00
Brandon Philips
171b7c70d7 fix(omaha): Capitalize sha256 so it is exported
Capitalization is needed so that things are exported in Go. Oops.
2013-04-11 12:08:55 -07:00
Brandon Philips
def5edd1b7 fix(omaha): make Actions a pointer
Setup Actions as a pointer so that we can update it later.
2013-04-11 12:07:55 -07:00
Brandon Philips
b6c64c1b64 chore(omaha): move everything to the top level directory
this lets us go get this module.
2013-04-11 10:26:19 -07:00
Brandon Philips
67b46beb64 fix(comment): fixup header comment 2013-04-01 10:16:12 -07:00
Brandon Philips
8536d53703 fix(omaha): use struct initialization
save some lines of code and use struct initialization
2013-04-01 10:02:15 -07:00
Brandon Philips
8a80b4e359 feat(responses): implement responses and add a test
- implement rendering test for responses and requests
- redo the API a bit to make responses and requests consistent
2013-04-01 09:55:05 -07:00
Brandon Philips
5cb5b5c4e9 feat(omaha): test and change the name of the event field
test out the event field and change its name to avoid repitition.
2013-03-29 05:51:29 -07:00
Brandon Philips
d1b8d0aa1b Initial commit 2013-03-27 16:59:16 -07:00