Skip to content

Commit

Permalink
v0.2.0 (no backwards compatibility) (#75)
Browse files Browse the repository at this point in the history
* Download json files

* Remove unused funcs of model

* Fix vet warnings

* Refactoring

* [Refactoring] add fetcher package

* Add NVD JSON struct

* Ommit empty

* Move NVD struct to models

* fix: Support nested configurations>nodes

* feat: Chanage Model Structure

* Insert NVD JSON except for Cpe, EnvCpe

* Insert Cpe, EnvCpe data into RDB

* change interface to return error

* Insert to Redis

* Implement CPE, EnvCPE, WFN, FS, URI for RDB

* Support CPE version comparison for RDB

* Support CPE version comparison for Redis

* fix: CPE subset/superset comparison

* refactor: fix the interface of fetcher/db

* Support JVN CVSS3

* fix: extract CVSS vector of NVD xml

* fix: a bug of CVSS vector in NVD XML

* Bump up version

* refactor(nvd): return only json feed if exists json data. if not, return xml feed

* feat: check meta feed before fetching vulnfeed

* feat(redis): return only json feed if exists json data. if not, return xml feed.

* Return only json feed if exists json data. if not, return xml feed.
* Fetch only updated feed.

* feat(list): add list command, change redis structure

* feat(list): table view

* feat(list): Show fetch commands at the ent of list

* fix(jvn): escape / to \/ in CPE URI

* refactor(fetch): refactoring

* refactor(log): use log15

* add log-json option (#88)

* Update deps

* fix(rdb): use tx instead of r.conn (#90)

* fix(fetch): fix `database is locked` with sqlite3 backend

* feat(db): detect sqlite3 is locked when opening connection

* update deps

* Gopkg.toml diet

* fix go version in .travis.yml

* Fix typo

* feat(fetch): parallel fetch

* remove changelog.md

* bump up version

* fix readme

* update readme
  • Loading branch information
kotakanbe committed Aug 27, 2018
1 parent c2bcc41 commit 01c5660
Show file tree
Hide file tree
Showing 32 changed files with 3,788 additions and 1,512 deletions.
1 change: 0 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@ archive:
files:
- LICENSE
- README*
- CHANGELOG.md
snapshot:
name_template: SNAPSHOT-{{ .Commit }}
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: go

go:
- 1.x
- "1.10"

after_success:
- test -n "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash
17 changes: 0 additions & 17 deletions CHANGELOG.md

This file was deleted.

6 changes: 3 additions & 3 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
clean

SRCS = $(shell git ls-files '*.go')
PKGS = ./commands ./config ./db ./jvn ./log ./models ./nvd ./server
PKGS = ./commands ./config ./db ./log ./models ./fetcher ./fetcher/jvn/xml ./fetcher/nvd ./fetcher/nvd/xml ./fetcher/nvd/json ./server ./util
VERSION := $(shell git describe --tags --abbrev=0)
REVISION := $(shell git rev-parse --short HEAD)
LDFLAGS := -X 'main.version=$(VERSION)' \
Expand All @@ -26,11 +26,11 @@ all: dep build test

dep:
go get -u github.com/golang/dep/...
dep ensure
dep ensure -v

depup:
go get -u github.com/golang/dep/...
dep ensure -update
dep ensure -update -v

build: main.go dep
go build -ldflags "$(LDFLAGS)" -o go-cve-dictionary $<
Expand Down
Loading

0 comments on commit 01c5660

Please sign in to comment.