From 3ec262dd51466100b44910b60308e46b00f2a097 Mon Sep 17 00:00:00 2001 From: Quentin Machu Date: Fri, 13 Nov 2015 14:11:28 -0500 Subject: [PATCH] Initial commit --- .dockerignore | 7 + CONTRIBUTING.md | 71 + DCO | 36 + Dockerfile | 18 + Godeps/Godeps.json | 94 + Godeps/Readme | 5 + LICENSE | 202 + NOTICE | 5 + README.md | 81 + api/api.go | 126 + api/jsonhttp/json.go | 78 + api/logic/general.go | 54 + api/logic/layers.go | 365 + api/logic/vulnerabilities.go | 247 + api/router.go | 96 + api/wrappers/log.go | 75 + api/wrappers/timeout.go | 105 + database/database.go | 182 + database/database_test.go | 81 + database/flag.go | 58 + database/flag_test.go | 48 + database/layer.go | 377 + database/layer_test.go | 162 + database/lock.go | 137 + database/lock_test.go | 56 + database/notification.go | 402 + database/notification_test.go | 144 + database/os_mapping.go | 44 + database/package.go | 485 ++ database/package_test.go | 193 + database/requests.go | 51 + database/vulnerability.go | 387 + database/vulnerability_test.go | 243 + docs/API.md | 760 ++ docs/Model.graffle | Bin 0 -> 5027 bytes docs/Model.md | 70 + docs/Model.png | Bin 0 -> 90040 bytes docs/Notifications.md | 131 + docs/Run.md | 21 + docs/Security.md | 54 + health/health.go | 80 + main.go | 148 + notifier/notifier.go | 173 + updater/fetchers.go | 64 + updater/fetchers/debian.go | 240 + updater/fetchers/debian_test.go | 80 + updater/fetchers/fetchers.go | 32 + updater/fetchers/rhel.go | 353 + updater/fetchers/rhel_test.go | 82 + .../testdata/fetcher_debian_test.json | 99 + .../fetchers/testdata/fetcher_rhel_test.1.xml | 154 + .../fetchers/testdata/fetcher_rhel_test.2.xml | 224 + .../fetchers/testdata/fetcher_ubuntu_test.txt | 35 + updater/fetchers/ubuntu.go | 414 + updater/fetchers/ubuntu_test.go | 63 + updater/updater.go | 286 + utils/errors/errors.go | 41 + utils/exec.go | 39 + utils/stopper.go | 65 + utils/string.go | 68 + utils/tar.go | 107 + utils/testdata/utils_test.tar | Bin 0 -> 15360 bytes utils/testdata/utils_test.tar.gz | Bin 0 -> 314 bytes utils/types/priority.go | 88 + utils/types/priority_test.go | 32 + utils/types/version.go | 282 + utils/types/version_test.go | 243 + utils/utils_test.go | 96 + .../github.com/alecthomas/template/README.md | 25 + vendor/github.com/alecthomas/template/doc.go | 406 + vendor/github.com/alecthomas/template/exec.go | 844 +++ .../github.com/alecthomas/template/funcs.go | 598 ++ .../github.com/alecthomas/template/helper.go | 108 + .../alecthomas/template/parse/lex.go | 556 ++ .../alecthomas/template/parse/node.go | 834 ++ .../alecthomas/template/parse/parse.go | 700 ++ .../alecthomas/template/template.go | 217 + vendor/github.com/alecthomas/units/COPYING | 19 + vendor/github.com/alecthomas/units/README.md | 11 + vendor/github.com/alecthomas/units/bytes.go | 83 + vendor/github.com/alecthomas/units/doc.go | 13 + vendor/github.com/alecthomas/units/si.go | 26 + vendor/github.com/alecthomas/units/util.go | 138 + vendor/github.com/barakmich/glog/LICENSE | 191 + vendor/github.com/barakmich/glog/README | 44 + vendor/github.com/barakmich/glog/glog.go | 1118 +++ vendor/github.com/barakmich/glog/glog_file.go | 124 + .../barakmich/glog/glog_logstash.go | 71 + vendor/github.com/boltdb/bolt/.gitignore | 3 + vendor/github.com/boltdb/bolt/LICENSE | 20 + vendor/github.com/boltdb/bolt/Makefile | 54 + vendor/github.com/boltdb/bolt/README.md | 619 ++ vendor/github.com/boltdb/bolt/batch.go | 135 + vendor/github.com/boltdb/bolt/bolt_386.go | 7 + vendor/github.com/boltdb/bolt/bolt_amd64.go | 7 + vendor/github.com/boltdb/bolt/bolt_arm.go | 7 + vendor/github.com/boltdb/bolt/bolt_linux.go | 12 + vendor/github.com/boltdb/bolt/bolt_openbsd.go | 29 + vendor/github.com/boltdb/bolt/bolt_unix.go | 86 + vendor/github.com/boltdb/bolt/bolt_windows.go | 76 + .../github.com/boltdb/bolt/boltsync_unix.go | 10 + vendor/github.com/boltdb/bolt/bucket.go | 743 ++ .../github.com/boltdb/bolt/cmd/bolt/main.go | 1529 ++++ vendor/github.com/boltdb/bolt/cursor.go | 384 + vendor/github.com/boltdb/bolt/db.go | 792 ++ vendor/github.com/boltdb/bolt/doc.go | 44 + vendor/github.com/boltdb/bolt/errors.go | 70 + vendor/github.com/boltdb/bolt/freelist.go | 241 + vendor/github.com/boltdb/bolt/node.go | 636 ++ vendor/github.com/boltdb/bolt/page.go | 134 + vendor/github.com/boltdb/bolt/tx.go | 611 ++ .../coreos/go-systemd/journal/send.go | 166 + .../github.com/coreos/pkg/capnslog/README.md | 38 + .../pkg/capnslog/example/hello_dolly.go | 57 + .../coreos/pkg/capnslog/formatters.go | 106 + .../coreos/pkg/capnslog/glog_formatter.go | 96 + vendor/github.com/coreos/pkg/capnslog/init.go | 49 + .../coreos/pkg/capnslog/init_windows.go | 25 + .../coreos/pkg/capnslog/journald_formatter.go | 66 + .../coreos/pkg/capnslog/log_hijack.go | 39 + .../github.com/coreos/pkg/capnslog/logmap.go | 240 + .../coreos/pkg/capnslog/pkg_logger.go | 158 + .../coreos/pkg/capnslog/syslog_formatter.go | 65 + .../github.com/coreos/pkg/timeutil/backoff.go | 15 + .../github.com/gogo/protobuf/proto/Makefile | 43 + .../github.com/gogo/protobuf/proto/clone.go | 202 + .../github.com/gogo/protobuf/proto/decode.go | 826 ++ .../gogo/protobuf/proto/decode_gogo.go | 175 + .../github.com/gogo/protobuf/proto/encode.go | 1288 ++++ .../gogo/protobuf/proto/encode_gogo.go | 354 + .../github.com/gogo/protobuf/proto/equal.go | 256 + .../gogo/protobuf/proto/extensions.go | 481 ++ .../gogo/protobuf/proto/extensions_gogo.go | 221 + vendor/github.com/gogo/protobuf/proto/lib.go | 790 ++ .../gogo/protobuf/proto/lib_gogo.go | 40 + .../gogo/protobuf/proto/message_set.go | 287 + .../gogo/protobuf/proto/pointer_reflect.go | 479 ++ .../gogo/protobuf/proto/pointer_unsafe.go | 266 + .../protobuf/proto/pointer_unsafe_gogo.go | 108 + .../gogo/protobuf/proto/properties.go | 815 ++ .../gogo/protobuf/proto/properties_gogo.go | 64 + .../protobuf/proto/proto3_proto/proto3.pb.go | 122 + .../protobuf/proto/proto3_proto/proto3.proto | 68 + .../gogo/protobuf/proto/skip_gogo.go | 117 + vendor/github.com/gogo/protobuf/proto/text.go | 824 ++ .../gogo/protobuf/proto/text_gogo.go | 55 + .../gogo/protobuf/proto/text_parser.go | 800 ++ vendor/github.com/google/cayley/.gitignore | 10 + vendor/github.com/google/cayley/.goxc.json | 6 + vendor/github.com/google/cayley/.travis.yml | 25 + vendor/github.com/google/cayley/AUTHORS | 21 + .../github.com/google/cayley/CONTRIBUTING.md | 61 + vendor/github.com/google/cayley/CONTRIBUTORS | 25 + .../google/cayley/Godeps/Godeps.json | 73 + vendor/github.com/google/cayley/Godeps/Readme | 5 + vendor/github.com/google/cayley/LICENSE | 175 + vendor/github.com/google/cayley/README.md | 173 + vendor/github.com/google/cayley/TODO.md | 104 + .../google/cayley/appengine/app.yaml | 8 + .../google/cayley/appengine/appengine.go | 112 + .../cayley/appengine/cayley_appengine.cfg | 7 + .../google/cayley/cayley.cfg.example | 5 + .../google/cayley/cmd/cayley/cayley.go | 279 + .../cayley/cmd/cayleyupgrade/cayleyupgrade.go | 79 + .../google/cayley/data/30kmoviedata.nq.gz | Bin 0 -> 3937930 bytes .../github.com/google/cayley/data/testdata.nq | 13 + .../google/cayley/docs/Configuration.md | 145 + .../google/cayley/docs/GremlinAPI.md | 446 ++ vendor/github.com/google/cayley/docs/HTTP.md | 128 + vendor/github.com/google/cayley/docs/MQL.md | 86 + .../github.com/google/cayley/docs/Overview.md | 122 + .../google/cayley/exporter/exporter.go | 185 + .../google/cayley/graph/bolt/all_iterator.go | 211 + .../google/cayley/graph/bolt/iterator.go | 325 + .../google/cayley/graph/bolt/migrate.go | 162 + .../google/cayley/graph/bolt/quadstore.go | 589 ++ .../graph/bolt/quadstore_iterator_optimize.go | 55 + .../cayley/graph/gaedatastore/iterator.go | 330 + .../cayley/graph/gaedatastore/quadstore.go | 568 ++ .../google/cayley/graph/iterator.go | 366 + .../cayley/graph/iterator/all_iterator.go | 165 + .../cayley/graph/iterator/and_iterator.go | 301 + .../graph/iterator/and_iterator_optimize.go | 375 + .../cayley/graph/iterator/fixed_iterator.go | 191 + .../cayley/graph/iterator/hasa_iterator.go | 283 + .../google/cayley/graph/iterator/iterator.go | 122 + .../cayley/graph/iterator/linksto_iterator.go | 237 + .../graph/iterator/materialize_iterator.go | 308 + .../cayley/graph/iterator/not_iterator.go | 178 + .../graph/iterator/optional_iterator.go | 161 + .../cayley/graph/iterator/or_iterator.go | 315 + .../cayley/graph/iterator/query_shape.go | 178 + .../cayley/graph/iterator/unique_iterator.go | 155 + .../iterator/value_comparison_iterator.go | 242 + .../cayley/graph/leveldb/all_iterator.go | 188 + .../google/cayley/graph/leveldb/iterator.go | 293 + .../google/cayley/graph/leveldb/quadstore.go | 514 ++ .../leveldb/quadstore_iterator_optimize.go | 55 + .../cayley/graph/memstore/all_iterator.go | 78 + .../google/cayley/graph/memstore/b/Makefile | 28 + .../google/cayley/graph/memstore/b/gen.go | 17 + .../google/cayley/graph/memstore/b/keys.go | 972 +++ .../google/cayley/graph/memstore/iterator.go | 198 + .../google/cayley/graph/memstore/quadstore.go | 305 + .../memstore/quadstore_iterator_optimize.go | 55 + .../cayley/graph/mongo/indexed_linksto.go | 263 + .../google/cayley/graph/mongo/iterator.go | 242 + .../google/cayley/graph/mongo/lru.go | 65 + .../google/cayley/graph/mongo/quadstore.go | 411 + .../mongo/quadstore_iterator_optimize.go | 120 + .../graph/path/morphism_apply_functions.go | 345 + .../google/cayley/graph/path/path.go | 327 + .../google/cayley/graph/primarykey.go | 133 + .../cayley/graph/proto/serializations.pb.go | 780 ++ .../cayley/graph/proto/serializations.proto | 43 + .../google/cayley/graph/quadstore.go | 220 + .../google/cayley/graph/quadwriter.go | 115 + .../google/cayley/graph/sql/all_iterator.go | 215 + .../github.com/google/cayley/graph/sql/lru.go | 63 + .../google/cayley/graph/sql/optimizers.go | 325 + .../google/cayley/graph/sql/quadstore.go | 349 + .../google/cayley/graph/sql/sql_iterator.go | 348 + .../cayley/graph/sql/sql_link_iterator.go | 319 + .../cayley/graph/sql/sql_node_intersection.go | 211 + .../cayley/graph/sql/sql_node_iterator.go | 226 + .../google/cayley/graph/transaction.go | 65 + vendor/github.com/google/cayley/imports.go | 53 + .../google/cayley/internal/config/config.go | 145 + .../google/cayley/internal/db/db.go | 105 + .../google/cayley/internal/db/repl.go | 254 + .../google/cayley/internal/decompressor.go | 46 + .../github.com/google/cayley/internal/dump.go | 61 + .../google/cayley/internal/http/docs.go | 74 + .../google/cayley/internal/http/http.go | 171 + .../google/cayley/internal/http/query.go | 146 + .../google/cayley/internal/http/write.go | 144 + .../github.com/google/cayley/internal/load.go | 82 + .../google/cayley/quad/cquads/actions.rl | 95 + .../google/cayley/quad/cquads/cquads.go | 138 + .../google/cayley/quad/cquads/cquads.rl | 107 + .../google/cayley/quad/cquads/parse.go | 6717 +++++++++++++++++ .../google/cayley/quad/cquads/parse.rl | 63 + .../google/cayley/quad/nquad_tests.tar.gz | Bin 0 -> 7167 bytes .../google/cayley/quad/nquads/actions.rl | 87 + .../google/cayley/quad/nquads/nquads.go | 132 + .../google/cayley/quad/nquads/nquads.rl | 98 + .../google/cayley/quad/nquads/parse.go | 3673 +++++++++ .../google/cayley/quad/nquads/parse.rl | 62 + .../google/cayley/quad/ntriple_tests.tar.gz | Bin 0 -> 6324 bytes vendor/github.com/google/cayley/quad/quad.go | 141 + .../cayley/query/gremlin/build_iterator.go | 251 + .../google/cayley/query/gremlin/environ.go | 120 + .../google/cayley/query/gremlin/finals.go | 321 + .../google/cayley/query/gremlin/session.go | 266 + .../google/cayley/query/gremlin/traversals.go | 80 + .../google/cayley/query/mql/build_iterator.go | 190 + .../google/cayley/query/mql/fill.go | 118 + .../google/cayley/query/mql/query.go | 113 + .../google/cayley/query/mql/session.go | 144 + .../github.com/google/cayley/query/session.go | 44 + .../google/cayley/query/sexp/parser.go | 272 + .../google/cayley/query/sexp/session.go | 124 + .../cayley/static/branding/cayley_bottom.png | Bin 0 -> 35768 bytes .../cayley/static/branding/cayley_bottom.svg | 266 + .../cayley/static/branding/cayley_side.png | Bin 0 -> 37686 bytes .../cayley/static/branding/cayley_side.svg | 265 + .../google/cayley/static/cayley.png | Bin 0 -> 21241 bytes .../google/cayley/static/cayley.svg | 17 + .../google/cayley/static/css/docs.css | 293 + .../google/cayley/static/css/grid.css | 172 + .../google/cayley/static/css/query_editor.css | 45 + .../google/cayley/static/favicon.ico | Bin 0 -> 270398 bytes .../google/cayley/static/js/cayley_main.js | 167 + .../google/cayley/static/js/cayley_query.js | 41 + .../google/cayley/static/js/cayley_shape.js | 33 + .../cayley/static/js/cayley_visualize.js | 113 + .../google/cayley/static/js/cayley_write.js | 158 + .../google/cayley/static/js/query_viz.js | 351 + .../third_party/flatly/bootstrap.min.css | 7 + .../static/third_party/sigmajs/README.md | 35 + .../plugins/sigma.layout.forceAtlas2.min.js | 1 + .../sigmajs/plugins/sigma.parsers.gexf.min.js | 1 + .../sigmajs/plugins/sigma.parsers.json.min.js | 1 + .../plugins/sigma.plugins.animate.min.js | 1 + .../plugins/sigma.plugins.dragNodes.min.js | 1 + .../sigma.plugins.neighborhoods.min.js | 1 + .../sigma.renderers.customShapes.min.js | 1 + .../static/third_party/sigmajs/sigma.min.js | 4 + .../google/cayley/svg/requirements.txt | 5 + vendor/github.com/google/cayley/svg/svg.py | 136 + .../google/cayley/templates/head.tmpl | 62 + .../google/cayley/templates/query.html | 49 + .../google/cayley/templates/query_shape.html | 49 + .../google/cayley/templates/sidebar.tmpl | 63 + .../google/cayley/templates/top_navbar.tmpl | 37 + .../google/cayley/templates/visualize.html | 54 + .../google/cayley/templates/write.html | 79 + .../github.com/google/cayley/writer/single.go | 119 + .../julienschmidt/httprouter/.travis.yml | 8 + .../julienschmidt/httprouter/LICENSE | 24 + .../julienschmidt/httprouter/README.md | 323 + .../julienschmidt/httprouter/path.go | 123 + .../julienschmidt/httprouter/router.go | 363 + .../julienschmidt/httprouter/tree.go | 555 ++ vendor/github.com/lib/pq/.gitignore | 4 + vendor/github.com/lib/pq/.travis.yml | 68 + vendor/github.com/lib/pq/CONTRIBUTING.md | 29 + vendor/github.com/lib/pq/LICENSE.md | 8 + vendor/github.com/lib/pq/README.md | 103 + vendor/github.com/lib/pq/buf.go | 90 + vendor/github.com/lib/pq/certs/README | 3 + vendor/github.com/lib/pq/certs/postgresql.crt | 69 + vendor/github.com/lib/pq/certs/postgresql.key | 15 + vendor/github.com/lib/pq/certs/root.crt | 24 + vendor/github.com/lib/pq/certs/server.crt | 81 + vendor/github.com/lib/pq/certs/server.key | 27 + vendor/github.com/lib/pq/conn.go | 1763 +++++ vendor/github.com/lib/pq/copy.go | 268 + vendor/github.com/lib/pq/doc.go | 210 + vendor/github.com/lib/pq/encode.go | 538 ++ vendor/github.com/lib/pq/error.go | 508 ++ vendor/github.com/lib/pq/hstore/hstore.go | 118 + .../github.com/lib/pq/listen_example/doc.go | 102 + vendor/github.com/lib/pq/notify.go | 766 ++ vendor/github.com/lib/pq/oid/doc.go | 6 + vendor/github.com/lib/pq/oid/gen.go | 74 + vendor/github.com/lib/pq/oid/types.go | 161 + vendor/github.com/lib/pq/url.go | 76 + vendor/github.com/lib/pq/user_posix.go | 24 + vendor/github.com/lib/pq/user_windows.go | 27 + vendor/github.com/pborman/uuid/CONTRIBUTORS | 1 + vendor/github.com/pborman/uuid/LICENSE | 27 + vendor/github.com/pborman/uuid/dce.go | 84 + vendor/github.com/pborman/uuid/doc.go | 8 + vendor/github.com/pborman/uuid/hash.go | 53 + vendor/github.com/pborman/uuid/json.go | 30 + vendor/github.com/pborman/uuid/node.go | 101 + vendor/github.com/pborman/uuid/time.go | 132 + vendor/github.com/pborman/uuid/util.go | 43 + vendor/github.com/pborman/uuid/uuid.go | 163 + vendor/github.com/pborman/uuid/version1.go | 41 + vendor/github.com/pborman/uuid/version4.go | 25 + .../stretchr/testify/assert/assertions.go | 895 +++ .../github.com/stretchr/testify/assert/doc.go | 154 + .../stretchr/testify/assert/errors.go | 10 + .../testify/assert/forward_assertions.go | 265 + .../testify/assert/http_assertions.go | 157 + .../syndtr/goleveldb/leveldb/batch.go | 252 + .../syndtr/goleveldb/leveldb/cache/cache.go | 676 ++ .../syndtr/goleveldb/leveldb/cache/lru.go | 195 + .../syndtr/goleveldb/leveldb/comparer.go | 75 + .../leveldb/comparer/bytes_comparer.go | 51 + .../goleveldb/leveldb/comparer/comparer.go | 57 + .../github.com/syndtr/goleveldb/leveldb/db.go | 1068 +++ .../syndtr/goleveldb/leveldb/db_compaction.go | 791 ++ .../syndtr/goleveldb/leveldb/db_iter.go | 350 + .../syndtr/goleveldb/leveldb/db_snapshot.go | 183 + .../syndtr/goleveldb/leveldb/db_state.go | 211 + .../syndtr/goleveldb/leveldb/db_util.go | 100 + .../syndtr/goleveldb/leveldb/db_write.go | 339 + .../syndtr/goleveldb/leveldb/doc.go | 90 + .../syndtr/goleveldb/leveldb/errors.go | 19 + .../syndtr/goleveldb/leveldb/errors/errors.go | 76 + .../syndtr/goleveldb/leveldb/filter.go | 31 + .../syndtr/goleveldb/leveldb/filter/bloom.go | 116 + .../syndtr/goleveldb/leveldb/filter/filter.go | 60 + .../goleveldb/leveldb/iterator/array_iter.go | 184 + .../leveldb/iterator/indexed_iter.go | 242 + .../syndtr/goleveldb/leveldb/iterator/iter.go | 131 + .../goleveldb/leveldb/iterator/merged_iter.go | 304 + .../goleveldb/leveldb/journal/journal.go | 520 ++ .../syndtr/goleveldb/leveldb/key.go | 142 + .../syndtr/goleveldb/leveldb/memdb/memdb.go | 471 ++ .../syndtr/goleveldb/leveldb/opt/options.go | 670 ++ .../syndtr/goleveldb/leveldb/options.go | 92 + .../syndtr/goleveldb/leveldb/session.go | 211 + .../goleveldb/leveldb/session_compaction.go | 287 + .../goleveldb/leveldb/session_record.go | 311 + .../syndtr/goleveldb/leveldb/session_util.go | 249 + .../goleveldb/leveldb/storage/file_storage.go | 534 ++ .../leveldb/storage/file_storage_plan9.go | 52 + .../leveldb/storage/file_storage_solaris.go | 68 + .../leveldb/storage/file_storage_unix.go | 63 + .../leveldb/storage/file_storage_windows.go | 69 + .../goleveldb/leveldb/storage/mem_storage.go | 203 + .../goleveldb/leveldb/storage/storage.go | 157 + .../syndtr/goleveldb/leveldb/table.go | 525 ++ .../syndtr/goleveldb/leveldb/table/reader.go | 1107 +++ .../syndtr/goleveldb/leveldb/table/table.go | 177 + .../syndtr/goleveldb/leveldb/table/writer.go | 379 + .../syndtr/goleveldb/leveldb/testutil/db.go | 222 + .../goleveldb/leveldb/testutil/ginkgo.go | 21 + .../syndtr/goleveldb/leveldb/testutil/iter.go | 327 + .../syndtr/goleveldb/leveldb/testutil/kv.go | 352 + .../goleveldb/leveldb/testutil/kvtest.go | 187 + .../goleveldb/leveldb/testutil/storage.go | 586 ++ .../syndtr/goleveldb/leveldb/testutil/util.go | 171 + .../syndtr/goleveldb/leveldb/util.go | 91 + .../syndtr/goleveldb/leveldb/util/buffer.go | 293 + .../goleveldb/leveldb/util/buffer_pool.go | 238 + .../syndtr/goleveldb/leveldb/util/crc32.go | 30 + .../syndtr/goleveldb/leveldb/util/hash.go | 48 + .../syndtr/goleveldb/leveldb/util/pool.go | 21 + .../goleveldb/leveldb/util/pool_legacy.go | 33 + .../syndtr/goleveldb/leveldb/util/range.go | 32 + .../syndtr/goleveldb/leveldb/util/util.go | 73 + .../syndtr/goleveldb/leveldb/version.go | 457 ++ .../syndtr/gosnappy/snappy/decode.go | 292 + .../syndtr/gosnappy/snappy/encode.go | 258 + .../syndtr/gosnappy/snappy/snappy.go | 68 + vendor/github.com/tylerb/graceful/.gitignore | 23 + vendor/github.com/tylerb/graceful/LICENSE | 21 + vendor/github.com/tylerb/graceful/README.md | 137 + vendor/github.com/tylerb/graceful/graceful.go | 346 + .../github.com/tylerb/graceful/tests/main.go | 40 + vendor/golang.org/x/net/netutil/listen.go | 48 + .../alecthomas/kingpin.v2/.travis.yml | 3 + vendor/gopkg.in/alecthomas/kingpin.v2/COPYING | 19 + .../gopkg.in/alecthomas/kingpin.v2/README.md | 538 ++ vendor/gopkg.in/alecthomas/kingpin.v2/app.go | 564 ++ vendor/gopkg.in/alecthomas/kingpin.v2/args.go | 106 + vendor/gopkg.in/alecthomas/kingpin.v2/cmd.go | 129 + vendor/gopkg.in/alecthomas/kingpin.v2/doc.go | 68 + .../kingpin.v2/examples/chat1/main.go | 20 + .../kingpin.v2/examples/chat2/main.go | 38 + .../kingpin.v2/examples/curl/main.go | 105 + .../kingpin.v2/examples/modular/main.go | 30 + .../kingpin.v2/examples/ping/main.go | 20 + .../gopkg.in/alecthomas/kingpin.v2/flags.go | 235 + .../alecthomas/kingpin.v2/genrepeated/main.go | 75 + .../gopkg.in/alecthomas/kingpin.v2/global.go | 88 + .../alecthomas/kingpin.v2/guesswidth.go | 9 + .../alecthomas/kingpin.v2/guesswidth_unix.go | 38 + .../gopkg.in/alecthomas/kingpin.v2/model.go | 215 + .../gopkg.in/alecthomas/kingpin.v2/parser.go | 335 + .../gopkg.in/alecthomas/kingpin.v2/parsers.go | 265 + .../alecthomas/kingpin.v2/repeated.go | 107 + .../alecthomas/kingpin.v2/repeated.json | 11 + .../alecthomas/kingpin.v2/templates.go | 174 + .../gopkg.in/alecthomas/kingpin.v2/usage.go | 178 + .../gopkg.in/alecthomas/kingpin.v2/values.go | 507 ++ vendor/gopkg.in/mgo.v2/LICENSE | 25 + vendor/gopkg.in/mgo.v2/Makefile | 5 + vendor/gopkg.in/mgo.v2/README.md | 4 + vendor/gopkg.in/mgo.v2/auth.go | 467 ++ vendor/gopkg.in/mgo.v2/bson/LICENSE | 25 + vendor/gopkg.in/mgo.v2/bson/bson.go | 705 ++ vendor/gopkg.in/mgo.v2/bson/decode.go | 825 ++ vendor/gopkg.in/mgo.v2/bson/encode.go | 503 ++ vendor/gopkg.in/mgo.v2/bulk.go | 71 + vendor/gopkg.in/mgo.v2/cluster.go | 632 ++ vendor/gopkg.in/mgo.v2/doc.go | 31 + vendor/gopkg.in/mgo.v2/gridfs.go | 755 ++ vendor/gopkg.in/mgo.v2/internal/sasl/sasl.c | 77 + vendor/gopkg.in/mgo.v2/internal/sasl/sasl.go | 138 + .../mgo.v2/internal/sasl/sasl_windows.c | 118 + .../mgo.v2/internal/sasl/sasl_windows.go | 140 + .../mgo.v2/internal/sasl/sasl_windows.h | 7 + .../mgo.v2/internal/sasl/sspi_windows.c | 96 + .../mgo.v2/internal/sasl/sspi_windows.h | 70 + .../gopkg.in/mgo.v2/internal/scram/scram.go | 266 + vendor/gopkg.in/mgo.v2/log.go | 133 + vendor/gopkg.in/mgo.v2/queue.go | 91 + vendor/gopkg.in/mgo.v2/raceoff.go | 5 + vendor/gopkg.in/mgo.v2/raceon.go | 5 + vendor/gopkg.in/mgo.v2/saslimpl.go | 11 + vendor/gopkg.in/mgo.v2/saslstub.go | 11 + vendor/gopkg.in/mgo.v2/server.go | 448 ++ vendor/gopkg.in/mgo.v2/session.go | 4222 +++++++++++ vendor/gopkg.in/mgo.v2/socket.go | 677 ++ vendor/gopkg.in/mgo.v2/stats.go | 147 + vendor/gopkg.in/mgo.v2/testdb/client.pem | 44 + vendor/gopkg.in/mgo.v2/testdb/dropall.js | 66 + vendor/gopkg.in/mgo.v2/testdb/init.js | 110 + vendor/gopkg.in/mgo.v2/testdb/server.pem | 33 + vendor/gopkg.in/mgo.v2/testdb/setup.sh | 58 + .../gopkg.in/mgo.v2/testdb/supervisord.conf | 65 + vendor/gopkg.in/mgo.v2/testdb/wait.js | 58 + .../gopkg.in/mgo.v2/testserver/testserver.go | 196 + vendor/gopkg.in/mgo.v2/txn/chaos.go | 68 + vendor/gopkg.in/mgo.v2/txn/debug.go | 109 + vendor/gopkg.in/mgo.v2/txn/flusher.go | 985 +++ vendor/gopkg.in/mgo.v2/txn/tarjan.go | 94 + vendor/gopkg.in/mgo.v2/txn/txn.go | 613 ++ worker/detectors/os.go | 81 + worker/detectors/os/apt_sources.go | 81 + worker/detectors/os/apt_sources_test.go | 38 + worker/detectors/os/lsb_release.go | 75 + worker/detectors/os/lsb_release_test.go | 46 + worker/detectors/os/os_release.go | 70 + worker/detectors/os/os_release_test.go | 75 + worker/detectors/os/redhat_release.go | 59 + worker/detectors/os/redhat_release_test.go | 38 + worker/detectors/os/test.go | 36 + worker/detectors/packages.go | 79 + worker/detectors/packages/dpkg.go | 116 + worker/detectors/packages/dpkg_test.go | 49 + worker/detectors/packages/rpm.go | 112 + worker/detectors/packages/rpm_test.go | 46 + worker/detectors/packages/test.go | 48 + .../detectors/packages/testdata/dpkg_status | 85 + .../detectors/packages/testdata/rpm_Packages | Bin 0 -> 11501568 bytes worker/testdata/DistUpgrade/blank.tar.gz | Bin 0 -> 45 bytes worker/testdata/DistUpgrade/jessie.tar.gz | Bin 0 -> 31008 bytes worker/testdata/DistUpgrade/wheezy.tar.gz | Bin 0 -> 21584 bytes worker/worker.go | 302 + worker/worker_test.go | 67 + 507 files changed, 108416 insertions(+) create mode 100644 .dockerignore create mode 100755 CONTRIBUTING.md create mode 100755 DCO create mode 100644 Dockerfile create mode 100644 Godeps/Godeps.json create mode 100644 Godeps/Readme create mode 100755 LICENSE create mode 100755 NOTICE create mode 100644 README.md create mode 100644 api/api.go create mode 100644 api/jsonhttp/json.go create mode 100644 api/logic/general.go create mode 100644 api/logic/layers.go create mode 100644 api/logic/vulnerabilities.go create mode 100644 api/router.go create mode 100644 api/wrappers/log.go create mode 100644 api/wrappers/timeout.go create mode 100644 database/database.go create mode 100644 database/database_test.go create mode 100644 database/flag.go create mode 100644 database/flag_test.go create mode 100644 database/layer.go create mode 100644 database/layer_test.go create mode 100644 database/lock.go create mode 100644 database/lock_test.go create mode 100644 database/notification.go create mode 100644 database/notification_test.go create mode 100644 database/os_mapping.go create mode 100644 database/package.go create mode 100644 database/package_test.go create mode 100644 database/requests.go create mode 100644 database/vulnerability.go create mode 100644 database/vulnerability_test.go create mode 100644 docs/API.md create mode 100644 docs/Model.graffle create mode 100644 docs/Model.md create mode 100644 docs/Model.png create mode 100644 docs/Notifications.md create mode 100644 docs/Run.md create mode 100644 docs/Security.md create mode 100644 health/health.go create mode 100644 main.go create mode 100644 notifier/notifier.go create mode 100644 updater/fetchers.go create mode 100644 updater/fetchers/debian.go create mode 100644 updater/fetchers/debian_test.go create mode 100644 updater/fetchers/fetchers.go create mode 100644 updater/fetchers/rhel.go create mode 100644 updater/fetchers/rhel_test.go create mode 100644 updater/fetchers/testdata/fetcher_debian_test.json create mode 100644 updater/fetchers/testdata/fetcher_rhel_test.1.xml create mode 100644 updater/fetchers/testdata/fetcher_rhel_test.2.xml create mode 100644 updater/fetchers/testdata/fetcher_ubuntu_test.txt create mode 100644 updater/fetchers/ubuntu.go create mode 100644 updater/fetchers/ubuntu_test.go create mode 100644 updater/updater.go create mode 100644 utils/errors/errors.go create mode 100644 utils/exec.go create mode 100644 utils/stopper.go create mode 100644 utils/string.go create mode 100644 utils/tar.go create mode 100644 utils/testdata/utils_test.tar create mode 100644 utils/testdata/utils_test.tar.gz create mode 100644 utils/types/priority.go create mode 100644 utils/types/priority_test.go create mode 100644 utils/types/version.go create mode 100644 utils/types/version_test.go create mode 100644 utils/utils_test.go create mode 100644 vendor/github.com/alecthomas/template/README.md create mode 100644 vendor/github.com/alecthomas/template/doc.go create mode 100644 vendor/github.com/alecthomas/template/exec.go create mode 100644 vendor/github.com/alecthomas/template/funcs.go create mode 100644 vendor/github.com/alecthomas/template/helper.go create mode 100644 vendor/github.com/alecthomas/template/parse/lex.go create mode 100644 vendor/github.com/alecthomas/template/parse/node.go create mode 100644 vendor/github.com/alecthomas/template/parse/parse.go create mode 100644 vendor/github.com/alecthomas/template/template.go create mode 100644 vendor/github.com/alecthomas/units/COPYING create mode 100644 vendor/github.com/alecthomas/units/README.md create mode 100644 vendor/github.com/alecthomas/units/bytes.go create mode 100644 vendor/github.com/alecthomas/units/doc.go create mode 100644 vendor/github.com/alecthomas/units/si.go create mode 100644 vendor/github.com/alecthomas/units/util.go create mode 100644 vendor/github.com/barakmich/glog/LICENSE create mode 100644 vendor/github.com/barakmich/glog/README create mode 100644 vendor/github.com/barakmich/glog/glog.go create mode 100644 vendor/github.com/barakmich/glog/glog_file.go create mode 100644 vendor/github.com/barakmich/glog/glog_logstash.go create mode 100644 vendor/github.com/boltdb/bolt/.gitignore create mode 100644 vendor/github.com/boltdb/bolt/LICENSE create mode 100644 vendor/github.com/boltdb/bolt/Makefile create mode 100644 vendor/github.com/boltdb/bolt/README.md create mode 100644 vendor/github.com/boltdb/bolt/batch.go create mode 100644 vendor/github.com/boltdb/bolt/bolt_386.go create mode 100644 vendor/github.com/boltdb/bolt/bolt_amd64.go create mode 100644 vendor/github.com/boltdb/bolt/bolt_arm.go create mode 100644 vendor/github.com/boltdb/bolt/bolt_linux.go create mode 100644 vendor/github.com/boltdb/bolt/bolt_openbsd.go create mode 100644 vendor/github.com/boltdb/bolt/bolt_unix.go create mode 100644 vendor/github.com/boltdb/bolt/bolt_windows.go create mode 100644 vendor/github.com/boltdb/bolt/boltsync_unix.go create mode 100644 vendor/github.com/boltdb/bolt/bucket.go create mode 100644 vendor/github.com/boltdb/bolt/cmd/bolt/main.go create mode 100644 vendor/github.com/boltdb/bolt/cursor.go create mode 100644 vendor/github.com/boltdb/bolt/db.go create mode 100644 vendor/github.com/boltdb/bolt/doc.go create mode 100644 vendor/github.com/boltdb/bolt/errors.go create mode 100644 vendor/github.com/boltdb/bolt/freelist.go create mode 100644 vendor/github.com/boltdb/bolt/node.go create mode 100644 vendor/github.com/boltdb/bolt/page.go create mode 100644 vendor/github.com/boltdb/bolt/tx.go create mode 100644 vendor/github.com/coreos/go-systemd/journal/send.go create mode 100644 vendor/github.com/coreos/pkg/capnslog/README.md create mode 100644 vendor/github.com/coreos/pkg/capnslog/example/hello_dolly.go create mode 100644 vendor/github.com/coreos/pkg/capnslog/formatters.go create mode 100644 vendor/github.com/coreos/pkg/capnslog/glog_formatter.go create mode 100644 vendor/github.com/coreos/pkg/capnslog/init.go create mode 100644 vendor/github.com/coreos/pkg/capnslog/init_windows.go create mode 100644 vendor/github.com/coreos/pkg/capnslog/journald_formatter.go create mode 100644 vendor/github.com/coreos/pkg/capnslog/log_hijack.go create mode 100644 vendor/github.com/coreos/pkg/capnslog/logmap.go create mode 100644 vendor/github.com/coreos/pkg/capnslog/pkg_logger.go create mode 100644 vendor/github.com/coreos/pkg/capnslog/syslog_formatter.go create mode 100644 vendor/github.com/coreos/pkg/timeutil/backoff.go create mode 100644 vendor/github.com/gogo/protobuf/proto/Makefile create mode 100644 vendor/github.com/gogo/protobuf/proto/clone.go create mode 100644 vendor/github.com/gogo/protobuf/proto/decode.go create mode 100644 vendor/github.com/gogo/protobuf/proto/decode_gogo.go create mode 100644 vendor/github.com/gogo/protobuf/proto/encode.go create mode 100644 vendor/github.com/gogo/protobuf/proto/encode_gogo.go create mode 100644 vendor/github.com/gogo/protobuf/proto/equal.go create mode 100644 vendor/github.com/gogo/protobuf/proto/extensions.go create mode 100644 vendor/github.com/gogo/protobuf/proto/extensions_gogo.go create mode 100644 vendor/github.com/gogo/protobuf/proto/lib.go create mode 100644 vendor/github.com/gogo/protobuf/proto/lib_gogo.go create mode 100644 vendor/github.com/gogo/protobuf/proto/message_set.go create mode 100644 vendor/github.com/gogo/protobuf/proto/pointer_reflect.go create mode 100644 vendor/github.com/gogo/protobuf/proto/pointer_unsafe.go create mode 100644 vendor/github.com/gogo/protobuf/proto/pointer_unsafe_gogo.go create mode 100644 vendor/github.com/gogo/protobuf/proto/properties.go create mode 100644 vendor/github.com/gogo/protobuf/proto/properties_gogo.go create mode 100644 vendor/github.com/gogo/protobuf/proto/proto3_proto/proto3.pb.go create mode 100644 vendor/github.com/gogo/protobuf/proto/proto3_proto/proto3.proto create mode 100644 vendor/github.com/gogo/protobuf/proto/skip_gogo.go create mode 100644 vendor/github.com/gogo/protobuf/proto/text.go create mode 100644 vendor/github.com/gogo/protobuf/proto/text_gogo.go create mode 100644 vendor/github.com/gogo/protobuf/proto/text_parser.go create mode 100644 vendor/github.com/google/cayley/.gitignore create mode 100644 vendor/github.com/google/cayley/.goxc.json create mode 100644 vendor/github.com/google/cayley/.travis.yml create mode 100644 vendor/github.com/google/cayley/AUTHORS create mode 100644 vendor/github.com/google/cayley/CONTRIBUTING.md create mode 100644 vendor/github.com/google/cayley/CONTRIBUTORS create mode 100644 vendor/github.com/google/cayley/Godeps/Godeps.json create mode 100644 vendor/github.com/google/cayley/Godeps/Readme create mode 100644 vendor/github.com/google/cayley/LICENSE create mode 100644 vendor/github.com/google/cayley/README.md create mode 100644 vendor/github.com/google/cayley/TODO.md create mode 100644 vendor/github.com/google/cayley/appengine/app.yaml create mode 100644 vendor/github.com/google/cayley/appengine/appengine.go create mode 100644 vendor/github.com/google/cayley/appengine/cayley_appengine.cfg create mode 100644 vendor/github.com/google/cayley/cayley.cfg.example create mode 100644 vendor/github.com/google/cayley/cmd/cayley/cayley.go create mode 100644 vendor/github.com/google/cayley/cmd/cayleyupgrade/cayleyupgrade.go create mode 100644 vendor/github.com/google/cayley/data/30kmoviedata.nq.gz create mode 100644 vendor/github.com/google/cayley/data/testdata.nq create mode 100644 vendor/github.com/google/cayley/docs/Configuration.md create mode 100644 vendor/github.com/google/cayley/docs/GremlinAPI.md create mode 100644 vendor/github.com/google/cayley/docs/HTTP.md create mode 100644 vendor/github.com/google/cayley/docs/MQL.md create mode 100644 vendor/github.com/google/cayley/docs/Overview.md create mode 100644 vendor/github.com/google/cayley/exporter/exporter.go create mode 100644 vendor/github.com/google/cayley/graph/bolt/all_iterator.go create mode 100644 vendor/github.com/google/cayley/graph/bolt/iterator.go create mode 100644 vendor/github.com/google/cayley/graph/bolt/migrate.go create mode 100644 vendor/github.com/google/cayley/graph/bolt/quadstore.go create mode 100644 vendor/github.com/google/cayley/graph/bolt/quadstore_iterator_optimize.go create mode 100644 vendor/github.com/google/cayley/graph/gaedatastore/iterator.go create mode 100644 vendor/github.com/google/cayley/graph/gaedatastore/quadstore.go create mode 100644 vendor/github.com/google/cayley/graph/iterator.go create mode 100644 vendor/github.com/google/cayley/graph/iterator/all_iterator.go create mode 100644 vendor/github.com/google/cayley/graph/iterator/and_iterator.go create mode 100644 vendor/github.com/google/cayley/graph/iterator/and_iterator_optimize.go create mode 100644 vendor/github.com/google/cayley/graph/iterator/fixed_iterator.go create mode 100644 vendor/github.com/google/cayley/graph/iterator/hasa_iterator.go create mode 100644 vendor/github.com/google/cayley/graph/iterator/iterator.go create mode 100644 vendor/github.com/google/cayley/graph/iterator/linksto_iterator.go create mode 100644 vendor/github.com/google/cayley/graph/iterator/materialize_iterator.go create mode 100644 vendor/github.com/google/cayley/graph/iterator/not_iterator.go create mode 100644 vendor/github.com/google/cayley/graph/iterator/optional_iterator.go create mode 100644 vendor/github.com/google/cayley/graph/iterator/or_iterator.go create mode 100644 vendor/github.com/google/cayley/graph/iterator/query_shape.go create mode 100644 vendor/github.com/google/cayley/graph/iterator/unique_iterator.go create mode 100644 vendor/github.com/google/cayley/graph/iterator/value_comparison_iterator.go create mode 100644 vendor/github.com/google/cayley/graph/leveldb/all_iterator.go create mode 100644 vendor/github.com/google/cayley/graph/leveldb/iterator.go create mode 100644 vendor/github.com/google/cayley/graph/leveldb/quadstore.go create mode 100644 vendor/github.com/google/cayley/graph/leveldb/quadstore_iterator_optimize.go create mode 100644 vendor/github.com/google/cayley/graph/memstore/all_iterator.go create mode 100644 vendor/github.com/google/cayley/graph/memstore/b/Makefile create mode 100644 vendor/github.com/google/cayley/graph/memstore/b/gen.go create mode 100644 vendor/github.com/google/cayley/graph/memstore/b/keys.go create mode 100644 vendor/github.com/google/cayley/graph/memstore/iterator.go create mode 100644 vendor/github.com/google/cayley/graph/memstore/quadstore.go create mode 100644 vendor/github.com/google/cayley/graph/memstore/quadstore_iterator_optimize.go create mode 100644 vendor/github.com/google/cayley/graph/mongo/indexed_linksto.go create mode 100644 vendor/github.com/google/cayley/graph/mongo/iterator.go create mode 100644 vendor/github.com/google/cayley/graph/mongo/lru.go create mode 100644 vendor/github.com/google/cayley/graph/mongo/quadstore.go create mode 100644 vendor/github.com/google/cayley/graph/mongo/quadstore_iterator_optimize.go create mode 100644 vendor/github.com/google/cayley/graph/path/morphism_apply_functions.go create mode 100644 vendor/github.com/google/cayley/graph/path/path.go create mode 100644 vendor/github.com/google/cayley/graph/primarykey.go create mode 100644 vendor/github.com/google/cayley/graph/proto/serializations.pb.go create mode 100644 vendor/github.com/google/cayley/graph/proto/serializations.proto create mode 100644 vendor/github.com/google/cayley/graph/quadstore.go create mode 100644 vendor/github.com/google/cayley/graph/quadwriter.go create mode 100644 vendor/github.com/google/cayley/graph/sql/all_iterator.go create mode 100644 vendor/github.com/google/cayley/graph/sql/lru.go create mode 100644 vendor/github.com/google/cayley/graph/sql/optimizers.go create mode 100644 vendor/github.com/google/cayley/graph/sql/quadstore.go create mode 100644 vendor/github.com/google/cayley/graph/sql/sql_iterator.go create mode 100644 vendor/github.com/google/cayley/graph/sql/sql_link_iterator.go create mode 100644 vendor/github.com/google/cayley/graph/sql/sql_node_intersection.go create mode 100644 vendor/github.com/google/cayley/graph/sql/sql_node_iterator.go create mode 100644 vendor/github.com/google/cayley/graph/transaction.go create mode 100644 vendor/github.com/google/cayley/imports.go create mode 100644 vendor/github.com/google/cayley/internal/config/config.go create mode 100644 vendor/github.com/google/cayley/internal/db/db.go create mode 100644 vendor/github.com/google/cayley/internal/db/repl.go create mode 100644 vendor/github.com/google/cayley/internal/decompressor.go create mode 100644 vendor/github.com/google/cayley/internal/dump.go create mode 100644 vendor/github.com/google/cayley/internal/http/docs.go create mode 100644 vendor/github.com/google/cayley/internal/http/http.go create mode 100644 vendor/github.com/google/cayley/internal/http/query.go create mode 100644 vendor/github.com/google/cayley/internal/http/write.go create mode 100644 vendor/github.com/google/cayley/internal/load.go create mode 100644 vendor/github.com/google/cayley/quad/cquads/actions.rl create mode 100644 vendor/github.com/google/cayley/quad/cquads/cquads.go create mode 100644 vendor/github.com/google/cayley/quad/cquads/cquads.rl create mode 100644 vendor/github.com/google/cayley/quad/cquads/parse.go create mode 100644 vendor/github.com/google/cayley/quad/cquads/parse.rl create mode 100644 vendor/github.com/google/cayley/quad/nquad_tests.tar.gz create mode 100644 vendor/github.com/google/cayley/quad/nquads/actions.rl create mode 100644 vendor/github.com/google/cayley/quad/nquads/nquads.go create mode 100644 vendor/github.com/google/cayley/quad/nquads/nquads.rl create mode 100644 vendor/github.com/google/cayley/quad/nquads/parse.go create mode 100644 vendor/github.com/google/cayley/quad/nquads/parse.rl create mode 100644 vendor/github.com/google/cayley/quad/ntriple_tests.tar.gz create mode 100644 vendor/github.com/google/cayley/quad/quad.go create mode 100644 vendor/github.com/google/cayley/query/gremlin/build_iterator.go create mode 100644 vendor/github.com/google/cayley/query/gremlin/environ.go create mode 100644 vendor/github.com/google/cayley/query/gremlin/finals.go create mode 100644 vendor/github.com/google/cayley/query/gremlin/session.go create mode 100644 vendor/github.com/google/cayley/query/gremlin/traversals.go create mode 100644 vendor/github.com/google/cayley/query/mql/build_iterator.go create mode 100644 vendor/github.com/google/cayley/query/mql/fill.go create mode 100644 vendor/github.com/google/cayley/query/mql/query.go create mode 100644 vendor/github.com/google/cayley/query/mql/session.go create mode 100644 vendor/github.com/google/cayley/query/session.go create mode 100644 vendor/github.com/google/cayley/query/sexp/parser.go create mode 100644 vendor/github.com/google/cayley/query/sexp/session.go create mode 100644 vendor/github.com/google/cayley/static/branding/cayley_bottom.png create mode 100644 vendor/github.com/google/cayley/static/branding/cayley_bottom.svg create mode 100644 vendor/github.com/google/cayley/static/branding/cayley_side.png create mode 100644 vendor/github.com/google/cayley/static/branding/cayley_side.svg create mode 100644 vendor/github.com/google/cayley/static/cayley.png create mode 100644 vendor/github.com/google/cayley/static/cayley.svg create mode 100644 vendor/github.com/google/cayley/static/css/docs.css create mode 100644 vendor/github.com/google/cayley/static/css/grid.css create mode 100644 vendor/github.com/google/cayley/static/css/query_editor.css create mode 100644 vendor/github.com/google/cayley/static/favicon.ico create mode 100644 vendor/github.com/google/cayley/static/js/cayley_main.js create mode 100644 vendor/github.com/google/cayley/static/js/cayley_query.js create mode 100644 vendor/github.com/google/cayley/static/js/cayley_shape.js create mode 100644 vendor/github.com/google/cayley/static/js/cayley_visualize.js create mode 100644 vendor/github.com/google/cayley/static/js/cayley_write.js create mode 100644 vendor/github.com/google/cayley/static/js/query_viz.js create mode 100644 vendor/github.com/google/cayley/static/third_party/flatly/bootstrap.min.css create mode 100644 vendor/github.com/google/cayley/static/third_party/sigmajs/README.md create mode 100644 vendor/github.com/google/cayley/static/third_party/sigmajs/plugins/sigma.layout.forceAtlas2.min.js create mode 100644 vendor/github.com/google/cayley/static/third_party/sigmajs/plugins/sigma.parsers.gexf.min.js create mode 100644 vendor/github.com/google/cayley/static/third_party/sigmajs/plugins/sigma.parsers.json.min.js create mode 100644 vendor/github.com/google/cayley/static/third_party/sigmajs/plugins/sigma.plugins.animate.min.js create mode 100644 vendor/github.com/google/cayley/static/third_party/sigmajs/plugins/sigma.plugins.dragNodes.min.js create mode 100644 vendor/github.com/google/cayley/static/third_party/sigmajs/plugins/sigma.plugins.neighborhoods.min.js create mode 100644 vendor/github.com/google/cayley/static/third_party/sigmajs/plugins/sigma.renderers.customShapes.min.js create mode 100644 vendor/github.com/google/cayley/static/third_party/sigmajs/sigma.min.js create mode 100644 vendor/github.com/google/cayley/svg/requirements.txt create mode 100644 vendor/github.com/google/cayley/svg/svg.py create mode 100644 vendor/github.com/google/cayley/templates/head.tmpl create mode 100644 vendor/github.com/google/cayley/templates/query.html create mode 100644 vendor/github.com/google/cayley/templates/query_shape.html create mode 100644 vendor/github.com/google/cayley/templates/sidebar.tmpl create mode 100644 vendor/github.com/google/cayley/templates/top_navbar.tmpl create mode 100644 vendor/github.com/google/cayley/templates/visualize.html create mode 100644 vendor/github.com/google/cayley/templates/write.html create mode 100644 vendor/github.com/google/cayley/writer/single.go create mode 100644 vendor/github.com/julienschmidt/httprouter/.travis.yml create mode 100644 vendor/github.com/julienschmidt/httprouter/LICENSE create mode 100644 vendor/github.com/julienschmidt/httprouter/README.md create mode 100644 vendor/github.com/julienschmidt/httprouter/path.go create mode 100644 vendor/github.com/julienschmidt/httprouter/router.go create mode 100644 vendor/github.com/julienschmidt/httprouter/tree.go create mode 100644 vendor/github.com/lib/pq/.gitignore create mode 100644 vendor/github.com/lib/pq/.travis.yml create mode 100644 vendor/github.com/lib/pq/CONTRIBUTING.md create mode 100644 vendor/github.com/lib/pq/LICENSE.md create mode 100644 vendor/github.com/lib/pq/README.md create mode 100644 vendor/github.com/lib/pq/buf.go create mode 100644 vendor/github.com/lib/pq/certs/README create mode 100644 vendor/github.com/lib/pq/certs/postgresql.crt create mode 100644 vendor/github.com/lib/pq/certs/postgresql.key create mode 100644 vendor/github.com/lib/pq/certs/root.crt create mode 100644 vendor/github.com/lib/pq/certs/server.crt create mode 100644 vendor/github.com/lib/pq/certs/server.key create mode 100644 vendor/github.com/lib/pq/conn.go create mode 100644 vendor/github.com/lib/pq/copy.go create mode 100644 vendor/github.com/lib/pq/doc.go create mode 100644 vendor/github.com/lib/pq/encode.go create mode 100644 vendor/github.com/lib/pq/error.go create mode 100644 vendor/github.com/lib/pq/hstore/hstore.go create mode 100644 vendor/github.com/lib/pq/listen_example/doc.go create mode 100644 vendor/github.com/lib/pq/notify.go create mode 100644 vendor/github.com/lib/pq/oid/doc.go create mode 100644 vendor/github.com/lib/pq/oid/gen.go create mode 100644 vendor/github.com/lib/pq/oid/types.go create mode 100644 vendor/github.com/lib/pq/url.go create mode 100644 vendor/github.com/lib/pq/user_posix.go create mode 100644 vendor/github.com/lib/pq/user_windows.go create mode 100644 vendor/github.com/pborman/uuid/CONTRIBUTORS create mode 100644 vendor/github.com/pborman/uuid/LICENSE create mode 100644 vendor/github.com/pborman/uuid/dce.go create mode 100644 vendor/github.com/pborman/uuid/doc.go create mode 100644 vendor/github.com/pborman/uuid/hash.go create mode 100644 vendor/github.com/pborman/uuid/json.go create mode 100644 vendor/github.com/pborman/uuid/node.go create mode 100644 vendor/github.com/pborman/uuid/time.go create mode 100644 vendor/github.com/pborman/uuid/util.go create mode 100644 vendor/github.com/pborman/uuid/uuid.go create mode 100644 vendor/github.com/pborman/uuid/version1.go create mode 100644 vendor/github.com/pborman/uuid/version4.go create mode 100644 vendor/github.com/stretchr/testify/assert/assertions.go create mode 100644 vendor/github.com/stretchr/testify/assert/doc.go create mode 100644 vendor/github.com/stretchr/testify/assert/errors.go create mode 100644 vendor/github.com/stretchr/testify/assert/forward_assertions.go create mode 100644 vendor/github.com/stretchr/testify/assert/http_assertions.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/batch.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/cache/cache.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/cache/lru.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/comparer.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/comparer/bytes_comparer.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/comparer/comparer.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/db.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/db_compaction.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/db_iter.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/db_snapshot.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/db_state.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/db_util.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/db_write.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/doc.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/errors.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/errors/errors.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/filter.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/filter/bloom.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/filter/filter.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/iterator/array_iter.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/iterator/indexed_iter.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/iterator/iter.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/iterator/merged_iter.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/journal/journal.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/key.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/memdb/memdb.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/opt/options.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/options.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/session.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/session_compaction.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/session_record.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/session_util.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/storage/file_storage.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/storage/file_storage_plan9.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/storage/file_storage_solaris.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/storage/file_storage_unix.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/storage/file_storage_windows.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/storage/mem_storage.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/storage/storage.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/table.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/table/reader.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/table/table.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/table/writer.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/testutil/db.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/testutil/ginkgo.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/testutil/iter.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/testutil/kv.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/testutil/kvtest.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/testutil/storage.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/testutil/util.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/util.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/util/buffer.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/util/crc32.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/util/hash.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/util/pool.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/util/pool_legacy.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/util/range.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/util/util.go create mode 100644 vendor/github.com/syndtr/goleveldb/leveldb/version.go create mode 100644 vendor/github.com/syndtr/gosnappy/snappy/decode.go create mode 100644 vendor/github.com/syndtr/gosnappy/snappy/encode.go create mode 100644 vendor/github.com/syndtr/gosnappy/snappy/snappy.go create mode 100644 vendor/github.com/tylerb/graceful/.gitignore create mode 100644 vendor/github.com/tylerb/graceful/LICENSE create mode 100644 vendor/github.com/tylerb/graceful/README.md create mode 100644 vendor/github.com/tylerb/graceful/graceful.go create mode 100644 vendor/github.com/tylerb/graceful/tests/main.go create mode 100644 vendor/golang.org/x/net/netutil/listen.go create mode 100644 vendor/gopkg.in/alecthomas/kingpin.v2/.travis.yml create mode 100644 vendor/gopkg.in/alecthomas/kingpin.v2/COPYING create mode 100644 vendor/gopkg.in/alecthomas/kingpin.v2/README.md create mode 100644 vendor/gopkg.in/alecthomas/kingpin.v2/app.go create mode 100644 vendor/gopkg.in/alecthomas/kingpin.v2/args.go create mode 100644 vendor/gopkg.in/alecthomas/kingpin.v2/cmd.go create mode 100644 vendor/gopkg.in/alecthomas/kingpin.v2/doc.go create mode 100644 vendor/gopkg.in/alecthomas/kingpin.v2/examples/chat1/main.go create mode 100644 vendor/gopkg.in/alecthomas/kingpin.v2/examples/chat2/main.go create mode 100644 vendor/gopkg.in/alecthomas/kingpin.v2/examples/curl/main.go create mode 100644 vendor/gopkg.in/alecthomas/kingpin.v2/examples/modular/main.go create mode 100644 vendor/gopkg.in/alecthomas/kingpin.v2/examples/ping/main.go create mode 100644 vendor/gopkg.in/alecthomas/kingpin.v2/flags.go create mode 100644 vendor/gopkg.in/alecthomas/kingpin.v2/genrepeated/main.go create mode 100644 vendor/gopkg.in/alecthomas/kingpin.v2/global.go create mode 100644 vendor/gopkg.in/alecthomas/kingpin.v2/guesswidth.go create mode 100644 vendor/gopkg.in/alecthomas/kingpin.v2/guesswidth_unix.go create mode 100644 vendor/gopkg.in/alecthomas/kingpin.v2/model.go create mode 100644 vendor/gopkg.in/alecthomas/kingpin.v2/parser.go create mode 100644 vendor/gopkg.in/alecthomas/kingpin.v2/parsers.go create mode 100644 vendor/gopkg.in/alecthomas/kingpin.v2/repeated.go create mode 100644 vendor/gopkg.in/alecthomas/kingpin.v2/repeated.json create mode 100644 vendor/gopkg.in/alecthomas/kingpin.v2/templates.go create mode 100644 vendor/gopkg.in/alecthomas/kingpin.v2/usage.go create mode 100644 vendor/gopkg.in/alecthomas/kingpin.v2/values.go create mode 100644 vendor/gopkg.in/mgo.v2/LICENSE create mode 100644 vendor/gopkg.in/mgo.v2/Makefile create mode 100644 vendor/gopkg.in/mgo.v2/README.md create mode 100644 vendor/gopkg.in/mgo.v2/auth.go create mode 100644 vendor/gopkg.in/mgo.v2/bson/LICENSE create mode 100644 vendor/gopkg.in/mgo.v2/bson/bson.go create mode 100644 vendor/gopkg.in/mgo.v2/bson/decode.go create mode 100644 vendor/gopkg.in/mgo.v2/bson/encode.go create mode 100644 vendor/gopkg.in/mgo.v2/bulk.go create mode 100644 vendor/gopkg.in/mgo.v2/cluster.go create mode 100644 vendor/gopkg.in/mgo.v2/doc.go create mode 100644 vendor/gopkg.in/mgo.v2/gridfs.go create mode 100644 vendor/gopkg.in/mgo.v2/internal/sasl/sasl.c create mode 100644 vendor/gopkg.in/mgo.v2/internal/sasl/sasl.go create mode 100644 vendor/gopkg.in/mgo.v2/internal/sasl/sasl_windows.c create mode 100644 vendor/gopkg.in/mgo.v2/internal/sasl/sasl_windows.go create mode 100644 vendor/gopkg.in/mgo.v2/internal/sasl/sasl_windows.h create mode 100644 vendor/gopkg.in/mgo.v2/internal/sasl/sspi_windows.c create mode 100644 vendor/gopkg.in/mgo.v2/internal/sasl/sspi_windows.h create mode 100644 vendor/gopkg.in/mgo.v2/internal/scram/scram.go create mode 100644 vendor/gopkg.in/mgo.v2/log.go create mode 100644 vendor/gopkg.in/mgo.v2/queue.go create mode 100644 vendor/gopkg.in/mgo.v2/raceoff.go create mode 100644 vendor/gopkg.in/mgo.v2/raceon.go create mode 100644 vendor/gopkg.in/mgo.v2/saslimpl.go create mode 100644 vendor/gopkg.in/mgo.v2/saslstub.go create mode 100644 vendor/gopkg.in/mgo.v2/server.go create mode 100644 vendor/gopkg.in/mgo.v2/session.go create mode 100644 vendor/gopkg.in/mgo.v2/socket.go create mode 100644 vendor/gopkg.in/mgo.v2/stats.go create mode 100644 vendor/gopkg.in/mgo.v2/testdb/client.pem create mode 100644 vendor/gopkg.in/mgo.v2/testdb/dropall.js create mode 100644 vendor/gopkg.in/mgo.v2/testdb/init.js create mode 100644 vendor/gopkg.in/mgo.v2/testdb/server.pem create mode 100644 vendor/gopkg.in/mgo.v2/testdb/setup.sh create mode 100644 vendor/gopkg.in/mgo.v2/testdb/supervisord.conf create mode 100644 vendor/gopkg.in/mgo.v2/testdb/wait.js create mode 100644 vendor/gopkg.in/mgo.v2/testserver/testserver.go create mode 100644 vendor/gopkg.in/mgo.v2/txn/chaos.go create mode 100644 vendor/gopkg.in/mgo.v2/txn/debug.go create mode 100644 vendor/gopkg.in/mgo.v2/txn/flusher.go create mode 100644 vendor/gopkg.in/mgo.v2/txn/tarjan.go create mode 100644 vendor/gopkg.in/mgo.v2/txn/txn.go create mode 100644 worker/detectors/os.go create mode 100644 worker/detectors/os/apt_sources.go create mode 100644 worker/detectors/os/apt_sources_test.go create mode 100644 worker/detectors/os/lsb_release.go create mode 100644 worker/detectors/os/lsb_release_test.go create mode 100644 worker/detectors/os/os_release.go create mode 100644 worker/detectors/os/os_release_test.go create mode 100644 worker/detectors/os/redhat_release.go create mode 100644 worker/detectors/os/redhat_release_test.go create mode 100644 worker/detectors/os/test.go create mode 100644 worker/detectors/packages.go create mode 100644 worker/detectors/packages/dpkg.go create mode 100644 worker/detectors/packages/dpkg_test.go create mode 100644 worker/detectors/packages/rpm.go create mode 100644 worker/detectors/packages/rpm_test.go create mode 100644 worker/detectors/packages/test.go create mode 100644 worker/detectors/packages/testdata/dpkg_status create mode 100644 worker/detectors/packages/testdata/rpm_Packages create mode 100644 worker/testdata/DistUpgrade/blank.tar.gz create mode 100644 worker/testdata/DistUpgrade/jessie.tar.gz create mode 100644 worker/testdata/DistUpgrade/wheezy.tar.gz create mode 100644 worker/worker.go create mode 100644 worker/worker_test.go diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 00000000..090b49c0 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,7 @@ +.* +*.md +DCO +LICENSE +NOTICE +docs +cloudconfig diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100755 index 00000000..86449310 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,71 @@ +# How to Contribute + +CoreOS projects are [Apache 2.0 licensed](LICENSE) and accept contributions via +GitHub pull requests. This document outlines some of the conventions on +development workflow, commit message formatting, contact points and other +resources to make it easier to get your contribution accepted. + +# Certificate of Origin + +By contributing to this project you agree to the Developer Certificate of +Origin (DCO). This document was created by the Linux Kernel community and is a +simple statement that you, as a contributor, have the legal right to make the +contribution. See the [DCO](DCO) file for details. + +# Email and Chat + +The project currently uses the general CoreOS email list and IRC channel: +- Email: [coreos-dev](https://groups.google.com/forum/#!forum/coreos-dev) +- IRC: #[coreos](irc://irc.freenode.org:6667/#coreos) IRC channel on freenode.org + +Please avoid emailing maintainers found in the MAINTAINERS file directly. They +are very busy and read the mailing lists. + +## Getting Started + +- Fork the repository on GitHub +- Read the [README](README.md) for build and test instructions +- Play with the project, submit bugs, submit patches! + +## Contribution Flow + +This is a rough outline of what a contributor's workflow looks like: + +- Create a topic branch from where you want to base your work (usually master). +- Make commits of logical units. +- Make sure your commit messages are in the proper format (see below). +- Push your changes to a topic branch in your fork of the repository. +- Make sure the tests pass, and add any new tests as appropriate. +- Submit a pull request to the original repository. + +Thanks for your contributions! + +### Format of the Commit Message + +We follow a rough convention for commit messages that is designed to answer two +questions: what changed and why. The subject line should feature the what and +the body of the commit should describe the why. + +``` +scripts: add the test-cluster command + +this uses tmux to setup a test cluster that you can easily kill and +start for debugging. + +Fixes #38 +``` + +The format can be described more formally as follows: + +``` +: + + + +