Merge pull request #3 from aquasecurity/transfer

Transfer repositoriy
This commit is contained in:
Liz Rice 2019-08-19 09:49:45 +01:00 committed by GitHub
commit 93e4e7313f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 27 additions and 27 deletions

View File

@ -1,13 +1,13 @@
# vuln-list-update
[![Build Status](https://travis-ci.org/knqyf263/vuln-list-update.svg?branch=master)](https://travis-ci.org/knqyf263/vuln-list-update)
[![Go Report Card](https://goreportcard.com/badge/github.com/knqyf263/vuln-list-update)](https://goreportcard.com/report/github.com/knqyf263/vuln-list-update)
[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/knqyf263/vuln-list-update/blob/master/LICENSE)
[![Build Status](https://travis-ci.org/aquasecurity/vuln-list-update.svg?branch=master)](https://travis-ci.org/aquasecurity/vuln-list-update)
[![Go Report Card](https://goreportcard.com/badge/github.com/aquasecurity/vuln-list-update)](https://goreportcard.com/report/github.com/aquasecurity/vuln-list-update)
[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/aquasecurity/vuln-list-update/blob/master/LICENSE)
Collect vulnerability information and save it in parsable format automatically
## Data
https://github.com/knqyf263/vuln-list/
https://github.com/aquasecurity/vuln-list/
## Usage
@ -21,12 +21,12 @@ Usage of vuln-list-update:
```
## Cron status
https://travis-ci.org/knqyf263/vuln-list-update
https://travis-ci.org/aquasecurity/vuln-list-update
## Contribute
1. fork a repository: github.com/knqyf263/vuln-list-update to github.com/you/repo
2. get original code: `go get github.com/knqyf263/vuln-list-update`
1. fork a repository: github.com/aquasecurity/vuln-list-update to github.com/you/repo
2. get original code: `go get github.com/aquasecurity/vuln-list-update`
3. work on original code
4. add remote to your repo: git remote add myfork https://github.com/you/repo.git
5. push your changes: git push myfork
@ -35,4 +35,4 @@ https://travis-ci.org/knqyf263/vuln-list-update
- see [GitHub and Go: forking, pull requests, and go-getting](http://blog.campoy.cat/2014/03/github-and-go-forking-pull-requests-and.html)
## Author
Teppei Fukuda (knqyf263)
Teppei Fukuda (knqyf263)

View File

@ -18,8 +18,8 @@ import (
"gopkg.in/yaml.v2"
version "github.com/hashicorp/go-version"
"github.com/knqyf263/vuln-list-update/git"
"github.com/knqyf263/vuln-list-update/utils"
"github.com/aquasecurity/vuln-list-update/git"
"github.com/aquasecurity/vuln-list-update/utils"
"golang.org/x/xerrors"
)

2
debian/debian.go vendored
View File

@ -7,7 +7,7 @@ import (
"os"
"path/filepath"
"github.com/knqyf263/vuln-list-update/utils"
"github.com/aquasecurity/vuln-list-update/utils"
"golang.org/x/xerrors"
pb "gopkg.in/cheggaaa/pb.v1"
)

View File

@ -8,7 +8,7 @@ import (
"path/filepath"
"strings"
"github.com/knqyf263/vuln-list-update/utils"
"github.com/aquasecurity/vuln-list-update/utils"
"golang.org/x/xerrors"
)

18
main.go
View File

@ -9,21 +9,21 @@ import (
"strings"
"time"
"github.com/knqyf263/vuln-list-update/alpine"
"github.com/aquasecurity/vuln-list-update/alpine"
"github.com/knqyf263/vuln-list-update/debian"
"github.com/knqyf263/vuln-list-update/git"
"github.com/knqyf263/vuln-list-update/nvd"
debianoval "github.com/knqyf263/vuln-list-update/oval/debian"
"github.com/knqyf263/vuln-list-update/redhat"
"github.com/knqyf263/vuln-list-update/ubuntu"
"github.com/knqyf263/vuln-list-update/utils"
"github.com/aquasecurity/vuln-list-update/debian"
"github.com/aquasecurity/vuln-list-update/git"
"github.com/aquasecurity/vuln-list-update/nvd"
debianoval "github.com/aquasecurity/vuln-list-update/oval/debian"
"github.com/aquasecurity/vuln-list-update/redhat"
"github.com/aquasecurity/vuln-list-update/ubuntu"
"github.com/aquasecurity/vuln-list-update/utils"
"golang.org/x/xerrors"
)
const (
repoURL = "https://%s@github.com/knqyf263/vuln-list.git"
repoURL = "https://%s@github.com/aquasecurity/vuln-list.git"
)
var (

View File

@ -10,7 +10,7 @@ import (
"strings"
"time"
"github.com/knqyf263/vuln-list-update/utils"
"github.com/aquasecurity/vuln-list-update/utils"
jsonpointer "github.com/mattn/go-jsonpointer"
"golang.org/x/xerrors"
pb "gopkg.in/cheggaaa/pb.v1"

View File

@ -6,7 +6,7 @@ import (
"log"
"path/filepath"
"github.com/knqyf263/vuln-list-update/utils"
"github.com/aquasecurity/vuln-list-update/utils"
"golang.org/x/xerrors"
pb "gopkg.in/cheggaaa/pb.v1"
)

View File

@ -10,7 +10,7 @@ git commit -m "$3"
ret=$?
if [ $ret = 0 ]; then
git push https://${GITHUB_TOKEN}@github.com/knqyf263/vuln-list.git master
git push https://${GITHUB_TOKEN}@github.com/aquasecurity/vuln-list.git master
else
echo "skip push"
fi

View File

@ -8,7 +8,7 @@ import (
"golang.org/x/xerrors"
"github.com/knqyf263/vuln-list-update/utils"
"github.com/aquasecurity/vuln-list-update/utils"
)
const (

View File

@ -9,13 +9,13 @@ import (
"strings"
"time"
"github.com/knqyf263/vuln-list-update/git"
"github.com/aquasecurity/vuln-list-update/git"
"github.com/araddon/dateparse"
"golang.org/x/xerrors"
"github.com/knqyf263/vuln-list-update/utils"
"github.com/aquasecurity/vuln-list-update/utils"
)
const (